• 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.

PresFox

Private
41 Badges
Dec 13, 2006
20
1
  • Stellaris: Distant Stars
  • Steel Division: Normandy 44
  • Cities: Skylines - Mass Transit
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Cities: Skylines - Green Cities
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Apocalypse
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Stellaris - Path to Destruction bundle
  • Stellaris: Megacorp
  • Hearts of Iron IV: Expansion Pass
  • Prison Architect
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Prison Architect: Psych Ward
  • Hearts of Iron IV: La Resistance
  • Stellaris: Federations
  • Island Bound
  • Victoria 2: Heart of Darkness
  • Cities in Motion
  • Crusader Kings II
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Arsenal of Democracy
  • 500k Club
  • Cities: Skylines
  • Cities: Skylines - After Dark
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
Hello.

Does it fall within the possibilities to create a mod to remove the 100 warscore cap?

We find it very hard to completely take over larger empires now, because we have to take 2 planets, then make peace, then wait 10 years, then take 2 planets, etc..

I know it can be done through vassalization / integration, but this also takes ages for larger empires.

If so, where in the files should i look?
 
In 00_defines.lua:

WAR_SCORE_PLANET_BASE = 10.0, -- Relative warscore value of a planet
WAR_SCORE_PLANET_BUILDING = 1.0, -- Relative warscore value of a planet for every building
WAR_SCORE_OCCUPATION_MUL = 1.5, -- 150% warscore gained from completely occupying the opponents

Try making a new text file called:
"99_defines_test.lua"
Or something along that line, and place this in the same folder (X:\xxx\Steam\steamapps\common\Stellaris\common\defines)

In that text file put the following lines:

NDefines.NGameplay.WAR_SCORE_PLANET_BASE = 0
NDefines.NGameplay.WAR_SCORE_PLANET_BUILDING = 0

Then save, and try playing. This should work out. Going to try it out right now. I'll be back with an edit.

EDIT: Doesn't work. I think this manages how much warscore OCCUPYING a planet gives you, not how much a planet costs.

This does work though:

Go to X:\xxx\Steam\steamapps\common\Stellaris\common\war_demand_types

Open the file "00_war_demand_types.txt" and right below this line:

warscore_cost = {
base = 20

You should put the following:

modifier = {
factor = -10.0
parameter:planet.owner = {
is_ai = yes​
}​
}

(the forum likes to turn it into a smiley for some reason but its: parameter: and planet.owner attached together)

This makes all 'cede planet' wargoals cost only 1 warscore, and this SHOULD only work for you as the player. I'm not sure how to make this work as a mod file (or how the game handles this) so you might need to redo this after every patch until someone tells me/us how to do that as a mod.

Cheers.

EDIT_EDIT:

Maybe this is better:

modifier = {
factor = -10.0
AND = {
parameter:planet.owner = {
is_ai = yes
}
ROOT = {
is_ai = no​
}​
}​
}

Because this should prevent the AI from exploiting it. I think.
 
Last edited:
I guess that will work, but then the value of planets is 0, so they will give up after 1 fight because you already reached the total warscore cap.

Warscore should be scalable, so 100 / total planets is warscore per planet or so..
 
The only thing that will accomplish is having the AI value every one of his planets at 0.0, regardless of which buildings are on it. Won't it?

Sure, I now can ask for the cecession of all his planets which have a total war goal demand score of 0.0, but this doesn't seem like a solution to what is asked, considering the AI will very much be inclined to give away all those 'worthless' 0.0 value planets after the slightest lost battle.

The problem, imho, lies with the additive absolute nature of the war goal DEMANDS vs the multiplicative nature of the war SCORE.

The war SCORE is a percentage based on how much stuff I wreck between a value of 0% and 100% (negative for losses)

This is matched against the DEMANDS which are an absolute value based on how much stuff is on that planet, which does not scale at all.

This makes no sense at all. If I am able to wreck an entire empire, I should be able to ask for an unconditional surrender or at the very least complete cecession.

My relative strength to an opponent should determine what I can ask for, not some arbitrary limit set by a developer between 10-40 value per planet.

If they really wanted to go for a 'too big to fail' approach to prevent large empires shifting in a single war, vassalization shouldn't be available either.