(RPU) How do you even set up npcarmor.ini?

JohnnyCasey

First time out of the vault
So, this is basically how did my thoughts go when I browse npcarmor.ini file to modify their looks.

; This section maps 7 armor types to corresponding armor item PIDs

----- Okay. What does that mean?

[PHP=]Jacket = 74,265
Leather = 1,379
Metal = 2,240,380
Power = 3,232
AdvPower = 348,349
Combat = 17,239,381
Robe = 113,524[/PHP]
----- Ah, of course! Jacket is equal to seventy four thousand two hundred sixty five!

; Cat Jules (RP)
[5]
PID=16777720
WeaponAnims=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
Default=16777353
Jacket=16777346
Leather=16777347
Metal=16777348
Combat=16777226
-----
...?

Okay. You could NEVER say that this particular 'set-up' for modifying NPC armor mod is for anyone except the experienced Fallout 2 modders who are familiar with these codes(or whatever). I don't want to bash anyone for this, but this is about the worst way one could think of as an instruction about how one shall manage this ini file in a way they set up the NPC sprites for their liking.
 
The comment literally tells you what it is.
; This section maps x armor types to corresponding armor item PIDs/

Leather Jacket animations ("Jacket") are used on armor item proto ID 74 (Leather Jacket) and 205 (Combat Leather Jacket). I'm not sure if you are serious or just trolling with that written number.

; Default armor FIDs (the same for all NPCs)
FID is the art ID of the animation. If the party member critter is using a leather jacket ("Jacket" category), switch his visuals to FID 16777346.

-> Party member wears item proto 74, which is defined as "Jacket", which is the art ID 16777346.

As usual one should know the basics of Fo2 modding, but this is not rocket science and you can find out about most of those things with a bit research.
 
Last edited:
personally, I'm curious if that mod works on neutral and enemy NPCs as well. Because that would save me a SHIT ton of time

edit : is it only visual or so the stats carry over as well?
 
Last edited:
It won't work on other npcs, as it fetches data from companions only, and you can't tell generic NPCs to wear specific armors.

However, for generic NPCs you can just overwrite the FID in script easily. It's just visuals.
 
Leather Jacket animations ("Jacket") are used on armor item proto ID 74 (Leather Jacket) and 205 (Combat Leather Jacket).
(...)
FID is the art ID of the animation. If the party member critter is using a leather jacket ("Jacket" category), switch his visuals to FID 16777346.
This is what I'm on about!

This would have helped so much if it was included in the ini file; a *detailed* explanation about what exactly the numbers mean, and a little bit of example on the matter. Instead, the current description for the ini file simply *assumes* that the reader would have the prerequisite knowledge towards the various terms that are used for modding.

Party member wears item proto 74, which is defined as "Jacket", which is the art ID 16777346.
So how does the one know what art ID is corresponds to a companion wearing certain types of armor? How are you supposed to know which art ID is for 'Bald Leather Armor guy' (aka Cassidy) wearing leather jacket?

I *KNOW* the initial ini file lists that, but I accidentally switched those numbers into the default one and saved the ini file afterwards. So it would be VERY appreciated if someone can JUST tell me how to find one, preferably not in a way that requires third party program that's probably tough to get it without any help.

this is not rocket science and you can find out about most of those things with a bit research.
From normies' perspective, this is about as bad as rocket science, because of how limited it tells you about the whole PID and whatnot.

And the search function on this forum isn't exactly the best one, either. In fact, it's awful.
 
The FID is listed in the artfid.h file of the Fo2 script sources. Or you read up on it here.

This would have helped so much if it was included in the ini file; a *detailed* explanation about what exactly the numbers mean
The short text says exactly the same, but in less words... It would be useless clutter, because this is not the place for lengthy tutorials. If you don't know what "PID" or "FID" is, read up on it first.

"Normies" shouldn't edit the file anyways... It's for people who know what they are doing when adding new party members. For everyone else it is best to not touch anything if they don't know anything about it. Especially if one thinks the comma is used as a thousand separator.
 
Last edited:
Back
Top