• We are currently performing site maintenance, parts of civfanatics are currently offline, but will come back online in the coming days. For more updates please see here.

Save game Mod crash from DX11 error

Craig_Sutter

Deity
Joined
Aug 13, 2002
Messages
2,773
Location
Calgary, Canada
Somewhere along the way, my mod has run into a problem where saves will not open... and I am getting no error messages in my logs.

First, since the error is from DX11, would this be related to XML or SQL or LUA files? I have done nothing with graphics except add a few unit models, but those were added during my last working version and not recently. Would it be solely a graphics issue? I just don't see how.

Second, I would like to see if it is my computer itself... therefore, I am going to upload a copy of the mod to my dropbox. If anyone would be so kind as to run the mod a couple of turns and then save and reload, I would appreciate it.

To do so, once the mod is loaded, open one of the Viking Age maps from the map menu after selecting the scenario... it will be under Additional Maps I believe.

The zip has both the build and scenario folders included...

HTML:
https://www.dropbox.com/s/tdff5dpdppycmno/MODS.zip?dl=0

Thank-you.
 
Hmm it's not the dreaded 12kb save game bug? check the size of the save files, if it is roughly around 12KB or there abouts, it the save game bug, it seems to be showing it's ugly head more and more these days for some reason
 
Afraid it's not that... just checked the save sizes and they vary.

Just seems to be restricted to my mod... my last version loads okay. Just not the most recent (which is about 2 months old).

Unfortunately, I implemented a lot of revisions since the last version so that redoing them will be a lot of work. Did not discover the save game problem until very late in the process... would like to avoid going back to the last version if possible, hence asking for some input.

Thanks for the suggestion.
 
Fired your mod up, playing as Angus, saved on turn 4, played though to turn 5 , loaded save, screen went black, Runtime error
had alook at the logs for lua and this was present
Runtime Error: Assets\UI\FrontEnd\GameSetup\UniqueBonuses.lua:218: attempt to call field '?' (a nil value)
 
That's odd.... if there were a problem with uniques, stsrting a game in the first place would be impossible. I know that several non-scenario civs had their UUs removed as I did not want their units as minor civ gifts, but they are not included in the scenario... and tge same error should have come up long ago.

Was the lua error prior to scenario selection... I can see that.

I will give all the nonconforming civs even though they are not in the scenario, a placeholder UU... but somehow, I do not think that to be the problem.

Thanks and I will see if that change helps.
 
Ok I just pulled up the lua logs again and yes it's right near the beginning so I guess that would be before scenario selection, sorry initially I had just put in find "runtime" when searching through logs without taking to much notice of it's position within the log
 
I found the file... but I am not certain why its causing a crash. It is an XML file. There is no indication in the database.

My only surmise is that using <Replace> </Replace> for the first item in an ID sequence causes problems.

I'm going to change to update and see what happens...

Here is the code of the XML file in question:

Code:
<GameData>
  <!-- TODO: Insert table creation example here. -->
 
  <!-- TODO: Insert table data example here.-->
  
  <!-- Enter your Game Data here. -->

