Garry's Mod

Garry's Mod

891 beoordelingen
[wOS] Roll Mod
   
Prijs
Toevoegen aan favorieten
Toegevoegd aan favorieten
Verwijderen uit favorieten
Content Type: Addon
Addon Type: Model
Addon Tags: Roleplay, Realism
Bestandsgrootte
Geplaatst op
Bijgewerkt op
15.543 KB
24 feb 2017 om 0:55
19 mrt 2017 om 13:47
8 wijzigingsnotities (weergeven)

Abonneren om te downloaden
[wOS] Roll Mod

Omschrijving
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!
Populaire discussies Alles weergeven (23)
38
20 jan 2021 om 5:19
When starting the game, the camera is leaning to the right
zxRizu
4
19 okt 2024 om 1:25
"config file" - where is he and what should we do?
stray
12
25 aug 2021 om 3:42
No rolling animation
I'm a Hero.
420 opmerkingen
gv007 17 sep om 6:33 
bind x wos_roll_use
Bleary 4 mrt om 22:20 
Compatible with beatrun?
𝒩𝑜𝒸𝓉𝓊𝓂 26 jan om 5:00 
is there a way to add a delay to this?
™pooᵗis benˢer™ 30 jul 2024 om 6:12 
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?
SirDriannen 6 mrt 2024 om 6:46 
bruh how do i flip
stray 24 jan 2024 om 9:03 
I created a discussion: ""config file" - where is he and what should we do?"
...or follow the link: https://psteamcommunity.yuanyoumao.com/workshop/filedetails/discussion/870925571/4145068260005989269/
Let's solve this "problem" - TOGETHER!

and thanks google translate)))

💙💛
=)
stray 24 jan 2024 om 7:49 
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!)
💙💛
=)
Fairfield 1 jan 2024 om 2:33 
I wish a max payne 2 rolling mod was a thing
DoomDoub 16 okt 2023 om 14:45 
how do i remove a bind from a key?
Papas Con Catsup 12 jul 2023 om 12:38 
@Blackwolf bind (Key) wos_roll_use