Garry's Mod

Garry's Mod

44 vurderinger
[TTT2] How Unfortunate! [FEATURE]
   
Utmerkelse
Favoritt
Favoritter
Fjern som favoritt
Innholdstype: Tillegg
Tilleggstype: Spillmodus
Tilleggsetiketter: Tegnefilm, Moro
Filstørrelse
Lagt ut
Oppdatert
17.665 MB
23. juli 2023 kl. 5.37
23. juli 2023 kl. 8.04
5 endringslogger ( vis )

Abonner for å laste ned
[TTT2] How Unfortunate! [FEATURE]

I 1 samling av Fakas
Servey GMod - TTT
163 gjenstander
Beskrivelse
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.
17 kommentarer
I_am_Mazki 11. aug. 2023 kl. 12.49 
this would be awesome if it could spawn a random NPC in sandbox still really cool tho
cooocki 10. aug. 2023 kl. 13.39 
Alright
Fakas  [skaper] 10. aug. 2023 kl. 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. aug. 2023 kl. 15.41 
Otherwhise, great addon!
cooocki 9. aug. 2023 kl. 15.41 
Could you also make your settings save over sessions?
cooocki 9. aug. 2023 kl. 15.40 
I see
Fakas  [skaper] 9. aug. 2023 kl. 5.29 
Actually, I'll add that to the FAQ.
Fakas  [skaper] 9. aug. 2023 kl. 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. aug. 2023 kl. 16.26 
Could you add a convar to enable/disable npc spawn?
General Vis Ferfinir 6. aug. 2023 kl. 18.52 
this is really fucking funny, can't wait to use this on my server