Tech prereqs not being activated?

pepper2000

King
Joined
Apr 14, 2013
Messages
899
Hi all. I have a modding problem that's been vexing me for weeks now. The Space Colonization modmod adds a bunch of new techs in the Galactic Era. Most of them seem to be working fine, but occasionally the prereqs are not showing up.

For example, the following is the XML for the Stellar Engine tech:

Code:
<TechInfo>
            <Type>TECH_STELLAR_ENGINE</Type>
            <Description>TXT_KEY_TECH_STELLAR_ENGINE</Description>
            <Civilopedia>TXT_KEY_TECH_STELLAR_ENGINE_PEDIA</Civilopedia>
            <Strategy>TXT_KEY_TECH_STELLAR_ENGINE_STRATEGY</Strategy>
            <Advisor>ADVISOR_ECONOMY</Advisor>
            <Quote>TXT_KEY_TECH_STELLAR_ENGINE_QUOTE</Quote>
            <Era>ERA_GALACTIC</Era>
            <Button>Art/interface/buttons/TechTree/stellar_engine.dds</Button>
            <AndPreReqs>
                <PrereqTech>TECH_PICOTECHNOLOGY</PrereqTech>
                <PrereqTech>TECH_ORBITAL_ENGINEERING</PrereqTech>
            </AndPreReqs>
            <OrPreReqs>
                <PrereqTech>TECH_ARTIFICIAL_STARS</PrereqTech>
            </OrPreReqs>
            <iCost>132444</iCost>
            <iGridX>131</iGridX>
            <iGridY>3</iGridY>
        </TechInfo>

Nevertheless, in the Civilopedia it seems that Stellar Engine has no prereqs. I can research it right away in a game with a Prehistoric start. Most of my others techs use the same formatting and don't have the same problem. Has anyone else encountered a problem like this before, and if so, what is the solution?
 
Thanks; I didn't think to try the debug DLL. I found some bugs at other points in the tech tree, and upon fixing them, the particular problem with the Stellar Engine tech was resolved as well.
 
Back
Top Bottom