Lasers not doing damage

Avatar
Marise
249 Posts
Posted Jun 14, 2011
I'm having some trouble with lasers. Just using the default settings, which have worked fine on other maps, I am getting lasers that don't seem to do damage. I think it may be because, the way I have the map set up, the player passes through them quickly. Is there some small delay before they begin to do damage?

This is with the standard model, env_portal_laser I think is the name. They are emitting the laser as usual, it just doesn't hurt.

Advertisement
Registered users don’t see ads! Register now!
Avatar
iWork925
1,080 Posts
Posted Jun 15, 2011
Replied 1 hour later
So your flinging through them? Well then they won't do any damage. Idk why but its how they are in the game. Why would you want damage in the air? If you are looking for something to stop the player from flinging similar to laser beams try laser fields. http://developer.valvesoftware.com/wiki/Discouragement_Field
Avatar
The Irate Pirate
236 Posts
Posted Jun 15, 2011
Replied 8 hours later
Put a trigger_hurt where the laser would be and have it enable and disable depending on whether or not the laser is there.
Avatar
Idolon
417 Posts
Posted Jun 15, 2011
Replied 1 hour later
Yeah, lasers don't do damage if the player isn't on ground. This is so that jumping over lasers will always work, even if the player model clips through the laser.
Advertisement
Registered users don’t see ads! Register now!
Avatar
Marise
249 Posts
Posted Jun 15, 2011
Replied 18 minutes later
Okay, I didn't know they only did damage if the player is on the ground. That certainly explains it. I will try the laser fields instead. Thanks.