How to Fix the Faction Creator (Work Around for Working Techs)

It's Easy!!!

By on August 25, 2010 3:04:39 AM from Elemental Forums Elemental Forums

RavenX

Join Date 10/2008
+194

I know everyone was excited about the inclusion of the old faction creator back into the game with the patch today. Then though I noticed that when I created my Empire Faction I didn't have any Techs I could learn. I checked the XML that's created for the faction you make and the mistake is only one line. It's an easy fix, here's how:

1. The game generates a XML of your created faction in:

C:\Users\****\Documents\My Games\Elemental\Race           <------ This is on Win7 64

2. Open the XML with notepad and scroll down to the line that says:

<TechTree>Empire_Tech_Tree</TechTree>

3. The game calls the Empire techs "Trog" techs in the code. Change the line to say:

<TechTree>Trog_Tech_Tree</TechTree>

4. Directly Underneath that line, the next Next Line should say:

<KnownStartingTech>F_Civilization_General</KnownStartingTech>          <---------- This is for all Fallen Empires

5. Close the file and save it and you're done. You now have a working Faction with Empire tech.


For "Kingdom" Factions you change the tech lines to:

<TechTree>TechTree_Amarian</TechTree>
<KnownStartingTech>K_Civilization_General</KnownStartingTech>

After adding that to one XML file your created Factions will have the proper techs to research and start the game. Enjoy!!!

P.S. I put this here instead of the Modding Section so people would see the work around and know how to fix it. Some people don't browse the Modding Section so I put here. If a Dev feels like moving it, feel free.

Locked Post 8 Replies
Search this post
Subscription Options


Reason for Karma (Optional)
Successfully updated karma reason!
August 25, 2010 3:25:22 AM from Elemental Forums Elemental Forums

Didnt work for me, made an empire, opened as you said in notepad, changed empire to trog and added the starting tech line right under it, no luck.

Reason for Karma (Optional)
Successfully updated karma reason!
August 25, 2010 4:02:18 AM from Elemental Forums Elemental Forums

Quoting NatakuTDH,
Didn't work for me, made an empire, opened as you said in notepad, changed empire to trog and added the starting tech line right under it, no luck.

Did you open the faction that was created by the faction maker in the workshop/tool set? Also do you have the "Use Mods" tab checked in options? I also had to start a new game with the created faction. Loading a save wouldn't get the techs to show.

Here's the entire XML from mine that works.

