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

mike0815

Corporal
45 Badges
Jul 19, 2008
43
89
  • Stellaris: Megacorp
  • Stellaris - Path to Destruction bundle
  • BATTLETECH
  • Surviving Mars
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
  • Crusader Kings II: Jade Dragon
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Holy Fury
  • Imperator: Rome
  • Stellaris: Ancient Relics
  • Age of Wonders: Planetfall
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV
  • Victoria 2
  • 500k Club
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Stellaris
  • Crusader Kings II: Reapers Due
  • Stellaris: Digital Anniversary Edition
  • Cities: Skylines Deluxe Edition
  • Cities: Skylines
  • Heir to the Throne
  • Europa Universalis III: Chronicles
  • Crusader Kings II: The Old Gods
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
first of all, i not want to blame anyone here, it's my own wrong when i make my game crashing because i edited something, but maybe some of you guys can help me with that:

in the defines.lua there is this:

SECTOR_STATION_BUDGET_FRACTION = 0.30, -- Fraction of budget going to stations
SECTOR_BUILDING_BUDGET_FRACTION = 0.40, -- Fraction of budget going to buildings
SECTOR_SPACEPORT_BUDGET_FRACTION = 0.20,-- Fraction of budget going to spaceports
SECTOR_ARMY_BUDGET_FRACTION = 0.10, -- Fraction of budget going to armies


i not want that the sectorAI uses any resources in building Armies, Spaceports or Stations. only buildings please.

so i tried to edit those values. "1" to building budget, "0" to the others

but no matter how i change this values the game always crashing on startup.

what i'm doing wrong?
 
I suspect it'll be a div0 error. Try setting all of them apart from the army one to 0.01.
 
i tried many different values, for example:

SECTOR_STATION_BUDGET_FRACTION = 0.10,
SECTOR_BUILDING_BUDGET_FRACTION = 0.70,
SECTOR_SPACEPORT_BUDGET_FRACTION = 0.10,
SECTOR_ARMY_BUDGET_FRACTION = 0.10,

so that all together gives 1.0 again ... but still crashing
 
something that also make me wonder is that in the launcher it still shows that i have the "ed47" checksum... should that not have changed when i editing any values?
 
What happens if you put them back to the vanilla values?

The most likely problem is going to be a missing line ending in defines.lua, or some formatting problem that has eliminated the -- marking the comment. Did you change anything else?