• 📚 A new project from the admin: Check out PictureBooks.io, an AI storyteller that lets you create personalized picture books for kids in seconds. Give it a try and let me know what you think!

Want to stop advance of technologies

david israels

Chieftain
Joined
Feb 22, 2003
Messages
9
I want to be able to play a Beyond the Sword game that stops technological development basically in the early industrial era.

Is there an easy way to do that or has somebody already created that?

In other words I don't want any civ to be able to go beyond a certain point, for instance I don't want them to get rifling because I don't want infantry to be available.

I tried eliminating oil and uranium from the map but that still allows units such as infantry and mechanized infantry.

I'm mostly a builder and games always end up being wars with modern units and I find those units boring.

If anyone can help me with this request, thanks in advance.

David Israels
 
I want to be able to play a Beyond the Sword game that stops technological development basically in the early industrial era.

Is there an easy way to do that or has somebody already created that?

In other words I don't want any civ to be able to go beyond a certain point, for instance I don't want them to get rifling because I don't want infantry to be available.

I tried eliminating oil and uranium from the map but that still allows units such as infantry and mechanized infantry.

I'm mostly a builder and games always end up being wars with modern units and I find those units boring.

If anyone can help me with this request, thanks in advance.

David Israels

It's not too hard, but before you start, backup your xml files.
Then just got to Civilisation 4\Beyond the Sword\Assets\XML\Technologies\CIV4TechInfos.xml and delete all the techs you don't want available, except Future Tech.
Then, go to the latest techs that are still available, and delete all their <OrPreReqs>, leaving just <OrPreReqs/> for each, then change all their <AndPreReqs> to only TECH_FUTURE_TECH.
 
It's not too hard, but before you start, backup your xml files.
Then just got to Civilisation 4\Beyond the Sword\Assets\XML\Technologies\CIV4TechInfos.xml and delete all the techs you don't want available, except Future Tech.
Then, go to the latest techs that are still available, and delete all their <OrPreReqs>, leaving just <OrPreReqs/> for each, then change all their <AndPreReqs> to only TECH_FUTURE_TECH.

Thanks for the reply. However, I'm a little confused. Here are my confusions:

1.You write "go to the latest techs." Do you mean after eliminating the techs I don't want--go to the new final techs just before future tech?

2.You write "delete all their <OrPreReqs>, leaving just <OrPreReqs/>". Aren't these things the same. So do I delete or leave them.

Also in the XML it's hard to tell where the code for a tech starts and stops. Can you give an example of one so I won't delete something I"m not supposed to.

thanks,

David Israels
 
1. Yes, that's right.


2. Uhh, I'm sorry, I didn't mean to say that you make those changes to all the techs, I'm just tired from a new night shift. What you actually do is you literally delete all the techs you don't want, and then you just change TECH_FUTURE_TECH's requirements, so that it needs the latest available techs.

Where it says;

<OrPreReqs>
<PrereqTech>TECH_GENETICS</PrereqTech>
</OrPreReqs>

Change 'GENETICS' to whichever tech you want to see an arrow going from, leading to Future Tech. When you want to research a new tech at least one tech that has an arrow going to it will have to be researched to start researching the new tech.
You can list as many as you want, but it would look ugly with too many arrows.
e.g;

<OrPreReqs>
<PrereqTech>TECH_DEMOCRACY</PrereqTech>
<PrereqTech>TECH_GUNPOWDER</PrereqTech>
</OrPreReqs>

With that entered, arrows would now go from Gunpowder and Democracy, to Future Tech, and you would have to research at least one of those two before you could research Future Tech.

Then where it says;

<AndPreReqs>
<PrereqTech>TECH_STEALTH</PrereqTech>
</AndPreReqs>

Change 'STEALTH' to whatever techs you want to always be needed to start researching Future Tech.
e.g;

<AndPreReqs>
<PrereqTech>TECH_LIBERALISM</PrereqTech>
<PrereqTech>TECH_ECONOMY</PrereqTech>
<PrereqTech>TECH_EDUCATION</PrereqTech>
</AndPreReqs>

With that entered, you would have to have all three of those techs to start work on Future Tech, but you won't see arrows leading to Future Tech from them, it will just say, on Future Tech, that they're needed.


Then, lastly, change the value;

<iGridX>20</iGridX>

To be exatly 1 more than the most rightward remaining tech.
This moves Future Tech to appear next to the other end techs.


This is a complete tech entry;

