change color of corona_red?

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Tazz
Second Lieutenant
Posts: 155
Joined: Fri Feb 16, 2007 1:29 pm
Contact:

change color of corona_red?

Post 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
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

Post 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.
Tom Trude,

Image
Tazz
Second Lieutenant
Posts: 155
Joined: Fri Feb 16, 2007 1:29 pm
Contact:

Post 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.....
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post 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 .
Image
Tazz
Second Lieutenant
Posts: 155
Joined: Fri Feb 16, 2007 1:29 pm
Contact:

Post 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...
Post Reply