Pretty lights!

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
*GCC*Nigel
Second Lieutenant
Posts: 169
Joined: Sun Dec 04, 2005 5:13 am

Pretty lights!

Post by *GCC*Nigel »

How do you set the "color" of a light? I tried the R B G set up and got nothing. Is it words??? I really don't feel like guessing or going through the color number things...
Stein Auf
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

k :P

or you can set key/value

_color / <r> <g> <b>

Like

_color 1.0 0.0 0.0

for a red light.
Last edited by jv_map on Sun Oct 29, 2006 6:37 pm, edited 1 time in total.
Image
neillomax
Lieutenant General
Posts: 880
Joined: Thu Jun 23, 2005 6:57 am

Post by neillomax »

With light entity selected, bring up your windows paint program. Colors/edit colors/define custom colors. Select a color, make adjustments using slider or whatnot, goto add to custom colors, then hit enter........... light in radiant will change to the color you selected.

For light intensity, with light selected,hit the "n" key to bring up the entity window. In the yop box type light, in the bottom box type a number between 1 vand 300, hit enter. Light value will change......... low number, low light...... etc.
*GCC*Nigel
Second Lieutenant
Posts: 169
Joined: Sun Dec 04, 2005 5:13 am

Post by *GCC*Nigel »

JV is your _color 1.0 0 0 in the .scr or the entity window?

And neilomax, that didn't work.
Stein Auf
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Entity window... you can't add lights via script unless you're talking about dynamic lights. So far I assumed you meant point lights placed in the editor.
Image
User avatar
At0miC
General
Posts: 1164
Joined: Fri Feb 27, 2004 11:29 pm
Location: The Netherlands

Post by At0miC »

In the entities screen ;). But you can select a colour when u hit 'k' while highlighted a light.
*GCC*Nigel
Second Lieutenant
Posts: 169
Joined: Sun Dec 04, 2005 5:13 am

Post by *GCC*Nigel »

Yah, I meant in the editor JV
Atomic-
Thank you! That was easy! Didn't even have to write stuff.
Stein Auf
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

jv_map wrote:k :P
Jv said this at the very beginning. ;)
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
neillomax
Lieutenant General
Posts: 880
Joined: Thu Jun 23, 2005 6:57 am

Post by neillomax »

*GCC*Nigel wrote:JV is your _color 1.0 0 0 in the .scr or the entity window?

And neilomax, that didn't work.
I should have read your post a little better. YOU should have posted this under scripting. No big deal, glad you got your script to work.
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

neillomax wrote:With light entity selected, light in radiant will change to the color you selected.
You read it fine, Maybe he read it wrong :oops:

Maybe it was using the windows paint program instead of hitting k while entity window is open that confused him :P
Image
*GCC*Nigel
Second Lieutenant
Posts: 169
Joined: Sun Dec 04, 2005 5:13 am

Post by *GCC*Nigel »

*CONFUSED

The blinking "let me think" thing from atomic or someone...

Insert "My Bads" were needed.
Stein Auf
Post Reply