Elf Problem

Hey, Heaven, I'm using the Elf mod but with my own custom faction.  I have my own faction tech tree though it uses 100% the CPELF tech tree except for about 12 or so techs I add on top of the CPELF tree. 

The problem I'm having is that I'm not able to build shrines on shards.  I get the message that "Your faction is not able to build on this resource" or some words to that effect.  Any ideas on what the problem might be?

11,867 views 10 replies
Reply #1 Top

If you don't have the CPELF_Shard_Harvesting_Amarian in your tech tree, you won't be able to build on them.

If you do have that, post your files and I'll have a look.

Reply #3 Top

There's no problem with the tech tree.

My guess is, you're using a custom faction with a RaceClassification tag that is not CPELF. This will disable all the resource buildings, not just the shards.

Reply #4 Top

Shards are the only thing (at least that I've found so far) that I can't build on?!?!?!

 

    <RaceConfig InternalName="CustomFaction_Loraan">
        <DisplayName>Kingdom of Loraan</DisplayName>
        <ShortName>Loraan</ShortName>
        <Description>After the fall of the Titans, Tar Loraan gathered a following of peoples dedicated to restoring technology for he believed that technology was the key to peace and prosperity!  Upon the death of Tar Loraan, he granddaughter, Ellissa ascended to the throne.</Description>
        <FactionAllegiance>Kingdom</FactionAllegiance>
        <IsCustom>true</IsCustom>
        <RaceInternalName>Race_Type_CPELF</RaceInternalName>
        <RaceDisplayName>High Elves</RaceDisplayName>
        <MaleUnitType>CPELF_Sovereign_Male_Basic</MaleUnitType>
        <FemaleUnitType>CPELF_Sovereign_Female_Basic</FemaleUnitType>
        <GenericUnitType_Male>CPELF_GenericBaseUnit_Male</GenericUnitType_Male>
        <GenericUnitType_Female>CPELF_GenericBaseUnit_Female</GenericUnitType_Female>
        <TraderUnitType>TraderTest</TraderUnitType>
        <StartingUnitType>CPELF_Soldier</StartingUnitType>
        <StartingUnitType>CPELF_Pioneer</StartingUnitType>
        <UnitScale>1.0000</UnitScale>
        <RaceClassification>CPELF</RaceClassification>
        <Alignment>Neutral</Alignment>
        <UnitSkinColor>255,217,178,255</UnitSkinColor>
        <UnitHairColor>255,255,255,255</UnitHairColor>
        <FactionColor>30,84,48,255</FactionColor>
        <UnitMetalColor>200,200,200,255</UnitMetalColor>
        <EnvironmentTerrainType>2</EnvironmentTerrainType>
        <PreferredLogoType>GenericCrest10</PreferredLogoType>
        <NonBuildableEnvironmentType>DeadEnvironment</NonBuildableEnvironmentType>
        <TechTree>AIM_CPELF_TechTree_TarLoraan</TechTree>
        <Spellbook>LifeSpellbook</Spellbook>
        <FactionType>Major</FactionType>
        <RemCustomizationPts>0</RemCustomizationPts>
        <SelAbilityBonusOption>MasterArchersBonus1</SelAbilityBonusOption>
        <SelAbilityBonusOption>GreatWarriorsBonus1</SelAbilityBonusOption>
        <SelAbilityBonusOption>EducatedBonus1</SelAbilityBonusOption>
        <SelAbilityBonusOption>MasterScoutsBonus1</SelAbilityBonusOption>
        <SelAbilityBonusOption>CPELF_raceconfigabilitybonus</SelAbilityBonusOption>
        <SelAbilityBonusOption>CPELF_LowPrestige</SelAbilityBonusOption>
        <A_GoodieRating>1</A_GoodieRating>
        <A_ManaRegeneration>1</A_ManaRegeneration>
        <A_NPCSpawnRating>1</A_NPCSpawnRating>
        <A_QuestingRating>1</A_QuestingRating>
    </RaceConfig>

Reply #5 Top

Well with that raceconfig and the files above, I can build shrines on shards.

Make sure that you don't have copies of files in subfolders or such things, as that may be interfering with your mods.

+1 Loading…
Reply #6 Top

Quoting Aerion, reply 4
Shards are the only thing (at least that I've found so far) that I can't build on?!?!?!

 


    <RaceConfig InternalName="CustomFaction_Loraan">
        <DisplayName>Kingdom of Loraan</DisplayName>
        <ShortName>Loraan</ShortName>
        <Description>After the fall of the Titans, Tar Loraan gathered a following of peoples dedicated to restoring technology for he believed that technology was the key to peace and prosperity!  Upon the death of Tar Loraan, he granddaughter, Ellissa ascended to the throne.</Description>
        <FactionAllegiance>Kingdom</FactionAllegiance>
        <IsCustom>true</IsCustom>
        <RaceInternalName>Race_Type_CPELF</RaceInternalName>
        <RaceDisplayName>High Elves</RaceDisplayName>
        <MaleUnitType>CPELF_Sovereign_Male_Basic</MaleUnitType>
        <FemaleUnitType>CPELF_Sovereign_Female_Basic</FemaleUnitType>
        <GenericUnitType_Male>CPELF_GenericBaseUnit_Male</GenericUnitType_Male>
        <GenericUnitType_Female>CPELF_GenericBaseUnit_Female</GenericUnitType_Female>
        <TraderUnitType>TraderTest</TraderUnitType>
        <StartingUnitType>CPELF_Soldier</StartingUnitType>
        <StartingUnitType>CPELF_Pioneer</StartingUnitType>
        <UnitScale>1.0000</UnitScale>
        <RaceClassification>CPELF</RaceClassification>
        <Alignment>Neutral</Alignment>
        <UnitSkinColor>255,217,178,255</UnitSkinColor>
        <UnitHairColor>255,255,255,255</UnitHairColor>
        <FactionColor>30,84,48,255</FactionColor>
        <UnitMetalColor>200,200,200,255</UnitMetalColor>
        <EnvironmentTerrainType>2</EnvironmentTerrainType>
        <PreferredLogoType>GenericCrest10</PreferredLogoType>
        <NonBuildableEnvironmentType>DeadEnvironment</NonBuildableEnvironmentType>
        <TechTree>AIM_CPELF_TechTree_TarLoraan</TechTree>
        <Spellbook>LifeSpellbook</Spellbook>
        <FactionType>Major</FactionType>
        <RemCustomizationPts>0</RemCustomizationPts>
        <SelAbilityBonusOption>MasterArchersBonus1</SelAbilityBonusOption>
        <SelAbilityBonusOption>GreatWarriorsBonus1</SelAbilityBonusOption>
        <SelAbilityBonusOption>EducatedBonus1</SelAbilityBonusOption>
        <SelAbilityBonusOption>MasterScoutsBonus1</SelAbilityBonusOption>
        <SelAbilityBonusOption>CPELF_raceconfigabilitybonus</SelAbilityBonusOption>
        <SelAbilityBonusOption>CPELF_LowPrestige</SelAbilityBonusOption>
        <A_GoodieRating>1</A_GoodieRating>
        <A_ManaRegeneration>1</A_ManaRegeneration>
        <A_NPCSpawnRating>1</A_NPCSpawnRating>
        <A_QuestingRating>1</A_QuestingRating>
    </RaceConfig>



 

HF, should be bold line above be as shown or should it be "<RaceClassification>Elves</RaceClassification>"?

Reply #7 Top

If the RaceClassification is "elves" then I can build on anything but Shards.  If RaceClassification is CPELF then I can build on shards but I have double improvements as shown below:

 

Double Improvements

Reply #8 Top

The double improvements are from this line

<SelAbilityBonusOption>CPELF_raceconfigabilitybonus</SelAbilityBonusOption>

it is explained here: https://forums.elementalgame.com/397668

If you remove the line, you will remove all "kingdom" versions of the buildings, and have only elven versions left

Reply #9 Top

I assume you mean the one in my Faction_Loraaan.xml?

Reply #10 Top

Yes. The line isn't in the latest elf version.