Garry's Mod

Garry's Mod

74 ratings
TTT Rollermine Traitor Weapon
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun
File Size
Posted
Updated
5.574 KB
9 Apr, 2017 @ 5:08pm
26 Apr, 2017 @ 8:13pm
2 Change Notes ( view )

Subscribe to download
TTT Rollermine Traitor Weapon

In 1 collection by Badger
Decent TTT Addons
30 items
Description
[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 Comments
BlazingFenix 17 Jul @ 8:55pm 
i be scaring random people with this
Badger  [author] 13 Apr, 2021 @ 2:51am 
Thank you!
Donato Dias 12 Apr, 2021 @ 4:06pm 
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  [author] 9 Jun, 2018 @ 3:40pm 
Cheers xoxo
Dimerson 9 Jun, 2018 @ 8:47am 
Amazing addon dude!
PussyClench 2 Mar, 2018 @ 5:59am 
Can you make this a thing for sandbox?
fskin 28 Apr, 2017 @ 8:47am 
Nice!
Badger  [author] 26 Apr, 2017 @ 8:21pm 
I have updated the weapon to support customisable health and damage for the rollermine.
See the change notes for a full list.
Badger  [author] 11 Apr, 2017 @ 11:18am 
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 11 Apr, 2017 @ 8:56am 
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.