Hi there,
I'm currently trying to add a new project to "Beyond the Sword", but I don't know how to do it and what xml files to modificate. I'd like to have something like SDI2 (without removing normal SDI) which only one nation can build and which has a nukeinterception probability of 100 % (for nukeattacks on targets within my borders).
I've tried to simply copy the SDI project command lines in CIV4ProjectInfo.xml by only changing everything with SDI to SDI2, making the project buildable only once worldwide and setting the interceptionprobability to 100. But everytime I want to load a savegame it CTD`s. What I am doing wrong that it doesn't work. Are there any other relevant files to be taken into consideration? The project should have the same prereqs and function like normal SDI. Many thx in advance for any help concerning this matter.
The Code looks like this:
<ProjectInfo>
<Type>PROJECT_SDI2</Type>
<Description>TXT_KEY_PROJECT_SDI2</Description>
<Civilopedia>TXT_KEY_PROJECT_SDI2_PEDIA</Civilopedia>
<Strategy>TXT_KEY_PROJECT_SDI2_STRATEGY</Strategy>
<VictoryPrereq>NONE</VictoryPrereq>
<TechPrereq>TECH_LASER</TechPrereq>
<AnyonePrereqProject>PROJECT_MANHATTAN_PROJECT</AnyonePrereqProject>
<iMaxGlobalInstances>1</iMaxGlobalInstances>
<iMaxTeamInstances>1</iMaxTeamInstances>
<iCost>1000</iCost>
<iNukeInterception>100</iNukeInterception>
<iTechShare>0</iTechShare>
<EveryoneSpecialUnit>NONE</EveryoneSpecialUnit>
<EveryoneSpecialBuilding>NONE</EveryoneSpecialBuilding>
<bSpaceship>0</bSpaceship>
<bAllowsNukes>0</bAllowsNukes>
<Button>,Art/Interface/Buttons/Buildings/SDI.dds,Art/Interface/Buttons/Buildings_Atlas.dds,1,6</Button>
<PrereqProjects/>
<VictoryThresholds/>
<VictoryMinThresholds/>
<iVictoryDelayPercent>0</iVictoryDelayPercent>
<iSuccessRate>0</iSuccessRate>
<BonusProductionModifiers>
<BonusProductionModifier>
<BonusType>BONUS_ALUMINUM</BonusType>
<iProductonModifier>100</iProductonModifier>
</BonusProductionModifier>
</BonusProductionModifiers>
<CreateSound/>
<MovieDefineTag/>
</ProjectInfo>
I'm currently trying to add a new project to "Beyond the Sword", but I don't know how to do it and what xml files to modificate. I'd like to have something like SDI2 (without removing normal SDI) which only one nation can build and which has a nukeinterception probability of 100 % (for nukeattacks on targets within my borders).
I've tried to simply copy the SDI project command lines in CIV4ProjectInfo.xml by only changing everything with SDI to SDI2, making the project buildable only once worldwide and setting the interceptionprobability to 100. But everytime I want to load a savegame it CTD`s. What I am doing wrong that it doesn't work. Are there any other relevant files to be taken into consideration? The project should have the same prereqs and function like normal SDI. Many thx in advance for any help concerning this matter.
The Code looks like this:
<ProjectInfo>
<Type>PROJECT_SDI2</Type>
<Description>TXT_KEY_PROJECT_SDI2</Description>
<Civilopedia>TXT_KEY_PROJECT_SDI2_PEDIA</Civilopedia>
<Strategy>TXT_KEY_PROJECT_SDI2_STRATEGY</Strategy>
<VictoryPrereq>NONE</VictoryPrereq>
<TechPrereq>TECH_LASER</TechPrereq>
<AnyonePrereqProject>PROJECT_MANHATTAN_PROJECT</AnyonePrereqProject>
<iMaxGlobalInstances>1</iMaxGlobalInstances>
<iMaxTeamInstances>1</iMaxTeamInstances>
<iCost>1000</iCost>
<iNukeInterception>100</iNukeInterception>
<iTechShare>0</iTechShare>
<EveryoneSpecialUnit>NONE</EveryoneSpecialUnit>
<EveryoneSpecialBuilding>NONE</EveryoneSpecialBuilding>
<bSpaceship>0</bSpaceship>
<bAllowsNukes>0</bAllowsNukes>
<Button>,Art/Interface/Buttons/Buildings/SDI.dds,Art/Interface/Buttons/Buildings_Atlas.dds,1,6</Button>
<PrereqProjects/>
<VictoryThresholds/>
<VictoryMinThresholds/>
<iVictoryDelayPercent>0</iVictoryDelayPercent>
<iSuccessRate>0</iSuccessRate>
<BonusProductionModifiers>
<BonusProductionModifier>
<BonusType>BONUS_ALUMINUM</BonusType>
<iProductonModifier>100</iProductonModifier>
</BonusProductionModifier>
</BonusProductionModifiers>
<CreateSound/>
<MovieDefineTag/>
</ProjectInfo>