• Our friends from AlphaCentauri2.info are in need of technical assistance. If you have experience with the LAMP stack and some hours to spare, please help them out and post here.

How to use a "Advanced" unit graphic?

Syrkres

Chieftain
Joined
Mar 3, 2016
Messages
95
Location
Mass
So the following lines of code in UNIT declaration <Units> will allow you to use a graphic which has Upgrades.


Code:
<UnitArtInfo>ART_DEF_UNIT_AIR_FIGHTER</UnitArtInfo>
<UnitArtInfoUpgradeVariation>true</UnitArtInfoUpgradeVariation>
Following Defaults to 2 (from table settings)
<UnitArtInfoAffinityVariationStart>2</UnitArtInfoAffinityVariationStart>


So Basically I would like to use the third tier/advancement for the AIR fighter.
Code:
<UnitArtInfo>ART_DEF_UNIT_AIR_FIGHTER</UnitArtInfo>
<UnitArtInfoUpgradeVariation>true</UnitArtInfoUpgradeVariation>
I've tried incrementing it up, but no luck.
<UnitArtInfoAffinityVariationStart>3</UnitArtInfoAffinityVariationStart>

Any help/suggestions/insight?


Or maybe a better question is can you use (and how) images from previous Civ games (specific civ5 - bomber).
I found a mod (from here for Civ5 JetBomber (http://forums.civfanatics.com/showthread.php?t=494210) and noticed it defines ArtDefine_UnitInfos, but when I search for that tag in BE, I only find it under units/art/xml/<unitname>.xml, for example AirtFighter.xml, but I don't see these files in BERT (expansion folders). Are they depricated?
Thanks
 
Back
Top Bottom