<Projects>		
	<Replace>
		<Type>PROJECT_APOLLO_PROGRAM</Type>
		<Description>TXT_KEY_PROJECT_DOMESDAY_BOOK</Description>
		<Help>TXT_KEY_PROJECT_DOMESDAY_BOOK_HELP</Help>
		<Civilopedia>TXT_KEY_PROJECT_DOMESDAY_BOOK_PEDIA</Civilopedia>
		<Strategy>TXT_KEY_PROJECT_DOMESDAY_BOOK_STRATEGY</Strategy>
		<VictoryPrereq>VICTORY_SPACE_RACE</VictoryPrereq>
		<TechPrereq>TECH_CHIVALRY</TechPrereq>
		<MaxGlobalInstances>-1</MaxGlobalInstances>
		<MaxTeamInstances>1</MaxTeamInstances>
		<Cost>750</Cost>
		<IconAtlas>BW_ATLAS_2</IconAtlas>
		<PortraitIndex>33</PortraitIndex>
	</Replace>
	<Replace>
		<Type>PROJECT_SS_COCKPIT</Type>
		<Description>TXT_KEY_PROJECT_CORONATION</Description>
		<Help>TXT_KEY_UNIT_HELP_PROJECT_CORONATION</Help>
		<Civilopedia>TXT_KEY_PROJECT_CORONATION_PEDIA</Civilopedia>
		<Strategy>TXT_KEY_PROJECT_CORONATION_STRATEGY</Strategy>
		<VictoryPrereq>VICTORY_SPACE_RACE</VictoryPrereq>
		<MaxGlobalInstances>-1</MaxGlobalInstances>
		<MaxTeamInstances>1</MaxTeamInstances>
		<Cost>-1</Cost>
		<Spaceship>true</Spaceship>
		<IconAtlas>BW_ATLAS_2</IconAtlas>
		<PortraitIndex>36</PortraitIndex>
	</Replace>
	<Replace>
		<Type>PROJECT_SS_STASIS_CHAMBER</Type>
		<Description>TXT_KEY_PROJECT_ARCHBISHOP</Description>
		<Help>TXT_KEY_UNIT_HELP_PROJECT_ARCHBISHOP</Help>
		<Civilopedia>TXT_KEY_PROJECT_ARCHBISHOP_PEDIA</Civilopedia>
		<Strategy>TXT_KEY_PROJECT_ARCHBISHOP_STRATEGY</Strategy>
		<VictoryPrereq>VICTORY_SPACE_RACE</VictoryPrereq>
		<MaxGlobalInstances>-1</MaxGlobalInstances>
		<MaxTeamInstances>1</MaxTeamInstances>
		<Cost>-1</Cost>
		<Spaceship>true</Spaceship>
		<IconAtlas>BW_ATLAS_2</IconAtlas>
		<PortraitIndex>38</PortraitIndex>
	</Replace>
	<Replace>
		<Type>PROJECT_SS_ENGINE</Type>
		<Description>TXT_KEY_LEGATE</Description>
		<Help>TXT_KEY_UNIT_HELP_LEGATE</Help>
		<Civilopedia>TXT_KEY_PROJECT_LEGATE_PEDIA</Civilopedia>
		<Strategy>TXT_KEY_PROJECT_LEGATE_STRATEGY</Strategy>
		<VictoryPrereq>VICTORY_SPACE_RACE</VictoryPrereq>
		<MaxGlobalInstances>-1</MaxGlobalInstances>
		<MaxTeamInstances>1</MaxTeamInstances>
		<Cost>-1</Cost>
		<Spaceship>true</Spaceship>
		<IconAtlas>BW_ATLAS_2</IconAtlas>
		<PortraitIndex>39</PortraitIndex>
	</Replace>
	<Replace>
		<Type>PROJECT_SS_BOOSTER</Type>
		<Description>TXT_KEY_PROJECT_DUKE</Description>
		<Help>TXT_KEY_UNIT_HELP_PROJECT_DUKE</Help>
		<Civilopedia>TXT_KEY_PROJECT_DUKE_PEDIA</Civilopedia>
		<Strategy>TXT_KEY_PROJECT_DUKE_STRATEGY</Strategy>
		<VictoryPrereq>VICTORY_SPACE_RACE</VictoryPrereq>
		<MaxGlobalInstances>-1</MaxGlobalInstances>
		<MaxTeamInstances>3</MaxTeamInstances>
		<Cost>-1</Cost>
		<Spaceship>true</Spaceship>
		<IconAtlas>BW_ATLAS_2</IconAtlas>
		<PortraitIndex>35</PortraitIndex>
	</Replace>
</Projects>
	
<Units>	
	<Replace>
		<Class>UNITCLASS_SS_STASIS_CHAMBER</Class>
		<Type>UNIT_SS_STASIS_CHAMBER</Type>
		<PrereqTech>TECH_CHIVALRY</PrereqTech>
		<Cost>1500</Cost>
		<Moves>2</Moves>
		<CivilianAttackPriority>CIVILIAN_ATTACK_PRIORITY_HIGH</CivilianAttackPriority>
		<HurryCostModifier>-1</HurryCostModifier>
		<Domain>DOMAIN_LAND</Domain>
		<DefaultUnitAI>UNITAI_SPACESHIP_PART</DefaultUnitAI>
		<Description>TXT_KEY_ARCHBISHOP</Description>
		<Civilopedia>TXT_KEY_PROJECT_ARCHBISHOP_PEDIA</Civilopedia>
		<Strategy>TXT_KEY_PROJECT_ARCHBISHOP_STRATEGY</Strategy>
		<Help>TXT_KEY_UNIT_HELP_PROJECT_ARCHBISHOP</Help>
		<AdvancedStartCost>-1</AdvancedStartCost>
		<CombatLimit>0</CombatLimit>
		<ProjectPrereq>PROJECT_APOLLO_PROGRAM</ProjectPrereq>
		<SpaceshipProject>PROJECT_SS_STASIS_CHAMBER</SpaceshipProject>
		<UnitArtInfo>ART_DEF_UNIT_SS_STASIS_CHAMBER</UnitArtInfo>
		<UnitFlagIconOffset>85</UnitFlagIconOffset>
		<IconAtlas>BW_ATLAS_2</IconAtlas>
		<PortraitIndex>38</PortraitIndex>
		<MoveRate>QUADRUPED</MoveRate>
	</Replace>
	<Replace>
		<Class>UNITCLASS_SS_ENGINE</Class>
		<Type>UNIT_SS_ENGINE</Type>
		<PrereqTech>TECH_CHIVALRY</PrereqTech>
		<Cost>1500</Cost>
		<Moves>2</Moves>
		<CivilianAttackPriority>CIVILIAN_ATTACK_PRIORITY_HIGH</CivilianAttackPriority>
		<HurryCostModifier>-1</HurryCostModifier>
		<Domain>DOMAIN_LAND</Domain>
		<DefaultUnitAI>UNITAI_SPACESHIP_PART</DefaultUnitAI>
		<Description>TXT_KEY_LEGATE</Description>
		<Civilopedia>TXT_KEY_PROJECT_LEGATE_PEDIA</Civilopedia>
		<Strategy>TXT_KEY_PROJECT_LEGATE_STRATEGY</Strategy>
		<Help>TXT_KEY_UNIT_HELP_PROJECT_LEGATE</Help>
		<AdvancedStartCost>-1</AdvancedStartCost>
		<CombatLimit>0</CombatLimit>
		<ProjectPrereq>PROJECT_APOLLO_PROGRAM</ProjectPrereq>
		<SpaceshipProject>PROJECT_SS_ENGINE</SpaceshipProject>
		<UnitArtInfo>ART_DEF_UNIT_SS_ENGINE</UnitArtInfo>
		<UnitFlagIconOffset>86</UnitFlagIconOffset>
		<IconAtlas>BW_ATLAS_2</IconAtlas>
		<PortraitIndex>39</PortraitIndex>
		<MoveRate>WHEELED</MoveRate>
	</Replace>
	<Replace>
		<Class>UNITCLASS_SS_COCKPIT</Class>
		<Type>UNIT_SS_COCKPIT</Type>
		<PrereqTech>TECH_CHIVALRY</PrereqTech>
		<Cost>1500</Cost>
		<Moves>2</Moves>
		<CivilianAttackPriority>CIVILIAN_ATTACK_PRIORITY_HIGH</CivilianAttackPriority>
		<HurryCostModifier>-1</HurryCostModifier>
		<Domain>DOMAIN_LAND</Domain>
		<DefaultUnitAI>UNITAI_SPACESHIP_PART</DefaultUnitAI>
		<Description>TXT_KEY_CORONATION</Description>
		<Civilopedia>TXT_KEY_PROJECT_CORONATION_PEDIA</Civilopedia>
		<Strategy>TXT_KEY_PROJECT_CORONATION_STRATEGY</Strategy>
		<Help>TXT_KEY_UNIT_HELP_PROJECT_CORONATION</Help>
		<AdvancedStartCost>-1</AdvancedStartCost>
		<CombatLimit>0</CombatLimit>
		<ProjectPrereq>PROJECT_APOLLO_PROGRAM</ProjectPrereq>
		<SpaceshipProject>PROJECT_SS_COCKPIT</SpaceshipProject>
		<UnitArtInfo>ART_DEF_UNIT_SS_CAPSULE</UnitArtInfo>
		<UnitFlagIconOffset>84</UnitFlagIconOffset>
		<IconAtlas>BW_ATLAS_2</IconAtlas>
		<PortraitIndex>36</PortraitIndex>
		<MoveRate>WHEELED</MoveRate>
	</Replace>
	<Replace>
		<Class>UNITCLASS_SS_BOOSTER</Class>
		<Type>UNIT_SS_BOOSTER</Type>
		<PrereqTech>TECH_CHIVALRY</PrereqTech>
		<Cost>1500</Cost>
		<Moves>2</Moves>
		<CivilianAttackPriority>CIVILIAN_ATTACK_PRIORITY_HIGH</CivilianAttackPriority>
		<HurryCostModifier>-1</HurryCostModifier>
		<Domain>DOMAIN_LAND</Domain>
		<DefaultUnitAI>UNITAI_SPACESHIP_PART</DefaultUnitAI>
		<Description>TXT_KEY_DUKE</Description>
		<Civilopedia>TXT_KEY_PROJECT_DUKE_PEDIA</Civilopedia>
		<Strategy>TXT_KEY_PROJECT_DUKE_STRATEGY</Strategy>
		<Help>TXT_KEY_UNIT_HELP_PROJECT_DUKE</Help>
		<AdvancedStartCost>-1</AdvancedStartCost>
		<CombatLimit>0</CombatLimit>
		<ProjectPrereq>PROJECT_APOLLO_PROGRAM</ProjectPrereq>
		<SpaceshipProject>PROJECT_SS_BOOSTER</SpaceshipProject>
		<UnitArtInfo>ART_DEF_UNIT_SS_BOOSTER</UnitArtInfo>
		<UnitFlagIconOffset>87</UnitFlagIconOffset>
		<IconAtlas>BW_ATLAS_2</IconAtlas>
		<PortraitIndex>35</PortraitIndex>
		<MoveRate>WHEELED</MoveRate>
	</Replace>	
</Units>
	
<Unit_ResourceQuantityRequirements>
	<Delete UnitType="UNIT_SS_STASIS_CHAMBER"/>
	<Delete UnitType="UNIT_SS_ENGINE"/>
	<Delete UnitType="UNIT_SS_COCKPIT"/>
	<Delete UnitType="UNIT_SS_BOOSTER"/>
</Unit_ResourceQuantityRequirements>

<Unit_BuildingClassRequireds>
	<Row>
		<UnitType>UNIT_SS_BOOSTER</UnitType>
		<BuildingClassType>BUILDINGCLASS_EARLDOM</BuildingClassType>
	</Row>
	<Row>
		<UnitType>UNIT_SS_STASIS_CHAMBER</UnitType>
		<BuildingClassType>BUILDINGCLASS_ARCHDIOCESE</BuildingClassType>
	</Row>
</Unit_BuildingClassRequireds>
	
<Language_en_US>
	<Row Tag="TXT_KEY_PROJECT_DOMESDAY_BOOK">
		<Text>Domesday Book</Text>
	</Row>
	<Row Tag="TXT_KEY_PROJECT_DOMESDAY_BOOK_HELP">
		<Text>Signals the start of formation of the Kingdom of England, allowing certain cities to be granted Duchal titles and/or Archbishoprics. When all Dukes have pronounced oaths of fealty at your capital and Archbishops have offered their support, you win a [COLOR_POSITIVE_TEXT]Science Victory[ENDCOLOR]!</Text>
	</Row>
	<Row Tag="TXT_KEY_PROJECT_DOMESDAY_BOOK_PEDIA">
		<Text>Pending.</Text>
	</Row>
	<Row Tag="TXT_KEY_PROJECT_DOMESDAY_BOOK_STRATEGY">
		<Text>Creation of the Domesday Book is the start of the science victory. It allows construction of Dukes and Archbishops. Each civilization must complete this project before they can construct Dukes and Archbishops.</Text>
	</Row>

	<Row Tag="TXT_KEY_PROJECT_PAPAL_DIPLOMACY">
		<Text>Papal Favor</Text>
	</Row>
	<Row Tag="TXT_KEY_PROJECT_PAPAL_DIPLOMACY_HELP">
		<Text>Pending</Text>
	</Row>
	<Row Tag="TXT_KEY_PROJECT_PAPAL_DIPLOMACY_PEDIA">
		<Text>Pending.</Text>
	</Row>
	<Row Tag="TXT_KEY_PROJECT_PAPAL_DIPLOMACY_STRATEGY">
		<Text>Pending.</Text>
	</Row>
	
	<Row Tag="TXT_KEY_PROJECT_DUKE">
		<Text>Earldoms</Text>
	</Row>
	<Row Tag="TXT_KEY_UNIT_HELP_PROJECT_DUKE">
		<Text>Pending</Text>
	</Row>
	<Row Tag="TXT_KEY_PROJECT_DUKE_PEDIA">
		<Text>Pending.</Text>
	</Row>
	<Row Tag="TXT_KEY_PROJECT_DUKE_STRATEGY">
		<Text>Pending.</Text>
	</Row>

	<Row Tag="TXT_KEY_DUKE">
		<Text>Earl</Text>
	</Row>

	<Row Tag="TXT_KEY_PROJECT_ARCHBISHOP">
		<Text>Archdioceses</Text>
	</Row>
	<Row Tag="TXT_KEY_UNIT_HELP_PROJECT_ARCHBISHOP">
		<Text>Pending</Text>
	</Row>
	<Row Tag="TXT_KEY_PROJECT_ARCHBISHOP_PEDIA">
		<Text>Pending.</Text>
	</Row>
	<Row Tag="TXT_KEY_PROJECT_ARCHBISHOP_STRATEGY">
		<Text>Pending.</Text>
	</Row>
	
	<Row Tag="TXT_KEY_ARCHBISHOP">
		<Text>Archbishop</Text>
	</Row>

	<Row Tag="TXT_KEY_PROJECT_LEGATE">
		<Text>Papal Mission</Text>
	</Row>
	<Row Tag="TXT_KEY_UNIT_HELP_PROJECT_LEGATE">
		<Text>Pending</Text>
	</Row>
	<Row Tag="TXT_KEY_PROJECT_LEGATE_PEDIA">
		<Text>Pending.</Text>
	</Row>
	<Row Tag="TXT_KEY_PROJECT_LEGATE_STRATEGY">
		<Text>Pending.</Text>
	</Row>

	<Row Tag="TXT_KEY_LEGATE">
		<Text>Papal Legate</Text>
	</Row>

	<Row Tag="TXT_KEY_PROJECT_CORONATION">
		<Text>Coronation</Text>
	</Row>
	<Row Tag="TXT_KEY_UNIT_HELP_PROJECT_CORONATION">
		<Text>Pending</Text>
	</Row>
	<Row Tag="TXT_KEY_PROJECT_CORONATION_PEDIA">
		<Text>Pending.</Text>
	</Row>
	<Row Tag="TXT_KEY_PROJECT_CORONATION_STRATEGY">
		<Text>Pending.</Text>
	</Row>

	<Row Tag="TXT_KEY_CORONATION">
		<Text>Royal Procession</Text>
	</Row>
	
