How do you set a tech to unlock a new improvement? (ANSWERED)

LeftBower

Chieftain
Joined
Nov 15, 2008
Messages
56
Location
Nowhere Ctrl
EDIT: Question has been answered.

I've created a couple new improvements, but I can't find where in the XML tags you add which tech unlocks them. I've looked in the techs too, but can't find it. I'm beginning to suspect it's not in the XML Tags :eek: . I've seen enough mods that add improvements to know that it must be possible and someone here has to know how.

I'm not very experienced with modding, but this project's main goal was for me to get my hands dirty and learn some things. If the easiest/best answer involves digging into code, I'm keen to learn where to dig.

Cheers in advance. :cheers:
 
...\Assets\XML\Units\CIV4BuildInfos.xml

<PrereqTech>TECH_THE_WHEEL</PrereqTech>

edit:
If you want to learn to mod, my best suggestion is to get Notepad++
There you would be able to make a "reverse" search. F.ex.with the improvements, if you know an improvement that appears at Bronze Working (Workshops) then you can "Search in files" in notepad++ after either the tech, Tech_Bronze_working (or is it tech_bronzeworking, cant remember ;) though then you could just search for Tech_Bronze, and it would show it) or search for Workshop (improvement_workshop) that way it would show where it is used.
 
Back
Top Bottom