Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/archive/global.php(40) : eval()'d code on line 2
Explosion which hurts player [Archive] - TF2Maps.net Forums

PDA

View Full Version : Explosion which hurts player


DasMatze
06-22-2008, 09:19 AM
Hi!

I'd like to know if there is an entity to trigger an explosion which hurts and pushes the player like a grenade or a rocket. I tried env_physexplosion but even with "No Damage, only push" (or what it's called) Flag deactivated it doesn't hurt nor push the player. I want to create a landmine. Particle, Sound and Trigger works fine. Just the explosion force doesn't.

DasMatze

grazr
06-22-2008, 10:22 AM
changing the magnitude changes the strength of the explosion, try increasing the magnitude for a larger push.

I'm not certain a physexplosion actually effects a player, only phys props.. but you can do the same with a normal explosion. Turn the hurt off. You might want to try that.. You also might want to change the explosion effect, it's probably a hl2 explosion.. hopefully that's possible, i havn't tried myself.

DasMatze
06-22-2008, 02:00 PM
Thank you, it works!

DasMatze

Spacemonkeynz
06-23-2008, 08:16 PM
What about env_explosion? that hurts the player.


env_physexplosion only moves stuff.