Garry's Mod

Garry's Mod

75 个评价
TTT Rollermine Traitor Weapon
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 武器
插件标签: 快乐
文件大小
发表于
更新日期
5.574 KB
2017 年 4 月 9 日 下午 5:08
2017 年 4 月 26 日 下午 8:13
2 项改动说明 ( 查看 )

订阅以下载
TTT Rollermine Traitor Weapon

在 Badger 的 1 个合集中
Decent TTT Addons
30 件物品
描述
[Configurable]
This is a TTT traitor weapon, useful for discouraging players from staying in parts of the map.

The rollermines will attack fellow traitors, so make sure to warn your teammates!
They will give the appearance of trying to kill the player who threw them, but they won't do any actual harm.

Rollermines have a configurable health, but can also be easily destroyed with water.
3 seconds after death, the rollermine will explode, causing damage to anyone nearby.

Using the Poltergeist weapon on a rollermine can be quite devastating...

Configuration
This is done through some console variables. Set these in your server.cfg file or through console for singleplayer/self-hosted.
  • Health
    • weapon_ttt_rollermine_health
    • Default: 2500
  • Damage Scale
    • weapon_ttt_rollermine_damage_scale
    • Default: 1.5
    • Side attacks = scale x 5HP
    • All other attacks = scale x 10HP
  • Death Explosion Maximum Damage
    • weapon_ttt_rollermine_explosion_damage
    • Default: 75HP

Source code
https://github.com/BadgerCode/TTT-Rollermine
14 条留言
BlazingFenix 7 月 17 日 下午 8:55 
i be scaring random people with this
Badger  [作者] 2021 年 4 月 13 日 上午 2:51 
Thank you!
Donato Dias 2021 年 4 月 12 日 下午 4:06 
Amazing addon. I especially apreciate the fact that this works with the damagelogs and registers the rollermine damage as been inflicted by it's owner. Good job man.
Badger  [作者] 2018 年 6 月 9 日 下午 3:40 
Cheers xoxo
Dimerson 2018 年 6 月 9 日 上午 8:47 
Amazing addon dude!
Jenny Tauls 2018 年 3 月 2 日 上午 5:59 
Can you make this a thing for sandbox?
fskin 2017 年 4 月 28 日 上午 8:47 
Nice!
Badger  [作者] 2017 年 4 月 26 日 下午 8:21 
I have updated the weapon to support customisable health and damage for the rollermine.
See the change notes for a full list.
Badger  [作者] 2017 年 4 月 11 日 上午 11:18 
The rollermine npc is the Half-Life 2 npc entity, so there's no lua for it.
This is also where the difficulty in changing the NPC comes from.
Here is the line where the weapon creates the entity [github.com].
fskin 2017 年 4 月 11 日 上午 8:56 
Could you tell me where the rollermine NPC lua is located? I could just edit it myself because we're usually playing with fewer players. Thx for your replies.