Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / heat vision

Author
Message
Opposing force
19
Years of Service
User Offline
Joined: 10th Aug 2005
Location: England
Posted: 15th Aug 2005 13:04
im working on an action game and i need some kind of heat vision for it. Like if you press control key it changes your view blue and all the enemies turn red like thermal vision in splinter cell. I know how to set the ambient light to a certain colour at the touch of a button but i dont know how to change it back to how it was before and it must also be able to change the enemy red like how they would appear through thermal vision.
Me!
19
Years of Service
User Offline
Joined: 26th Jul 2005
Location:
Posted: 15th Aug 2005 13:35
use ambient light set to blue and then set light off for the npc`s and texure em red with yellow splashes then just recolour the ambient light to white or light grey that gives the same light level you had before and retexture the NPC`s to their correct texture, should only take a few tries, you could even make an app to help you adjust the exact values.

Opposing force
19
Years of Service
User Offline
Joined: 10th Aug 2005
Location: England
Posted: 15th Aug 2005 13:47
thanks i'll try that
Me!
19
Years of Service
User Offline
Joined: 26th Jul 2005
Location:
Posted: 15th Aug 2005 18:05
set ambient light colours didn`t work too well, here`s an example using a alpha`d sprite to make the scene blue, even with pure blue the object colours show through, thats not the right effect, pressing space just alters the model texture and un-hides the blue transparent sprite, change the model name for whatever you have, you need to make a second texture, mine was ColZ.TGA I altered that by making it black and white and then adding noise, then tinted it orange, I then saved it as ColZir.TGA for the second texture.



Login to post a reply

Server time is: 2025-05-22 13:48:45
Your offset time is: 2025-05-22 13:48:45