ENDLESS™ Space 2

ENDLESS™ Space 2

Explore the secrets of the Endless Universe
Discover the world of modding in Endless Space 2. Download an asset from this workshop (map, gameplay addition, etc.)
Misery 6 Apr, 2019 @ 3:56am
Minor Faction Traits
I've dug around in the files a bit, as (for certain local multiplayer games) I'd like to be able to determine which Minor Faction trait a Minor Faction receives; Some Minor Factions have two different abilities they can offer to those who assimilate them, but (it appears) that if that Minor Faction appears multiple times, they will all offer the same ability.

I'm alright with either being able to select which ability they will have, or, more preferably, I would like to be able to make sure that anytime there's two, one has one ability, while the other has the other.

I just can't figure out where in the files this is located, and have stumble-googled my way onto nothing useful so far.

Thanks for your time!
< >
Showing 1-10 of 10 comments
Misery 6 Apr, 2019 @ 4:51am 
Ah, okay, so while I could still use the ability to determine which ability each minor faction receives, I've discovered the location of the abilities--It's under the 'simulation' folder.
Misery 7 Apr, 2019 @ 1:15am 
Ah, that may not be accurate.

So, I've tried modifying a couple of minor factions to remove one of their abilities, and what happens now is that sometimes they're generated with the text of the now-absent ability, but they possess no actual ability to grant.

Starting to hit bedrock here, ya'll, not sure how to dig into this one. Factions[Minor] and SimulationDescriptors[FactionTraits] (both XMLs) yield some of the data I want to change, but it would appear that what I need to modify is in fact the mechanism that determines which ability they get, but I'm not sure where it is. I'll keep looking, but I'm pretty stumped.

Edit:

MinorFactionPersonalityDefinitions.xml is the location of the file that places weights on which ability is selected! Leaving this up here in case it's useful for someone else.
Last edited by Misery; 7 Apr, 2019 @ 1:37am
嗨呀酋长 2 Aug, 2020 @ 4:27am 
Hi, buddy. I just have the same aim as you, I tried to delete one of the two traits, to edit both traits to be the same one that I want and to adjust the weight of it. None of them works. The game will go collapse before you start the first round. Do you have any further findings? Could you plz share what you get later? I'll share mine. :winter2019happyyul:
Misery 2 Aug, 2020 @ 8:21pm 
Hey!

I actually did find some success with this, but I'm not 100% which file had the effect. Here are the files I looked at in ...\Endless Space 2\Public\Simulation\

1) \SimulationDescriptors[FactionTrait].xml

Towards the bottom of this file you'll find a section labeled 'MINOR FACTION TRAITS'. Some of the names for Minor Factions will be different than what you're accustomed to--It'll take a little figuring out. In this section, I merely edited the Faction Trait I didn't like and replaced it with the information from the one I did like--But left the original name. For example, standard Pulsos looks like this:

-----
<!-- ####### PULSOS TRAITS ##### -->



-<SimulationDescriptor Type="FactionTraitMinor" Name="FactionTraitMinorCuriousThinkers01">

<BinaryModifier Path="ClassEmpire/ClassColonizedStarSystem" Right="$(CuriositiesDiscovered)" BinaryOperation="Multiplication" Left="1" Operation="Addition" TargetProperty="SystemProduction"/>

<Modifier Path="ClassEmpire" Operation="Addition" TargetProperty="MinorTraitsAssimilated" Value="1" TooltipHidden="true"/>

</SimulationDescriptor>


-<SimulationDescriptor Type="FactionTraitMinor" Name="FactionTraitMinorCuriousThinkers02">

<Modifier Path="ClassEmpire/ClassResearch" Operation="Addition" TargetProperty="TechnologyLinkReductionValue" Value="0.2"/>

<Modifier Path="ClassEmpire" Operation="Addition" TargetProperty="MinorTraitsAssimilated" Value="1" TooltipHidden="true"/>

</SimulationDescriptor>
-----

If I wanted to only have the first ability, I'd set it too look like this:

-----

<!-- ####### PULSOS TRAITS ##### -->



-<SimulationDescriptor Type="FactionTraitMinor" Name="FactionTraitMinorCuriousThinkers01">

<BinaryModifier Path="ClassEmpire/ClassColonizedStarSystem" Right="$(CuriositiesDiscovered)" BinaryOperation="Multiplication" Left="1" Operation="Addition" TargetProperty="SystemProduction"/>

<Modifier Path="ClassEmpire" Operation="Addition" TargetProperty="MinorTraitsAssimilated" Value="1" TooltipHidden="true"/>

</SimulationDescriptor>


-<SimulationDescriptor Type="FactionTraitMinor" Name="FactionTraitMinorCuriousThinkers02">

<BinaryModifier Path="ClassEmpire/ClassColonizedStarSystem" Right="$(CuriositiesDiscovered)" BinaryOperation="Multiplication" Left="1" Operation="Addition" TargetProperty="SystemProduction"/>

<Modifier Path="ClassEmpire" Operation="Addition" TargetProperty="MinorTraitsAssimilated" Value="1" TooltipHidden="true"/>

</SimulationDescriptor>

-----

For DLC Minor Factions, you'll need to change SimulationDescriptors[FactionTrait_DLC1].xml, and the _DLC2-4 (Maybe 5--I don't have the latest expansion) as well.


Further, in ...\Endless Space 2\Public\Simulation\FactionTraits[Minor].xml, you can simply eliminate the options you don't like. If, like in the previous example, you'd like to ensure it only can *only* roll up the Curiosity-related ability, you'd modify your Pulsos to look like this:


</FactionTrait>

<!-- PULSOS -->



+<FactionTrait Cost="0" Hidden="false" SubCategory="FactionTrait" Name="FactionTraitMinorCuriousThinkers01">


I hope that helps!
Last edited by Misery; 2 Aug, 2020 @ 8:22pm
Misery 2 Aug, 2020 @ 8:24pm 
It sounds like you're trying to do what I did and it just isn't working for you, though--Re-read your post, and now I'm a bit puzzled. I'll do a bit more digging around in the files and see if I figure anything out. I've been wanting to check out the XML's a little more, anyway.
嗨呀酋长 3 Aug, 2020 @ 7:29am 
Originally posted by Karuku:
It sounds like you're trying to do what I did and it just isn't working for you, though--Re-read your post, and now I'm a bit puzzled. I'll do a bit more digging around in the files and see if I figure anything out. I've been wanting to check out the XML's a little more, anyway.
Hi buddy, I just find it works if u changed the weight of the trait. But u need to change it to only several numbers such as 20 35 40 and 50. I tried 10 but it went to collapse. It does change the rate of the selected trait if changed to the above 4 numbers. I may make mistakes before. In case, It might work if u replace the description that u dont need. I will try it now and tell u if it works.:BEjoyful:
嗨呀酋长 3 Aug, 2020 @ 7:44am 
oh fk. It works bro. I am just a fool. I dont know where I did wrong last time. But it completely work bro. You are awesome bro. :thumbalift:
Misery 6 Aug, 2020 @ 8:23pm 
Glad you were able to sort it out! :D
Caedes91 28 Jan, 2021 @ 5:55pm 
So in summary:

In the "Public" folder: Open with Notepad++ or your preferred tool.

MinorFactionPersonalityDefinitions.xml
MinorFactionPersonalityDefinitions[DLC1].xml
MinorFactionPersonalityDefinitions[DLC2].xml
MinorFactionPersonalityDefinitions[DLC3].xml
MinorFactionPersonalityDefinitions[DLC4].xml
MinorFactionPersonalityDefinitions[Update8].xml
MinorFactionPersonalityDefinitions[Update9].xml

Some minor factions were added later through DLC or update. Therfore you have different files.
Each minor faction is listed with two traits. The number you see in these files represent the probability for the appearance of one of these traits DURING Galaxy Generation.

For example, if you want to set one trait to always appear without fail instead of the other during galaxy generation, set the number of the desired trait to 99 and the other to 00.

Repeat for each minor faction. If you can't pinpoint, which trait is which one, refer to the wiki (not the games2gether one, but the .fandom one. Compare the propability numbers on the wiki pages of the respective minor factions.
嗨呀酋长 2 Feb, 2021 @ 12:28am 
Originally posted by Caedes91:
So in summary:

In the "Public" folder: Open with Notepad++ or your preferred tool.

MinorFactionPersonalityDefinitions.xml
MinorFactionPersonalityDefinitions[DLC1].xml
MinorFactionPersonalityDefinitions[DLC2].xml
MinorFactionPersonalityDefinitions[DLC3].xml
MinorFactionPersonalityDefinitions[DLC4].xml
MinorFactionPersonalityDefinitions[Update8].xml
MinorFactionPersonalityDefinitions[Update9].xml

Some minor factions were added later through DLC or update. Therfore you have different files.
Each minor faction is listed with two traits. The number you see in these files represent the probability for the appearance of one of these traits DURING Galaxy Generation.

For example, if you want to set one trait to always appear without fail instead of the other during galaxy generation, set the number of the desired trait to 99 and the other to 00.

Repeat for each minor faction. If you can't pinpoint, which trait is which one, refer to the wiki (not the games2gether one, but the .fandom one. Compare the propability numbers on the wiki pages of the respective minor factions.
Thank you bro. I have figured it out. :thumbalift:
< >
Showing 1-10 of 10 comments
Per page: 1530 50