Where to change Custom Faction Trait Points?

Currently FE gives you 3 points to pick custom traits for custom factions.

I've been tooling around and building new traits and such with higher values, so I was hoping to set the racial points pick to say 5 or 10 scale. But I can't seem to find where that is defined?

 

Any help is appreciated.

18,110 views 13 replies
Reply #1 Top

Hrmmm have are we all stumped?

 

Methods I've tried to circumvent the 3 point limit:

Adding an ability that instead of costing points produced negative points- it magically appeared in weaknesses even though it wasn't classed such and I can only pick one weakness so that doesn't work.

Adding a weakness, doesn't work because I can only take 1 weakness.

 

Haven't found how to remove the weakness cap yet.

Haven't found where to just add more race customization points yet.

 

Going to try making abilities cost .5, I expect display errors but if it works to get around this I can rescale everything.

 

Reply #2 Top


I don't know the answer to your original question.  However faction abilities can cost zero points (...light plate in vanilla).  So that should let you have limitless faction traits.  :D

 

edit: of course then you would have to rely on an honour system for choosing them

Reply #3 Top

Appreciate the thought, but hopefully this mod will be for public consumption, so honor system no worky :)

 

Reply #4 Top

I have asked this same question in at least 2 other posts and so far no one has been able to answer me. I will bookmark your post and check back later to see if perhaps you can get this question answered. It is the key hurdle to being able to completely retool faction customization in a sensible manner.

Reply #5 Top

My guess is these things are hardcoded.

Haven't looked extensively at them though.

Sincerely
~ Kongdej

Reply #6 Top

It would be great if we could set the maximum number of negative traits.  Before you could take all of them, now you can take only one, it would be great if we could set the maximum number.  Although an XML option for setting the maximum number of trait points might be better, I'm not sure. =)

Reply #7 Top

Well in CorePlayerAbilites you have:

  <PlayerAbilityType InternalName="A_Traits">
    <DisplayName>Traits</DisplayName>
    <Description>The amount of traits this faction can support.</Description>
    <Icon>FactionAbility_Traits.png</Icon>
    <UsedAsMultiplier>0</UsedAsMultiplier>
    <DefaultValue>4</DefaultValue>
  </PlayerAbilityType>

 

If you were thinking about that. Otherwise, I don't know.

Reply #8 Top

Another option is simply to find the name of the trait that you want your faction to have and add it manually at the code of that faction. I did that with a theocrathy-kingdom to give them the stormworld hability of worship and it worked perfectly...

Reply #9 Top


Stumped here as well. One of the few strings I have yet to come across. There is a string you can modify to add faction points to a custom faction...however, the faction already has to be created. This won't really help in your case, but for those casual gamers who want to experiment can use this for their individual purposes. Located in the folder: My Documents/My Games/FallenEnchantress/Race should be an XML file generated for each Custom Faction you have designed. Within that file there is a string of code -

<RemCustomizationPts>0</RemCustomizationPts>

Changing this value should add more points to the faction customization tool for this particular faction. Additionally, just below that string of code you can also add additional abilities or weaknesses without changing customization points. Those strings would look like this:

<SelAbilityBonusOption>Wanderlust</SelAbilityBonusOption>

<SelAbilityBonusOption>XXXXXX</SelAbilityBonusOption>  (replacing XXXXXX with the name of the ability you want to add using the specific name as it is listed in the CoreAbilities file).

Still haven't been able to figure out where the customization points originate from though :(

Reply #10 Top

I have been failing this one since .951

 

however, i learned you can create a weakness with no effect that gives say 5 points, or 3 points.

 

if you KNOW the ability you want to give, you can just add it manually in the xml for that civ.

 

if you just want POINTS and nothing else, you might have to rely on creating a weakness or trait that costs -5 points (which will give 5 points when chosen).

Reply #11 Top

I know another way you can do this too. I found out by accident several months back that if you give a sovereign unit an ability that can be removed in the creation screen, when you remove the ability, you get your normal starting points and the points for deselecting the ability.

By sovereign unit, I mean the generic sovereign unit that is used for each race in core units. Not "Relias" etc.

When I stumbled upon it, it was while assigning magic paths to the generic sovereign and removing them in the sovereign creation screen. So, if you give the generic sovereigns some magic paths, you can remove their magic path picks and do creation as normal with more points when you are designing a new sovereign. This will achieve what you want to do without adding an additional ability to the creation screen.

 

 

 

 

Reply #13 Top

You can create a flaw that gives -10 points. I have also tried multiple spots in ElementalDefines.xml, to no avail.

 

I used the flaws to make "more intense" versions with more points. This gives me what I want and doesn't feel like cheese.