Garry's Mod
[TTT2] Spectre [ROLE]
14 comentarios
mexikoedi 10 MAR a las 9:25 
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 AGO 2023 a las 10:37 
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 a las 23:25 
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  [autor] 4 ENE 2021 a las 15:42 
@Cpt.Haxray That's fine with me so long as you credit me!
Cpt.Haxray 2 ENE 2021 a las 21:16 
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  [autor] 8 SEP 2020 a las 8:46 
@fskin @Catherine It should be fixed, let me know if the error persists
Wasted  [autor] 8 SEP 2020 a las 8:31 
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 a las 6:40 
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  [autor] 18 JUL 2020 a las 18:43 
@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 a las 5:29 
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 a las 3:59 
@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 a las 13:27 
Really nice! Makes much fun and its perfect for our Server! Thank you
Wasted  [autor] 8 JUL 2020 a las 13:02 
@Jorone, I'm not sure what could be causing that problem, what other addons do you have installed?
Jorone 6 JUL 2020 a las 20:20 
im having an issue where it wont save who the killer is and so they won't respawn