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

Gobbibomb

Corporal
37 Badges
May 11, 2016
39
6
  • Crusader Kings II
  • Dungeonland
  • Cities in Motion 2
  • Leviathan: Warships
  • Magicka
  • Sword of the Stars
  • Sword of the Stars II
  • Stellaris: Synthetic Dawn
  • Stellaris: Federations
  • Age of Wonders III
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Apocalypse
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Surviving Mars: First Colony Edition
  • Stellaris: Megacorp
  • Imperator: Rome
  • Prison Architect
  • Surviving Mars: First Colony Edition
  • Stellaris: Ancient Relics
  • Age of Wonders: Planetfall Sign Up
  • Hearts of Iron IV: Death or Dishonor
  • Surviving Mars
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Stellaris
  • Europa Universalis IV: Common Sense
  • Magicka: Wizard Wars Founder Wizard
  • Cities: Skylines
  • War of the Roses
  • Warlock: Master of the Arcane
  • Teleglitch: Die More Edition
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
Why if i create
01_defines.txt and write
NGameplay = {
#TEST
EMPIRE_SIZE_BASE = 15 # No penalties at this empire size or below #da 30
EMPIRE_SIZE_FROM_DISTRICTS = 1 # Per district #da 1
EMPIRE_SIZE_FROM_SYSTEMS = 1 # Per system
EMPIRE_SIZE_FROM_COLONIES = 30 # Per planet # da 5
EMPIRE_SIZE_FROM_BRANCH_OFFICES = 2 # Per branch office
EMPIRE_SIZE_FROM_POPS = 1 # Per pop #da 0.5
}
this work
but if i create
01_ship_sizes.txt
and write
corvette = {
resources = {

category = ships
cost ={
alloys = 500
}
}

}

not work? why?
 
Paradox scripting language is inconsistent and poorly documented. Defines let you change individual defines within a block without overwriting the entire block (ie, defines you don't explicitly change aren't affected). In most other folders, like ship_sizes, if you include an object like corvette, you're overwriting the entire object, not just the lines within it you change (meaning that the new corvette object you've created completely replaces the old one; meaning that it needs to include everything necessary to the corvette, not just the things you want to change).
Some folders require you to overwrite the entire file, rather than let you overwrite individual objects within it.

The stellaris modding wiki has information about different folder's overwrite types, but not all of it seems to be correct (modding jobs, for instance, require overwriting the entire job file rather than the individual job).
 
  • 1Like
Reactions: