Halp. (Crash upon loading)

LaularuKyrumo

Chieftain
Joined
Jun 29, 2010
Messages
12
On attempting to load this sham of a mod, I receive the following error:

"Tag: 200 in Info class was incorrect
Current XML file is: xml\Units/CIV4UnitInfos.xml"

The edited text is located below. Ye who can assist me will be rewarded with cookies.

Spoiler :
Code:
<UnitInfo>
			<Class>UNITCLASS_SHOCKTROOP</Class>
			<Type>UNIT_SHOCKTROOP</Type>
			<UniqueNames/>
			<Special>NONE</Special>
			<Capture>NONE</Capture>
			<Combat>UNITCOMBAT_GUN</Combat>
			<Domain>DOMAIN_LAND</Domain>
			<DefaultUnitAI>UNITAI_ATTACK</DefaultUnitAI>
			<Invisible>NONE</Invisible>
			<SeeInvisible>NONE</SeeInvisible>
			<Description>Shock Troop</Description>
			<Civilopedia>TXT_KEY_UNIT_SHOCKTROOP_PEDIA</Civilopedia>
			<Strategy>TXT_KEY_UNIT_SHOCKTROOP_STRATEGY</Strategy>
			<Advisor>ADVISOR_MILITARY</Advisor>
			<bAnimal>0</bAnimal>
			<bFood>0</bFood>
			<bNoBadGoodies>0</bNoBadGoodies>
			<bOnlyDefensive>0</bOnlyDefensive>
			<bNoCapture>0</bNoCapture>
			<bQuickCombat>0</bQuickCombat>
			<bRivalTerritory>0</bRivalTerritory>
			<bMilitaryHappiness>1</bMilitaryHappiness>
			<bMilitarySupport>1</bMilitarySupport>
			<bMilitaryProduction>1</bMilitaryProduction>
			<bPillage>1</bPillage>
			<bSpy>0</bSpy>
			<bSabotage>0</bSabotage>
			<bDestroy>0</bDestroy>
			<bStealPlans>0</bStealPlans>
			<bInvestigate>0</bInvestigate>
			<bCounterSpy>0</bCounterSpy>
			<bFound>0</bFound>
			<bGoldenAge>0</bGoldenAge>
			<bInvisible>0</bInvisible>
			<bFirstStrikeImmune>0</bFirstStrikeImmune>
			<bNoDefensiveBonus>0</bNoDefensiveBonus>
			<bIgnoreBuildingDefense>1</bIgnoreBuildingDefense>
			<bCanMoveImpassable>0</bCanMoveImpassable>
			<bCanMoveAllTerrain>0</bCanMoveAllTerrain>
			<bFlatMovementCost>0</bFlatMovementCost>
			<bIgnoreTerrainCost>0</bIgnoreTerrainCost>
			<bNukeImmune>0</bNukeImmune>
			<bPrereqBonuses>0</bPrereqBonuses>
			<bPrereqReligion>0</bPrereqReligion>
			<bMechanized>0</bMechanized>
			<bSuicide>0</bSuicide>
			<bHiddenNationality>0</bHiddenNationality>
			<bAlwaysHostile>0</bAlwaysHostile>
			<UnitClassUpgrades>
				<UnitClassUpgrade>
					<UnitClassUpgradeType>UNITCLASS_MECH_SHOCKTROOP</UnitClassUpgradeType>
					<bUnitClassUpgrade>1</bUnitClassUpgrade>
				</UnitClassUpgrade>
			</UnitClassUpgrades>
			<UnitClassTargets>
					<UnitClassType>UNITCLASS_TANK</UnitClassType>
					<UnitClassType>UNITCLASS_MECHANIZED_INFANTRY</UnitClassType>
					<UnitClassType>UNITCLASS_MODERN_ARMOR</UnitClassType>
					<UnitClassType>UNITCLASS_MACHINE_GUN</UnitClassType>
					<UnitClassType>UNITCLASS_ARTILLERY</UnitClassType>
					<UnitClassType>UNITCLASS_MOBILE_ARTILLERY</UnitClassType>
					<UnitClassType>UNITCLASS_MECH_SHOCKTROOP</UnitClassType>
			</UnitClassTargets>
			<UnitCombatTargets/>
			<UnitClassDefenders>
					<UnitClassType>UNITCLASS_TANK</UnitClassType>
					<UnitClassType>UNITCLASS_MECHANIZED_INFANTRY</UnitClassType>
					<UnitClassType>UNITCLASS_MODERN_ARMOR</UnitClassType>
					<UnitClassType>UNITCLASS_MACHINE_GUN</UnitClassType>
					<UnitClassType>UNITCLASS_ARTILLERY</UnitClassType>
					<UnitClassType>UNITCLASS_MOBILE_ARTILLERY</UnitClassType>
					<UnitClassType>UNITCLASS_MECH_SHOCKTROOP</UnitClassType>
			</UnitClassDefenders>
			<UnitCombatDefenders/>
			<FlankingStrikes/>
			<UnitAIs>
				<UnitAI>
					<UnitAIType>UNITAI_ATTACK</UnitAIType>
					<bUnitAI>1</bUnitAI>
				</UnitAI>
				<UnitAI>
					<UnitAIType>UNITAI_RESERVE</UnitAIType>
					<bUnitAI>1</bUnitAI>
				</UnitAI>
				<UnitAI>
					<UnitAIType>UNITAI_CITY_DEFENSE</UnitAIType>
					<bUnitAI>1</bUnitAI>
				</UnitAI>
			</UnitAIs>
			<NotUnitAIs/>
			<Builds/>
			<ReligionSpreads/>
			<CorporationSpreads/>
			<GreatPeoples/>
			<Buildings/>
			<ForceBuildings/>
			<HolyCity>NONE</HolyCity>
			<ReligionType>NONE</ReligionType>
			<StateReligion>NONE</StateReligion>
			<PrereqReligion>NONE</PrereqReligion>
			<PrereqCorporation>NONE</PrereqCorporation>
			<PrereqBuilding>NONE</PrereqBuilding>
			<PrereqTech>TECH_ELECTRICITY</PrereqTech>
			<TechTypes>
			<PrereqTech>TECH_RIFLING</PrereqTech>
			<PrereqTech>NONE</PrereqTech>
			<PrereqTech>NONE</PrereqTech>
			</TechTypes>
			<BonusType>NONE</BonusType>
			<PrereqBonuses/>
			<ProductionTraits/>
			<Flavors/>
			<iAIWeight>0</iAIWeight>
			<iCost>150</iCost>
			<iHurryCostModifier>0</iHurryCostModifier>
			<iAdvancedStartCost>200</iAdvancedStartCost>
			<iAdvancedStartCostIncrease>0</iAdvancedStartCostIncrease>
			<iMinAreaSize>-1</iMinAreaSize>
			<iMoves>1</iMoves>
			<bNoRevealMap>0</bNoRevealMap>
			<iAirRange>0</iAirRange>
			<iAirUnitCap>0</iAirUnitCap>
			<iDropRange>0</iDropRange>
			<iNukeRange>-1</iNukeRange>
			<iWorkRate>0</iWorkRate>
			<iBaseDiscover>0</iBaseDiscover>
			<iDiscoverMultiplier>0</iDiscoverMultiplier>
			<iBaseHurry>0</iBaseHurry>
			<iHurryMultiplier>0</iHurryMultiplier>
			<iBaseTrade>0</iBaseTrade>
			<iTradeMultiplier>0</iTradeMultiplier>
			<iGreatWorkCulture>0</iGreatWorkCulture>
			<iEspionagePoints>0</iEspionagePoints>
			<TerrainImpassables/>
			<FeatureImpassables/>
			<TerrainPassableTechs/>
			<FeaturePassableTechs/>
			<iCombat>20</iCombat>
			<iCombatLimit>100</iCombatLimit>
			<iAirCombat>0</iAirCombat>
			<iAirCombatLimit>0</iAirCombatLimit>
			<iXPValueAttack>5</iXPValueAttack>
			<iXPValueDefense>3</iXPValueDefense>
			<iFirstStrikes>0</iFirstStrikes>
			<iChanceFirstStrikes>1</iChanceFirstStrikes>
			<iInterceptionProbability>0</iInterceptionProbability>
			<iEvasionProbability>0</iEvasionProbability>
			<iWithdrawalProb>0</iWithdrawalProb>
			<iCollateralDamage>0</iCollateralDamage>
			<iCollateralDamageLimit>0</iCollateralDamageLimit>
			<iCollateralDamageMaxUnits>0</iCollateralDamageMaxUnits>
			<iCityAttack>0</iCityAttack>
			<iCityDefense>0</iCityDefense>
			<iAnimalCombat>0</iAnimalCombat>
			<iHillsAttack>0</iHillsAttack>
			<iHillsDefense>0</iHillsDefense>
			<TerrainNatives/>
			<FeatureNatives/>
			<TerrainAttacks/>
			<TerrainDefenses/>
			<FeatureAttacks/>
			<FeatureDefenses/>
			<UnitClassAttackMods>
					<UnitClassType>UNITCLASS_TANK</UnitClassType>
					<iUnitClassMod>200</iUnitClassMod>
					<UnitClassType>UNITCLASS_MECHANIZED_INFANTRY</UnitClassType>
					<iUnitClassMod>200</iUnitClassMod>
					<UnitClassType>UNITCLASS_MODERN_ARMOR</UnitClassType>
					<iUnitClassMod>200</iUnitClassMod>
					<UnitClassType>UNITCLASS_MACHINE_GUN</UnitClassType>
					<iUnitClassMod>200</iUnitClassMod>
					<UnitClassType>UNITCLASS_ARTILLERY</UnitClassType>
					<iUnitClassMod>200</iUnitClassMod>
					<UnitClassType>UNITCLASS_MOBILE_ARTILLERY</UnitClassType>
					<iUnitClassMod>200</iUnitClassMod>
			</UnitClassAttackMods>
			<UnitClassDefenseMods>
					<UnitClassType>UNITCLASS_TANK</UnitClassType>
					<iUnitClassMod>200</iUnitClassMod>
					<UnitClassType>UNITCLASS_MECHANIZED_INFANTRY</UnitClassType>
					<iUnitClassMod>200</iUnitClassMod>
					<UnitClassType>UNITCLASS_MODERN_ARMOR</UnitClassType>
					<iUnitClassMod>200</iUnitClassMod>
					<UnitClassType>UNITCLASS_MACHINE_GUN</UnitClassType>
					<iUnitClassMod>200</iUnitClassMod>
					<UnitClassType>UNITCLASS_ARTILLERY</UnitClassType>
					<iUnitClassMod>200</iUnitClassMod>
					<UnitClassType>UNITCLASS_MOBILE_ARTILLERY</UnitClassType>
					<iUnitClassMod>200</iUnitClassMod>
					<UnitClassType>UNITCLASS_MECH_SHOCKTROOP</UnitClassType>
					<iUnitClassMod>200</iUnitClassMod>
			</UnitClassDefenseMods>
			<UnitCombatMods/>
			<UnitCombatCollateralImmunes/>
			<DomainMods/>
			<BonusProductionModifiers/>
			<iBombRate>0</iBombRate>
			<iBombardRate>0</iBombardRate>
			<SpecialCargo>NONE</SpecialCargo>
			<DomainCargo>NONE</DomainCargo>
			<iCargo>0</iCargo>
			<iConscription>4</iConscription>
			<iCultureGarrison>7</iCultureGarrison>
			<iExtraCost>0</iExtraCost>
			<iAsset>3</iAsset>
			<iPower>9</iPower>
			<UnitMeshGroups>
				<iGroupSize>3</iGroupSize>
				<fMaxSpeed>1.75</fMaxSpeed>
				<fPadTime>1</fPadTime>
				<iMeleeWaveSize>3</iMeleeWaveSize>
				<iRangedWaveSize>0</iRangedWaveSize>
				<UnitMeshGroup>
					<iRequired>3</iRequired>
					<EarlyArtDefineTag>ART_DEF_UNIT_MUSKETMAN</EarlyArtDefineTag>
				</UnitMeshGroup>
			</UnitMeshGroups>
			<FormationType>FORMATION_TYPE_RANGED</FormationType>
			<HotKey/>
			<bAltDown>0</bAltDown>
			<bShiftDown>0</bShiftDown>
			<bCtrlDown>0</bCtrlDown>
			<iHotKeyPriority>0</iHotKeyPriority>
			<FreePromotions/>
			<LeaderPromotion>NONE</LeaderPromotion>
			<iLeaderExperience>0</iLeaderExperience>
		</UnitInfo>
		<UnitInfo>
			<Class>UNITCLASS_MECH_SHOCKTROOP</Class>
			<Type>UNIT_MECH_SHOCKTROOP</Type>
			<UniqueNames/>
			<Special>NONE</Special>
			<Capture>NONE</Capture>
			<Combat>UNITCOMBAT_GUN</Combat>
			<Domain>DOMAIN_LAND</Domain>
			<DefaultUnitAI>UNITAI_ATTACK</DefaultUnitAI>
			<Invisible>NONE</Invisible>
			<SeeInvisible>NONE</SeeInvisible>
			<Description>TXT_KEY_UNIT_MECH_SHOCKTROOP</Description>
			<Civilopedia>TXT_KEY_UNIT_MECH_SHOCKTROOP_PEDIA</Civilopedia>
			<Strategy>TXT_KEY_UNIT_MECH_SHOCKTROOP_STRATEGY</Strategy>
			<Advisor>ADVISOR_MILITARY</Advisor>
			<bAnimal>0</bAnimal>
			<bFood>0</bFood>
			<bNoBadGoodies>0</bNoBadGoodies>
			<bOnlyDefensive>0</bOnlyDefensive>
			<bNoCapture>0</bNoCapture>
			<bQuickCombat>0</bQuickCombat>
			<bRivalTerritory>0</bRivalTerritory>
			<bMilitaryHappiness>1</bMilitaryHappiness>
			<bMilitarySupport>1</bMilitarySupport>
			<bMilitaryProduction>1</bMilitaryProduction>
			<bPillage>1</bPillage>
			<bSpy>0</bSpy>
			<bSabotage>0</bSabotage>
			<bDestroy>0</bDestroy>
			<bStealPlans>0</bStealPlans>
			<bInvestigate>0</bInvestigate>
			<bCounterSpy>0</bCounterSpy>
			<bFound>0</bFound>
			<bGoldenAge>0</bGoldenAge>
			<bInvisible>0</bInvisible>
			<bFirstStrikeImmune>0</bFirstStrikeImmune>
			<bNoDefensiveBonus>0</bNoDefensiveBonus>
			<bIgnoreBuildingDefense>1</bIgnoreBuildingDefense>
			<bCanMoveImpassable>0</bCanMoveImpassable>
			<bCanMoveAllTerrain>0</bCanMoveAllTerrain>
			<bFlatMovementCost>0</bFlatMovementCost>
			<bIgnoreTerrainCost>0</bIgnoreTerrainCost>
			<bNukeImmune>0</bNukeImmune>
			<bPrereqBonuses>0</bPrereqBonuses>
			<bPrereqReligion>0</bPrereqReligion>
			<bMechanized>1</bMechanized>
			<bSuicide>0</bSuicide>
			<bHiddenNationality>0</bHiddenNationality>
			<bAlwaysHostile>0</bAlwaysHostile>
			<UnitClassUpgrades/>
			<UnitClassTargets>
					<UnitClassType>UNITCLASS_TANK</UnitClassType>
					<UnitClassType>UNITCLASS_MECHANIZED_INFANTRY</UnitClassType>
					<UnitClassType>UNITCLASS_MODERN_ARMOR</UnitClassType>
					<UnitClassType>UNITCLASS_MACHINE_GUN</UnitClassType>
					<UnitClassType>UNITCLASS_ARTILLERY</UnitClassType>
					<UnitClassType>UNITCLASS_MOBILE_ARTILLERY</UnitClassType>
			</UnitClassTargets>
			<UnitCombatTargets/>
			<UnitClassDefenders>
					<UnitClassType>UNITCLASS_TANK</UnitClassType>
					<UnitClassType>UNITCLASS_MECHANIZED_INFANTRY</UnitClassType>
					<UnitClassType>UNITCLASS_MODERN_ARMOR</UnitClassType>
					<UnitClassType>UNITCLASS_MACHINE_GUN</UnitClassType>
					<UnitClassType>UNITCLASS_ARTILLERY</UnitClassType>
					<UnitClassType>UNITCLASS_MOBILE_ARTILLERY</UnitClassType>
			</UnitClassDefenders>
			<UnitCombatDefenders/>
			<FlankingStrikes/>
			<UnitAIs>
				<UnitAI>
					<UnitAIType>UNITAI_ATTACK</UnitAIType>
					<bUnitAI>1</bUnitAI>
				</UnitAI>
				<UnitAI>
					<UnitAIType>UNITAI_RESERVE</UnitAIType>
					<bUnitAI>1</bUnitAI>
				</UnitAI>
				<UnitAI>
					<UnitAIType>UNITAI_CITY_DEFENSE</UnitAIType>
					<bUnitAI>1</bUnitAI>
				</UnitAI>
			</UnitAIs>
			<NotUnitAIs/>
			<Builds/>
			<ReligionSpreads/>
			<CorporationSpreads/>
			<GreatPeoples/>
			<Buildings/>
			<ForceBuildings/>
			<HolyCity>NONE</HolyCity>
			<ReligionType>NONE</ReligionType>
			<StateReligion>NONE</StateReligion>
			<PrereqReligion>NONE</PrereqReligion>
			<PrereqCorporation>NONE</PrereqCorporation>
			<PrereqBuilding>NONE</PrereqBuilding>
			<PrereqTech>TECH_ELECTRICITY</PrereqTech>
			<TechTypes>
			<PrereqTech>TECH_RIFLING</PrereqTech>
			<PrereqTech>TECH_COMPOSITES</PrereqTech>
			<PrereqTech>TECH_ROBOTICS</PrereqTech>
			</TechTypes>
			<BonusType>NONE</BonusType>
			<PrereqBonuses/>
			<ProductionTraits/>
			<Flavors/>
			<iAIWeight>0</iAIWeight>
			<iCost>200</iCost>
			<iHurryCostModifier>0</iHurryCostModifier>
			<iAdvancedStartCost>250</iAdvancedStartCost>
			<iAdvancedStartCostIncrease>0</iAdvancedStartCostIncrease>
			<iMinAreaSize>-1</iMinAreaSize>
			<iMoves>1</iMoves>
			<bNoRevealMap>0</bNoRevealMap>
			<iAirRange>0</iAirRange>
			<iAirUnitCap>0</iAirUnitCap>
			<iDropRange>0</iDropRange>
			<iNukeRange>-1</iNukeRange>
			<iWorkRate>0</iWorkRate>
			<iBaseDiscover>0</iBaseDiscover>
			<iDiscoverMultiplier>0</iDiscoverMultiplier>
			<iBaseHurry>0</iBaseHurry>
			<iHurryMultiplier>0</iHurryMultiplier>
			<iBaseTrade>0</iBaseTrade>
			<iTradeMultiplier>0</iTradeMultiplier>
			<iGreatWorkCulture>0</iGreatWorkCulture>
			<iEspionagePoints>0</iEspionagePoints>
			<TerrainImpassables/>
			<FeatureImpassables/>
			<TerrainPassableTechs/>
			<FeaturePassableTechs/>
			<iCombat>26</iCombat>
			<iCombatLimit>100</iCombatLimit>
			<iAirCombat>0</iAirCombat>
			<iAirCombatLimit>0</iAirCombatLimit>
			<iXPValueAttack>5</iXPValueAttack>
			<iXPValueDefense>3</iXPValueDefense>
			<iFirstStrikes>0</iFirstStrikes>
			<iChanceFirstStrikes>0</iChanceFirstStrikes>
			<iInterceptionProbability>0</iInterceptionProbability>
			<iEvasionProbability>0</iEvasionProbability>
			<iWithdrawalProb>0</iWithdrawalProb>
			<iCollateralDamage>0</iCollateralDamage>
			<iCollateralDamageLimit>0</iCollateralDamageLimit>
			<iCollateralDamageMaxUnits>0</iCollateralDamageMaxUnits>
			<iCityAttack>0</iCityAttack>
			<iCityDefense>0</iCityDefense>
			<iAnimalCombat>0</iAnimalCombat>
			<iHillsAttack>0</iHillsAttack>
			<iHillsDefense>0</iHillsDefense>
			<TerrainNatives/>
			<FeatureNatives/>
			<TerrainAttacks/>
			<TerrainDefenses/>
			<FeatureAttacks/>
			<FeatureDefenses/>
			<UnitClassAttackMods>
					<UnitClassType>UNITCLASS_TANK</UnitClassType>
					<iUnitClassMod>200</iUnitClassMod>
					<UnitClassType>UNITCLASS_MECHANIZED_INFANTRY</UnitClassType>
					<iUnitClassMod>200</iUnitClassMod>
					<UnitClassType>UNITCLASS_MODERN_ARMOR</UnitClassType>
					<iUnitClassMod>200</iUnitClassMod>
					<UnitClassType>UNITCLASS_MACHINE_GUN</UnitClassType>
					<iUnitClassMod>200</iUnitClassMod>
					<UnitClassType>UNITCLASS_ARTILLERY</UnitClassType>
					<iUnitClassMod>200</iUnitClassMod>
					<UnitClassType>UNITCLASS_MOBILE_ARTILLERY</UnitClassType>
					<iUnitClassMod>200</iUnitClassMod>
					<UnitClassType>UNITCLASS_MECH_SHOCKTROOP</UnitClassType>
					<iUnitClassMod>200</iUnitClassMod>
			</UnitClassAttackMods>
			<UnitClassDefenseMods>
					<UnitClassType>UNITCLASS_TANK</UnitClassType>
					<iUnitClassMod>200</iUnitClassMod>
					<UnitClassType>UNITCLASS_MECHANIZED_INFANTRY</UnitClassType>
					<iUnitClassMod>200</iUnitClassMod>
					<UnitClassType>UNITCLASS_MODERN_ARMOR</UnitClassType>
					<iUnitClassMod>200</iUnitClassMod>
					<UnitClassType>UNITCLASS_MACHINE_GUN</UnitClassType>
					<iUnitClassMod>200</iUnitClassMod>
					<UnitClassType>UNITCLASS_ARTILLERY</UnitClassType>
					<iUnitClassMod>200</iUnitClassMod>
					<UnitClassType>UNITCLASS_MOBILE_ARTILLERY</UnitClassType>
					<iUnitClassMod>200</iUnitClassMod>
			</UnitClassDefenseMods>
			<UnitCombatMods/>
			<UnitCombatCollateralImmunes/>
			<DomainMods/>
			<BonusProductionModifiers/>
			<iBombRate>0</iBombRate>
			<iBombardRate>0</iBombardRate>
			<SpecialCargo>NONE</SpecialCargo>
			<DomainCargo>NONE</DomainCargo>
			<iCargo>0</iCargo>
			<iConscription>4</iConscription>
			<iCultureGarrison>7</iCultureGarrison>
			<iExtraCost>0</iExtraCost>
			<iAsset>3</iAsset>
			<iPower>9</iPower>
			<UnitMeshGroups>
				<iGroupSize>3</iGroupSize>
				<fMaxSpeed>1.75</fMaxSpeed>
				<fPadTime>1</fPadTime>
				<iMeleeWaveSize>3</iMeleeWaveSize>
				<iRangedWaveSize>0</iRangedWaveSize>
				<UnitMeshGroup>
					<iRequired>3</iRequired>
					<EarlyArtDefineTag>ART_DEF_UNIT_MECHANIZED_INFANTRY</EarlyArtDefineTag>
				</UnitMeshGroup>
			</UnitMeshGroups>
			<FormationType>FORMATION_TYPE_RANGED</FormationType>
			<HotKey/>
			<bAltDown>0</bAltDown>
			<bShiftDown>0</bShiftDown>
			<bCtrlDown>0</bCtrlDown>
			<iHotKeyPriority>0</iHotKeyPriority>
			<FreePromotions/>
			<LeaderPromotion>NONE</LeaderPromotion>
			<iLeaderExperience>0</iLeaderExperience>
		</UnitInfo>
 
