Auto NPC Championship
Automatically fights npcs in a structured championship!
This can automatically test WIP npcs, fights are also just fun to watch, lol.
Reads npcs as you spawn them.
Then creates a unique fight between each npc spawned.
Each npc’s wins/losses are recorded and displayed at the end!
Think dwarf fortress arena mode!
HOW TO USE?
- Run the command "npcdeathmatch_advance"
- Place npcs from your spawnmenu
- Run the command again.
- Watch!
When all of the fights have been exhausted, a list of every fighter’s score is printed to console.
Fighters gain score when they are the last valid/alive npc, and conversely lose score when they are not.
MORE COMMANDS!
- "npcdeathmatch_setcenter" overrides the center of the deathmatch
- "npcdeathmatch_spawnradius" radius to search for spawnpoints on the navmesh
- "npcdeathmatch_blockselffights" block fights between npcs of same class
- "npcdeathmatch_timeoutlength" ‘length’ that the timeout lasts, default 1000
- "npcdeathmatch_testonlyfirst" only create fights that include the first npc spawned
- "npcdeathmatch_damagefilter" only take damage from the other figher, eg; poison zombie throwing headcrabs
Any questions? Make sure to watch a bit of the second video!
It’s an entire fight, but the first ~1 minute shows exactly how to start an auto deathmatch.
Requires a navmesh! Have fun!