Page 1 of 1

Spawn question

Posted: Sun Aug 08, 2004 11:13 am
by Runt
i have 3 questions

1. How to spawn a light with scripting
2. How to change the color of that light
3. How to "delete" the sun in maps , so it is night instead of day

thx in advance

Posted: Sun Aug 08, 2004 4:36 pm
by Angex
1. Try looking at this thread: viewtopic.php?t=8285

2. I think you can use color(float red, float green, float blue), where the rgb ranges between 0.0 - 1.0 .

3. I don't think that is possible since the "sun" lighing is done at compile time, and is included in the *.bsp.

Posted: Mon Aug 09, 2004 9:17 am
by Runt
Thx for helping :)
I spawned a light with scripting, but now i have to figure out how to make the maps darker.. it would be much nicer :?