Page 1 of 1

change color of corona_red?

Posted: Sat Sep 29, 2007 2:14 pm
by Tazz
ok im still new at scripting but im adding a few things to stock maps and i have my teleport and triggers and everything working great but i would like to make the corona_red a white light.....i tried using local.smoke1 light 1 1 1 but it didnt work...might have put it in wrong place though here is that part of the script with the color change taken out....i just need to find out how to change the color....thx in advance yall

Code: Select all

level waittill spawn

	thread teletrig
end
teletrig:
local.smoke1 = spawn script_model model "fx/corona_red.tik"<<<i had it after this
local.smoke1 origin ( 900 1392 -115  ) 
local.smoke1 scale 1
local.smoke1 notsolid
local.trig = spawn trigger_multiple
local.trig.origin = ( 938 1392 -74 )
local.trig setsize ( -40 -40 -15 ) ( 40 40 15 )
local.trig targetname port
$port setthread teleport
end
teleport:
self waittill trigger
local.player = parm.other
local.player tele ( 123 -1681 275 )
end

Posted: Sat Sep 29, 2007 10:02 pm
by tltrude
"fx/corona_red.tik" is a model, not a light. To change the color, you would have to make a new .tik file and create a new texture.

However, other people have already done that and you can use theirs.

Posted: Sat Sep 29, 2007 10:43 pm
by Tazz
ok thx alot man but i just went ahead and put it lower to the ground behind some boxes so its all good now lol.....

Posted: Sun Sep 30, 2007 5:23 am
by bdbodger
If you want white light maybe use a static/corona_reg.tik or a static/corona_util.tik and use

local.smoke1 light 1 1 1 100 // r g b radius

for white light .

Posted: Sun Sep 30, 2007 3:33 pm
by Tazz
yeah that will work too...thx alot....really would like light white but either way its being hid now but imma try that corona_reg and see what i can do with it for next map im doing...