MythOfPLatypus
Chieftain
- Joined
- May 28, 2018
- Messages
- 2
I am trying to test a modded civ that I am making, but each time I try to play as it (or with it), the game crashes. Here is the message I get from the log:
And, for reference, here is the XML for my unique unit, without the text or gamedata parts, which I think may contain the problem:
I need help locating the problem.
[68280.484] columns StrategicViewType, TileType are not unique
[68280.484] While executing - 'INSERT INTO ArtDefine_StrategicView(StrategicViewType, TileType, Asset) VALUES(?,?,?)'
[68284.437] no such table: ContentPackage.LocalizedText
[68284.437] no such table: ContentPackage.LocalizedText
[68284.437] no such table: ContentPackage.LocalizedText
[68285.953] no such table: ContentPackage.LocalizedText
[68290.937] columns StrategicViewType, TileType are not unique
[68290.937] While executing - 'INSERT INTO ArtDefine_StrategicView(StrategicViewType, TileType, Asset) VALUES(?,?,?)'
[68292.437] no such table: ContentPackage.LocalizedText
[68292.437] no such table: ContentPackage.LocalizedText
[68292.437] no such table: ContentPackage.LocalizedText
[68302.500]
And, for reference, here is the XML for my unique unit, without the text or gamedata parts, which I think may contain the problem:
<Units>
<Row>
<Type>UNIT_ORKNEY_KNARR</Type>
<Description>TXT_KEY_UNIT_ORKNEY_KNARR</Description>
<Civilopedia>TXT_KEY_CIV5_ORKNEY_KNARR_TEXT</Civilopedia>
<Strategy>TXT_KEY_UNIT_ORKNEY_KNARR_STRATEGY</Strategy>
<Help>TXT_KEY_UNIT_HELP_ORKNEY_KNARR</Help>
<Requirements></Requirements>
<Combat>7</Combat>
<RangedCombat>0</RangedCombat>
<Cost>115</Cost>
<FaithCost>0</FaithCost>
<RequiresFaithPurchaseEnabled>0</RequiresFaithPurchaseEnabled>
<PurchaseOnly>0</PurchaseOnly>
<MoveAfterPurchase>0</MoveAfterPurchase>
<Moves>1</Moves>
<Immobile>1</Immobile>
<Range>0</Range>
<BaseSightRange>2</BaseSightRange>
<Class>UNITCLASS_CARGO_SHIP</Class>
<Special></Special>
<Capture></Capture>
<CombatClass></CombatClass>
<Domain>DOMAIN_SEA</Domain>
<CivilianAttackPriority>CIVILIAN_ATTACK_PRIORITY_LOW</CivilianAttackPriority>
<DefaultUnitAI>UNITAI_TRADE_UNIT</DefaultUnitAI>
<Food>0</Food>
<NoBadGoodies>0</NoBadGoodies>
<RivalTerritory>0</RivalTerritory>
<MilitarySupport>1</MilitarySupport>
<MilitaryProduction>1</MilitaryProduction>
<Pillage>0</Pillage>
<PillagePrereqTech></PillagePrereqTech>
<Found>0</Found>
<FoundAbroad>0</FoundAbroad>
<CultureBombRadius>0</CultureBombRadius>
<GoldenAgeTurns>0</GoldenAgeTurns>
<FreePolicies>0</FreePolicies>
<OneShotTourism>0</OneShotTourism>
<OneShotTourismPercentOthers>0</OneShotTourismPercentOthers>
<IgnoreBuildingDefense>0</IgnoreBuildingDefense>
<PrereqResources>0</PrereqResources>
<Mechanized>1</Mechanized>
<Suicide>0</Suicide>
<CaptureWhileEmbarked>0</CaptureWhileEmbarked>
<PrereqTech>TECH_SAILING</PrereqTech>
<ObsoleteTech></ObsoleteTech>
<GoodyHutUpgradeUnitClass></GoodyHutUpgradeUnitClass>
<HurryCostModifier>20</HurryCostModifier>
<AdvancedStartCost>10</AdvancedStartCost>
<MinAreaSize>-1</MinAreaSize>
<AirInterceptRange>0</AirInterceptRange>
<AirUnitCap>0</AirUnitCap>
<NukeDamageLevel>-1</NukeDamageLevel>
<WorkRate>0</WorkRate>
<NumFreeTechs>0</NumFreeTechs>
<BaseBeakersTurnsToCount>0</BaseBeakersTurnsToCount>
<BaseCultureTurnsToCount>0</BaseCultureTurnsToCount>
<RushBuilding>0</RushBuilding>
<BaseHurry>0</BaseHurry>
<HurryMultiplier>0</HurryMultiplier>
<BaseGold>0</BaseGold>
<NumGoldPerEra>0</NumGoldPerEra>
<SpreadReligion>0</SpreadReligion>
<RemoveHeresy>0</RemoveHeresy>
<ReligionSpreads>0</ReligionSpreads>
<ReligiousStrength>0</ReligiousStrength>
<FoundReligion>0</FoundReligion>
<RequiresEnhancedReligion>0</RequiresEnhancedReligion>
<ProhibitsSpread>0</ProhibitsSpread>
<CanBuyCityState>0</CanBuyCityState>
<CombatLimit>0</CombatLimit>
<RangeAttackOnlyInDomain>0</RangeAttackOnlyInDomain>
<RangeAttackIgnoreLOS>0</RangeAttackIgnoreLOS>
<Trade>1</Trade>
<NumExoticGoods>0</NumExoticGoods>
<PolicyType></PolicyType>
<RangedCombatLimit>0</RangedCombatLimit>
<XPValueAttack>0</XPValueAttack>
<XPValueDefense>3</XPValueDefense>
<SpecialCargo></SpecialCargo>
<DomainCargo></DomainCargo>
<Conscription>0</Conscription>
<ExtraMaintenanceCost>0</ExtraMaintenanceCost>
<NoMaintenance>1</NoMaintenance>
<Unhappiness>0</Unhappiness>
<UnitArtInfo>ART_DEF_UNIT_CARGO_SHIP</UnitArtInfo>
<UnitArtInfoCulturalVariation>0</UnitArtInfoCulturalVariation>
<UnitArtInfoEraVariation>1</UnitArtInfoEraVariation>
<ProjectPrereq></ProjectPrereq>
<SpaceshipProject></SpaceshipProject>
<LeaderPromotion></LeaderPromotion>
<LeaderExperience>0</LeaderExperience>
<DontShowYields>0</DontShowYields>
<ShowInPedia>1</ShowInPedia>
<MoveRate>BIPED</MoveRate>
<UnitFlagIconOffset>4</UnitFlagIconOffset>
<PortraitIndex>0</PortraitIndex>
<IconAtlas>KNARR_ICON_ATLAS</IconAtlas>
<UnitFlagAtlas>KNARR_FLAG_ATLAS</UnitFlagAtlas>
</Row>
</Units>
<!-- Unit_AITypes -->
<!-- Unit_Buildings -->
<!-- Unit_BuildingClassRequireds -->
<!-- Unit_ProductionModifierBuildings -->
<!-- Unit_Builds -->
<!-- Unit_ClassUpgrades -->
<Unit_Flavors>
<Row>
<UnitType>UNIT_ORKNEY_KNARR</UnitType>
<FlavorType>FLAVOR_I_SEA_TRADE_ROUTE</FlavorType>
<Flavor>20</Flavor>
</Row>
<Row>
<UnitType>UNIT_ORKNEY_KNARR</UnitType>
<FlavorType>FLAVOR_GOLD</FlavorType>
<Flavor>20</Flavor>
</Row>
</Unit_Flavors>
<!-- Unit_GreatPersons -->
<!-- Unit_ResourceQuantityRequirements -->
<!-- Unit_UniqueNames -->
<!-- Unit_YieldFromKills -->
<!-- Unit_NotAITypes -->
<!-- Unit_ProductionTraits -->
<!-- Unit_TechTypes -->
<!-- UnitPromotions_CivilianUnitType -->
<UnitGameplay2DScripts>
<Row>
<UnitType>UNIT_ORKNEY_KNARR</UnitType>
<SelectionSound>AS2D_SELECT_CARRIER</SelectionSound>
<FirstSelectionSound>AS2D_BIRTH_CARRIER</FirstSelectionSound>
</Row>
</UnitGameplay2DScripts>
I need help locating the problem.