Garry's Mod

Garry's Mod

[TTT2] Spectre [ROLE]
14 Comments
mexikoedi 10 Mar @ 9:25am 
I tried this role and it works great but I got an error.
I opened a GitHub issue.
It would be nice if this role could get updated.
Loussio 5 Aug, 2023 @ 10:37am 
what happen if he get killed by the infected ? he will still haunting the infected or he will become a zombie ?
|UGA|PatPeter 9 Sep, 2021 @ 11:25pm 
I created a master configuration file for all of the TTT roles in the first 3 pages of the Workshop search: https://gist.github.com/PatPeter/70b1c090d8c8c311d99632dca76ec513
Wasted  [author] 4 Jan, 2021 @ 3:42pm 
@Cpt.Haxray That's fine with me so long as you credit me!
Cpt.Haxray 2 Jan, 2021 @ 9:16pm 
Hey, i made a custom edit of this role for a server called the Haunted that is on the Traitor team. Since its still mostly your code(basically just swapped role, swapped all references to Spectre to Haunted, and replaced Icons with new ones), would you be fine with me uploading it to the steam workshop(i could add you as a contributor as well if need be)?
Wasted  [author] 8 Sep, 2020 @ 8:46am 
@fskin @Catherine It should be fixed, let me know if the error persists
Wasted  [author] 8 Sep, 2020 @ 8:31am 
Ah, I was trying to patch a problem with Spectator Deathmatch, but if you don't have that installed it breaks, will put out a fix shortly
fskin 8 Sep, 2020 @ 6:40am 
Same problem. Error:

[[TTT2] Spectre [ROLE]] lua/terrortown/autorun/shared/sh_haunt_handler.lua:48: attempt to call method 'IsGhost' (a nil value)
1. fn - lua/terrortown/autorun/shared/sh_haunt_handler.lua:48
2. Run - lua/ulib/shared/hook.lua:109
3. unknown - addons/ttt2-master/gamemodes/terrortown/gamemode/server/sv_player.lua:836
Wasted  [author] 18 Jul, 2020 @ 6:43pm 
@PROFI I've added your idea as a new ConVar, set ttt2_spectre_worldspawn to 1 and the Spectre should respawn at one of the map's spawnpoints
Tim | Mineotopia 15 Jul, 2020 @ 5:29am 
you could revive the player at a spawnpoint instead of the revival at their bodyposition. Take a look at the spawn library to learn about those functions.
KillerfoxyLP 15 Jul, 2020 @ 3:59am 
@Wasted could u do that where the spectre dies respawn? because i just died somebody made my body fell of the building and i died instantly there
Rainer Wahnsinn 14 Jul, 2020 @ 1:27pm 
Really nice! Makes much fun and its perfect for our Server! Thank you
Wasted  [author] 8 Jul, 2020 @ 1:02pm 
@Jorone, I'm not sure what could be causing that problem, what other addons do you have installed?
Jorone 6 Jul, 2020 @ 8:20pm 
im having an issue where it wont save who the killer is and so they won't respawn