Description

Updated for 1.5.1. Added compatibility with mod "NPCs without amnesia v3.0"

Preview
Mora's Combat ignore military fix v.2.2
Post comment Comments  (0 - 50 of 63)
Δαμοκλῆς
Δαμοκλῆς - - 222 comments

Intersting, Do you thin you could do something similar to the choppers controlled by the military to only attack those that attack other military members rather than going on killing rampages through the maps.

Reply Good karma Bad karma+8 votes
mora145 Author
mora145 - - 199 comments

Yes.

Reply Good karma+8 votes
Δαμοκλῆς
Δαμοκλῆς - - 222 comments

I think the entire anomaly community would greatly appreciate it if you did just that. :3

Reply Good karma Bad karma+12 votes
mora145 Author
mora145 - - 199 comments

Yeah! I've seen helicopters attack like crazy, and they don't go away. I'll soon check this, since I'm in this file; if I achieve something I'll upload it ;)

Reply Good karma+9 votes
GoTXz
GoTXz - - 5 comments

Hi,

About the compatibility with NPCs without amnesia. You say it's better to just copy the line of code in your description instead of downloading this mod entirely?

Reply Good karma Bad karma+1 vote
mora145 Author
mora145 - - 199 comments

You need to copy the description code, replacing the piece from line 218. into the "NPCs without amnesia" file

Here a cap: Prntscr.com

Reply Good karma+2 votes
GoTXz
GoTXz - - 5 comments

Thanks!

Reply Good karma Bad karma+1 vote
Rogue_4TW
Rogue_4TW - - 172 comments

There shouldn't be military outside their checkpoint in the first place. they aint ordered to do patrols in the cordon. Sidorvich pays them from attacking the rookie village.

Reply Good karma Bad karma+2 votes
_Zazquatch_
_Zazquatch_ - - 73 comments

Will this work with warfare?

Reply Good karma Bad karma+1 vote
mora145 Author
mora145 - - 199 comments

Ye, In theory.

Reply Good karma+1 vote
Guest
Guest - - 690,520 comments

Not to be too much of a bother, but which lines are changed specifically for the compatibility patch? It's a bit difficult to read the code and then compare it when I have to keep switching tabs to do so.

Reply Good karma Bad karma0 votes
Pappaslet
Pappaslet - - 20 comments

Get Winmerge man, makes comparing a breeze.

Reply Good karma Bad karma+3 votes
mora145 Author
mora145 - - 199 comments

Yes, you can also use Beyond Compare.

Reply Good karma+1 vote
Pappaslet
Pappaslet - - 20 comments

FATAL ERROR

[error]Expression : <no expression>
[error]Function : CScriptEngine::lua_error
[error]File : ..\xrServerEntities\script_engine.cpp
[error]Line : 191
[error]Description : fatal error
[error]Arguments : LUA error: ...y 1.5 u4/bin/..\gamedata\scripts\xr_combat_ignore.script:224: attempt to index global 'table_atacked' (a nil value)

stack trace:

Hi, got this error after playing for a while with the new update. I did merge this and your NPCs without amnesia manually, however everything from line 218 is identical so I don't think this is an error on my part(although it might be). This mod functioned perfectly fine before the update so I think some of the changes might have borked something. Thanks though this mod is great!

Reply Good karma Bad karma+1 vote
mora145 Author
mora145 - - 199 comments

Make sure you create the table before the function "is_enemy" the table name's "local table_atacked = {}"

Like this Prntscr.com

Reply Good karma+1 vote
Acemax
Acemax - - 375 comments

Please could you add a compatibility folder to the archive for NPCs without amnesia or just merge this addon with it.

Reply Good karma Bad karma+2 votes
mora145 Author
mora145 - - 199 comments Reply Good karma+3 votes
Pappaslet
Pappaslet - - 20 comments

Ok, terribly sorry, my bad. Should I add "math.randomseed(os.time())" below "local table_atacked = {}" or above? Once again sorry for the trouble.

Reply Good karma Bad karma+1 vote
Acemax
Acemax - - 375 comments

I've tried this and it seems to make Cordon worse. The Rookie village is a war zone every time I visit, the soldiers that move to the forward positions always aggro the loners if they are clearing the camps of mutants or if a patrol passes by. This in turn aggros the whole southern checkpoint including the mechanic and trader, but as Fanatic and Wolf are invulnerable the military are wiped out. Wolf, who normally stays near Sids bunker, will go much further out, even to the Southern Checkpoint. I've also seen the Southern Checkpoint aggro as far north as the bridge if a soldier is killed on the way there.

Using just NPCs without amnesia reduces the aggro back to normal.

Reply Good karma Bad karma+1 vote
mora145 Author
mora145 - - 199 comments

Try to remove the xr_danger file that uses the mod without amnesia. Maybe I should reduce the memory times for certain sounds.

Reply Good karma+1 vote
Acemax
Acemax - - 375 comments

I am only using your NPCs without Amnesia addon with Arszis Burer Overhaul now. Adding this code to xr_combat_ignore just seems to make loners and military more aggressive than normal.

Cordon was badly designed in Anomaly, what with the Rookie village being attacked by military patrols that pass too close and the farm being camped by bandits who always aggro Xanotech. If the devs ever fix these, cordon will be a better place imo.

Reply Good karma Bad karma+2 votes
Arszi
Arszi - - 675 comments

The problem with Cordon is, that every faction tries to go there, but I have no idea why. The military patrols just making it worse. If the southern military complex would not spawn new patrols at all, would help maybe.

Reply Good karma Bad karma+2 votes
Jdoggy
Jdoggy - - 60 comments

work with muh immersion mod pack ?

Reply Good karma Bad karma+1 vote
mora145 Author
mora145 - - 199 comments

The creator of that addon must make a patch to make it work with that.

Reply Good karma+1 vote
Guest
Guest - - 690,520 comments

This comment is currently awaiting admin approval, join now to view.

Jdoggy
Jdoggy - - 60 comments

and yes plz god add it that heli patrols are actually cool

Reply Good karma Bad karma+1 vote
mora145 Author
mora145 - - 199 comments

2.1... (in testing)

Reply Good karma+1 vote
Vakkeran
Vakkeran - - 81 comments

I'll throw it in my game and see how it acts. Does it require a new game?

Reply Good karma Bad karma+1 vote
mora145 Author
mora145 - - 199 comments

Thx. No.

Reply Good karma+1 vote
Vakkeran
Vakkeran - - 81 comments

Chopper is definitely still attacking the rookie village randomly it seems. Made a quick new game just to be sure.

Reply Good karma Bad karma+1 vote
mora145 Author
mora145 - - 199 comments

Okay. I think it gets complicated

Reply Good karma+1 vote
SilverBlack78
SilverBlack78 - - 1,909 comments

I cannot open your RAR file with 7Zip. Please check.

Reply Good karma Bad karma+1 vote
mora145 Author
mora145 - - 199 comments

Check in WinRar

Reply Good karma+3 votes
SilverBlack78
SilverBlack78 - - 1,909 comments

Sorry, my bad, I thought that 7Zip supported everything.

EDIT: updating 7Zip did the trick and it opened the RAR archive perfectly!

Reply Good karma Bad karma+1 vote
AyeBlin
AyeBlin - - 364 comments

Still waiting for merging file: "Npc's with amnesia V2.1.1" and "Combat Ignore Military Fix V.2.1"

Reply Good karma Bad karma+2 votes
SilverBlack78
SilverBlack78 - - 1,909 comments

I think this is *NOT* compatible with "ArszisBurerOverhaul_V102" too.
Arszis did a patch for his addon to make it compatible with "Npc's with amnesia".

Reply Good karma Bad karma+1 vote
anythingelse
anythingelse - - 37 comments

I use many of your mods but this one just never worked for me and latest mod updates made it incompatible with some others, but thanks that you still trying ;p

Reply Good karma Bad karma+2 votes
mora145 Author
mora145 - - 199 comments

I have to make some patches I think. hehe... you're welcome.

Reply Good karma+2 votes
xxFalconArasxx
xxFalconArasxx - - 120 comments

