Garry's Mod

Garry's Mod

874 ratings
[wOS] Roll Mod
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Model
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
15.543 KB
Feb 24, 2017 @ 12:55am
Mar 19, 2017 @ 1:47pm
8 Change Notes ( view )

Subscribe to download
[wOS] Roll Mod

Description
Dodge, duck, flip, dive and.. ROLL!

REQUIRES THE WILTOS ANIMATION BASE AND BLADE SYMPHONY EXTENSION!
REQUIRES THE WILTOS ANIMATION BASE AND BLADE SYMPHONY EXTENSION!
REQUIRES THE WILTOS ANIMATION BASE AND BLADE SYMPHONY EXTENSION!
REQUIRES THE WILTOS ANIMATION BASE AND BLADE SYMPHONY EXTENSION!

Description
Roll into cover and dodge enemy fire, Roll mod lets your player roll with authentic first person view as well as custom third person animation. Thanks to the animation base, all player models are supported.

Client Information
To roll, just double tap the direction you want to roll in or use the "wos_roll_use" console command.

There are some console commands to set everything optimally for your server:
wos_roll_doubletap -- Enables or disables double tapping of the movement key to roll wos_roll_cameramode -- Changes the first person camera type. -- 0 = No dynamic camera -- 1 = Positional Camera only ( starwars battlefront esque ) -- 2 = Position and Angles ( Realistic camera ) -- 3 = Third person camera wos_roll_dodgedamage -- Enables or disables damage while dodging wos_roll_use -- ROLL!

You also have config options in the "wos/rollmod/config.lua" file;

-- How many seconds does the player have to put that second tap in for double-tap rolling wOS.RollMod.Sensitivity = 0.3 --Speed you go when you are rolling wOS.RollMod.RollSpeed = 200 --These are the damage types you can dodge while rolling. --Set them to true so they are dodgeable, false for the opposite wOS.RollMod.Dodgeables = {} wOS.RollMod.Dodgeables[ DMG_GENERIC ] = false wOS.RollMod.Dodgeables[ DMG_CRUSH ] = false wOS.RollMod.Dodgeables[ DMG_BULLET ] = true wOS.RollMod.Dodgeables[ DMG_SLASH ] = true wOS.RollMod.Dodgeables[ DMG_BURN ] = false wOS.RollMod.Dodgeables[ DMG_BLAST ] = false wOS.RollMod.Dodgeables[ DMG_SHOCK ] = true wOS.RollMod.Dodgeables[ DMG_SONIC ] = false wOS.RollMod.Dodgeables[ DMG_ENERGYBEAM ] = false wOS.RollMod.Dodgeables[ DMG_BUCKSHOT ] = true wOS.RollMod.Animations = {} wOS.RollMod.Animations[2] = "roll_forward" --Forward animation wOS.RollMod.Animations[3] = "roll_backward" --Backward animation wOS.RollMod.Animations[4] = "roll_left" --Left animation wOS.RollMod.Animations[5] = "roll_right" --Right animation

Developer information
There are a couple of hooks you can use to override the default behavior. They are listed below:

wOS.RollMod.DodgedDamage -- Parameters( victim, hitgroup, dmginfo ) -- Returns nothing -- Called when player just dodged damage while rolling wOS.RollMod.OnRoll -- Parameters( self ) -- Returns nothing -- Called when player just entered rolling state wOS.RollMod.ShouldRoll -- Parameters( ply ) -- Return true/false to allow/prevent rolling -- Called when asking if a player should be able to roll

You can also check if the addon is active by checking for these two tables;
wOS -- Type( TABLE ) -- The main wiltOS Table wOS.RollMod -- Type( TABLE ) -- The RollMod sub-entry

Bug Reporting / Questions / Suggestions
Go ahead and make a discussion if you can't already see it. I would be happy to help you get everything working. if you need edits to the addon please let me know and I'll point you in the right direction

Credits
Sounds from The Specialists (HL1 Mod)
Animations from Blade Symphony
Code by King David

Keep up to date with wiltOS Technologies by joining our Community Steam group!
Popular Discussions View All (23)
38
Jan 20, 2021 @ 5:19am
When starting the game, the camera is leaning to the right
zxRizu
4
Oct 19, 2024 @ 1:25am
"config file" - where is he and what should we do?
Eternal ☠️ Undead
12
Aug 25, 2021 @ 3:42am
No rolling animation
I'm a Hero.
419 Comments
Bleary Mar 4 @ 10:20pm 
Compatible with beatrun?
𝒩𝑜𝒸𝓉𝓊𝓂 Jan 26 @ 5:00am 
is there a way to add a delay to this?
(Voice) pootis benser™ Jul 30, 2024 @ 6:12am 
can you make an option where the backflip actually makes you jump?backflipping over an obstacle, or how slow or fast the animations are for the flips and rolls?
mandlz Mar 6, 2024 @ 6:46am 
bruh how do i flip
Eternal ☠️ Undead Jan 24, 2024 @ 9:03am 
I created a discussion: ""config file" - where is he and what should we do?"
...or follow the link: https://steamcommunity.com/workshop/filedetails/discussion/870925571/4145068260005989269/
Let's solve this "problem" - TOGETHER!

and thanks google translate)))

💙💛
=)
Eternal ☠️ Undead Jan 24, 2024 @ 7:49am 
If you not FIND config file...
Go to GITHUB site: https+++:/github.com/wiltOS/wos-rollmod
(delete all "+")
// but honestly, i'm not test this)
(folder "wos-rollmod" copy in "addons")
// надо было английский на 5 учить, а не на 3-4!)))
Good luck and have fun!)
💙💛
=)
Lamb Over rice from Basrah Jan 1, 2024 @ 2:33am 
I wish a max payne 2 rolling mod was a thing
DoomDoub Oct 16, 2023 @ 2:45pm 
how do i remove a bind from a key?
Papas Con Catsup Jul 12, 2023 @ 12:38pm 
@Blackwolf bind (Key) wos_roll_use
Blackwolf Jun 21, 2023 @ 7:21pm 
any way i could bind this to a key?