Garry's Mod

Garry's Mod

1,848 个评价
Global Aggro (Target Players / NPC War)
8
3
4
4
2
2
2
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 卡通, 快乐, 影视
文件大小
发表于
更新日期
15.372 KB
8 月 15 日 上午 8:36
9 月 3 日 下午 12:34
11 项改动说明 ( 查看 )

订阅以下载
Global Aggro (Target Players / NPC War)

在 Freef 的 2 个合集中
Freef's Misc Mods
48 件物品
Global Aggro Target Showcase Mods
9 件物品
描述
Gameplay trailer on cs_militia
Makes all hostile NPCs attack your location and/or engage in a war, requires map to have a navmesh for nextbots and nodegraph for HL2 NPCs!
Includes Nextbot support for ZBase, VJBase and DrGBase

Utilities->Admin has a menu of the following console gizmos:
global_aggro_target_players 1 to activate hostiles targeting players
global_aggro_uncollide_doors to uncollide all doors
global_aggro_npcwar_enemies_hunting 1 to activate your enemies hunting your friends, opposite is global_aggro_npcwar_friends_hunting 1
global_aggro_schedule_override 0 to make them less aggressive

You can also customize if neutrals and unsupported Nextbots should be included in calculations.

Reload map if they freeze up, AI overhauls may conflict, movement efficiency/distance depend on navmesh quality & distance
This mod doesn't spawn enemies on its own. Works great with NPC Groups, NPC Daemon / Global NPC Group Spawner (disable seek out enemies!) and iRaids. Don't forget Better Keep Corpses!

I've always hated how in NPC Spawner battles, the NPCs would either not know where you are or just wait to ambush you, even if you've just killed one of their buddies close by.

That's why I developed Global Aggro. Every ~2 seconds, the NPCs on the map receive new information on one random player. The mod also attempts to override their state to an aggressive charge instead of a passive ambush (can be disabled). If you're a developer, you can use global_aggro_z_debug_print to see information on the changes being made.

The mod also supports NPC wars. Using the hunting options, NPCs will be split into 2 teams based on their relation to the player who was randomly selected for the calculations. Either one or both teams will then attack each other. Note for DRGBase: I am unable to read the player relationship while ignore players is enabled. In such a case, the script will assume the Nextbot belongs to team hostile.

This does nothing on Nextbots if they do not provide the same NPC API or are part of the 3 bases. You'll have to ask the developer to add an option for giving them a max awareness or for supporting the NPC calls of this mod. If you still want to use them, there's an option which will attempt to set them to a team hostile/friendly, but this is a bit buggy.

Inspired by NPC Attack point
154 条留言
Freef  [作者] 10 月 30 日 下午 12:00 
That's odd, I've never had these problems before. If you enable the debug prints and set ignore players, you'll see in the console how the 2 teams are scheduled to fight each other. If they target you, then it must be another mod causing that
DE4THROW2004 10 月 29 日 下午 9:28 
Does this mod not work with Ignore players on? After a little testing that seems to be the case, which is unfortunate when making NPC battles since it'll disrupt things if the AI is shooting at you half the time instead of their enemy when you're trying to spectate.
Freef  [作者] 9 月 28 日 上午 8:59 
Works fine for me when using the mods in description
Jboy9786 9 月 28 日 上午 6:41 
I don't know, even with navmeshed maps this still doesn't work half the time
Dr. Walter λ 9 月 23 日 上午 5:43 
works with dynamic npc squads?
him 9 月 19 日 下午 6:44 
not working?
Jboy9786 9 月 19 日 上午 3:10 
mind you, this doesn't work if you want to have 2 factions who are already hostile to each other bust also to the player because the settings specifically say hostile to the player and allies to the player, TL;DR, if 2 factions hate your guts, this won't work at all
UNSKILLED 9 月 4 日 下午 5:10 
i want an aggro mod like army of 2, where the most dangerous player or npc is targeted. lmk if there is on like that
R4NG3RS1 9 月 4 日 下午 4:43 
i think the new update may have broken combine ai or something. even when their schedules are overridden, they just decide to camp wherever they spawned. i don't have any addons that alter ai behavior either.
Cosmos 9 月 1 日 下午 2:57 
Police assault in progress