Script model light

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

Moderator: Moderators

Post Reply
Krane
Lieutenant General
Posts: 782
Joined: Sat May 31, 2003 4:18 pm
Location: California, USA
Contact:

Script model light

Post by Krane »

I have a light that works w/ a switch ( it's a script model, I think everybody knows this kind of model, fx/dummy.tik, etc...)

The problem is this kind of light reflects in the other side of the wall (outside de room). Normal lights don't "pass thru" the wall...

How to avoid it?
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Post by wacko »

Hey, this might become the 2nd time you solve one of my problems. I tried this once with flickering torches... :D

I believe, the problem is that the compiler doesn't know that there will be a light and the light doesn't know about the wall either!? :wink:

I then suggested, that making those script_models spotlights with spot_angle/90 might work. But I couldn't work it out and noone else tried to...
Daniel Radcliffe
Second Lieutenant
Posts: 168
Joined: Fri May 30, 2003 9:49 am

Post by Daniel Radcliffe »

Alternativly makes all your walls so that they are indistructable glass they the light can pass through and look normal. This will also be a great funhouse to run around and kill people in, especially if they dont know when they can shoot and when they cant :D
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

you can move the light into the center of the room and set the radius so that it does not reach the wall , other than that nothing you can do it is not a compiled light .
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

Design

Post by tltrude »

That type of light is called a "dynamic light". The same thing is used for muzzle flashes, bazooka shells, granade explosions, and the like. It was never intended to be a room light.

The only thing you can do is design the map to use them--like thicker walls. They would work in tunnels because the space around the tunnel is not seen. Normal lights should also be added to make up for the crummy looking light of dynamic lights.
Tom Trude,

Image
Krane
Lieutenant General
Posts: 782
Joined: Sat May 31, 2003 4:18 pm
Location: California, USA
Contact:

Post by Krane »

Txs Trude (always helping me). Tvs to every1 that replys.

Wackos' theory is the same as mine: spotligt. The only problem is that dinamic lights doesn't seems to "accept" this kind of keys, like angle or spot_angle. Once this was my best bet and it didn't work, I gues I'll have to give up.

Txs guys.
Post Reply