• Damage upon impact with wall.
    11 replies, posted
I've scoured the internet trying to find this, but it apparently don't exist. I am wondering if it is possible to make a simple lua file that makes you take damage when you impact a wall at high speed. Running into a wall would do minimal damage (if any at all), but ramming into a wall at high speed (using the jetpack mod, for example) would do a lot of damage or instantly kill. It would turn on and off via a console command, a la "mp_falldamage". If anyone can help me out with this I'd be much obliged, thanks in advance.
This already happens. Try hitting a wall with the jeep at full speed.
I've only taken reasonable damage from a wall in a jeep with a ton of thrusters at source max velocity.
Sorry for not being of help but, you are an 06'er with 3 posts?
[QUOTE=Kwigg;18025084]Sorry for not being of help but, you are an 06'er with 3 posts?[/QUOTE] Yeah. I honestly don't post very often, I guess I'm what they call a "lurker". As for the jeep wall impacts, I'm aware of that, I'm just curious about whether or not it is possible to replicate this on foot. The point of the whole thing is for the jetpack mod, as I have a faux gamemode going on with my friends where we fly around with the jetpack trying to shoot each other down, and I feel hitting a wall at high speed with no repercussions is silly. I've tried researching how to make a lua file for this myself, but I'm a complete noob at it. If I can find out a way to detect a player's distance from wall and their speed I'll have a good start (maybe).
I dont believe it is. I would love this function while using the ninja rope swep
You can only take maximum of 50 damage (last I checked) in a jeep against a wall head-on. At 50 MPH (its turbo speed) you'll make 25-30. 50 at around the max source speeds.
[QUOTE=Kung Fu Jew;18034903]You can only take maximum of 50 damage (last I checked) in a jeep against a wall head-on. At 50 MPH (its turbo speed) you'll make 25-30. 50 at around the max source speeds.[/QUOTE] Can this be edited?
We had something like this a while back, the script is just old. Search for "acceleration damage". [editline]11:01AM[/editline] [url]http://www.facepunch.com/showthread.php?p=12495302[/url] Ninja'd.
[QUOTE=CptFuzzies;18168160]We had something like this a while back, the script is just old. Search for "acceleration damage". [editline]11:01AM[/editline] [url]http://www.facepunch.com/showthread.php?p=12495302[/url] Ninja'd.[/QUOTE] Thanks! That's exactly what I needed. I never thought to use "acceleration" as a search term for some reason...
You're welcome. :smile:
Yeah i used to simulate it with E2 - when acceleration exceeded some value, it took damage to the driver.
Sorry, you need to Log In to post a reply to this thread.