Garry's Mod

Garry's Mod

829 ratings
Wall-Damage ( Customizable Horizontal Fall-Damage )
3
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Roleplay
File Size
Posted
8.434 KB
Dec 5, 2024 @ 9:53am
1 Change Note ( view )

Subscribe to download
Wall-Damage ( Customizable Horizontal Fall-Damage )

Description
Hello Again


This is a quick addon that i decided to make after seeing someone asking about something like this on the workshop addons discussions of GMOD, and also because back in the day when i wasn't really that good at coding, my best friend asked me 'would you be able to code horizontal fall damage?', which at the time i really couldn't, but now it's a different story.

About the Mod


This is a simple mod that adds a customizable Horizontal damage system to gmod, i know there is a more complex and dynamic system like this out in the workshop but this is supposed to be a more simpler and lighter version with different settings, and i made all the code from scratch.

you can throw players at Walls or throw yourself at walls to take damage, the mod comes with an option to scale the damage based on the velocity of the collision and other settings aswell such as: be able to take damage without being airborne and etc..

Server Convars



Here is a list containing all customizable Cvars of the mod, which can all also be more easily-edited through the custom-panel of the mod found at: Utilities/Dragonred: Wall Damage/Wall-Damage Settings

  • d_walldamage_enabled ( 0 / 1 ): Deactivates/Activates the mod.

  • d_walldamage_velocityrequired ( 200 / 5000 ): Defines the required velocity a player must have in order to actually take damage from an impact.

  • d_walldamage_rawdamage ( 1 / 100 ): Defines The raw-unscaled damage of a wall impact when NOT using scaled damage.

  • d_walldamage_scaledamage ( 0 / 1 ): Defines if the damage will always be the defined Raw damage on every impact, or if the damage will be scaled according to the velocity of the impact and the scaling multiplier ( see below ).

  • d_walldamage_scalemultiplier ( 0.1 / 100 ): Multiplier for the scalling of Wall-Damage.

  • d_walldamage_canhappenonground ( 0 / 1 ): If Wall-Damage impacts should happen when the player is not airborne. ( NOT recommended, since it can trigger on ramp surfaces that are too Steep. Use it at your own risk. )

  • d_walldamage_onceperairbone ( 0 / 1 ): Defines if the player should ONLY take 1 Wall damage ONLY ONE TIME every time they go Airborne, Meaning they won't take anymore Wall-Damage after the first Airborne impact until they land on any ground again.

  • d_walldamage_cooldown ( 0.4 / 10 ): The Cooldown in seconds that players will get before they can hit another Wall-Damage impact and receive damage.

Support me if you want | Make a Commission



If you want to tip me or have somewhere to transfer me the payment after a completed-commission,

here's my Ko-fi:
My Ko-fi[ko-fi.com]
https://ko-fi.com/dragon_red

( of course you can also just directly transfer me through Paypal for Commissions, will give my personal paypal email at the moment of transfer through Steam chat or Discord. )

Future Bigger Projects


This was just a quick addon i made for nostalgia reasons mainly, but i have much bigger plans and ideas coming soon, like my horror-gamemode in development which the beta will be available on the workshop so i can get feedback and possibly support on my patreon to develop it even further with updates and more content for it, and also of course to support my other bigger future projects.

If you wish to help me with my bigger future projects and be credited on them and have access to alpha versions of them before they are fully finished and published to the workshop, or just support me aswell,

here's my Patreon:
My Patreon[patreon.com]
patreon.com/user?u=119455506
81 Comments
nothim655867 Apr 17 @ 11:24pm 
how are your B A L L S
dn32 Apr 11 @ 10:06am 
What is the default setting for the required velocity to take damage?
REKTMASTER17 Mar 20 @ 6:02pm 
Turning it off does nothing. I still get pancaked
advas Mar 18 @ 12:31pm 
WARNING! Carry on reading! Or you will die, even if you only looked at the word warning! Once there was a little girl called Clarissa, she was ten-years-old and she lived in a mental hospital, because she killed her mom and her dad. She got so bad she went to kill all the staff in the hospital so the More- government decided that best idea was to get rid of her so they set up a special room to kill her, as humane as possible but it went wrong the machine they were using went wrong. And she sat there in agony for hours until she died. Now every week on the day of her death she returns to the person that reads this letter, on a monday night at 12:00a.m. She creeps into your room and kills you slowly, by cutting you and watching you bleed to death. Now send this to ten other profiles on this one site, and she will haunt someone else who doesn't. This isn't fake. apparently, if u copy and paste this to ten comments in the next ten minutes u will have the best of your life. No JK
AngelFragrance Mar 17 @ 11:15pm 
mod bom! :D
Noseboi Feb 1 @ 2:52am 
Nice mod! However.. one small issue.

WARNING! STFU! Or you will die, even if you don't shut up! Clarissa isnt freaking real. Snap back to reality. hopefully, if you copy and paste this comment and spam it in 10 comments in the next 10 minutes, we can hopefully stop these stupid comments. TIC TOC
RetroSnektive Jan 9 @ 3:12am 
can you make it scale based on angle of approach, so grazing a wall while movin real fast doesn't deal loads of kb and damage but smashing headfirst into one does?
mini_dragon111 Jan 4 @ 2:16pm 
man i sure do love some ṕ̷̢̹̫̬̼͙̹̞̀́̇̈́̒̏̒͘à̶̤̯͉̹̣̫̫͛̆͗̏̉̒́͠i̷̢̻͙̙̦̝͖̼̽̀̏̐̀̀̀̔̓̎̈́̓͝n̷̛̙̩̥͉̣̱̳̹͈̺͍̮̩̥̘̏͐͒̀̈́̈͗́̂̉̈́̐̊́͌̚ in the morning
Lou Jan 4 @ 12:05pm 
ddddd
𝟜𝟟'𝕤 Dec 30, 2024 @ 5:17am 
Pls like For Achivment Пж лайкни для ачивки https://steamcommunity.com/sharedfiles/filedetails/?id=3395890578