Garry's Mod

Garry's Mod

56 ratings
Enhanced Simple Combat Roll [with more toggles]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun, Roleplay, Scenic
File Size
Posted
Updated
21.124 KB
2 Jul @ 12:12am
9 Jul @ 2:27am
3 Change Notes ( view )

Subscribe to download
Enhanced Simple Combat Roll [with more toggles]

Description
WITH MORE TOGGLES!

A HUGE THANKS TO @teapot FOR HIS ADDON, IF IT WEREN'T FOR HIM, I DON'T EVEN KNOW HOW TO DO THIS, ESPECIALLY THE ANIMATIONS, HE'S REALLY GREAT AT THAT, GO FOLLOW AND SUPPORT HIM INSTEAD OF ME

An attempt of enhancing of this addon

*** THIS CODE IS SERVER-SIDE AND CLIENT-SIDE ***

First of all:

This code is "enhanced" by mostly A.I, however minor tweaks are by human modifications

Menu is at: Q-key -> Utilities Menu -> Combat Roll

Update 9th July 2025 (09-07-25), since there is a keybind update, I suggest you read this:

1. Make sure you can open console using ` (Backtick key) / ~ (Tilde key) (or any key you bind to it)
2. Type gm_showhelp (Do not hold the Q button)
3. Go to Utilities -> User -> Combat Roll
4. Click the button, and select your bind key choice
5. Close the menu by pressing/holding Q
6. Done

Some additions for this addon:

+ Added a section on Utilities Menu so users can toggle easily without accessing the console command
+ Added "Enable Combat Roll" option to enable/disable the addon without completely disabling it
+ Added "Directional Roll" option to enable/disable directional roll, instead of accessing the console command
+ Instead of relying of GetRollDir(ply) [Using mouse], now the code uses GetRollDirFromInput(cmd) [Using keybinds]
+ Added "Enable First-Person Roll View" option to enable/disable the feeling of rolling whilst being in First Person POV, requested by @/sunny, quoting "Only hoping you can implement the accurate first-person view move like you actually rolling"
+ Added "Enable Roll & Fall Damage" option, now you can enable rolling animation while also receiving damage at the same time!
+ Added "No Fall Damage" option to enable/disable the feature without the console command
+ Added "GTA-Style Fall" option, to mimic/emulate GTA:VC Fall Damage shenanigan, with adjustable sliders too
+ Added "Partial Fall Damage" option for those who still want to enable the "Enable Roll & Fall Damage" option, but have mp_falldamage (Realistic Fall Damage) to 1, this option can absorb fall damage. The lower the digits, the better
+ Added Adjustable Roll Speed, instead of hassling which numbers to input
+ Added "Enable Sprint + Crouch Roll" option, so you enable/disable the feature (Original code lacks this option, even the convars are non-existent)
+ Added Rolling while Crouching feature
+ Added "Roll while crouching" option, so you can enable/disable this feature
+ Added temporary invincibility frames (i-frame) feature, suggested by @Jane on the comment section
+ Added an toggleable checkbox/button for temporary invincibility frames (i-frame) while/during rolling
+ Added *a very subtle effect* if invincibility frames (i-frame) is enabled (this comes with a toggleable checkbox/button)
+ Added feature for toggleable roll, now you can roll while you're standing!
+ Added keybind for toggleable roll (not during sprint + crouch combo or roll while crouching features)
+ Added the ability to enable/disable the toggleable roll feature

Now, bugs and glitches whilst I'm testing this:
- Does not work with most Slide Mod
- Goofy on some situation
- The First-Person Roll View is not really First Person Roll POV, it's just some stimulation/feel due to GMod's source engine limitation, you're gonna have to find other addons or external addons to do this
- This addon override addons such as, this addon, so if you want to play with another addons, make sure this addon is disabled, lest it can conflict with other unsupported addons

Please watch this video for more demonstrations.

Otherwise: Enjoy!
14 Comments
RunningMoneyinsanity65 10 Jul @ 5:04am 
venus :bricktherat:
WilliamNalyan1  [author] 9 Jul @ 12:22am 
@OpheliaSarah If you're referring to my "+ Instead of relying of GetRollDir(ply) [Using mouse], now the code uses GetRollDirFromInput(cmd) [Using keybinds]" comment, that's not supposed to be altered nor changed, it's hardcoded and depends on movement keybinds (i.e A-key, D-key, W-key, S-key)

No, I won't add an option for that, but I will add a button to toggle the animation even if you're standing, thanks for your comment again
WilliamNalyan1  [author] 8 Jul @ 6:35pm 
@some random dude idk Here's the link for the P.M I've used:

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3511116047
WilliamNalyan1  [author] 8 Jul @ 6:34pm 
@OpheliaSarah Originally, I never thought to add a changeable keybind option, but since you've mentioned it, I will add it for the users who desire to change the keybind, just be patient, please. Thanks for the insightful comment.
Elliot 8 Jul @ 1:57pm 
me wonders what is the playermodel? if you can tell me the name that would uhh make me happy ig
:ujel:
OpheliaSarah 8 Jul @ 1:24pm 
is it possible to change the keybind? ive searched for a bit and couldn't find it if its available
Jade 8 Jul @ 9:18am 
awesome I appreciate that
WilliamNalyan1  [author] 8 Jul @ 1:46am 
@Jane Added your suggestion in this new update. Kindly check the change notes for some clarifications, thank you.
kimi! 7 Jul @ 11:58am 
psychopomp mentioned. hell yeah
WilliamNalyan1  [author] 7 Jul @ 10:19am 
@Jade I'll see if it's possible to insert such feature in this spaghetti coding. Thanks for the suggestion.