Code: xml
  1. <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
  2. <RaceConfigs>
  3.  <DataChecksum NoParse="1">
  4.   <Ignore>DisplayName, ShortName, Capital, Description, UnitSkinColor, UnitHairColor, UnitClothColor, BuildingPrimaryColor, BuildingSecondaryColor, BuildingRoofColor, BuildingStyle, UnitStyle, WorkerName</Ignore>
  5.   <Translate>DisplayName, ShortName, Capital, Description, WorkerName</Translate>
  6.  </DataChecksum>
  7.  <RaceConfig InternalName="CustomFaction_Ravenloft">
  8.   <DisplayName>Empire of Ravenloft</DisplayName>
  9.   <ShortName>Ravenloft</ShortName>
  10.   <Description>Faction backstory goes here. Make it good!</Description>
  11.   <FactionAllegiance>Empire</FactionAllegiance>
  12.   <IsCustom>true</IsCustom>
  13.   <RaceInternalName>Race_Type_Wraiths</RaceInternalName>
  14.   <RaceDisplayName>Wraiths</RaceDisplayName>
  15.   <MaleUnitType>Wraith_Sovereign_Male_Basic</MaleUnitType>
  16.   <FemaleUnitType>Wraith_Sovereign_Female_Basic</FemaleUnitType>
  17.   <GenericUnitType_Male>Wraith_GenericBaseUnit_Male</GenericUnitType_Male>
  18.   <GenericUnitType_Female>Wraith_GenericBaseUnit_Female</GenericUnitType_Female>
  19.   <TraderUnitType>TraderTest</TraderUnitType>
  20.   <StartingUnitType>Wraith_Pioneer</StartingUnitType>
  21.   <StartingUnitType>Wraith_Soldier</StartingUnitType>
  22.   <StartingUnitType>Wraith_Assassin</StartingUnitType>
  23.   <StartingUnitType>Wraith_Adventure</StartingUnitType>
  24.   <StartingUnitType>Wraith_thief</StartingUnitType>
  25.   <StartingUnitType>Wraith_Knight</StartingUnitType>
  26.   <StartingUnitType>Wraith_Guardians</StartingUnitType>
  27.   <StartingUnitType>Wraith_Enforcers</StartingUnitType>
  28.   <StartingUnitType>Wraith_Sions</StartingUnitType>
  29.   <StartingUnitType>Fallen_Soldier</StartingUnitType>
  30.   <StartingUnitType>Fallen_Pioneer</StartingUnitType>
  31.   <UnitScale>1.0000</UnitScale>
  32.   <RaceClassification>Fallen</RaceClassification>
  33.   <Alignment>Evil</Alignment>
  34.   <UnitSkinColor>160,170,185,255</UnitSkinColor>
  35.   <UnitHairColor>50,50,65,255</UnitHairColor>
  36.   <FactionColor>255,0,0,255</FactionColor>
  37.   <UnitMetalColor>128,128,128,255</UnitMetalColor>
  38.   <EnvironmentTerrainType>1</EnvironmentTerrainType>
  39.   <PreferredLogoType>FallenCrest3</PreferredLogoType>
  40.   <NonBuildableEnvironmentType>GrasslandEnvironment</NonBuildableEnvironmentType>
  41.   <TechTree>Trog_Tech_Tree</TechTree>
  42.                 <KnownStartingTech>F_Civilization_General</KnownStartingTech>
  43.                 <A_Training>50</A_Training>
  44.   <Spellbook>DeathSpellbook</Spellbook>
  45.   <FactionType>Major</FactionType>
  46.   <RemCustomizationPts>0</RemCustomizationPts>
  47.   <SelAbilityBonusOption>DeathWorshippingBonus1</SelAbilityBonusOption>
  48.   <SelAbilityBonusOption>IndustriousBonus1</SelAbilityBonusOption>
  49.   <SelAbilityBonusOption>BraveBonus1</SelAbilityBonusOption>
  50.   <SelAbilityBonusOption>CivilizedBonus1</SelAbilityBonusOption>
  51.   <SelAbilityBonusOption>EducatedBonus1</SelAbilityBonusOption>
  52.   <A_GoodieRating>1</A_GoodieRating>
  53.   <A_ManaRegeneration>1</A_ManaRegeneration>
  54.   <A_NPCSpawnRating>1</A_NPCSpawnRating>
  55.   <A_QuestingRating>1</A_QuestingRating>
  56.  </RaceConfig>
  57. </RaceConfigs>

Make sure it's in the "Race" folder in your games folder in "Documents\My Games\Elemental\Race". It's working on my end.

 

Reason for Karma (Optional)
Successfully updated karma reason!
August 25, 2010 9:14:41 AM from Elemental Forums Elemental Forums

Seeing a lot of people asking about this still so....*Bump*

Reason for Karma (Optional)
Successfully updated karma reason!
August 25, 2010 1:25:22 PM from Elemental Forums Elemental Forums

Why do you need the <KnownStartingTech>F_Civilization_General</KnownStartingTech> ?
I mean, creating a kingdom faction works fine, all techs are there, so what exactly does this entry add? I know the vanilla factions have it, so i guess its only fair

Reason for Karma (Optional)
Successfully updated karma reason!
August 25, 2010 2:02:30 PM from Elemental Forums Elemental Forums

Thanks your the man, loking forward to that mod you guys are working on.

Reason for Karma (Optional)
Successfully updated karma reason!
August 25, 2010 7:38:51 PM from Elemental Forums Elemental Forums

Quoting Baleurion,
Why do you need the <KnownStartingTech>F_Civilization_General</KnownStartingTech> ?
I mean, creating a kingdom faction works fine, all techs are there, so what exactly does this entry add? I know the vanilla factions have it, so i guess its only fair

<KnownStartingTech>F_Civilization_General</KnownStartingTech> :means that the faction starts knowing generalized Fallen Techs, hence the "F" in F_Civilization. The ones with the "K" mean Kingdom. It gives the civilization the knowledge for basic starting techs to start the game with as normal.

Quoting Thizzbaby,
Thanks your the man, loking forward to that mod you guys are working on.

Glad to help, my friend.

Reason for Karma (Optional)
Successfully updated karma reason!
August 25, 2010 8:05:14 PM from Elemental Forums Elemental Forums

For some reason, I can't even select an empire in the faction editor, but I managed to jury-rig one up in XML...guess I'll use this too to make sure things work.

Reason for Karma (Optional)
Successfully updated karma reason!
August 26, 2010 4:57:54 AM from Elemental Forums Elemental Forums

Is there any way to set which Sovereign a custom faction should use?

Reason for Karma (Optional)
Successfully updated karma reason!
Stardock Forums v1.0.0.0    #108433  walnut3   Server Load Time: 00:00:00.0000360   Page Render Time: