Logo Platform
logo amplifiers simplified

[QQ] How to add more nodes

Reply
Copied to clipboard!
0Send private message
7 years ago
Jun 4, 2017, 12:04:01 PM

Odd I have tryed your files but it is not working for me. Your files have very little diffrence from what I was previously trying.


The only diffrence I found is that in the datatable tag where you have 

xsi:SchemaLocation="../Documentation/Schemas/GameSettingDefinition.xsd" >

I have 

xsi:noNamespaceSchemaLocation="../Schemas/GameSettingDefinition.xsd">


Could you zip up you Testing mod folder and post it incase some seemingly unrelated part of it is making it work for you ?

0Send private message
7 years ago
Jun 3, 2017, 11:31:14 PM

Just double checked my public folder and the tiny had the defaults (4,2,2) launched a game and that was what I got, enabled the mod and back at 8,8,8 for tiny.


WorldSettingsDefinitions.xml


That is my file with just Name="GalaxySize" and only Tiny size changed.


<DatabasePlugin DataType="GameSettingDefinition, Assembly-CSharp">

<ExtraTypes>

<ExtraType DataType="WorldSettingDefinition, Assembly-CSharp" />

</ExtraTypes>

<FilePath>Settings/WorldSettingsDefinitions.xml</FilePath>

</DatabasePlugin>

And that is from my Testing.xml main plugin file

0Send private message
7 years ago
Jun 3, 2017, 10:58:53 AM

I only added the default WorldSettingDefinition Name="GalaxySize" with changes only made to the LuxuryResource[*]Types KeyValuePairs changing all 27 of them to the value 8.


If you have been able to unlock all luxurys in a tiny galaxy via a mod and without a single edit to the public files then I would very much like to see you mod files so I can see where I have gone wrong. But given that many others have this issue with WorldSettingDefinitions the fact your mod work is most likly due to you having edited the public files and forgetting to revert the edits.

If that is not the case please attach your mod files so that I can fix whatever mistake I have made in my own mod.

0Send private message
7 years ago
Jun 3, 2017, 5:27:11 AM


Using a mod (plus some changes to research speed) to show on a tiny galaxy and really any size I was able to get all luxuries to spawn.

This time I left the base quantities alone.


How much of the base WorldSettingsDefinitions.xml are you adding to your mod file?

0Send private message
7 years ago
Jun 3, 2017, 5:01:54 AM

Right but I'm saying I made a mod using that datatype and extra datatype exactly as you described


<DatabasePlugin DataType="GameSettingDefinition, Assembly-CSharp">

    <ExtraTypes>

        <ExtraType DataType="WorldSettingDefinition, Assembly-CSharp" />

    </ExtraTypes>

    <FilePath>Settings/WorldSettingsDefinitions.xml</FilePath>

</DatabasePlugin>

and it worked, proving the datatype works as intended. I couldn't be bothered earlier to play the game long enough to get to the next 2 tiers but will probably mod some research speeds or something and grab another screenshot after having unlocked all 3 levels.

0Send private message
7 years ago
Jun 2, 2017, 5:47:38 PM
bran2k7 wrote:

I was able to get it to work on a Tiny Galaxy by editing the files directly and by using:

The Problem here is that the WorldSettingDefinition extra datatype while recognised by the game (diagnostics would give an error if it wasn't) it does not seem to have an effect

I origanily tried this edit by directly editing the files before trying to make it a mod.


Painter448 wrote:

(This edit works when done to the file in the public folder so this datatype does seem to be working)

You can see by compairing our two pictures that the lack of the "? 0" shows the the game disabled the Resource.

I don't thing the Quantities is a limiting facotr as it olny affects the number of deposits that are placed, even in the event that a resource did not a single deposit placed it would still show  as a "? 0" instead of the current blank space.

I made the screen shot above by using the debug (Shift + F1 - Currently Disabled) Menu to spawn 100 of each luxury but only the enabled one appear.


0Send private message
7 years ago
Jun 2, 2017, 5:23:13 PM

I was able to get it to work on a Tiny Galaxy by editing the files directly and by using:

<DatabasePlugin DataType="GameSettingDefinition, Assembly-CSharp">

    <ExtraTypes>

        <ExtraType DataType="WorldSettingDefinition, Assembly-CSharp" />

    </ExtraTypes>

    <FilePath>Settings/WorldSettingsDefinitions.xml</FilePath>

</DatabasePlugin>



I reduced the Quantities too, incase that was a limiting factor which I'm sure it is.


<KeyValuePair Key="LuxuryResourceCommonTypes">8</KeyValuePair>

<KeyValuePair Key="LuxuryResourceUncommonTypes">8</KeyValuePair>

<KeyValuePair Key="LuxuryResourceRareTypes">8</KeyValuePair>

<KeyValuePair Key="LuxuryResourceVisibleCommonQuantity">1</KeyValuePair>

<KeyValuePair Key="LuxuryResourceCommonQuantity">1</KeyValuePair>

<KeyValuePair Key="LuxuryResourceUncommonQuantity">1</KeyValuePair>

<KeyValuePair Key="LuxuryResourceRareQuantity">1</KeyValuePair>

0Send private message
7 years ago
Jun 2, 2017, 8:55:33 AM

Same here, I tried to edit the IsolatedNodesQuantity parameter without effect too (put it to 40 to match the node number of a tiny map to try a 'no starline' game), it seems locked.

0Send private message
7 years ago
May 30, 2017, 6:29:20 PM

Similarly I made a mod that didn't quite do what I expected, it seems changing: <KeyValuePair Key="IsolatedNodesQuantity">8</KeyValuePair> on tiny maps from 8 to 0 and has not had any effect.

0Send private message
7 years ago
May 30, 2017, 9:29:15 AM

I've Tried using:

<DatabasePlugin DataType="GameSettingDefinition, Assembly-CSharp">

    <ExtraTypes>

        <ExtraType DataType="WorldSettingDefinition, Assembly-CSharp" />

    </ExtraTypes>

    <FilePath>Settings/WorldSettingsDefinitions.xml</FilePath>

</DatabasePlugin>

As a plugin but my changes don't seem to apply.

In Settings/WorldSettingsDefinitions.xml I changed all luxury type counts to 8 (so it should mean all luxurys are available during a game)

<KeyValuePair Key="LuxuryResourceCommonTypes">8</KeyValuePair>
<KeyValuePair Key="LuxuryResourceUncommonTypes">8</KeyValuePair>
<KeyValuePair Key="LuxuryResourceRareTypes">8</KeyValuePair>


but it acts as normal The smallist map size still only has 8 unlocked

(This edit works when done to the file in the public folder so this datatype does seem to be working)

0Send private message
8 years ago
May 21, 2017, 7:11:06 AM

How i can expand a galaxy size ?


When i'm edditing this string - game will crash or just don't load


~Steam\steamapps\common\Endless Space 2\Public\Settings\WorldSettingDefinitions.xml

<ItemDefinition Name="Gigantic">
<KeyValuePair Key="NodesQuantity">240</KeyValuePair>


Which parameter i must change also with him ?

Updated 8 years ago.
0Send private message
7 years ago
May 30, 2017, 9:04:36 AM

<DatabasePlugin DataType="????????????????????, Assembly-CSharp(-firstpass)">

    <ExtraTypes>

        <ExtraType DataType="WorldSettingDefinition, Assembly-CSharp" />

    </ExtraTypes>

    <FilePath>Settings/WorldSettingsDefinitions.xml</FilePath>

</DatabasePlugin>

What would be the Database plugin datatype when using the WorldSettingDefiniton ExtraType ?

Updated 7 years ago.
0Send private message
7 years ago
May 30, 2017, 8:36:59 AM

To change WorldSettingsDefinitions.xml, you need to call <ExtraType DataType="WorldSettingDefinition, Assembly-CSharp" />

The DataType.txt miss maybe some data. I will update the file when new entries are added/updated.

If you look for a specific DataType and don't find it, ask me in this forum and I will try to find it for you ;) 

0Send private message
7 years ago
May 30, 2017, 7:37:48 AM

WorldSettingsDefinitions is not currently moddable, its an unsupported datatype as its not listed in the datatypes.txt but you can just manual edit the file with the changes you want, if the mod is for your personal use, but no workshop mod will be able to.

0Send private message
7 years ago
May 29, 2017, 10:27:37 PM

Is the WorldSettingsDefinitions file modable? What DataType would I use for this?

0Send private message
8 years ago
May 22, 2017, 12:53:16 PM
Painter448 wrote:

No Problem, Have fun with the huge galaxies

Ah, deleted it myself as i found the the info i needed. Thanks anyway, as you had some info i had not found yet.

Updated 8 years ago.
0Send private message
8 years ago
May 22, 2017, 12:30:13 PM

Edit: Looks like Darthturk's post (What I was replying to) got deleted, I will keep this information up anyway


The %Endless Space 2 Install Folder%\Public\Settings\WorldSettingDefinitions.xml File Contains many of the settings for galaxy generation.


If you look at the galaxy Size section you will see many modifiers


GalaxySizeIndex                  - I assume it sets the options order in the new game menu
NominalPlayers                         - Defualt number of players for the size ?
UniquePlanetQuantity                 - This is one of the modifies you want it sets how many unique planets can spawn (excluding the academy & Faction Homeworlds) Set this to 6 if you want all of them to spawn
NodesQuantity                                    - The Default number of nodes at normal galaxy density
IsolatedNodesQuantity                            - number of Nodes the are not attached by any starlanes
QuestNodesQuantity                                 - not quite sure
QuestNodesPerMajorFaction                     - not quite sure
SizeScale                                                      - I Think It scales up the background images but i'm not sure

MinorFactionsCount                                    - Number of Minor Factions at Medium Minor Civilization Quantity
LuxuryResourceCommonTypes                     - How many Common Luxury Resources can show up in the game
LuxuryResourceUncommonTypes                  -How many Uncommon Luxury Resources can show up in the game (Default settings cap this at 4 but you can set it to 8 if you want all the Luxurys)
LuxuryResourceRareTypes                              - How many Rare Luxury Resources can show up in the game (Default settings cap this at 4 but you can set it to 8 if you want all the Luxurys)
LuxuryResourceVisibleCommonQuantity      - How many of the first four? types of Luxury Resource spawn
LuxuryResourceCommonQuantity                 - How many of the other four? types of common Luxury Resource spawn
LuxuryResourceUncommonQuantity              - How many of the Uncommon Luxury Resource spawn
LuxuryResourceRareQuantity                           - How many of the Rare Luxury Resource spawn
StrategicResourceVisibleCommonQuantity    - How many of the First two? types of Strategic Resource spawn
StrategicResourceCommonQuantity                 - How many of the Common Strategic Resource spawn
StrategicResourceUncommonQuantity            - How many of the Uncommon Strategic Resource spawn
StrategicResourceRareQuantity                       - How many of the Rare Strategic Resource spawn
AnomaliesVisibleQuantity                              - How many of the Visible Anomalies
AnomaliesQuantity                                        - How many of the other Anomalies
WondersMaxQuantity                                  -How many Galactic wonders spawn
LootQuantity                                               -Number of "Loot" Anomalies that spawn

Updated 8 years ago.
0Send private message
0Send private message
8 years ago
May 21, 2017, 3:01:37 PM
Painter448 wrote:

If you don't mind me asking why do you want so many nodes? as that large of a galaxy will alter game balance greatly making some factions & traits OP and others near worthless.

I love huge galaxies :) Ty for answer anyway. 

0Send private message
?

Click here to login

Reply
Comment