| General | Hosted Sites | Civ5 | CivRev | Civ4Col | Civ4 | Civ3 | Civ2 | Civ1 | Misc | Marketplace |
![]() |
|
|
Welcome to Civilization Fanatics' Center. You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Chieftain
Join Date: Oct 2009
Posts: 73
|
[HELP]UnitArtInfo ignored
For some strange reason a custom unit I made works perfectly except it ignores the UnitArtInfo tag.
Using the code below the unit still uses the art of a caravel instead of a carrier. Code:
<GameData> <Units> <Row> <Class>UNITCLASS_CARAVEL</Class> <Type>UNIT_INDIAMAN</Type> <PrereqTech>TECH_ASTRONOMY</PrereqTech> <Combat>15</Combat> <RangedCombat>10</RangedCombat> <Cost>100</Cost> <Moves>8</Moves> <HurryCostModifier>30</HurryCostModifier> <Range>2</Range> <CombatClass>UNITCOMBAT_NAVAL</CombatClass> <Domain>DOMAIN_SEA</Domain> <DefaultUnitAI>UNITAI_EXPLORE_SEA</DefaultUnitAI> <Description>TXT_KEY_UNIT_INDIAMAN</Description> <Civilopedia>TXT_KEY_CIVILOPEDIA_UNITS_RENAISSANCE_INDIAMAN_TEXT</Civilopedia> <Strategy>TXT_KEY_UNIT_INDIAMAN_STRATEGY</Strategy> <Help>TXT_KEY_UNIT_HELP_INDIAMAN</Help> <MilitarySupport>true</MilitarySupport> <MilitaryProduction>true</MilitaryProduction> <Pillage>true</Pillage> <Mechanized>true</Mechanized> <ObsoleteTech>TECH_ELECTRICITY</ObsoleteTech> <AdvancedStartCost>50</AdvancedStartCost> <MinAreaSize>20</MinAreaSize> <XPValueAttack>3</XPValueAttack> <XPValueDefense>3</XPValueDefense> <UnitArtInfo>ART_DEF_UNIT_CARRIER</UnitArtInfo> <UnitFlagIconOffset>42</UnitFlagIconOffset> <IconAtlas>UNIT_ATLAS_1</IconAtlas> <PortraitIndex>43</PortraitIndex> <MoveRate>BOAT</MoveRate> </Row> </Units> |
|
|
|
|
|
#2 |
|
Prince
Join Date: Aug 2010
Location: Toronto,Canada
Posts: 429
|
The art define info is set to carrier
|
|
|
|
|
|
#3 | |
|
Prince
Join Date: Dec 2007
Posts: 332
|
Quote:
|
|
|
|
|
|
|
#4 |
|
Chieftain
Join Date: Oct 2009
Posts: 73
|
LOL
I solved it. Believe or not it was because I had two versions (v2 as on the Mod Browser and v3 my WIP) of the mod in the mod directory. I had only the v3 mod enabled in-game but I guess it still somehow conflicted with v2. @Garett20: Yeah, I was trying to get the carrier art to load instead of the caravel art. @Justicex: The unit in question is a unique unit replacing the caravel for the Dutch, hence the caravel class. |
|
|
|
![]() |
| Bookmarks |
|
| Thread Tools | |
|
|