#MeshAlternative_X was not found

8 messages · Page 1 of 1 (latest)

warm gorge
#

Hello,
I tried to add a new unit called Groupe_AT_Reserve_FR (I did manage to create some other units so supposedly I have done things properly here too) but I keep having this message followed by the game crashing when I try to view the unit in the armoury (when I click on the unit card and the game try to, I assume, load the model). I imagine that my mistake is in the DepictionInfantry.ndf file as I'll admit that I do not fully understand how it works. I simply copy/pasted groupe_AT_CAN and groupe_AT_FR and changed values around but it is possible that I messed up somewhere.
Particularly, I do not understand the TemplateInfantryDepictionFactoryTactic and TemplateInfantryDepictionFactoryGhost types.
I also added the weapons in WeaponDescriptor.ndf.
You'll find both entries attached to this post, I only attach these two because I have not found any other mentions of MeshAlternative_4 in other files.
Thank you for your time

trim lichen
#

send the whole depiction infantry and unit descriptor

warm gorge
trim lichen
#

you didnt assign this unit your new mimetic "Groupe_AT_Reserve_FR"
so basically units has 4 weapons but references Groupe_AT_FR where only 3 alternatives are declared

#

as i sent you earlier in other topic you should register your mimetic down in DepictionInfantry.ndf (literally at the end of the file there is a list for it)

and after that those mimetics should be assigned in UnitDescriptor

warm gorge
#

Alright the game doesn't crash anymore although there are no models for the infantry in the armoury and the game won't save decks made with this division.
Thank you for your help, I'll try to fix this now that I have a better understanding of all this mimetic suff

trim lichen