Garry's Mod

Garry's Mod

316 ratings
TTT Sprint
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Realism
File Size
Posted
Updated
22.996 KB
26 May, 2017 @ 1:47am
17 May, 2021 @ 3:42am
36 Change Notes ( view )

Subscribe to download
TTT Sprint

In 1 collection by Fresh Garry
Fresh Garrys TTT Server Addons
387 items
Description
This is a sprint Addon for TTT with stamina.
If it is installed you are allowed to sprint while pressing FORWARD (Default: W) and your Sprint key (by default USE Default: E or Shift key) until you have no stamina anymore. It regenerates if you are not sprinting. The normal function of the USE key will work too. The sprint key can be changed (paragraph 3).

You can change the position of the stamina bar by opening Help and Settings (Default: F1) and go to the Sprint tab, as you can see in the pictures. There are several built in positions for the HUD but you can also change it with the sliders. And its also possible to change the settings with commands in the console:
ttt_sprint_hud_offset_x | The x offset of the HUD. Def: 275
ttt_sprint_hud_offset_y | The y offset of the HUD. Def: 60
ttt_sprint_hud_allignment | The allignment of the hud. (0 = bottom, left; 1 = top, left; 2 = top, right; 3 = bottom, right) Def: 0

There is also the possibility to change the Sprint activation by opening the Help and Settings (Default: F1). You can choose between USE Key, Shift , Control, Custom Keys and Double tab. If you selected Custom you can change the key by typing in your key number. You can find the key numbers by opening the link ( https://wiki.garrysmod.com/page/Enums/KEY ) in the menu. IF you choose Double tap you can yhange tha time you have to perform the double tap.
You can also change this Settings with commands in the console:
ttt_sprint_activate_key | The key used to sprint. (0 = Use, 1 = Shift, 2 = Control, 3 = Custom, 4 = Double tap) Def:1
ttt_sprint_activate_key_custom | The custom key used to sprint if ttt_sprint_activate_key = 3. It has to be a Number. (Example: 32 = V Key) Def: 32 Key Numbers: https://wiki.garrysmod.com/page/Enums/KEY
ttt_sprint_doubletaptime | The time you have for double tapping if ttt_sprint_activate_key = 4. (0.001-1) Def:0.25
ttt_fgaddons_textmessage | Enables or disables the message in the chat. Def:1
ttt_sprint_crosshairdebugsize | The size of the crosshair used to prevent no crosshair while not sprinting. (Disabled = 0) Def:1

There are also configuration commands for admins:
ttt_sprint_no_crosshair | Makes the crosshair disappear while sprinting. Def: 1
ttt_sprint_regenerate | Sets stamina regeneration speed. (0.01-2) Def: 0.15
ttt_sprint_consume | Sets stamina consumption speed. (0.1-5) Def: 0.3
ttt_sprint_bonus_rel | The relative speed bonus given while sprinting. (0.1-2) Def: 0.5
(This commands affect the game after a new round starts)

Credits:
Special thanks to Lars ( http://steamoss.com/id/weexe/ ) because he helped me to get this working on DDC Servers.

Known Bugs:
- none
Feel free to report bugs!
119 Comments
KriegerSan 21 Apr, 2024 @ 12:47am 
Nevermind I did a round restart and it worked lol.
KriegerSan 21 Apr, 2024 @ 12:45am 
I can't get the ttt_sprint_regenerate and ttt_sprint_consume convars to actually change anything. No reported lua errrors to go off either.
SUPREMAWARGOD36 14 Feb, 2024 @ 12:00pm 
aight. also yes im a new player and i always toggled HEV suit.
Fresh Garry  [author] 14 Feb, 2024 @ 9:35am 
Currently that is not possible and i cant see where this does make sense. You could just increase the default movement speed and dont need this addon.
SUPREMAWARGOD36 13 Feb, 2024 @ 6:50pm 
can i make it so i have infinite stamina?
Fresh Garry  [author] 8 Feb, 2023 @ 12:25pm 
Der Befehl ttt_sprint_consume | Setzt die Stamina-Verbrauchsgeschwindigkeit. (0.1-5) Def: 0.3 sollte das tun. Ein geringerer Wert sollte für eine längere Sprintdauer sorgen.
۩♥Marcel1311♥۩ 5 Feb, 2023 @ 6:51am 
Kann man die Zeit die man insgeasmt Sprinten kann verlängern? Also dass man nicht schneller sprintet, sondern dass man länger sprinten kann.
Fresh Garry  [author] 5 Jul, 2022 @ 6:34am 
By default you open the menu by pressing F1 in TTT, when ur ingame. It does not work in sandbox or the main menu.
eliogaz365 4 Jul, 2022 @ 2:58pm 
how do i go to help and settings?
eliogaz365 4 Jul, 2022 @ 2:37pm 
idk what do i do