Armor visibility

Place to get help with not working mods / modding interface.
Post Reply
User avatar
Sigma1
Fast Inserter
Fast Inserter
Posts: 232
Joined: Mon Nov 21, 2016 5:25 pm
Contact:

Armor visibility

Post by Sigma1 »

Yes, another modding question from me. Anyways, is there a way for me to add an armor and have it show on the player character like the vanilla armors?
she/they

User avatar
Ranakastrasz
Smart Inserter
Smart Inserter
Posts: 2124
Joined: Thu Jun 12, 2014 3:05 am
Contact:

Re: Armor visibility

Post by Ranakastrasz »

Take a look at bobs mod or Dytech. They manage it somehow.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16

User avatar
Sigma1
Fast Inserter
Fast Inserter
Posts: 232
Joined: Mon Nov 21, 2016 5:25 pm
Contact:

Re: Armor visibility

Post by Sigma1 »

I'll take a look. Thanks.
she/they

User avatar
Ranakastrasz
Smart Inserter
Smart Inserter
Posts: 2124
Joined: Thu Jun 12, 2014 3:05 am
Contact:

Re: Armor visibility

Post by Ranakastrasz »

I think it is specifically related to the player entity itself, and not the armor. I think it somehow has each weapon and armor registered for the player object.
Not sure tho, I haven't messed with it.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16

User avatar
aubergine18
Smart Inserter
Smart Inserter
Posts: 1264
Joined: Fri Jul 22, 2016 8:51 pm
Contact:

Re: Armor visibility

Post by aubergine18 »

Yes, it's definitely a property of the player. There are multiple sprite sheet definitions in the player prototype, and you can associate specific sprite sheet with one or more armours. That way, when player equips one of those armours, a different sprite sheet is used for the player entity.
Better forum search for modders: Enclose your search term in quotes, eg. "font_color" or "custom-input" - it prevents the forum search from splitting on hypens and underscores, resulting in much more accurate results.

Post Reply

Return to “Modding help”