This doesn't really fix the issue outright, because the military still has a tendency to wander into the Rookie Village. By making it so that the military only attacks at extremely close range, they will now often just wander into the Rookie Village and kill everyone there at close range. This mod also doesn't seem to effect helicopters, which just shoot you on sight.

Reply Good karma Bad karma+2 votes
mora145 Author
mora145 - - 199 comments

Could you send me some screenshots? Remember that if you attack a soldier they will start attacking, until after about 8 hours. Then they'll go back to being passive.
Helicopters are a somewhat unstable feature in Anomaly, so they are difficult to moderate.

Reply Good karma+1 vote
xxFalconArasxx
xxFalconArasxx - - 120 comments

I didn't manage to take screenshots. I've redownloaded the mod, to see if it occurs again.

I also forgot to add that this has thus far only occurred in Warzone Mode, so it might have to do with that. I've been doing a Story Mode playthrough this time, and have not reproduced this yet. So far it is actually working quite well (minus the helicopters, but I disabled those). The first time it happened, the soldiers were not hostile at first. They just sort of walked into the Rookie Camp as if it was their own, and sat by the campfire. I walked past them thinking they were Stalkers, and they then opened fire on the whole village from with in, probably because I went with in their 10 meter aggro range.

Personally, I think Helicopters should just be removed from any maps that have a major settlement controlled by a faction hostile to the military. Agroprom and most of the northern regions of the zone are fine, since Agroprom is military territory and much of the north is pretty much a warzone anyway, but areas like the Cordon and the Swamps I feel should be off limits, as it threatens the Rookie Village and Clear Sky Base.

Reply Good karma Bad karma+1 vote
Tiagobr6
Tiagobr6 - - 115 comments

yuph so lets think about this: yeah Sidorovich is supposed to pay the millitary so they wont shoot loners, so what? in Stalker CS the millitary are unrealiable and proved to be fishy why would they give a damm frick after loners executed their commander?

Reply Good karma Bad karma-1 votes
Tiagobr6
Tiagobr6 - - 115 comments

good mod anyway despite breaking cannon features

Reply Good karma Bad karma+1 vote
Guest
Guest - - 690,520 comments

Is it still works in version 1.5.1?

Reply Good karma Bad karma+1 vote
aorushome
aorushome - - 221 comments

Doesn't work with 1.5.1

is it possible for you to make an update (and comp. patch for ur Amnesia mod)?

Reply Good karma Bad karma+2 votes
mora145 Author
mora145 - - 199 comments

Done ;)

Reply Good karma+2 votes
Torenico
Torenico - - 144 comments

It appears this mod doesn't work on 1.5.1, which is a huuuge shame because I loved it! I'm getting this error and the game crashes:

! [SCRIPT ERROR]: ....k.e.r. anomaly\gamedata\scripts\xr_combat_ignore.script:501: attempt to index global 'utils' (a nil value)

FATAL ERROR

[error]Expression : <no expression>
[error]Function : CScriptEngine::lua_error
[error]File : ..\xrServerEntities\script_engine.cpp
[error]Line : 191
[error]Description : fatal error
[error]Arguments : LUA error: ....k.e.r. anomaly\gamedata\scripts\xr_combat_ignore.script:501: attempt to index global 'utils' (a nil value)

stack trace:

Reply Good karma Bad karma+1 vote
mora145 Author
mora145 - - 199 comments

Solved

Reply Good karma+2 votes
GamersGen
GamersGen - - 119 comments

Do we have a fix mod for NPC running and shouting without gun in panick 'dont shoot' instead of actually shooting and fighting?

Reply Good karma Bad karma+1 vote
mora145 Author
mora145 - - 199 comments

Are you using any addon?

Reply Good karma+1 vote
GamersGen
GamersGen - - 119 comments

yes lots of especially npc spawn increasing ones but too many npc are just losing its minds during fights like that

Reply Good karma Bad karma+1 vote
mora145 Author
mora145 - - 199 comments

See that...
Prntscr.com
Prntscr.com

Reply Good karma+1 vote
GamersGen
GamersGen - - 119 comments

thx 4 that, still it doesnt fit, I have one build that is only B&S and visual mods + spawn increase and it still happens so its bigger than that

Reply Good karma Bad karma+2 votes
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account:

Tags