Garry's Mod

Garry's Mod

评价数不足
TTT - Bomb Transmutation (Improved)
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 武器
插件标签: 快乐
文件大小
发表于
更新日期
140.883 KB
2022 年 3 月 7 日 下午 6:11
2023 年 9 月 1 日 上午 10:12
2 项改动说明 ( 查看 )

订阅以下载
TTT - Bomb Transmutation (Improved)

描述
Modified version of https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=859814945

Github link: https://github.com/The1337Gh0st/TTT-Bomb-Transmutation-Improved/

Changes:
Made the weapon consume ammo upon triggering a bomb rather than placing a bomb
Weapon cannot be used if it doesn't have any ammo
Weapon now has a primary delay upon placing a bomb and triggering a bomb
Changed how the convars worked to ensure that they stay on server restart
Removed "swep_kq_sha_admin_only" convar as it didn't do anything
Added convars for how many charges it starts with, the primary delay, and whether or not it removes something upon bomb activation
Changed the internal name of the weapon to fit better
Gave it a unique ammo type to ensure it doesn't interfere with other weapon types
Fixed damage effect to work properly and be less janky overall
Moved weapon slot to WEAPON_ROLE (8th slot)
Added a backup on weapon drop to delete itself to make the weapon can't be used by other players
Made weapon remove itself upon detonation if clip size is equal to 0

Convars + default values:

"swep_kq_charge_radius", 200, "Radius in which you can charge entity as bomb"

"swep_kq_trigger_radius", 100, "Radius in which charged object will trigger player/npc detonation"

"swep_kq_explosion_radius", 10, "Explosion radius"

"swep_kq_delay", 1, "Delay between trigger (*click* sound) and explosion"

"swep_kq_target_owner", 0, "Enable bomb to detonate it's owner"

"swep_kq_sound_deploy", 0, "Enable `Killer Queen` sound on deploy"

"swep_kq_sound_charge", 1, "Enable `Ichi no bakudan` sound on charge"

"swep_kq_sound_trigger", 1, "Enable *click* sound on trigger"

"swep_kq_remove", 1, "Whether or not the bomb will remove something upon use"

"swep_kq_charges", 3, "How many charges Bomb Transmutation starts with", 0, 100

"swep_kq_primary_delay", 1, "Attack delay after setting a bomb and triggering a bomb", 0, 100
热门讨论 查看全部(2)
0
2022 年 3 月 29 日 下午 6:15
置顶: Suggestions
The1337Gh0st
0
2022 年 3 月 29 日 下午 6:15
置顶: Bug Reports
The1337Gh0st
2 条留言
The1337Gh0st  [作者] 2023 年 9 月 1 日 上午 10:15 
@Fakas Should be available in the description now.
Fakas 2023 年 8 月 31 日 下午 10:49 
Do you have the source on GitHub/etc? There's a very small PR I'd like to make to allow setting a flag on entities to make them "unexplodable" - that way developers of other addons can build in compatibility with this.