</Language_en_US>
	
</GameData>

Here's hoping my supposition is correct.
 
At least in BNW Manhattan Project is ID#0, so unless you are deleting Manhattan Project from the database you aren't 'replacing' the row with ID#0 anywhere in your code.

But if you are concerned that <Replace> is causing odd behaviors, have you tried <Updates>, and only changing the necessary columns? It looks like all you are changing is <TechPrereq> and the three text references.

You could also simply change the <TechPrereq> and simply do <Updates> to the existing TXT_KEYS (such as TXT_KEY_PROJECT_APOLLO_PROGRAM) within the <Language_en_US> table.
 
Changing to Update worked... don't ask me why :)

Here is the altered file. Thanks all. :goodjob:

Code:
<GameData>
  <!-- TODO: Insert table creation example here. -->
 
  <!-- TODO: Insert table data example here.-->
  
  <!-- Enter your Game Data here. -->

<Projects>
	
	<Update>
		<Where Type="PROJECT_APOLLO_PROGRAM"/>
		<Set Description="TXT_KEY_PROJECT_DOMESDAY_BOOK" Help="TXT_KEY_PROJECT_DOMESDAY_BOOK_HELP" Civilopedia="TXT_KEY_PROJECT_DOMESDAY_BOOK_PEDIA" 
			 Strategy="TXT_KEY_PROJECT_DOMESDAY_BOOK_STRATEGY" TechPrereq="TECH_CHIVALRY"/>		
	</Update>

	<Update>
		<Where Type="PROJECT_SS_COCKPIT"/>
		<Set Description="TXT_KEY_PROJECT_CORONATION" Help="TXT_KEY_UNIT_HELP_PROJECT_CORONATION" Civilopedia="TXT_KEY_PROJECT_CORONATION_PEDIA" 
			 Strategy="TXT_KEY_PROJECT_CORONATION_STRATEGY" />
	</Update>

	<Update>
		<Where Type="PROJECT_SS_STASIS_CHAMBER"/>
		<Set Description="TXT_KEY_PROJECT_ARCHBISHOP" Help="TXT_KEY_UNIT_HELP_PROJECT_ARCHBISHOP" Civilopedia="TXT_KEY_PROJECT_ARCHBISHOP_PEDIA"
			 Strategy="TXT_KEY_PROJECT_ARCHBISHOP_STRATEGY" />
	</Update>

	<Update>
		<Where Type="PROJECT_SS_ENGINE"/>
		<Set Description="TXT_KEY_LEGATE" Help="TXT_KEY_UNIT_HELP_LEGATE" Civilopedia="TXT_KEY_PROJECT_LEGATE_PEDIA"
			 Strategy="TXT_KEY_PROJECT_LEGATE_STRATEGY" />
	</Update>

	<Update>
		<Where Type="PROJECT_SS_BOOSTER"/>
		<Set Description="TXT_KEY_PROJECT_DUKE" Help="TXT_KEY_UNIT_HELP_PROJECT_DUKE" Civilopedia="TXT_KEY_PROJECT_DUKE_PEDIA"
			 Strategy="TXT_KEY_PROJECT_DUKE_STRATEGY" />
	</Update>
	
