Space Race Problem with my mod- can any one help?

cpt.tripps.2012

Warlord
Joined
May 25, 2012
Messages
176
So I'm building a mod based on a mod. The last modder took the space race victory out, and I'm putting it back in. It is a custom project set (Look at the xml). It seems to be working fine, but then when I complete the components the launch button appears but is grayed out and unclickable. Any one encounter this before? Any ideas?

from CIV4VictoryInfo.xml :
Code:
<VictoryInfo>
			<Type>VICTORY_SPACE_RACE</Type>
			<Description>Trancendence</Description>
			<Civilopedia>TXT_KEY_TRANCE</Civilopedia>
			<bTargetScore>0</bTargetScore>
			<bEndScore>0</bEndScore>
			<bConquest>0</bConquest>
			<bDiploVote>0</bDiploVote>
			<bPermanent>0</bPermanent>
			<iPopulationPercentLead>0</iPopulationPercentLead>
			<iLandPercent>0</iLandPercent>
			<iMinLandPercent>0</iMinLandPercent>
			<iReligionPercent>0</iReligionPercent>
			<CityCulture>NONE</CityCulture>
			<iNumCultureCities>0</iNumCultureCities>
			<iTotalCultureRatio>0</iTotalCultureRatio>
			<iVictoryDelayTurns>10</iVictoryDelayTurns>
			<VictoryMovie>ART_DEF_MOVIE_VICTORY_DIPLOMATIC</VictoryMovie>
		</VictoryInfo>

