The stand-alone mod S.T.A.L.K.E.R. Anomaly aims to be the most stable and customizable experience for fans of the S.T.A.L.K.E.R. games. It's powered by the Monolith 64-bit engine, a custom fork of the X-Ray engine.

Add addon Dynamic NPC Armor Visuals
Filename
Dynamic_NPC_Armor_Visuals.10.zip
Category
Effects GFX
Uploader
ravenascendant
Credits
XCVB, Sneaky, Lucy/Rezy
Added
Updated
Size
1.8mb (1,890,524 bytes)
Downloads
1,099 (81 today)
MD5 Hash
3441d2140055b7fbd777317b359f8d8e
Embed Button
Embed Widget
Description

The result of two days of cooperative modding on the anomaly discord #modding-development NPC Appearance will change to match the "best" outfit in their inventory, if it is better than what they are wearing by default. Will change back to original appearance when "better" outfit is removed. Includes an optional patch to make NPCs actually loot armor, not just talk about it. Experimental feature to change NPC appearance if their armor is looted.

Preview
Dynamic NPC Armor Visuals
Comments  (0 - 50 of 98)
ravenascendant Author
ravenascendant

Make sure you have the current version before reporting crashes.

update 10 restores the compatibility with MO2s basic installer, no other changes. update 9 fixes renegades not using correct meshes when stripped. Adds a red print to the console for issue that would have cause a crash in update 6. Let me know what it says.

Yes this addon does affect NPC resistances, as generic NPC's resistances are tied to their visuals.

Checkout: Moddb.com for more corpse variery

Reply Good karma+7 votes
spitsphire51151
spitsphire51151

😮

you absolute ******* mad lad!

I cant mash the 10/10 button hard enough.

Reply Good karma Bad karma+3 votes
CapitN_KANG
CapitN_KANG

Looks great! Does this work with More Armors and Outfits?

Reply Good karma Bad karma+1 vote
ravenascendant Author
ravenascendant

If they have assigned npc visuals. With out those no. Not having an entry in death_outfits.ltx might mess up the logic at times.

Reply Good karma+1 vote
Guest
Guest

Will this be compatible witb groks ballistic overhaul

Reply Good karma Bad karma+1 vote
ravenascendant Author
ravenascendant

Yes. There is a small chance that what the npc thinks is best and what is actually best may be off, but that exists in the vanilla implementation any way just for other reasons. In general tho they should still pick upgrades, just close variants may be off.

Reply Good karma+3 votes
CHIKIBRIKINAU
CHIKIBRIKINAU

Compatible with HD Models Addon?

Reply Good karma Bad karma+2 votes
ravenascendant Author
ravenascendant

Probably, would depend on how they implemented the changes.

Please let me know!

Reply Good karma+1 vote
caesar_salad
caesar_salad

good job

Reply Good karma Bad karma+2 votes
spitsphire51151
spitsphire51151

would Hip swap outfits or no?

Reply Good karma Bad karma+2 votes
ravenascendant Author
ravenascendant

No, only try random stalkers.

Reply Good karma+2 votes
Grokitach
Grokitach

It's not needed anyways because most story NPC have armor profiles better than Nosorogs basically.

Reply Good karma Bad karma+3 votes
reter
reter

damn another must have addon!

this game's mechanics are getting deeper the more the time passes, i remember back to SoC damn so good, thx mate!

Reply Good karma Bad karma+2 votes
Grokitach
Grokitach

Works fine with my Balanced Overhaul Of Ballistic System :) !

Thanks Raven and co !

Reply Good karma Bad karma+3 votes
Raito-x-Ray
Raito-x-Ray

How I missed this opportunity from the old SoС mods. Thank you!

Reply Good karma Bad karma+2 votes
Comrade14
Comrade14

getting this ctd after playing for a while:

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: ...bin/..\gamedata\scripts\dynamic_npc_armor_visuals.script:59: attempt to index local 'npc' (a nil value)

Reply Good karma Bad karma+3 votes
ravenascendant Author
ravenascendant

Thank you. I will have a fix out later this evening.

Reply Good karma+2 votes
spitsphire51151
spitsphire51151

getting a crash every time i try to go to cordon:

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: ...nomaly\gamedata\scripts\dynamic_npc_armor_visuals.script:59: attempt to index local 'npc' (a nil value)

Reply Good karma Bad karma+2 votes
ravenascendant Author
ravenascendant

If you could install the update, and try this again to see if it crashes. If it doesn't quit the game and send me the full crash log. If it does crash also please send full crash log. pastbin or the anomaly discord work best.

Reply Good karma+1 vote
spitsphire51151
spitsphire51151

well since updateing I haven't had any more crashes, but for some reason I cant get any of my companions to change armor.

I gave then nosorog armor that ive maxed out to be near bullet proof but they refuse to swap to it.
are ecologists excluded from npcs who will switch armor or have i misunderstood something?

edit: nvm i read the ltx file, i was trying to give them armor from a faction they wont wear.

also were you wanting me to send you a crash log even if I didn't crash?

Reply Good karma Bad karma+2 votes
SeriousToni
SeriousToni

