Using the 'ambient' worldspawn key -1 reply

Please wait...

Guest

I didn't make it!

0 XP

 
#1 9 years ago

Hi again, I was just wondering how to use the 'ambient light to create a night-blue light. Making the ambient a plain white seems fairly easy; just give it a value of around 5-10, but when colors get involved, that's where I get lost. Does anyone know how to do this?

Thanks!




NAB622

EAT ME!

50 XP

8th October 2005

0 Uploads

6,921 Posts

0 Threads

#2 9 years ago

I believe you would add a "_color" key to your worldspawn as well.

The value is given the same way as any other color in Radiant - three numbers with spaces between, RGB format, numbers ranging from 0 to 1.

"1 1 1" ".2 .6 .152"




Guest

I didn't make it!

0 XP

 
#3 9 years ago

Thanks, that seemed to do the trick. Now, to get the right color/brightness, not to bright, but allowing the player to see where other lights don't want to reach...