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 185)
ravenascendant Author
ravenascendant

Make sure you have the current version before reporting crashes.

Update 12 fixes crash if the 08 folder was not installed
update 11 fixes NPCs not remembering what the started out wearing, adds support for letting companions ignore faction outfit restrictions, lets mercs wear more things since the main story mentions they use disguises and breaks out the ltx and extra corpse meshes in the BAIN
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 variety

Reply Good karma+14 votes
spitsphire51151
spitsphire51151

😮

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

I cant mash the 10/10 button hard enough.

Reply Good karma Bad karma+5 votes
CapitN_KANG
CapitN_KANG

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

Reply Good karma Bad karma0 votes
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+3 votes
Guest
Guest

Will this be compatible witb groks ballistic overhaul

Reply Good karma Bad karma0 votes
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+5 votes
CHIKIBRIKINAU
CHIKIBRIKINAU

Compatible with HD Models Addon?

Reply Good karma Bad karma+3 votes
ravenascendant Author
ravenascendant

Probably, would depend on how they implemented the changes.

Please let me know!

Reply Good karma+2 votes
Smerd
Smerd

Да совместимы

Reply Good karma Bad karma0 votes
caesar_salad
caesar_salad

good job

Reply Good karma Bad karma+1 vote
spitsphire51151
spitsphire51151

would Hip swap outfits or no?

Reply Good karma Bad karma+3 votes
ravenascendant Author
ravenascendant

No, only try random stalkers.

Reply Good karma+4 votes
Grokitach
Grokitach

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

Reply Good karma Bad karma+6 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+4 votes
Grokitach
Grokitach

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

Thanks Raven and co !

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

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

Reply Good karma Bad karma+3 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+2 votes
ravenascendant Author
ravenascendant

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

Reply Good karma+3 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+2 votes
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+1 vote
swafromsteam
swafromsteam

I also gave my ecologist companion a monolith nosorog and they won't equip it. Is there a way to make them equip it?

Reply Good karma Bad karma+1 vote
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 karma0 votes
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+2 votes
SeriousToni
SeriousToni

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

Reply Good karma Bad karma+3 votes
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+4 votes
WeebSlav
WeebSlav

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

Reply Good karma Bad karma+2 votes
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+2 votes
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+2 votes
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 karma0 votes
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.

Reply Good karma Bad karma+3 votes
Guest
Guest

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

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+3 votes
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+6 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+2 votes
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+1 vote
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+4 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+6 votes
SeriousToni
SeriousToni

That is absolutely marvelous work! Thank you!

Reply Good karma Bad karma+2 votes
zoust
zoust

Awesome! So many good mods these days :)

Reply Good karma Bad karma0 votes
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+6 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+4 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+3 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+3 votes
LavaInBottle
LavaInBottle

oh, sorry! And thanks you

Reply Good karma Bad karma0 votes
SeriousToni
SeriousToni

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

Reply Good karma Bad karma+2 votes
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+3 votes
ravenascendant Author
ravenascendant

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

Reply Good karma+4 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.

Tags

Dynamic NPC Armor Visuals has not been tagged yet.