Garry's Mod

Garry's Mod

Not enough ratings
[TTT|2] Milk Gun [WEAPON]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun, Realism
File Size
Posted
Updated
1.307 MB
30 Oct, 2019 @ 11:26am
13 Feb @ 9:55am
25 Change Notes ( view )

Subscribe to download
[TTT|2] Milk Gun [WEAPON]

In 1 collection by mexikoedi
Eskalation Pur Server Addons for TTT2 [STANDARD]
162 items
Description
What is this?

This is a weapon that shoots milk bags. If you do primary attack you will hear "Milch ist Gift." (English translation: "Milk is poison.") and if you do secondary attack you will hear "Stop stop stop HÖR AUF!" (English translation: "Stop stop stop STOP IT!"). This was said by the German YouTuber "ungespielt". (You can switch to another weapon to stop the sound.)

Everything is configurable with ConVars. So you can for example deactivate the sounds if they are disturbing or change other settings.
A round restart or map reload/change is required to apply ConVar changes.

Requirements

This works ONLY in TTT/TTT2 and you NEED CS:S for the textures.
If you need CS:S, here is how you can get it free and legally: CS:S

You can use ULX & ULib to change ConVars more easily.

Who can use it?

It's a weapon that is available for one credit for the traitor. (You can change that in the F1 menu.)

ULX ConVars

Name
Description
ttt_milkgun_primary_sound (Def. 1)
Sound of the primary attack
ttt_milkgun_secondary_sound (Def. 1)
Sound of the secondary attack
ttt_milkgun_automaticFire (Def. 0)
Enable automatic fire
ttt_milkgun_damage (Def. 150)
Damage dealt on impact
ttt_milkgun_randomDamage (Def. 5)
Applied on top of the normal damage (+/-)
ttt_milkgun_ammo (Def. 3)
Default ammo the milkgun has when bought
ttt_milkgun_clipSize (Def. 3)
Clipsize of the milk gun
ttt_milkgun_rps (Def. 0.4)
Packages of milk to shoot per second

Can I change the sound?

Yes you can. Extract the addon and delete the sound files which you don't like and add your sound files.
Don't forget to modify the code for the new sound files.
The primary attack sound file is located at: "ttt_ttt2_milk_gun\sound" under the name "milk.wav".
The secondary attack sound file is located at: "ttt_ttt2_milk_gun\sound" under the name "milk_altfire.wav".
If you don't know how to extract an addon: How to extract GMA files

Can I change other settings?

You can change anything you want after you extracted the addon. After you finished just save and put the whole folder on your server (into the addons folder).

Can I contribute to this addon?

Of course. Thank you very much. Here you go: Source [github.com]

Bugs
  • Nothing ...

Credits

Fabii
(Based on his "[TTT/2] Money Launcher" addon: Here )

Thanks to

demarvLP/TTV - For the video and for the beautiful ingame/workshop icons.

Additional information

If you have any suggestions for improvements, just write them here in the comments. You can also post any ideas or feedback for my future workshop items.

Thanks for using the "Milk Gun" addon.

For the Sandbox version: Here
3 Comments
mexikoedi  [author] 25 Dec, 2020 @ 4:14am 
My Website [mexikoedi.github.io]
Noob3LiX 21 Apr, 2020 @ 12:47pm 
ich habe immer noch angst vor der Giftschnitte :D
Slifer808 22 Dec, 2019 @ 8:53am 
Ein Tiger wiegt doch locker ne Tonne.