from CIV4Projectinfo.xml :
Code:
<ProjectInfo>
			<Type>PROJECT_VISION</Type>
			<Description>The Vision</Description>
			<Civilopedia>TXT_KEY_VISION_PEDIA</Civilopedia>
			<Strategy></Strategy>
			<VictoryPrereq>VICTORY_SPACE_RACE</VictoryPrereq>
			<TechPrereq>TECH_CONTI</TechPrereq>
			<AnyonePrereqProject>NONE</AnyonePrereqProject>
			<iMaxGlobalInstances>-1</iMaxGlobalInstances>
			<iMaxTeamInstances>1</iMaxTeamInstances>
			<iCost>500</iCost>
			<iNukeInterception>0</iNukeInterception>
			<iTechShare>0</iTechShare>
			<EveryoneSpecialUnit>NONE</EveryoneSpecialUnit>
			<EveryoneSpecialBuilding>NONE</EveryoneSpecialBuilding>
			<bSpaceship>0</bSpaceship>
			<bAllowsNukes>0</bAllowsNukes>
			<Button>,Art/Interface/Buttons/Units/Transport.dds,Art/Interface/Buttons/FinalFrontier2_Atlas.dds,5,8</Button>
			<PrereqProjects/>
			<VictoryThresholds>
				<VictoryThreshold>
					<VictoryType>VICTORY_SPACE_RACE</VictoryType>
					<iThreshold>1</iThreshold>
				</VictoryThreshold>
			</VictoryThresholds>
			<VictoryMinThresholds/>
			<iVictoryDelayPercent>0</iVictoryDelayPercent>
			<iSuccessRate>0</iSuccessRate>
			<BonusProductionModifiers>
				
			</BonusProductionModifiers>
			<CreateSound/>
			<MovieDefineTag/>
		</ProjectInfo>
		
		<ProjectInfo>
			<Type>PROJECT_CONCEPT</Type>
			<Description>The Concept</Description>
			<Civilopedia>TXT_KEY_CONCEPT_PEDIA</Civilopedia>
			<Strategy></Strategy>
			<VictoryPrereq>VICTORY_SPACE_RACE</VictoryPrereq>
			<TechPrereq>TECH_CONTII</TechPrereq>
			<AnyonePrereqProject>NONE</AnyonePrereqProject>
			<iMaxGlobalInstances>-1</iMaxGlobalInstances>
			<iMaxTeamInstances>1</iMaxTeamInstances>
			<iCost>1000</iCost>
			<iNukeInterception>0</iNukeInterception>
			<iTechShare>0</iTechShare>
			<EveryoneSpecialUnit>NONE</EveryoneSpecialUnit>
			<EveryoneSpecialBuilding>NONE</EveryoneSpecialBuilding>
			<bSpaceship>0</bSpaceship>
			<bAllowsNukes>0</bAllowsNukes>
			<Button>,Art/Interface/Buttons/Units/Transport.dds,Art/Interface/Buttons/FinalFrontier2_Atlas.dds,5,8</Button>
			<PrereqProjects/>
			<VictoryThresholds>
				<VictoryThreshold>
					<VictoryType>VICTORY_SPACE_RACE</VictoryType>
					<iThreshold>1</iThreshold>
				</VictoryThreshold>
			</VictoryThresholds>
			<VictoryMinThresholds/>
			<iVictoryDelayPercent>0</iVictoryDelayPercent>
			<iSuccessRate>0</iSuccessRate>
			<BonusProductionModifiers>
				
			</BonusProductionModifiers>
			<CreateSound/>
			<MovieDefineTag/>
		</ProjectInfo>
		
		<ProjectInfo>
			<Type>PROJECT_AMBITION</Type>
			<Description>The Ambition</Description>
			<Civilopedia>TXT_KEY_AMBITION_PEDIA</Civilopedia>
			<Strategy></Strategy>
			<VictoryPrereq>VICTORY_SPACE_RACE</VictoryPrereq>
			<TechPrereq>TECH_CONTIII</TechPrereq>
			<AnyonePrereqProject>NONE</AnyonePrereqProject>
			<iMaxGlobalInstances>-1</iMaxGlobalInstances>
			<iMaxTeamInstances>1</iMaxTeamInstances>
			<iCost>1500</iCost>
			<iNukeInterception>0</iNukeInterception>
			<iTechShare>0</iTechShare>
			<EveryoneSpecialUnit>NONE</EveryoneSpecialUnit>
			<EveryoneSpecialBuilding>NONE</EveryoneSpecialBuilding>
			<bSpaceship>0</bSpaceship>
			<bAllowsNukes>0</bAllowsNukes>
			<Button>,Art/Interface/Buttons/Units/Transport.dds,Art/Interface/Buttons/FinalFrontier2_Atlas.dds,5,8</Button>
			<PrereqProjects/>
			<VictoryThresholds>
				<VictoryThreshold>
					<VictoryType>VICTORY_SPACE_RACE</VictoryType>
					<iThreshold>1</iThreshold>
				</VictoryThreshold>
			
			</VictoryThresholds>
			<VictoryMinThresholds/>
			<iVictoryDelayPercent>0</iVictoryDelayPercent>
			<iSuccessRate>0</iSuccessRate>
			<BonusProductionModifiers>
				
			</BonusProductionModifiers>
			<CreateSound/>
			<MovieDefineTag/>
		</ProjectInfo>
		
		<ProjectInfo>
			<Type>PROJECT_MOTIVATION</Type>
			<Description>The Motiation</Description>
			<Civilopedia>TXT_KEY_MOTIVATION_PEDIA</Civilopedia>
			<Strategy></Strategy>
			<VictoryPrereq>VICTORY_SPACE_RACE</VictoryPrereq>
			<TechPrereq>TECH_CONTIV</TechPrereq>
			<AnyonePrereqProject>NONE</AnyonePrereqProject>
			<iMaxGlobalInstances>-1</iMaxGlobalInstances>
			<iMaxTeamInstances>1</iMaxTeamInstances>
			<iCost>2000</iCost>
			<iNukeInterception>0</iNukeInterception>
			<iTechShare>0</iTechShare>
			<EveryoneSpecialUnit>NONE</EveryoneSpecialUnit>
			<EveryoneSpecialBuilding>NONE</EveryoneSpecialBuilding>
			<bSpaceship>0</bSpaceship>
			<bAllowsNukes>0</bAllowsNukes>
			<Button>,Art/Interface/Buttons/Units/Transport.dds,Art/Interface/Buttons/FinalFrontier2_Atlas.dds,5,8</Button>
			<PrereqProjects/>
			<VictoryThresholds>
				<VictoryThreshold>
					<VictoryType>VICTORY_SPACE_RACE</VictoryType>
					<iThreshold>1</iThreshold>
				</VictoryThreshold>
			
			</VictoryThresholds>
			<VictoryMinThresholds/>
			<iVictoryDelayPercent>0</iVictoryDelayPercent>
			<iSuccessRate>0</iSuccessRate>
			<BonusProductionModifiers>
				
			</BonusProductionModifiers>
			<CreateSound/>
			<MovieDefineTag/>
		</ProjectInfo>
		
		<ProjectInfo>
			<Type>PROJECT_DETERMINATION</Type>
			<Description>The Determination</Description>
			<Civilopedia>TXT_KEY_DETERMINATION_PEDIA</Civilopedia>
			<Strategy></Strategy>
			<VictoryPrereq>VICTORY_SPACE_RACE</VictoryPrereq>
			<TechPrereq>TECH_CONTV</TechPrereq>
			<AnyonePrereqProject>NONE</AnyonePrereqProject>
			<iMaxGlobalInstances>-1</iMaxGlobalInstances>
			<iMaxTeamInstances>1</iMaxTeamInstances>
			<iCost>2500</iCost>
			<iNukeInterception>0</iNukeInterception>
			<iTechShare>0</iTechShare>
			<EveryoneSpecialUnit>NONE</EveryoneSpecialUnit>
			<EveryoneSpecialBuilding>NONE</EveryoneSpecialBuilding>
			<bSpaceship>0</bSpaceship>
			<bAllowsNukes>0</bAllowsNukes>
			<Button>,Art/Interface/Buttons/Units/Transport.dds,Art/Interface/Buttons/FinalFrontier2_Atlas.dds,5,8</Button>
			<PrereqProjects/>
			<VictoryThresholds>
				<VictoryThreshold>
					<VictoryType>VICTORY_SPACE_RACE</VictoryType>
					<iThreshold>1</iThreshold>
				</VictoryThreshold>
			
			</VictoryThresholds>
			<VictoryMinThresholds/>
			<iVictoryDelayPercent>0</iVictoryDelayPercent>
			<iSuccessRate>0</iSuccessRate>
			<BonusProductionModifiers>
				
			</BonusProductionModifiers>
			<CreateSound/>
			<MovieDefineTag/>
		</ProjectInfo>
		
		<ProjectInfo>
			<Type>PROJECT_WILL</Type>
			<Description>The Will</Description>
			<Civilopedia>TXT_KEY_WILL_PEDIA</Civilopedia>
			<Strategy></Strategy>
			<VictoryPrereq>VICTORY_SPACE_RACE</VictoryPrereq>
			<TechPrereq>TECH_CONTVI</TechPrereq>
			<AnyonePrereqProject>NONE</AnyonePrereqProject>
			<iMaxGlobalInstances>-1</iMaxGlobalInstances>
			<iMaxTeamInstances>1</iMaxTeamInstances>
			<iCost>3000</iCost>
			<iNukeInterception>0</iNukeInterception>
			<iTechShare>0</iTechShare>
			<EveryoneSpecialUnit>NONE</EveryoneSpecialUnit>
			<EveryoneSpecialBuilding>NONE</EveryoneSpecialBuilding>
			<bSpaceship>0</bSpaceship>
			<bAllowsNukes>0</bAllowsNukes>
			<Button>,Art/Interface/Buttons/Units/Transport.dds,Art/Interface/Buttons/FinalFrontier2_Atlas.dds,5,8</Button>
			<PrereqProjects/>
			<VictoryThresholds>
				<VictoryThreshold>
					<VictoryType>VICTORY_SPACE_RACE</VictoryType>
					<iThreshold>1</iThreshold>
				</VictoryThreshold>
			
			</VictoryThresholds>
			<VictoryMinThresholds/>
			<iVictoryDelayPercent>0</iVictoryDelayPercent>
			<iSuccessRate>0</iSuccessRate>
			<BonusProductionModifiers>
				
			</BonusProductionModifiers>
			<CreateSound/>
			<MovieDefineTag/>
		</ProjectInfo>
		
		<ProjectInfo>
			<Type>PROJECT_SPIRIT</Type>
			<Description>The Spirit</Description>
			<Civilopedia>TXT_KEY_SPIRIT_PEDIA</Civilopedia>
			<Strategy></Strategy>
			<VictoryPrereq>VICTORY_SPACE_RACE</VictoryPrereq>
			<TechPrereq>TECH_TRANCE</TechPrereq>
			<AnyonePrereqProject>NONE</AnyonePrereqProject>
			<iMaxGlobalInstances>-1</iMaxGlobalInstances>
			<iMaxTeamInstances>1</iMaxTeamInstances>
			<iCost>5000</iCost>
			<iNukeInterception>0</iNukeInterception>
			<iTechShare>0</iTechShare>
			<EveryoneSpecialUnit>NONE</EveryoneSpecialUnit>
			<EveryoneSpecialBuilding>NONE</EveryoneSpecialBuilding>
			<bSpaceship>0</bSpaceship>
			<bAllowsNukes>0</bAllowsNukes>
			<Button>,Art/Interface/Buttons/Units/Transport.dds,Art/Interface/Buttons/FinalFrontier2_Atlas.dds,5,8</Button>
			<PrereqProjects/>
			<VictoryThresholds>
				<VictoryThreshold>
					<VictoryType>VICTORY_SPACE_RACE</VictoryType>
					<iThreshold>1</iThreshold>
				</VictoryThreshold>
			</VictoryThresholds>
			<VictoryMinThresholds/>
			<iVictoryDelayPercent>0</iVictoryDelayPercent>
			<iSuccessRate>0</iSuccessRate>
			<BonusProductionModifiers>
				
			</BonusProductionModifiers>
			<CreateSound/>
			<MovieDefineTag/>
		</ProjectInfo>
 
I've never messed with the space race before, but what it seems like to me is that in the project infos you missed a tag defining the project as a spaceship part.

<bSpaceship>0</bSpaceship>

If setting that to 1 doesn't fix it I would have no idea. (but that means very little)
 
Well, I based it off of the final frontier mod because it isn't a "space ship" per se, hense why "bspaceship=0".

but I'm giving it a try. Haven gotten far enough in the game to find out yet. I will keep posted.
 
Top Bottom