Garry's Mod

Garry's Mod

416 个评价
Auto NPC Championship
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 卡通, 漫画, 快乐
文件大小
发表于
更新日期
22.148 KB
2023 年 2 月 21 日 下午 1:16
2023 年 6 月 2 日 下午 7:25
3 项改动说明 ( 查看 )

订阅以下载
Auto NPC Championship

在 SkullWagen 的 1 个合集中
My Bigger Projects
30 件物品
描述
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?
  1. Run the command "npcdeathmatch_advance"
  2. Place npcs from your spawnmenu
  3. Run the command again.
  4. 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!
热门讨论 查看全部(1)
2
8 月 15 日 下午 3:23
An idea
Lil' X-Treme
81 条留言
Cyrale 7 月 7 日 上午 11:45 
can you you add more type of deathmatchs?
Nesigmohka1 5 月 22 日 上午 5:58 
HIM
magrinhomtts 1 月 1 日 下午 12:12 
like 2v2 4v4 and etc.. or free for all
magrinhomtts 1 月 1 日 下午 12:11 
make add more npcs in battlel please
Ravenlover 2024 年 9 月 16 日 下午 8:42 
Looking at the thumbnail I hear the king of the hill beginning theme
zeroncosmos 2024 年 8 月 17 日 上午 10:30 
That is intended behaver, every npc you try to spawn will go on a list instead, you'll have to use the command again after you put down the npcs you want to see fight.
Rustyloot отец 2024 年 8 月 15 日 上午 5:20 
everytime i type the command i cant spawn the npcs pls help
zeroncosmos 2024 年 8 月 14 日 下午 5:25 
I tried to have the same character with different weapons but it ended instantly
A Reflective Sphere 2024 年 8 月 12 日 上午 6:29 
bro this addon is great :physgun:
BALLING🏀 2024 年 7 月 8 日 下午 1:05 
when i do it it does not work pls
fix it