• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

ppga

First Lieutenant
66 Badges
Jul 15, 2001
202
0
Visit site
  • Europa Universalis IV: Mare Nostrum
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Sword of the Stars II
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • BATTLETECH
  • Stellaris: Synthetic Dawn
  • Stellaris: Federations
  • Europa Universalis IV
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Deus Vult
  • Europa Universalis III
  • Divine Wind
  • Cities in Motion
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
So I would like to increase the # of core systems I can control, as the title implies, but so far have had no luck.

I used to mod the crap out of EU III and some of the other titles so I'm used to doing that with Paradox games, and I find a great many similarities in the .txt files.

First I downloaded a mod that purported to do this by simply changing the CORE_SECTOR_PLANET_CAP value in 00_defines.txt. Game loads up to 100% then just ends. Tried changing that in the defines file in my steam directory, same result. Mod changed it to 9, I changed it to various other numbers, nothing works.

I then tried using the modifier country_core_sector_planet_cap to increase my cap. Tried adding the modifier to my race:

modifier = {
country_core_sector_planet_cap = 2
}

also tried just adding it in as:

country_core_sector_planet_cap = 2

Nope, neither worked.

One thing I used to do in EUIII for example was add a modifier to the player difficulty setting modifier for the difficulty level I played at. There are no player difficulty modifiers in Stellaris, so tried to add my own:

normal_player = {
country_core_sector_planet_cap = 12

}

Didn't work.


Then I started playing around with 00_static_modifiers.txt, Country Modifiers (Country, huh? Straight from EU innit?), figuring if I couldn't raise the cap I'd at least get rid of the negative modifier from it. So I took:


inefficient_planet_management = {
influence_gain_mult = -0.1
tile_resource_energy_mult = -0.1
}

inefficient_sector_management = {
influence_gain_mult = -0.1
tile_resource_energy_mult = -0.1
}

And changed it to:

inefficient_planet_management = {
influence_gain_mult = 1.0
tile_resource_energy_mult = 1.0
}

inefficient_sector_management = {
influence_gain_mult = 1.0
tile_resource_energy_mult = 1.0
}

Guess what. Didn't work. I'm out of ideas, if anyone has found a work-around I'd love to hear it.
 
Its one of the defines and it's an easy number change. Look for core, not sector.

I'd give you the exact info but I'm on my phone killing time.
 
It's

Line 615: CORE_SECTOR_PLANET_CAP = 5, -- Too many planets in core sector will apply modifier inefficient_planet_management.

in the define. But modifier country_core_sector_planet_cap should also work. It's used in governments. So maybe you are not in the right scope.

edit: Yeah, your species needs a way to scope to the country. Not sure if this is possible.
 
First I downloaded a mod that purported to do this by simply changing the CORE_SECTOR_PLANET_CAP value in 00_defines.txt. Game loads up to 100% then just ends. Tried changing that in the defines file in my steam directory, same result. Mod changed it to 9, I changed it to various other numbers, nothing works.
This works fine for me. Did you use Notepad++ to edit the defines file? Other editors apparently tend to mess up the .lua formating and make the game crash, so maybe that's the problem.
 
  • 1
Reactions:
Ok, now that I'm not trying to do this on my phone...

Here's the exact entry you can use in a custom defines.lua file, you mentioned 00_defines.txt which may be the problem or just a typo (or like AKjeldsen mentioned, use Notepad++ to be safe). First, create a new lua file, name it something like mymod_defines.lua and put it in your mod's common/defines folder. You only need one line in your new defines file:

NDefines.NGameplay.CORE_SECTOR_PLANET_CAP = 10

Just replace 10 with your desired number, save and enjoy. Doing it this way way will make it compatible with other mods that have custom defines as long as they don't modify the same values. Sorry if you already knew that :)