Garry's Mod

Garry's Mod

125 betyg
TTT Poison Dart Gun
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun, Roleplay
Filstorlek
Lades upp
Uppdaterades
498.453 KB
28 apr, 2017 @ 13:25
29 okt, 2017 @ 6:25
8 ändringsnotiser ( visa )

Abonnera för att ladda ner
TTT Poison Dart Gun

Beskrivning
A silenced gas pistol that fires a neurotoxin bullet which will slowly kill anyone it hits and slightly obscure the victim's vision. If the victim has access to healing measures, it might survive long enough for the poison to wear off.

[[ Changes ]]
I didn't create the original addon, I merely changed/added a few things:
- Forced the client to download the materials for this addon, removing a bug where the gun and it's shop icon would be missing and therefore be displayed as a red error text / black-purple checkered box. This is currently implemented by hardcoding a link to this workshop item.
- Added a "nausea" effect when poisoned by using motion blur and a yellow overlay
- Changed the damage encoding and removed some information from it: The poisoned victim will no longer get damage reports (red bars on the side of the screen) pointing towards the attacker's current location.
- Added configuration options via CVars for ammo and the poison effect
- Changed default values:
-- onhit-damage: 5 (25 head) -> 0
-- poison-ticks: infinite -> 34
-- ammo: 3 -> 1

[[ Configuration ]]
The addon works out of the box. You may, however, change some of the default settings:
ttt_poisondart_interval - (default 1) The amount of seconds between each damage tick of the poison
ttt_poisondart_damage - (default 3) The amount of damage each tick of the poison deals
ttt_poisondart_ticks - (default 34) The amount of ticks the poison lasts before wearing off
ttt_poisondart_ammo - (default 1) The amount of ammo a player gets when purchasing the poison dart gun

[[ Source ]]
All source files can be found in my Github Repository: gmod-addons[github.com]

[[ Credits ]]
TFlippy - for creating the original addon. Check out his workshop!
23 kommentarer
m8 3 aug, 2023 @ 7:53 
so
Tim | w4rum  [skapare] 24 jul, 2023 @ 11:33 
@GalaxyExpress999
Mate, this thing is over 6 years old.
m8 21 jul, 2023 @ 7:28 
doesnt work
Tim | w4rum  [skapare] 24 jul, 2022 @ 23:05 
@MadM
It's been almost 5 years since I last worked on this and I don't play GMod anymore.

The intended use case was dedicated servers running TTT, where you'd just configure CVars in a config file. So I'm not familiar with persisting CVars on a local client.
MadM 24 jul, 2022 @ 4:17 
I like that you can configuarate it via cvars. the only problem is that the settings reset after hosting a new game. it all goes back to default. i have other addons that save the cvars configs even when restarting garrys mod itself. pls help. otherwise best poison gun out there :cozybethesda:
King George, The Third. 6 apr, 2021 @ 16:44 
@Author Thank You I Am Dumb
Tim | w4rum  [skapare] 30 nov, 2020 @ 10:31 
@mandafenner09
It should show up in the traitor buy menu. Note that this weapon won't show up in sandbox mode, just Trouble in Terrorist Town.
King George, The Third. 29 nov, 2020 @ 16:33 
whare is it?
The Ghost 3 jul, 2018 @ 14:15 
doesnt show up in weapons :(
Tim | w4rum  [skapare] 29 okt, 2017 @ 6:28 
@Fresh Dumbeldore
Fixed it.