No more Pikeman using halberd please


--------
Download: http://forums.civfanatics.com/downloads.php?do=file&id=23071



--------
Download: http://forums.civfanatics.com/downloads.php?do=file&id=23071
How do I actually install the mod?
Is there anything you can do to help me get this into my mod?
I have added lots of units made by others but I can't seem to get this one to work. I've imported the 4 files from the download into the VRS. I've taken the art defines file for the pikeman and changed the ArtDefine_UnitInfos type, ArtDefine_UnitMemberInfos type, and the model reference. I then updated the pikeman unit to use this artdefine rather than the default, but when I create one in game I just get an invisible unit with a unit flag over it. Any ideas?
<ArtDefine_UnitMemberInfos>
<Update>
<Where Type="ART_DEF_UNIT_MEMBER_PIKEMAN"/>
<Set>
<Model>true_pikeman.fxsxml</Model>
</Set>
</Update>
</ArtDefine_UnitMemberInfos>
<Texture file="Pikeman_SREF.dds"/>
<Texture file="Unit_Environment_Dull.dds"/>
<Texture file="Unit_Environment_Sharp.dds"/>
<Texture file="Unit_Irradiance.dds"/>
<Texture file="Pikeman_DIFF.dds"/>
<Texture file="true_pikeman_sref.dds"/>
<Texture file="Unit_Environment_Dull.dds"/>
<Texture file="Unit_Environment_Sharp.dds"/>
<Texture file="Unit_Irradiance.dds"/>
<Texture file="true_pikeman_diff.dds"/>
The .fxsxml would have worked as-is since the true reference to the .dds files is in the .gr2 model.
Did you set the .fxsxml, .gr2, and the two .dds to VFS=True? Did you check Reload Unit System?
<Model>true_pikeman.fxsxml</Model>