Garry's Mod

Garry's Mod

160 ratings
AutoDuck
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
File Size
Posted
Updated
1.858 KB
22 May, 2017 @ 12:10am
6 Oct, 2019 @ 7:59pm
3 Change Notes ( view )

Subscribe to download
AutoDuck

Description
An automatic ducking system that ducks the player over and under nearby obstacles.


ConVars

autoduck_midair_enabled (default: 1)
Enable AutoDuck while midair

autoduck_midair_radius (default: 16)
Radius around the player to search for obstacles while midair

autoduck_midair_extraz (default: 8)
Extra Z position to add for obstacle searches while midair

autoduck_midair_stand (default: 1)
Don't try to duck if there is ground below the player while midair

autoduck_midair_standz (default: 8)
How far below the player to search for ground while midair

autoduck_ground_enabled (default: 1)
Enable AutoDuck while grounded

autoduck_ground_radius (default: 1)
Radius around the player to search for obstacles while grounded

autoduck_ground_extraz (default: 8)
Extra Z position to add for obstacle searches while grounded

autoduck_nocollide (default: 1)
Don't try to duck for an obstacle with no collisions

autoduck_debug (default: 0)
Show hulls for traces (red is obstacle hull, green is empty hull, blue is stand hull) (requires developer convar to be enabled)
15 Comments
fucking real beans 18 Jun @ 6:30am 
is there way that i can turn it off but my friend has it
Isemenuk27 20 Aug, 2022 @ 2:11pm 
skill issue
The Comedy Nerd 23 Jul, 2021 @ 7:56pm 
quack
froggy  [author] 6 Oct, 2019 @ 8:01pm 
fixed
F1st Br34k3r 6 Oct, 2019 @ 3:02pm 
Not sure why no one reported this all this time, but this interferes with the SMG1 grenade by default.
DanDan Potato 20 May, 2019 @ 3:22pm 
TAKE MY MONEY!
lol 20 Oct, 2018 @ 10:04pm 
Oh my god, I was looking everywhere for a mod like this! Thank you so much for making this great addon.
milf lover 22 Jun, 2018 @ 8:21pm 
wasnt this system on vanilla hl2?
S. HITMAN 13 Jul, 2017 @ 9:55pm 
Crouch jump for people who don't know how to crouch jump.
Smokey 26 Jun, 2017 @ 9:17am 
he had a video but it's broken for me