Garry's Mod
Оценок: 125
TTT Poison Dart Gun
   
Наградить
В избранное
В избранном
Удалить
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun, Roleplay
Размер файла
Добавлен
Изменён
498.453 KB
28 апр. 2017 г. в 13:25
29 окт. 2017 г. в 6:25
Обновлений: 8 (просмотреть)

Подпишитесь, чтобы загрузить
TTT Poison Dart Gun

В 3 коллекциях, созданных Tim | w4rum
TTT - Client Files
Предметов: 60
TTT - Server Files
Предметов: 66
TeyTeyTey Zwei - Halbwegs Balanced Edition - Equipment
Предметов: 73
Описание
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
Федерико :) 3 авг. 2023 г. в 7:53 
so
Tim | w4rum  [создатель] 24 июл. 2023 г. в 11:33 
@GalaxyExpress999
Mate, this thing is over 6 years old.
Федерико :) 21 июл. 2023 г. в 7:28 
doesnt work
Tim | w4rum  [создатель] 24 июл. 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 июл. 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:
Big Brother 6 апр. 2021 г. в 16:44 
@Author Thank You I Am Dumb
Tim | w4rum  [создатель] 30 ноя. 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.
Big Brother 29 ноя. 2020 г. в 16:33 
whare is it?
The Ghost 3 июл. 2018 г. в 14:15 
doesnt show up in weapons :(
Tim | w4rum  [создатель] 29 окт. 2017 г. в 6:28 
@Fresh Dumbeldore
Fixed it.