Garry's Mod

Garry's Mod

244 个评价
[TTT/Sandbox] Minecraft Bow
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 武器
插件标签: 快乐
文件大小
发表于
更新日期
93.776 KB
2020 年 12 月 7 日 上午 2:53
2 月 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 2 月 21 日 上午 7:39 
Why did steam ping me give me a notification for this lmao
The Stig  [作者] 2 月 21 日 上午 2:31 
@Garash Done.
Garash 2 月 18 日 下午 10: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 2022 年 8 月 1 日 下午 11: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