Garry's Mod

Garry's Mod

Not enough ratings
[TTT/2] Delayed Damage Guns
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Realism
File Size
Posted
Updated
42.008 KB
19 Oct, 2019 @ 1:11pm
3 Mar @ 6:27am
11 Change Notes ( view )

Subscribe to download
[TTT/2] Delayed Damage Guns

In 1 collection by Fabii
TTT Server - alternative Kollektion
330 items
Description
This addon adds delayed versions of the Deagle, Shotgun and Rifle to the shop. Instead of immediately dealing damage on hit, they deal damage after a delay. Fool everyone into thinking that you didn't actually shoot at them and watch them drop dead some time later.

Features
  • Three different delayed guns: Deagle, Shotgun and Rifle
  • ULX and TTT2 integration allows you too easily edit the convars.

ConVars
Name
Description
ttt_dd_damage_multiplier (Def. 2)
Multiplier for the damaged dealed
ttt_dd_damage_delay (Def. 15)
Delay between hit and receiving damage
ttt_dd_use_special_slot (Def. 1)
Use the slot for special equipment instead of normal weapon slots

Credits
This addon is based on the TTT Delayed Damage Guns addon.

Dependencies

Github
Repository[github.com]
13 Comments
feyth 28 Jan @ 10:32am 
thanks for making this work again!
NichtDaniel 27 Jan @ 3:19am 
Thanks for the great work :)
mexikoedi  [author] 26 Jan @ 11:54am 
@NichtDaniel
Sorry for the delay.
The issue should be fixed now.
mexikoedi  [author] 21 Jan @ 12:24pm 
@NichtDaniel
Thank you for the information.
I could reproduce this issue and I will fix this in the coming days when I have time again.
NichtDaniel 21 Jan @ 1:47am 
We are on the latest version of ttt2 and gmod btw.
NichtDaniel 21 Jan @ 1:40am 
Tested it with a clean collection, only the base ttt2 and ulx, still the same error, convars are at default and the error happens all the time.
NichtDaniel 18 Jan @ 2:53pm 
Nothin special in particular happend we were just testing stuff, shooting at bots and the delayed guns just didnt work, will do some more testing tho this week
mexikoedi  [author] 18 Jan @ 2:36pm 
@NichtDaniel
Did something special happen?
Like dying while using this addon or something else?
Did you set the ConVars which are mentioned above?
If not try setting them to the default values.
Anything else which could help reproduce this issue?
Because last time I used this everything worked.
NichtDaniel 18 Jan @ 2:27pm 
Getting this error :)

[[TTT/2] Delayed Damage Guns] lua/autorun/server/sv_delayed_damage_hooks.lua:35: Tried to use a NULL CTakeDamageInfo!
1. SetDamage - [C]:-1
2. unknown - lua/autorun/server/sv_delayed_damage_hooks.lua:35

Timer Failed! [ttt_dd_delay_765611981391385463896.4147949219][@lua/autorun/server/sv_delayed_damage_hooks.lua (line 33)]
mexikoedi  [author] 25 Sep, 2023 @ 7:51am 
This addon shouldn't cause any issues.
"sh_convarutil.lua" is already in the Utility Plugin and the Plugin is used instead of the local file.
Only if the user isn't using the Plugin then the local file will be used instead to avoid errors.
So there shouldn't occur any problems with this or an another addon.
(I'm maintaining the addons of Fabii and may have missed something because I haven't maintained his addons from day one.)