Garry's Mod

Garry's Mod

448 个评价
[WIP] iNPC Opti+ (optimised and expanded)
2
2
2
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: NPC
插件标签: 快乐, 影视, 风景
文件大小
发表于
更新日期
5.012 MB
4 月 7 日 上午 10:52
4 月 7 日 上午 11:43
2 项改动说明 ( 查看 )

订阅以下载
[WIP] iNPC Opti+ (optimised and expanded)

描述
Uploaded with [urI=https://github.com/WilliamVenner/gmpublisher]gmpublisher[/uri]

Original iNPC addon worked like a well-oiled machine...
...until you decided to put more than 10 NPCs and hit "Unlimited vision"

Suddenly, every O(n^3) (in)efficency algorithm of this code instantly surfaces, nearly freezing your game.

So after editing original code for a while, lo and behold:

NEWER, OPTIMISED VERSION OF THIS ADDON
INTENDED FOR MASSIVE MAP-WIDE NPC-WARFARE!!!

(Almost) compatible with:
- Enhanced Sandbox NPC

I also added:
- Simple squad system: now factions don't overflow the 16-npcs-per-squad limit
- Two strategic variants of NPCs: the one that will rush enemy wherever he is and the other, which protects their base (feature: one NPC affects entire squad's behaviour)
- Airstrikes: what an NPC-war without bombs falling from the sky blowing up everything

All of this can be set up in new "Opti+" Options menu.

It's a work-in-progress addon: some things may cause errors and glitches and some unimplemented features have underdeveloped proto-limbs for code.

Report bugs if you encounter any.

All credits to creator of original iNPC addon: https://steamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=632126111&searchtext=inpc
热门讨论 查看全部(4)
7
10 月 2 日 下午 4:16
stupid air strike
CEMA_PRo4_CAT_brick#fixtf
5
8 月 19 日 上午 12:21
Incompatible addons
Gorigo
0
11 月 16 日 上午 8:25
Enemies can't see each other through the map
MoraakK Пельмени
106 条留言
MoraakK Пельмени 11 月 16 日 上午 8:25 
Enemies can't see each other through the map even though it's enabled in the settings
Lobster Dado 10 月 22 日 上午 10:15 
please fix the factions, they've been broken for so long
MR.Spurgu 10 月 19 日 下午 2:42 
is there any way to make the npcs not always know where the enemies are without turning off the optimised version
Elu 9 月 16 日 下午 2:04 
I wish the addon had airstrikes turned off by default.
Igni et Ferro 9 月 5 日 上午 8:04 
Is it possible to turn off air strikes?
Flamming 9 月 3 日 下午 4:19 
inpc_airstrike_chane 0
cyberkat24 8 月 21 日 上午 6:42 
there's no opti+ menu in options
Enderfredbear51 8 月 13 日 下午 2:34 
where's opti+ i can't find it in options?
gta sa deagle 8 月 7 日 上午 4:36 
how to disable drowning
Fizzenberg 7 月 25 日 下午 2:58 
new july 23rd update introduces some interesting bugs, like the resistance turret not shooting at combine or shooting their own friendlies (does not happen with inpc disabled). same with the hacked rollermine, but they do target the enemy rebel as intended