Spoiler :
<TechInfo>
<Type>TECH_FUTURE_TECH</Type>
<Description>TXT_KEY_TECH_FUTURE_TECH</Description>
<Civilopedia>TXT_KEY_TECH_FUTURE_TECH_PEDIA</Civilopedia>
<Help/>
<Strategy>TXT_KEY_TECH_FUTURE_TECH_STRATEGY</Strategy>
<Advisor>ADVISOR_SCIENCE</Advisor>
<iAIWeight>0</iAIWeight>
<iAITradeModifier>0</iAITradeModifier>
<iCost>10000</iCost>
<iAdvancedStartCost>100</iAdvancedStartCost>
<iAdvancedStartCostIncrease>0</iAdvancedStartCostIncrease>
<Era>ERA_FUTURE</Era>
<FirstFreeUnitClass>NONE</FirstFreeUnitClass>
<iFeatureProductionModifier>0</iFeatureProductionModifier>
<iWorkerSpeedModifier>0</iWorkerSpeedModifier>
<iTradeRoutes>0</iTradeRoutes>
<iHealth>1</iHealth>
<iHappiness>1</iHappiness>
<iFirstFreeTechs>0</iFirstFreeTechs>
<iAsset>64</iAsset>
<iPower>0</iPower>
<bRepeat>1</bRepeat>
<bTrade>0</bTrade>
<bDisable>0</bDisable>
<bGoodyTech>0</bGoodyTech>
<bExtraWaterSeeFrom>0</bExtraWaterSeeFrom>
<bMapCentering>0</bMapCentering>
<bMapVisible>0</bMapVisible>
<bMapTrading>0</bMapTrading>
<bTechTrading>0</bTechTrading>
<bGoldTrading>0</bGoldTrading>
<bOpenBordersTrading>0</bOpenBordersTrading>
<bDefensivePactTrading>0</bDefensivePactTrading>
<bPermanentAllianceTrading>0</bPermanentAllianceTrading>
<bVassalTrading>0</bVassalTrading>
<bBridgeBuilding>0</bBridgeBuilding>
<bIrrigation>0</bIrrigation>
<bIgnoreIrrigation>0</bIgnoreIrrigation>
<bWaterWork>0</bWaterWork>
<iGridX>20</iGridX>
<iGridY>13</iGridY>
<DomainExtraMoves/>
<CommerceFlexible/>
<TerrainTrades/>
<bRiverTrade>0</bRiverTrade>
<Flavors>
<Flavor>
<FlavorType>FLAVOR_MILITARY</FlavorType>
<iFlavor>1</iFlavor>
</Flavor>
<Flavor>
<FlavorType>FLAVOR_RELIGION</FlavorType>
<iFlavor>1</iFlavor>
</Flavor>
<Flavor>
<FlavorType>FLAVOR_PRODUCTION</FlavorType>
<iFlavor>1</iFlavor>
</Flavor>
<Flavor>
<FlavorType>FLAVOR_GOLD</FlavorType>
<iFlavor>1</iFlavor>
</Flavor>
<Flavor>
<FlavorType>FLAVOR_SCIENCE</FlavorType>
<iFlavor>1</iFlavor>
</Flavor>
<Flavor>
<FlavorType>FLAVOR_CULTURE</FlavorType>
<iFlavor>1</iFlavor>
</Flavor>
</Flavors>
<OrPreReqs>
<PrereqTech>TECH_GENETICS</PrereqTech>
</OrPreReqs>
<AndPreReqs>
<PrereqTech>TECH_STEALTH</PrereqTech>
</AndPreReqs>
<Quote>TXT_KEY_TECH_FUTURE_TECH_QUOTE</Quote>
<Sound>AS2D_TECH_FUTURE</Sound>
<SoundMP>AS2D_TECH_MP_FUTURE</SoundMP>
<Button>,Art/Interface/Buttons/TechTree/Future Tech.dds,Art/Interface/Buttons/TechTree_Atlas.dds,2,4</Button>
</TechInfo>


Those TechInfo tags stick out in the xml code, so just look for them to see where each entry starts and ends.

Sorry about accidentally misleading you before, I hope this tells you everything you need to know.
 
How do you edit a XML ? I see it in my IE7 browser screen but can't edit anything...
 
You can use notepad, or one of the many XML editors available online. You can also use my editor (it's listed in my signature). My editor doesn't allow you to edit every item in the file and the interface has a few glitches, but it is quick and easy to use otherwise.
 
Back
Top Bottom