Garry's Mod
44 人が評価
[TTT2] How Unfortunate! [FEATURE]
   
アワード
お気に入り
お気に入り
お気に入りから削除
Content Type: Addon
Addon Type: Gamemode
Addon Tags: Cartoon, Fun
ファイルサイズ
投稿日
更新日
17.665 MB
2023年7月23日 5時37分
2023年7月23日 8時04分
5 項目の変更履歴 ( 表示 )

サブスクライブしてダウンロード
[TTT2] How Unfortunate! [FEATURE]

Jack Black 作成の 1 件のコレクション
Servey GMod - TTT
163 アイテム
解説
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 件のコメント
I_am_Mazki 2023年8月11日 12時49分 
this would be awesome if it could spawn a random NPC in sandbox still really cool tho
cooocki 2023年8月10日 13時39分 
Alright
Jack Black  [作成者] 2023年8月10日 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 2023年8月9日 15時41分 
Otherwhise, great addon!
cooocki 2023年8月9日 15時41分 
Could you also make your settings save over sessions?
cooocki 2023年8月9日 15時40分 
I see
Jack Black  [作成者] 2023年8月9日 5時29分 
Actually, I'll add that to the FAQ.
Jack Black  [作成者] 2023年8月9日 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 2023年8月8日 16時26分 
Could you add a convar to enable/disable npc spawn?
General Vis Ferfinir 2023年8月6日 18時52分 
this is really fucking funny, can't wait to use this on my server