Garry's Mod

Garry's Mod

847 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
24 Feb, 2017 @ 12:55am
19 Mar, 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[] = false wOS.RollMod.Dodgeables[] = false wOS.RollMod.Dodgeables[] = true wOS.RollMod.Dodgeables[] = true wOS.RollMod.Dodgeables[] = false wOS.RollMod.Dodgeables[] = false wOS.RollMod.Dodgeables[] = true wOS.RollMod.Dodgeables[] = false wOS.RollMod.Dodgeables[] = false wOS.RollMod.Dodgeables[] = 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)
3
17 Jul @ 9:30pm
"config file" - where is he and what should we do?
Eternal ☠️ Undead
38
20 Jan, 2021 @ 5:19am
When starting the game, the camera is leaning to the right
zxRizu
12
25 Aug, 2021 @ 3:42am
No rolling animation
I'm a Hero.
418 Comments
Pootis Benser (Ham mafia) 30 Jul @ 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?
realfuniman 6 Mar @ 6:46am 
bruh how do i flip
Eternal ☠️ Undead 24 Jan @ 9:03am 
I created a discussion: ""config file" - where is he and what should we do?"
...or follow the link: https://steamproxy.net/workshop/filedetails/discussion/870925571/4145068260005989269/
Let's solve this "problem" - TOGETHER!

and thanks google translate)))

💙💛
=)
Eternal ☠️ Undead 24 Jan @ 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!)
💙💛
=)
Purple Hexafluoride 1 Jan @ 2:33am 
I wish a max payne 2 rolling mod was a thing
DoomDoub 16 Oct, 2023 @ 2:45pm 
how do i remove a bind from a key?
Papas Con Catsup 12 Jul, 2023 @ 12:38pm 
@Blackwolf bind (Key) wos_roll_use
Blackwolf 21 Jun, 2023 @ 7:21pm 
any way i could bind this to a key?
gorreado.gil.mp 14 May, 2023 @ 2:37pm 
@FabeDios wos_roll_cameramode 3 on console
FabeDios 24 Apr, 2023 @ 6:32pm 
When in 3rd person