Jump to content

Need help with OMODs and making moddable armors


MsRae

Recommended Posts

I have been trying to make a custom armor (clothes) that uses OMODs to alter it's mesh, material and stats at the armor workbench. Since this is my first time working with them I wanted to start out simple. So my goal right now is just to make it move back and forth between a "standard" variant and a "modded" variant.

I started out by using the "size" slot (ap_armor_size) to make the armor changeable from long pants to shorts. The problem I am running across is how to number the armor addons in the armor index so that the default setting is long pants with shorts being the non-standard option. I have the hands set at "0" because I want them always to be there (duh), but if I set the long pants AA to 0 then the long pants mesh is still there on top of the shorts mesh when you add the shorts mod. But if I set it to 1 and have it's mod use iAddonindex with a minimum of 1 then when I build the armor it only has the hands. In other words, 0 seems to equal "standard" but it also means makes it persistent whether it is modded or not.

I noticed that the vanilla leather armor has a numbering pattern for it's AAs of 1, 2, 3, 11, 12, 13 with 1 being lite, 2 med, and 3 heavy with 11, 12, and 13 being a "studded" variant.

 

 

 

So, my two questions are:

How do I get the armor to build with the "standard" long legs installed without having it set to 0? The leather armor is proof that it is possible. (I have been adding the armor by console if that might be affecting it)

 

Or else, how do I get the long pants to go away when the shorts mod is installed if they are set to 0?

Link to comment
Share on other sites

You can set a default "loadout" for what mods show on a piece of armor with object templates (done on the armor piece, not the OMODs that go with it). Name the defualt loadout "Default".

 

To be clear though, spawning an armor with the console will usually generate the armor with a random collection of mods attached. How likely it is to spawn with one set of mods versus another depends on how you set the object templates.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...