The entry for UnitClassAttack/DefenseMods is wrong.
You have
PHP:
			<UnitClassAttackMods>
					<UnitClassType>UNITCLASS_TANK</UnitClassType>
					<iUnitClassMod>200</iUnitClassMod>
[etc]
			</UnitClassAttackMods>

Right would be like this:
PHP:
			<UnitClassAttackMods>
				<UnitClassAttackMod>
					<UnitClassType>UNITCLASS_MACHINE_GUN</UnitClassType>
					<iUnitClassMod>50</iUnitClassMod>
				</UnitClassAttackMod>
				<UnitClassAttackMod>
					<UnitClassType>UNITCLASS_ARTILLERY</UnitClassType>
					<iUnitClassMod>50</iUnitClassMod>
				</UnitClassAttackMod>
			</UnitClassAttackMods>
 
@Deon: I know it's not the whole file, but those are the only things I added/edited. TRY HARDER TO BE A BRAN MUFFIN.

@The_J: THANK YOU SIR. It works now. :D
 
Bump, due to LOADS MOAR ERRORS. There's so many I can't even list them all, though a large majority of them seem to be repetitive and indicative of the same cause--whatever it may be! I've got absolutely zero clue what the cause might be of these, so I'm uploading the entire contents of the mod so far. (Please don't steal it, however crappy it may be. D<)
 

Attachments

  • War of the Future.rar
    1.1 MB · Views: 27
Error message screenshots attached. There are three major ones, and then there's a fourth one that I didn't capture because it repeats itself for pretty much every single unit. It was some sort of generic XML fail message. I'm sure they'll be duplicated upon downloading the mod and running, but here are the big 3 (and somehow I feel solving these will get rid of the repeater):
Spoiler :
 

Attachments

  • Error Messages.png
    Error Messages.png
    78.1 KB · Views: 113
The first error should be somehow obvious:
You've defined CIVIC_CAPITALISM as favorite civic for one of your leaders, but your mod does not contain a CivicInfos.xml, so it loads the normal CivicInfos.xml from vanilla BtS, where this civic is not defined.

The second one says, that you for the mentioned unit forgot this tag:
PHP:
			<BonusType>NONE</BonusType>

in the definition.
Add it to the right place and it should work.
 
Top Bottom