gaining hp back Created 18 years ago2006-04-09 13:59:08 UTC by Hlynkinn Hlynkinn

Created 18 years ago2006-04-09 13:59:08 UTC by Hlynkinn Hlynkinn

Posted 18 years ago2006-04-09 13:59:08 UTC Post #173134
I'm making kz map and I need help. When players fall i want to make some entity or something so they get there 100 hp back. i've seen this in many kz maps.
Thx Hlynkinn aka Kung :biggrin:
Posted 18 years ago2006-04-09 14:07:40 UTC Post #173135
If I'm right you use an entity called 'trigger_hurt and set the damage to -100 aka minus.
Habboi HabboiSticky White Love Glue
Posted 18 years ago2006-04-09 14:10:27 UTC Post #173136
I cant find that entity :S is it for source only or ? do i need to download something to get that entity ???

btw thx for your help :)
Posted 18 years ago2006-04-09 14:12:54 UTC Post #173138
Of course it's not Source-only, or Habboi wouldn't have told you to use it.

Make sure you're using a good CS FGD.
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 18 years ago2006-04-09 14:13:54 UTC Post #173140
It's a solid entity. Create a block textured with aaatrigger over the area you want the players to be healed and press cntrl+t. Choose Trigger_hurt from the list in the entities attributes.
Posted 18 years ago2006-04-09 14:31:06 UTC Post #173142
It worked thx :) Now my kz map is going to be awesome lol
Posted 18 years ago2006-04-10 16:27:23 UTC Post #173328
uh huh. we'll see
:)
Tetsu0 Tetsu0Positive Chaos
Posted 18 years ago2006-04-10 20:18:46 UTC Post #173385
Or just place water at the bottom, since HL and Source engines negate all gravity falling damage when the surface of the brush is water.
Posted 18 years ago2006-04-11 00:40:09 UTC Post #173416
Wow, I guess I knew about the water protecting player from fall damage, but this gives me some new ideas :)

I was recently working on a trap, where the player fell through a series of pipes pointed almost straight down, with twists and turns. Depending on how the player fell/jumped into the trap, the steep falls would usually kill him, even with a series of trigger_hurts set to heal.

If I line the tunnels with a thin layer of water, it should protect the player, no matter where or how he impacts the pipes :) The water will actually fit the theme nicely too.

Thanks inventrex!
You must be logged in to post a response.