GildedDuke
Chieftain
- Joined
- Jul 3, 2012
- Messages
- 26
Has G&K changed how adjusting the art defines works sense Kael's modder's guide? I noticed that G&K has its own separate artdefine and memberart then the standard Civilization V one. Should we include new art defines with the G&K or the vanilla file?
I'm trying to make a sniper, using a single musketman and making him bigger. Here is the code that I'm trying for it:
Member Art section:
<UnitMemberArtInfo>
<Type>ART_DEF_UNIT_MEMBER_SNIPER</Type>
<fScale>0.32</fScale>
<Granny>Assets/Units/Musketman/Musketman.fxsxml</Granny>
<Combat>
<Defaults>ART_DEF_TEMPLATE_SOLDIER</Defaults>
<bReformBeforeCombat>1</bReformBeforeCombat>
<bHasShortRangedAttack>1</bHasShortRangedAttack>
<Weapon>
<WeaponTypeTag>BULLET</WeaponTypeTag>
<WeaponTypeSoundOverrideTag>BULLET</WeaponTypeSoundOverrideTag>
</Weapon>
</Combat>
<MaterialTypeTag>CLOTH</MaterialTypeTag>
<MaterialTypeSoundOverrideTag>FLESH</MaterialTypeSoundOverrideTag>
</UnitMemberArtInfo>
Art Define section:
<UnitArtInfo>
<Type>ART_DEF_UNIT_SNIPER</Type>
<Formation>HonorableGunpowder</Formation>
<DamageStates>1</DamageStates>
<UnitMemberArt>
<MemberType>ART_DEF_UNIT_MEMBER_SNIPER</MemberType>
<MemberCount>1</MemberCount>
</UnitMemberArt>
</UnitArtInfo>
I've also tried loading it into the VFS, OnModActivated and so on.
When I load the mod however my sniper is represented by a set of spear men.
Is there something obvious that I'm missing?
Edit: Oops, didn't notice the thread below. Going to check out the database method now.
I'm trying to make a sniper, using a single musketman and making him bigger. Here is the code that I'm trying for it:
Member Art section:
<UnitMemberArtInfo>
<Type>ART_DEF_UNIT_MEMBER_SNIPER</Type>
<fScale>0.32</fScale>
<Granny>Assets/Units/Musketman/Musketman.fxsxml</Granny>
<Combat>
<Defaults>ART_DEF_TEMPLATE_SOLDIER</Defaults>
<bReformBeforeCombat>1</bReformBeforeCombat>
<bHasShortRangedAttack>1</bHasShortRangedAttack>
<Weapon>
<WeaponTypeTag>BULLET</WeaponTypeTag>
<WeaponTypeSoundOverrideTag>BULLET</WeaponTypeSoundOverrideTag>
</Weapon>
</Combat>
<MaterialTypeTag>CLOTH</MaterialTypeTag>
<MaterialTypeSoundOverrideTag>FLESH</MaterialTypeSoundOverrideTag>
</UnitMemberArtInfo>
Art Define section:
<UnitArtInfo>
<Type>ART_DEF_UNIT_SNIPER</Type>
<Formation>HonorableGunpowder</Formation>
<DamageStates>1</DamageStates>
<UnitMemberArt>
<MemberType>ART_DEF_UNIT_MEMBER_SNIPER</MemberType>
<MemberCount>1</MemberCount>
</UnitMemberArt>
</UnitArtInfo>
I've also tried loading it into the VFS, OnModActivated and so on.
When I load the mod however my sniper is represented by a set of spear men.
Is there something obvious that I'm missing?
Edit: Oops, didn't notice the thread below. Going to check out the database method now.