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

id3oMOT0R

Private
52 Badges
Apr 24, 2016
18
16
  • Stellaris: Humanoids Species Pack
  • Stellaris - Path to Destruction bundle
  • Steel Division: Normandy 44
  • Cities: Skylines - Mass Transit
  • BATTLETECH
  • Surviving Mars
  • Prison Architect
  • Stellaris: Megacorp
  • BATTLETECH: Flashpoint
  • Cities: Skylines - Green Cities
  • Cities: Skylines - Natural Disasters
  • Stellaris: Apocalypse
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Cities: Skylines Industries
  • Stellaris: Necroids
  • Surviving Mars: First Colony Edition
  • Pillars of Eternity
  • Crusader Kings III
  • Stellaris: Federations
  • BATTLETECH: Heavy Metal
  • Stellaris: Lithoids
  • Age of Wonders: Planetfall
  • BATTLETECH: Season pass
  • Stellaris: Ancient Relics
  • Cities: Skylines
  • Crusader Kings II: Way of Life
  • Cities: Skylines - After Dark
  • Cities: Skylines - Snowfall
  • Surviving Mars: First Colony Edition
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris: Synthetic Dawn
  • Shadowrun: Dragonfall
  • Steel Division: Normand 44 - Second Wave
  • Tyranny - Tales from the Tiers
  • Crusader Kings II
  • Stellaris
  • Europa Universalis IV
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
Hey everyone,

I am currently trying to revise how sectors handle their assigned resources. More specific: I want strategic resources to stay in my possession, or alternatively to make sectors give them back to me in a similar fashion like they handle research points. Does anyone know if this is possible and where I would find the needed files? Thanks!
 
AFAIK, it's not really possible, no. There's like 3-4 lines in defines.lua which directly reference the sector AI and a file in the common folder which defines the sector types (which you can only really use to define their build permissions). That's about it, as far as modding sectors is concerned.
 
What is really annoying is the gouvernor building a spaceport during war even if the enemy is just next to a planet (lost about 40 war points cause of this recently). As I have never modded any Paradox game before and I am quite unsure atm how it all works together (what is possible and what not).

I wondered if this can be achieved just by editing the line

SECTOR_SPACEPORT_BUDGET_FRACTION = 0.0

Of cause it'll be better if there was something like (pseudo code)

if (atWat (player) {
SECTOR_SPACEPORT_BUDGET_FRACTION = 0
}

but I don't know if this is even possible (and where to add this). Any modder out there to comment on this?

Thx in advance