Garry's Mod

Garry's Mod

680 arvostelua
[TTT/2|Sandbox] Sandwich (Medkit)
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Content Type: Addon
Addon Tags: Cartoon, Fun
Tiedostokoko
Julkaistu
Päivitetty
2.226 MB
14.3.2016 klo 21.31
5.7.2020 klo 18.04
10 muutosilmoitusta ( näytä )

Tilaa ladataksesi
[TTT/2|Sandbox] Sandwich (Medkit)

1 kokoelmassa, tekijä Zaratusa
[TTT/2] Equipment Collection
22 luomusta
Kuvaus
Features
The sandwich is a simple Medkit for Traitors and Detectives (configurable via ConVars), it heals 25 (configurable) life per use and can either be used on yourself or every other player. Primary attack to heal other player, secondary attack to heal yourself. The three-second rule applies, after you have dropped it on the gound, it will spoil and after some time it can even damage/kill you.

Type: Equip2
Ammo: None
Magazine: 4/4 (configurable)

Sandbox Category: Food

Working view and world model! Also includes an individual .vmt and .vtf weapon icon as well.



ConVars
# Should Detectives be able to buy the Sandwich? ttt_sandwich_detective [0/1] (default: 1) # Should Traitors be able to buy the Sandwich? ttt_sandwich_traitor [0/1] (default: 1) # Amount of sandwiches you receive, when you buy a Sandwich. ttt_sandwich_bought [1..n] (default: 2) # Maximum amount of sandwiches you can carry. ttt_sandwich_max [1..n] (default: 5) # Can you buy the Sandwich only once per round? ttt_sandwich_limited_stock [0/1] (default: 1) # Amount of health being restored upon consumption. ttt_sandwich_heal_amount [1..n] (default: 25)

Note: You have to restart your map/server after changing one of these values to take effect.

Server Infos
Add it to your server by following this guide: Workshop for Dedicated Servers[wiki.facepunch.com]
You can add "sandwich_name" and "sandwich_desc" to your translation file, to translate this addon.

Source
The whole source code can be found on GitHub[github.com], feel free to contribute. The Model and Sounds were taken from TF2. I agree to remove this item if Valve wishes to.

Thanks for reading, enjoy and have fun!
29 kommenttia
FoXikYtByHow 14.11.2023 klo 3.13 
guy just uploaded scout
Flopthecat 5.10.2023 klo 15.05 
sanvich isint filleh
Edwin<3 2.7.2023 klo 4.16 
I'm sorry for asking, but is this mod free?
someone or player 16.12.2022 klo 19.06 
hmm idk subscribe to it to see if you need tf2!
Val 13.9.2022 klo 11.17 
does it require tf2?
k65569404 28.7.2021 klo 16.48 
good
:steamthumbsup:
bobes ponja 24.11.2020 klo 16.23 
when i type ttt_sandwich_heal_amount in console, its says Unknown command, what i do?
Generic Person 24.11.2020 klo 11.58 
that was delicious
NNinja1255 18.11.2020 klo 9.53 
@Stahp
"Sandvich" is the name of the TF2 Sandwich. What if this was an ordinary sandwich that is just using the Sandvich model?
gort 11.11.2020 klo 20.35 
its called sandvich bro.