Use specific assets (heads, hands, hair) for a given unit

Skyzoh

Chieftain
Joined
Mar 5, 2018
Messages
14
Hi,

I'm trying to create a custom unit and it uses parts that have more than one version in their given bin (ranger hats, male heads, etc...). I want to be able to specify which variation to use

I followed Leugi's toturials to create my units, but from what I understand, if a given Bin has more than one assets, it will be chosen randomly. The best workaround I found was to "save as" the specific asset I wanted as a new one, add it to a new bin (so it's become the only asset of the pool) and use that bin. But this can become tedious really quickly, so I was wondering if there is a better way?

Thanks
 
You can reference a specific asset from within a Unit Attachment bin group like this for example:

Code:
<Element>
    <m_CollectionName text="Bins"/>
    <m_ReplaceMergedCollectionElements>false</m_ReplaceMergedCollectionElements>
    <Element>
        <m_Fields>
            <m_Values/>
        </m_Fields>
        <m_ChildCollections/>
        <m_Name text="Swords/Swordsman/NorthAfrican/Swordsman_NorthAfrican_SwordA"/>
        <m_AppendMergedParameterCollections>false</m_AppendMergedParameterCollections>
    </Element>
</Element>

You have to look up the entry in the Unit Bins artdef that you want to reference.
 
Back
Top Bottom