Garry's Mod

Garry's Mod

44 hodnocení
[TTT2] How Unfortunate! [FEATURE]
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Content Type: Addon
Addon Type: Gamemode
Addon Tags: Cartoon, Fun
Velikost souboru
Přidáno
Aktualizováno
17.665 MB
23. čvc. 2023 v 5.37
23. čvc. 2023 v 8.04
Poznámky ke změnám (5) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
[TTT2] How Unfortunate! [FEATURE]

V 1 kolekci od uživatele Fakas
Servey GMod - TTT
163 položek
Popis
Uh oh! How unfortunate!

Adds Dee Dee from Ultimate Custom Night to your TTT game. While active, Dee Dee has a chance to appear and respawn a dead player as a randomly selected role. If the current map has a navmesh, she may spawn an NPC instead!

ConVars
# Enable or disable the How Unfortunate event ttt_howunfortunate_enabled [0/1] (default: 1) # The chance each second to trigger How Unfortunate ttt_howunfortunate_random [0-1] (default: 0.0003) # A comma-separated list of NPCs that can be spawned when a navmesh is available ttt_howunfortunate_npcs ["npc_something,npc_somethingelse,npc_anothernpc"] (default: "npc_fakas") # A comma-separated list of roles that dead players can be respawned as ttt_howunfortunate_roles ["necromancer,jackal,traitor,innocent"] (default: "necromancer,jackal,jester,lootgoblin,infected")

Commands
# Manually trigger How Unfortunate ttt_howunfortunate_run

Future Plans
  • Randomat/Minigame Integration
  • Integration with the TTT2 settings menu
  • Allow NPCs to win the round
  • Warn someone when they're about to be respawned

Requirements
Requires TTT2 and FakLib to run.

FAQ
Source code?
Right here.[github.com]
Will you support the original TTT?
Sorry, no. It probably won't work if you try to use it, and I won't fix it if it's broken. Feel free to fork[github.com] and open a pull request[github.com] if you want.
Can I disable NPC spawns?
Yes! You just need to remove any NPC classes from the relevant ConVar:
ttt_howunfortunate_npcs ""
What's npc_fakas?
A stupid cookie-cutter PNG nextbot.
Počet komentářů: 17
I_am_Mazki 11. srp. 2023 v 12.49 
this would be awesome if it could spawn a random NPC in sandbox still really cool tho
cooocki 10. srp. 2023 v 13.39 
Alright
Fakas  [autor] 10. srp. 2023 v 0.52 
@cooocki Integration with the F1 menu is something on my list of things do - I believe there's a facility for persistent settings there? In the meantime I'd suggest putting the ConVars in your server.cfg.
cooocki 9. srp. 2023 v 15.41 
Otherwhise, great addon!
cooocki 9. srp. 2023 v 15.41 
Could you also make your settings save over sessions?
cooocki 9. srp. 2023 v 15.40 
I see
Fakas  [autor] 9. srp. 2023 v 5.29 
Actually, I'll add that to the FAQ.
Fakas  [autor] 9. srp. 2023 v 5.29 
@cooocki You should be able to just set ttt_howunfortunate_npcs to "" (i.e. no value). If no NPCs are listed then it should only allow player spawns.
cooocki 8. srp. 2023 v 16.26 
Could you add a convar to enable/disable npc spawn?
General Vis Ferfinir 6. srp. 2023 v 18.52 
this is really fucking funny, can't wait to use this on my server