all tuts offline from here to TMT - light problem

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

Moderator: Moderators

Post Reply
{R.E.D}**Duke Justice**
Lance Corporal
Posts: 23
Joined: Thu Aug 07, 2003 9:09 pm

all tuts offline from here to TMT - light problem

Post by {R.E.D}**Duke Justice** »

HI

I have seen many read thhis TUT, but all are offline.

I need help in making a shootable light.

First the light:
_color 1 1 1
classname light
light 600
origin 472 348 -55
radius 30
spawnflags 0
spot_angle 90
targetname kaput

Second the trigger:
classname trigger_multiple
health 1
setthread lightoff
spawnflags 128 (damage check box)

Then the script:
lightoff:
$kaput light 0 0 0 500
end


Am I missing something?

Regards

Duke
Last edited by {R.E.D}**Duke Justice** on Mon Aug 11, 2003 5:45 am, edited 1 time in total.
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

light

Post by tltrude »

You can't turn off an normal classname light entity. It has to be a "dynamic" light.

classname script_model
model fx/dummy.tik
overbright_range 2.0 // Set as you like
targetname kaput

The trigger is ok.

Change the script to:

lightoff:
$kaput remove
end
Tom Trude,

Image
{R.E.D}**Duke Justice**
Lance Corporal
Posts: 23
Joined: Thu Aug 07, 2003 9:09 pm

Post by {R.E.D}**Duke Justice** »

thks man.

I'll try this. Post back when I do.

Regards.

Duke
Post Reply