Spawn question

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Runt
First Lieutenant
Posts: 188
Joined: Wed Feb 11, 2004 5:03 pm
Location: The Netherlands
Contact:

Spawn question

Post 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
Angex
Major
Posts: 293
Joined: Mon Dec 30, 2002 1:23 pm
Contact:

Post 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.
Runt
First Lieutenant
Posts: 188
Joined: Wed Feb 11, 2004 5:03 pm
Location: The Netherlands
Contact:

Post 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 :?
Post Reply