</Projects>
	
<Units>	
	<Replace>
		<Class>UNITCLASS_SS_STASIS_CHAMBER</Class>
		<Type>UNIT_SS_STASIS_CHAMBER</Type>
		<PrereqTech>TECH_CHIVALRY</PrereqTech>
		<Cost>1500</Cost>
		<Moves>2</Moves>
		<CivilianAttackPriority>CIVILIAN_ATTACK_PRIORITY_HIGH</CivilianAttackPriority>
		<HurryCostModifier>-1</HurryCostModifier>
		<Domain>DOMAIN_LAND</Domain>
		<DefaultUnitAI>UNITAI_SPACESHIP_PART</DefaultUnitAI>
		<Description>TXT_KEY_ARCHBISHOP</Description>
		<Civilopedia>TXT_KEY_PROJECT_ARCHBISHOP_PEDIA</Civilopedia>
		<Strategy>TXT_KEY_PROJECT_ARCHBISHOP_STRATEGY</Strategy>
		<Help>TXT_KEY_UNIT_HELP_PROJECT_ARCHBISHOP</Help>
		<AdvancedStartCost>-1</AdvancedStartCost>
		<CombatLimit>0</CombatLimit>
		<ProjectPrereq>PROJECT_APOLLO_PROGRAM</ProjectPrereq>
		<SpaceshipProject>PROJECT_SS_STASIS_CHAMBER</SpaceshipProject>
		<UnitArtInfo>ART_DEF_UNIT_SS_STASIS_CHAMBER</UnitArtInfo>
		<UnitFlagIconOffset>85</UnitFlagIconOffset>
		<IconAtlas>BW_ATLAS_2</IconAtlas>
		<PortraitIndex>38</PortraitIndex>
		<MoveRate>QUADRUPED</MoveRate>
	</Replace>
	<Replace>
		<Class>UNITCLASS_SS_ENGINE</Class>
		<Type>UNIT_SS_ENGINE</Type>
		<PrereqTech>TECH_CHIVALRY</PrereqTech>
		<Cost>1500</Cost>
		<Moves>2</Moves>
		<CivilianAttackPriority>CIVILIAN_ATTACK_PRIORITY_HIGH</CivilianAttackPriority>
		<HurryCostModifier>-1</HurryCostModifier>
		<Domain>DOMAIN_LAND</Domain>
		<DefaultUnitAI>UNITAI_SPACESHIP_PART</DefaultUnitAI>
		<Description>TXT_KEY_LEGATE</Description>
		<Civilopedia>TXT_KEY_PROJECT_LEGATE_PEDIA</Civilopedia>
		<Strategy>TXT_KEY_PROJECT_LEGATE_STRATEGY</Strategy>
		<Help>TXT_KEY_UNIT_HELP_PROJECT_LEGATE</Help>
		<AdvancedStartCost>-1</AdvancedStartCost>
		<CombatLimit>0</CombatLimit>
		<ProjectPrereq>PROJECT_APOLLO_PROGRAM</ProjectPrereq>
		<SpaceshipProject>PROJECT_SS_ENGINE</SpaceshipProject>
		<UnitArtInfo>ART_DEF_UNIT_SS_ENGINE</UnitArtInfo>
		<UnitFlagIconOffset>86</UnitFlagIconOffset>
		<IconAtlas>BW_ATLAS_2</IconAtlas>
		<PortraitIndex>39</PortraitIndex>
		<MoveRate>WHEELED</MoveRate>
	</Replace>
	<Replace>
		<Class>UNITCLASS_SS_COCKPIT</Class>
		<Type>UNIT_SS_COCKPIT</Type>
		<PrereqTech>TECH_CHIVALRY</PrereqTech>
		<Cost>1500</Cost>
		<Moves>2</Moves>
		<CivilianAttackPriority>CIVILIAN_ATTACK_PRIORITY_HIGH</CivilianAttackPriority>
		<HurryCostModifier>-1</HurryCostModifier>
		<Domain>DOMAIN_LAND</Domain>
		<DefaultUnitAI>UNITAI_SPACESHIP_PART</DefaultUnitAI>
		<Description>TXT_KEY_CORONATION</Description>
		<Civilopedia>TXT_KEY_PROJECT_CORONATION_PEDIA</Civilopedia>
		<Strategy>TXT_KEY_PROJECT_CORONATION_STRATEGY</Strategy>
		<Help>TXT_KEY_UNIT_HELP_PROJECT_CORONATION</Help>
		<AdvancedStartCost>-1</AdvancedStartCost>
		<CombatLimit>0</CombatLimit>
		<ProjectPrereq>PROJECT_APOLLO_PROGRAM</ProjectPrereq>
		<SpaceshipProject>PROJECT_SS_COCKPIT</SpaceshipProject>
		<UnitArtInfo>ART_DEF_UNIT_SS_CAPSULE</UnitArtInfo>
		<UnitFlagIconOffset>84</UnitFlagIconOffset>
		<IconAtlas>BW_ATLAS_2</IconAtlas>
		<PortraitIndex>36</PortraitIndex>
		<MoveRate>WHEELED</MoveRate>
	</Replace>
	<Replace>
		<Class>UNITCLASS_SS_BOOSTER</Class>
		<Type>UNIT_SS_BOOSTER</Type>
		<PrereqTech>TECH_CHIVALRY</PrereqTech>
		<Cost>1500</Cost>
		<Moves>2</Moves>
		<CivilianAttackPriority>CIVILIAN_ATTACK_PRIORITY_HIGH</CivilianAttackPriority>
		<HurryCostModifier>-1</HurryCostModifier>
		<Domain>DOMAIN_LAND</Domain>
		<DefaultUnitAI>UNITAI_SPACESHIP_PART</DefaultUnitAI>
		<Description>TXT_KEY_DUKE</Description>
		<Civilopedia>TXT_KEY_PROJECT_DUKE_PEDIA</Civilopedia>
		<Strategy>TXT_KEY_PROJECT_DUKE_STRATEGY</Strategy>
		<Help>TXT_KEY_UNIT_HELP_PROJECT_DUKE</Help>
		<AdvancedStartCost>-1</AdvancedStartCost>
		<CombatLimit>0</CombatLimit>
		<ProjectPrereq>PROJECT_APOLLO_PROGRAM</ProjectPrereq>
		<SpaceshipProject>PROJECT_SS_BOOSTER</SpaceshipProject>
		<UnitArtInfo>ART_DEF_UNIT_SS_BOOSTER</UnitArtInfo>
		<UnitFlagIconOffset>87</UnitFlagIconOffset>
		<IconAtlas>BW_ATLAS_2</IconAtlas>
		<PortraitIndex>35</PortraitIndex>
		<MoveRate>WHEELED</MoveRate>
	</Replace>	