Can I savely install and later maybe even uninstall it again on a already running game? Or do I need to restart a new game after installing / uninstalling?
Thanks for this Addon. It sounds great!

Reply Good karma Bad karma+1 vote
ravenascendant Author
ravenascendant

only thing that might happen if you uninstall it is NPCs will stay with what ever appearance they have when you uninstall.

Reply Good karma+1 vote
SeriousToni
SeriousToni

That's something I could live with. Thank you for your quick response

Reply Good karma Bad karma+1 vote
WeebSlav
WeebSlav

i can see the character progression, start at the cordon with your pals wearing ****** gear, end up at the CNPP wearing Exos and Skat-9. No more leaving your companions behind because "too much dangerous" this is good stuff.

btw small question, does this mod affect Psoglav?

Reply Good karma Bad karma+3 votes
ravenascendant Author
ravenascendant

No story NPC are exempt. Also his actual stats are much better that his visual. Which is part of the reason they are exempt.

Reply Good karma+3 votes
WeebSlav
WeebSlav

i see, thanks for improving our game experience, I'll try this rn

Reply Good karma Bad karma+1 vote
King_Rediusz
King_Rediusz

Thank you for the fix. Just got a crash and decided to come on here to report it.

Also, will this work with the exoseva mod?

Reply Good karma Bad karma+1 vote
ravenascendant Author
ravenascendant

It shouldn't break. An armor without NPC visuals set may result in the NPC ignoring all armor and revert to default until that armor is removed.

If the armor mod has properly assigned NPC visuals it should work. It will work better(more consistent with other armors) if it also has an entry in death_outfits.ltx

Reply Good karma+1 vote
Hand_of_Banath
Hand_of_Banath

NPC visuals are simply the line below Actor Model in the various armour.itx files right?

Reply Good karma Bad karma+1 vote
KronQ
KronQ

It works, I just tested all three features (companions, NPC looting, player looting). Exoseva mod uses entries and models that are already in the game, so there's not much room for error.
There is only one small issue with UNISG exoseva, because in the release version there is no NPC being spawned based on the suit, so I did not add it to death_outfits, therefore upon looting the body doesn't swap to the "naked" one. NPCs wearing the suit are displaying fine, which is the most important feature.
It is a very minor problem that you will only encounter if your companion wearing this outfit dies, but if it bugs someone, just add this line to death_outfits.ltx from the Exoseva mod:
stalker_isg_exoseva = isg_exoseva_outfit

I will probably update the mod to have this line by default somewhere down the line once the need for some more important update happens. I don't want people to feel compelled to redownload and install a new version of the mod for such a very minor compatibility thing.

Reply Good karma Bad karma+2 votes
Guest
Guest

Awesome mod :)

Reply Good karma Bad karma+1 vote
KronQ
KronQ

This is a really cool mod. Now it's worth recruiting dudes that are not already wearing Exos if you have some spare armors. The model swap visual glitches and ragdolls are kinda funky, but such is life in the Zone.
I will probably set it to make NPCs only wear their factions' armors to avoid confusion though. For me gameplay goes above realism.
Also enemies cosplaying as friendlies is a war crime and the Zone is a very lawful place after all.

Reply Good karma Bad karma+1 vote
ravenascendant Author
ravenascendant

LOL. I do like XCVB's idea that the sketchy types would be more likely to wear false colors, but I completely understand your point. Fortunately that is an easy edit to ltx.
Glad to learn it works with exoseva like i had hoped. Now as long as everyone else implements new outfits with the same completeness....

Reply Good karma+3 votes
KronQ
KronQ

Yeah, I love it when mods allow easy customization. Real good job on that. <3
Also, despite what I said earlier, the idea of "war crime" bandits is actually canon. In SoC when you first visit Garbage and approach the Duty outpost, there will be a nearby fake SOS signal displayed on your PDA map and there will be a bandit dressed up as a stalker ready to shoot at you with his pals. So I guess it is actually more in the spirit of the series.

Reply Good karma Bad karma+1 vote
SeriousToni
SeriousToni

How can I enable factions to upgrade only their faction outfits? I also see the problem of not recognising enemies because they wear another uniform.Except maybe bandits.That would be cool if only they would swap no matter what faction.

Reply Good karma Bad karma+2 votes
ravenascendant Author
ravenascendant

edit the ltx that comes with the mod so that each section only has an entry for their own faction:

[bandit]
bandit = true
[stalker]
stalker = true

repeat all factions

Reply Good karma+2 votes
SeriousToni
SeriousToni

Wow that sounds great! So I even could setup that each faction could still use the outfits of other *friendly* factions, right?

Reply Good karma Bad karma+1 vote
ravenascendant Author
ravenascendant

you can set it up any way you want. it is a simple whitelist mechanic.

Reply Good karma+4 votes
SeriousToni
SeriousToni

That is absolutely marvelous work! Thank you!

Reply Good karma Bad karma+1 vote
zoust
zoust

Awesome! So many good mods these days :)

Reply Good karma Bad karma+1 vote
IgorDolvich
IgorDolvich

