Custom civ not loading all techs

I'm having a problem with one civ and only one civ. The tech tree in the vanilla file is completely untouched, and I looked over this RaceConfig.xml many times in search of faults, but I can't find the problem. The problem is that the civ does not load up many of the techs and doesn't connect many more of them. This is game-breaking, especially if this is the civ you're playing as. I've tried other tech trees, but this causes the game to crash the moment the tech tree is supposed to come up.

 

I suspect this is the case with some other civs, but this is one which I am certain of.

 

    <Race Name="Hive">
        <RaceID>2</RaceID>
        <DisplayName>Hive</DisplayName>
        <Alignment>1</Alignment>
        <Description>This hive of changelings can transform themselves into anything they see fit.</Description>
        <Homeworld>The Hive</Homeworld>
        <Homestar>Love Star</Homestar>
        <RaceLeader>Queen Chrysalis</RaceLeader>
        <ShortEmpireName>Hive</ShortEmpireName>
        <AIPersonality>7</AIPersonality>
        <RobotMovie>NewsRobot_Alien</RobotMovie>
        <RobotImage>Gfx\Message_Alien</RobotImage>
        <LeaderGender>2</LeaderGender>
        <Portrait>Gfx\Race\Chrysalis.png</Portrait>
        <Logo>Gfx\Race\Chrysalis_Logo.png</Logo>
        <SmallLogo>Gfx\Race\Small\Chrysalis_Logo.png</Logo>
        <DefaultTradePortrait>Gfx\Race\Chrysalis_Trade_Neutral.png</DefaultTradePortrait>
        <RobotMovie>NewsRobot_Alien</RobotMovie>
        <RobotImage>Gfx\Message_Alien</RobotImage>
        <RaceMusic>ChrysalisMusic</RaceMusic>
        <RaceColor>0, 102, 0</RaceColor>
        <ShadowColor>48, 9, 49</ShadowColor>
        <UndefendedStarColor>0, 204, 102</UndefendedStarColor>
        <DefendedStarColor>255, 128, 255</DefendedStarColor>
        <SectorColor>0, 51, 0</SectorColor>
        <BaseColor>0, 153, 0</BaseColor>
        <TrimColor>0, 102, 0</TrimColor>
        <EngineColor>0, 255, 0</EngineColor>
        <InterfaceColor>0, 102, 0</InterfaceColor>
        <ShipStyle>Terran Alliance Style</ShipStyle>
        <ModuleStyle>0</ModuleStyle>
        <AbilitiesDescription>+ Strong ground troops and espionage
- Weak economy and trade</AbilitiesDescription>
        <AIAbilities>50</AIAbilities>
        <Aggression>70</Aggression>
        <FinancialResources>100</FinancialResources>
        <CPUUsage>0</CPUUsage>
        <SuperAbility>11</SuperAbility>
        <ResearchAdvantage>Weapons</ResearchAdvantage>
        <ECONOMICS>-10</ECONOMICS>
        <MORALE>0</MORALE>
        <WEAPONS>0</WEAPONS>
        <DEFENSE>0</DEFENSE>
        <SPEED>0</SPEED>
        <POPULATIONGROWTH>20</POPULATIONGROWTH>
        <SOCIALPRODUCTION>0</SOCIALPRODUCTION>
        <MILITARYPRODUCTION>0</MILITARYPRODUCTION>
        <RESEARCH>0</RESEARCH>
        <INFLUENCE>0</INFLUENCE>
        <TRADE>-20</TRADE>
        <DIPLOMACY>0</DIPLOMACY>
        <HITPOINTS>0</HITPOINTS>
        <REPAIR>0</REPAIR>
        <SENSORS>0</SENSORS>
        <ESPIONAGE>100</ESPIONAGE>
        <SOLDIERING>20</SOLDIERING>
        <INTERESTRATES>0</INTERESTRATES>
        <PLANETQUALITY>0</PLANETQUALITY>
        <TRADEROUTES>-1</TRADEROUTES>
        <CRIME>0</CRIME>
        <CABINET>0</CABINET>
        <RANGE>0</RANGE>
        <LUCK>0</LUCK>
        <COURAGE>0</COURAGE>
        <CREATIVITY>0</CREATIVITY>
        <GOVERNMENT>0</GOVERNMENT>
        <LOYALTY>100</LOYALTY>
        <LOGISTICS>6</LOGISTICS>
        <MINIATURIZATION>10</MINIATURIZATION>
        <CustomizationPoints>10</CustomizationPoints>
        <CivType>4</CivType>
        <TechTree>Yor_TechTree</TechTree>
        <Tech>HyperDrive</Tech>
        <Tech>Cybernetic History</Tech>
        <Tech>FusionReactors</Tech>
        <Tech>StellarCartography</Tech>
        <Tech>Plague Cure</Tech>
        <Tech>Disease Cure</Tech>

6,163 views 5 replies
Reply #1 Top

The most obvious error is, that there is no closing </race> tag, but that could have been happening during the copy-paste. Other than that, I don't see anything wrong. Although...

Are you replacing the existing major races with your own? I just noticed, that your Hivers are using RaceID 2, which is the one for the Altarians. No two races can have the same RaceID, and you can only have a maximum of 13 major races in the RaceConfig.xml.

Reply #2 Top

It does have the closing tag in RaceConfig.ini. Excluding the custom race, I only have 12 major races, all my custom races. Hivers are the only ones with the tech problem. I checked, and they're the only civ with RaceID 2.

 

Could something else be going on? The Yor tech tree works in vanilla, and I tried deleting the files in the folder in My Documents. Do you have any ideas about what could be going on?

Reply #3 Top

Quoting stiefelss, reply 2
Do you have any ideas about what could be going on?

No. Based on your description, everything should be working. Could you post your debug.err (right after the error occurs, or else it gets replaced with a new one)? Maybe it contains a clue as to what is wrong.

Reply #4 Top

Quoting Gaunathor, reply 3


Quoting stiefelss, reply 2Do you have any ideas about what could be going on?

No. Based on your description, everything should be working. Could you post your debug.err (right after the error occurs, or else it gets replaced with a new one)? Maybe it contains a clue as to what is wrong.

 

The most curious thing happened. Just as suddenly as their techs stopped working, they started working again!

 

There's a ton of stuff on the .err file, but to sum it up, the game was looking in the mods folder for the .bik and .xml files that are needed for those techs, and of course, did not find them. I guess the game recognizing that these files were in the vanilla folder was an act of Zeus.

Reply #5 Top

That's good to hear (though also a bit strange).