Splinter13 said:
I suppose it's a simple way to make an "Era specific" mod type thing. But if you can make it so that it only disables that tech for a certain civilization then i'll stand corrected. Like I said in my last post: "I don't believe you can specify which leader/nation has it disabled. That tag I believe is to disable the tech to everyone." I never stated it was the 100% truth.
It would be great if you could specify, I just don't believe you can with that tag. If you want to prove me otherwise, then be my guest.
Sorry if this is a little blunt, but you are wrong. I didn't specificly state it, but it was implyed that what I said was the 100% truth. You don't want to take my word that somthing works, fine. You don't believe when I stated that mods had already done it, fine. But when I posted what
www.civ4wiki.com says the tag does.. well, how much more proof do you need..
But since it seems you still want more, here ya go.
First, here is the link to
www.civ4wiki: http://civ4wiki.com/wiki/index.php/Main_Page
And here is a link to the CIV4CivilizationInfos.xml page:
http://www.civ4wiki.com/wiki/index.php/CIV4CivilizationInfos
Now if you need further proof to put your mind at ease, try this.
1) Copy the file
Assets/XML/CIV4CivilizationInfos.xml and put it in a mod folder
2) Find the first CivilizationInfo, looks like
Code:
<CivilizationInfo>
<Type>CIVILIZATION_AMERICA</Type>
<Description>TXT_KEY_CIV_AMERICA_DESC</Description>
<ShortDescription>TXT_KEY_CIV_AMERICA_SHORT_DESC</ShortDescription>
<Adjective>TXT_KEY_CIV_AMERICA_ADJECTIVE</Adjective>
<Civilopedia>TXT_KEY_CIV_AMERICA_PEDIA</Civilopedia>
<DefaultPlayerColor>PLAYERCOLOR_BLUE</DefaultPlayerColor>
<ArtDefineTag>ART_DEF_CIVILIZATION_AMERICA</ArtDefineTag>
<ArtStyleType>ARTSTYLE_EUROPEAN</ArtStyleType>
<bPlayable>0</bPlayable>
<bAIPlayable>0</bAIPlayable>
<Cities>
<City>TXT_KEY_CITY_NAME_WASHINGTON</City>
<City>TXT_KEY_CITY_NAME_NEW_YORK</City>
<City>TXT_KEY_CITY_NAME_BOSTON</City>
<City>TXT_KEY_CITY_NAME_PHILADELPHIA</City>
<City>TXT_KEY_CITY_NAME_ATLANTA</City>
<City>TXT_KEY_CITY_NAME_CHICAGO</City>
....
3) Scroll down to you find this part
Code:
<FreeTechs/>
[B]<DisableTechs/>[/B]
<InitialCivics>
<CivicType>CIVIC_DESPOTISM</CivicType>
<CivicType>CIVIC_BARBARISM</CivicType>
<CivicType>CIVIC_TRIBALISM</CivicType>
<CivicType>CIVIC_DECENTRALIZATION</CivicType>
<CivicType>CIVIC_PAGANISM</CivicType>
</InitialCivics>
4) Go to the
bolded part that looks like this
5) Replace
<DisableTechs/> with this
Code:
<DisableTechs>
<DisableTech>
<TechType>TECH_MATHEMATICS</TechType>
<bDisableTech>1</bDisableTech>
</DisableTech>
</DisableTechs>
6) Start Civ4 and load your mod.
7) Start a game as Washington or Roosevelt and bring up the Tech Tree Screen.
8) Scroll over to the Mathematics tech and you will see it is redded out and can't be researched.
9) Leave the game and return to the main menu. Start a new game as any leader execpt Washington or Roosevelt.
10) Go to the Tech Tree Screen and, again, scroll over to the Mathematics tech and you will see that the tech is not redded out and can be research.
I hope this clears up the issue.