Bruh, this is a legendary mod, especially if it works with HD models. Great job!

The more I think about it, this seems like it would have an interesting dynamic when interacting with people. You could be walking up to what appears to be a Clear Skys person, but it's actually a renegade/bandit wearing a suit they picked up earlier. Very interesting. Can't wait to get dabbed on when trying to sell some things lol

Reply Good karma Bad karma+3 votes
ravenascendant Author
ravenascendant

Indeed. While i can't do anything about the engine crosshair i am thinking that I may add an option to my crosshair mod to base the IFF off of the visual if they are far away.

Please let me know how it interacts with HD Models.

Reply Good karma+2 votes
LavaInBottle
LavaInBottle

Expression : <no expression>
Function : CScriptEngine::lua_error
File : ..\xrServerEntities\script_engine.cpp
Line : 191
Description : fatal error
Arguments : LUA error: ...nomaly\gamedata\scripts\dynamic_npc_armor_visuals.script:59: attempt to index local 'npc' (a nil value)

stack trace:

What?

Reply Good karma Bad karma+2 votes
ravenascendant Author
ravenascendant

Update to latest version. Please make sure you have latest version before posting crashes. You literally scrolled past my top comment that has a line about this crash being fixed.

Reply Good karma+2 votes
LavaInBottle
LavaInBottle

oh, sorry! And thanks you

Reply Good karma Bad karma+1 vote
SeriousToni
SeriousToni

What faction in the whitelist is the "killer" faction? :o
EDIT: Ah I guess Mercenary

Reply Good karma Bad karma+1 vote
xintothefallx
xintothefallx

This can affect the low specs pc? I have an infinite loop in the console and is so laggy

Something like, It continues infinite times

RAX: | 2586505 | DNPCAV:npc_armor_visu al update npc is id:24713 [9]
RAX: | 2586549 | DNPCAV:npc_armor_visu al_update npc is nil npc id:24722 [12]

I really don't know if it has to do with your addon, i installed the 3 addons in the folder

Reply Good karma Bad karma+2 votes
ravenascendant Author
ravenascendant

Thank you, i was missing a return value. new update should fix this.

Reply Good karma+2 votes
RamseySparrow
RamseySparrow

This sounds very promising.

I always thought the actual gameplay surrounding IFF of Stalker has been severely under-utilised where it could have been a substantial part of the overall game.

As a suggestion for extending this mod or creating another one that interplays with it nicely, perhaps it's possible to create some immersive gameplay around the concept of IFF executed better than in vanilla game?

I know some hardcore stalkers would argue one doesn't need it at all and should just look at outfits, but I don't agree with this premise at all - it's way more complex than that.

The issue is that with the cursor on, you get instant identification for everyone over huge distances. With it off, you get none whatsoever, not even for a stalker you're standing next to. It's either everything or nothing, with no reasonable middle ground. Perhaps it'd be possible to create a scripted crosshair - just as small and out of the way as in the base game, that could overlay the original one and by virtue of which would use its own, smarter rules?

Ingredients that go into this IFF gameplay:

1. identifying outfit-faction
2. identifying specific friend / foe in present situation
3. identifying individual stalkers by name (i.e. to track the guy who mentioned a good find on the radio)

I thought rules could go something like:

1. outfit/faction identification: far distance
2. friend/foe identification: mid-near distance
3. individual name identification: near
4. IFF delay based on distance, the further away, the longer it takes to identify
5. binoculars as IFF distance modifier: same IFF crosshair mechanic within binocular view, but binocs modify the distance calculation.

The point of all this would obviously be to create some more tactical tension in requiring you to get closer for more detailed identification, including, especially now, to see past a 'fake' outfit, but also to resolve some complexities the game creates into a uniform system mid way between prescient know-it-all and lame can't even identify the guy I'm talking to.

Reply Good karma Bad karma+3 votes
ravenascendant Author
ravenascendant

I have a scripted crosshair mod. and this kind of change is something i have been thinking about adding. to it. As well as making a non crosshair based IFF alternative.

Was already thinking about letting the outfit override acual faction at a distance that would be adjusted based on scope/binocs.

also require less time on target to identify person by name the more times you identify them.

I will keep your ideas in mind as well.

Reply Good karma+2 votes
RamseySparrow
RamseySparrow

I think if you can pull it off and tie it into your above mod in a well-thought out, systemic way, that would be an absolute game-changer for the free-roaming experience. God speed!

Reply Good karma Bad karma+2 votes
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Follow Profile
Icon
S.T.A.L.K.E.R.: Call of Pripyat
Developer
Anomaly Developers
Contact
Send Message
Homepage
Moddb.com
Release date
Mod watch
Follow
Addon
Browse
Addons
New
Add addon
Share
Community Rating

Average

10

38 votes submitted.

You Say

-

Ratings closed.

Related Games
S.T.A.L.K.E.R.: Call of Pripyat
S.T.A.L.K.E.R.: Call of Pripyat First Person Shooter
Related Groups
Anomaly Developers
Anomaly Developers Developer
Tags

Dynamic NPC Armor Visuals has not been tagged yet.