Oddly Stacking Mounts please help

Alright, I created a mod that inserts a new custom race into the game with a new race_type. Like in WOM I went through the iteam files and added my race type to the list of others. However in game the items for whatever reason are doubling for all but my race. Even stranger, mounts in the game are doubling and stacking when equipped. Meaning, when I equip my characters with a house for whatever reason an unmounted modal of the horse is stacked right on top off my mounted characters as can be seen below.

Does anyone know how I might stop this?

I tried to us drop box for the picture uploads, let know if you can see them are not.

 

 

8,279 views 4 replies
Reply #1 Top

You have multiple XML files modifying the same ArtDef (GameItemTypeArtDef). You are effectively repeating the graphics files.

If you for example copied a horse mount, your XML should look like this:

        <GameItemTypeArtDef InternalName="BasicHorseMount_ArtDef">
            <GameItemTypeModelPack InternalName="BasicHorseMount_Default">

                <SupportedUnitModelType>Your New Modeltype</SupportedUnitModelType>

            </GameItemTypeModelPack>
        </GameItemTypeArtDef>

 Note I'm not leaving anything out, that's all you need to add a modeltype to mounts from the /mods/ folder.

Reply #2 Top

Quoting Heavenfall, reply 1
You have multiple XML files modifying the same ArtDef (GameItemTypeArtDef). You are effectively repeating the graphics files.

If you for example copied a horse mount, your XML should look like this:

        <GameItemTypeArtDef InternalName="BasicHorseMount_ArtDef">
            <GameItemTypeModelPack InternalName="BasicHorseMount_Default">

                <SupportedUnitModelType>Your New Modeltype</SupportedUnitModelType>

            </GameItemTypeModelPack>
        </GameItemTypeArtDef>

 Note I'm not leaving anything out, that's all you need to add a modeltype to mounts from the /mods/ folder.

Would that be the same for all the other items as while?

Reply #3 Top

Yes. Just keep the internalnames right.

+1 Loading…
Reply #4 Top

Quoting Heavenfall, reply 3
Yes. Just keep the internalnames right.

 

Thanks for your help :grin: