Garry's Mod
Оценок: 243
[TTT/Sandbox] Minecraft Bow
   
Наградить
В избранное
В избранном
Удалить
Тип контента: Дополнение
Тип дополнения: Оружие
Метки дополнений: Развлечение
Размер файла
Добавлен
Изменён
93.776 KB
7 дек. 2020 г. в 2:53
21 фев в 2:29
Обновлений: 11 (просмотреть)

Подпишитесь, чтобы загрузить
[TTT/Sandbox] Minecraft Bow

Описание
A Minecraft bow weapon for TTT and Sandbox!
The Minecraft bow is a weapon that can be bought by detectives or traitors.
Arrows that land on the ground can be picked up again by walking over them!

You can also find the minecraft bow in the weapons tab in Sandbox!
Find the bow in the "Minecraft" category of the Sandbox weapons tab.


Changing damage/ammo
You can use these "convars" listed below to change the ammo/damage of the weapon for either Sandbox or TTT.
If hosting a game from the main menu, put these in your listenserver.cfg one line at a time.
(Normally at: C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\cfg)

For example:
ttt_minecraft_bow_damage 60
ttt_minecraft_bow_ammo 10
san_minecraft_bow_damage 1000
san_minecraft_bow_ammo 1000

If hosting a game from a dedicated server, put these in your server.cfg.


ConVars
ttt_minecraft_bow_damage (Default 40)
Damage of the minecraft bow in TTT

ttt_minecraft_bow_ammo (Default 20)
Ammo of the minecraft bow in TTT

san_minecraft_bow_damage (Default 60)
Damage of the minecraft bow in Sandbox

san_minecraft_bow_ammo (Default 999)
Ammo of the minecraft bow in Sandbox


Credits
Credit goes to Dj LukisLT for the model used.
Комментариев: 4
WaffleTime 21 фев в 7:39 
Why did steam ping me give me a notification for this lmao
The Stig  [создатель] 21 фев в 2:31 
@Garash Done.
Garash 18 фев в 22:18 
Could you change the shop item's background from white is to blue, as red is reserved for passives items and blue is the standard for everything else.
WaffleTime 1 авг. 2022 г. в 23:39 
Error?
[[TTT/Sandbox] Minecraft Bow] gamemodes/terrortown/gamemode/player.lua:594: attempt to call method 'DampenDrop' (a nil value)
1. unknown - gamemodes/terrortown/gamemode/player.lua:594
2. TakeDamageInfo - [C]:-1
3. unknown - lua/entities/ttt_minecraft_arrow.lua:38