Argh! How the HELL can I make it so falldamage doesn't occur?

  • Thread starter Thread starter Excels
  • Start date Start date
E

Excels

Guest
Okay.

I'm making a kind of "Race track" map for counter-strike source in which you bunny hop down ramps through a bit of a gauntlet. The problem is after a few ramps you gain so much speed/air that you take heavy damage and eventually die to to falldamage.

mp_falldamage just reduces it slightly. I know the map awp_snowsk337 somehow had a TINY invisible layer of water that absorbed damage but didn't hinder jumping/movement. I'd like something like this, or anything that can disable falldamge completely.

Any suggestions?

Thanks!
 
put a trigger at the bottom that restores health.

Ahh!

I didn't know that was possible. What ent is that under?

Man, that makes things easier, too.

Edit: additionally, can the trigger set health to an arbitrary value?

Because some of the jumps, if going fast enough, take 400+ HP from you.
 
Use a trigger_hurt with negative damage, something like -1000 will keep the player at fill health/restore his health every time he hits the trigger.
 
Use a trigger_hurt with negative damage, something like -1000 will keep the player at fill health/restore his health every time he hits the trigger.


Bah. That's what I thought, but whenever I try to put in a trigger_hurt with negative damage hammer crashes.

:/
 
Update:

Trigger_hurt with -500 doesn't give you 500 damage. It only restores the player health to 100 every time the trigger is hit. The problem is some jumps on my map give you 250+ damage. I need a way to disable falldamage completely or change player healths to something like 10000.
 
You said another map accomplished what you want with water. Try that, if you cant figure out what they did then decompile it.
 
You said another map accomplished what you want with water. Try that, if you cant figure out what they did then decompile it.


Hmm. Good advice.

I took it. Essentially it had a tiny, thin layer of water on top of the floor that really didn't impede movement, but made damage zero. I did the same (using the same water) and the only water that works is when the ramps are horizontal ---- not when I have ramps like:
/
/
/

So, is there a way to get water to stay on a ramp that's at an angle? Heh, I'm so close to finishing this :(

Thanks for all the advice.

Edit: so basically I'm violating the rule:

"#
# The water’s surface should never slope in the Z-axis; it should always be parallel to the horizon line in a map."

Anyone know how to get around it? :/
 
You cant. func_water_analog might work but probably not.

You could try making the ramps func_buttons with the OnTouch and Dont Move flags ticked. Have them set to enable and after a couple seconds disable aforementioned trigger_hurts with negative damage.
 
Back
Top