</Units>
	
<Unit_ResourceQuantityRequirements>
	<Delete UnitType="UNIT_SS_STASIS_CHAMBER"/>
	<Delete UnitType="UNIT_SS_ENGINE"/>
	<Delete UnitType="UNIT_SS_COCKPIT"/>
	<Delete UnitType="UNIT_SS_BOOSTER"/>
</Unit_ResourceQuantityRequirements>

<Unit_BuildingClassRequireds>
	<Row>
		<UnitType>UNIT_SS_BOOSTER</UnitType>
		<BuildingClassType>BUILDINGCLASS_EARLDOM</BuildingClassType>
	</Row>
	<Row>
		<UnitType>UNIT_SS_STASIS_CHAMBER</UnitType>
		<BuildingClassType>BUILDINGCLASS_ARCHDIOCESE</BuildingClassType>
	</Row>
</Unit_BuildingClassRequireds>
	
<Language_en_US>
	<Row Tag="TXT_KEY_PROJECT_DOMESDAY_BOOK">
		<Text>Domesday Book</Text>
	</Row>
	<Row Tag="TXT_KEY_PROJECT_DOMESDAY_BOOK_HELP">
		<Text>Signals the start of formation of the Kingdom of England, allowing certain cities to be granted Duchal titles and/or Archbishoprics. When all Dukes have pronounced oaths of fealty at your capital and Archbishops have offered their support, you win a [COLOR_POSITIVE_TEXT]Science Victory[ENDCOLOR]!</Text>
	</Row>
	<Row Tag="TXT_KEY_PROJECT_DOMESDAY_BOOK_PEDIA">
		<Text>Pending.</Text>
	</Row>
	<Row Tag="TXT_KEY_PROJECT_DOMESDAY_BOOK_STRATEGY">
		<Text>Creation of the Domesday Book is the start of the science victory. It allows construction of Dukes and Archbishops. Each civilization must complete this project before they can construct Dukes and Archbishops.</Text>
	</Row>

	<Row Tag="TXT_KEY_PROJECT_PAPAL_DIPLOMACY">
		<Text>Papal Favor</Text>
	</Row>
	<Row Tag="TXT_KEY_PROJECT_PAPAL_DIPLOMACY_HELP">
		<Text>Pending</Text>
	</Row>
	<Row Tag="TXT_KEY_PROJECT_PAPAL_DIPLOMACY_PEDIA">
		<Text>Pending.</Text>
	</Row>
	<Row Tag="TXT_KEY_PROJECT_PAPAL_DIPLOMACY_STRATEGY">
		<Text>Pending.</Text>
	</Row>
	
	<Row Tag="TXT_KEY_PROJECT_DUKE">
		<Text>Earldoms</Text>
	</Row>
	<Row Tag="TXT_KEY_UNIT_HELP_PROJECT_DUKE">
		<Text>Pending</Text>
	</Row>
	<Row Tag="TXT_KEY_PROJECT_DUKE_PEDIA">
		<Text>Pending.</Text>
	</Row>
	<Row Tag="TXT_KEY_PROJECT_DUKE_STRATEGY">
		<Text>Pending.</Text>
	</Row>

	<Row Tag="TXT_KEY_DUKE">
		<Text>Earl</Text>
	</Row>

	<Row Tag="TXT_KEY_PROJECT_ARCHBISHOP">
		<Text>Archdioceses</Text>
	</Row>
	<Row Tag="TXT_KEY_UNIT_HELP_PROJECT_ARCHBISHOP">
		<Text>Pending</Text>
	</Row>
	<Row Tag="TXT_KEY_PROJECT_ARCHBISHOP_PEDIA">
		<Text>Pending.</Text>
	</Row>
	<Row Tag="TXT_KEY_PROJECT_ARCHBISHOP_STRATEGY">
		<Text>Pending.</Text>
	</Row>
	
	<Row Tag="TXT_KEY_ARCHBISHOP">
		<Text>Archbishop</Text>
	</Row>

	<Row Tag="TXT_KEY_PROJECT_LEGATE">
		<Text>Papal Mission</Text>
	</Row>
	<Row Tag="TXT_KEY_UNIT_HELP_PROJECT_LEGATE">
		<Text>Pending</Text>
	</Row>
	<Row Tag="TXT_KEY_PROJECT_LEGATE_PEDIA">
		<Text>Pending.</Text>
	</Row>
	<Row Tag="TXT_KEY_PROJECT_LEGATE_STRATEGY">
		<Text>Pending.</Text>
	</Row>

	<Row Tag="TXT_KEY_LEGATE">
		<Text>Papal Legate</Text>
	</Row>

	<Row Tag="TXT_KEY_PROJECT_CORONATION">
		<Text>Coronation</Text>
	</Row>
	<Row Tag="TXT_KEY_UNIT_HELP_PROJECT_CORONATION">
		<Text>Pending</Text>
	</Row>
	<Row Tag="TXT_KEY_PROJECT_CORONATION_PEDIA">
		<Text>Pending.</Text>
	</Row>
	<Row Tag="TXT_KEY_PROJECT_CORONATION_STRATEGY">
		<Text>Pending.</Text>
	</Row>

	<Row Tag="TXT_KEY_CORONATION">
		<Text>Royal Procession</Text>
	</Row>
	
</Language_en_US>
	
</GameData>
 
Back
Top Bottom