Stellaris

Stellaris

Global Changes
56 Comments
Swiss Halberdier  [author] 25 Sep, 2022 @ 11:40am 
I updated my mod to the new patch and the DLC. I adapted several entries due to the new patch and removed some values as they aren't anymore in the vanilla files.
Swiss Halberdier  [author] 7 Sep, 2020 @ 12:18pm 
I updated my mod to the new patch and the DLC. I adapted several entries due to the new patch.
Swiss Halberdier  [author] 15 Apr, 2020 @ 3:25am 
I updated my mod to the new patch and the DLC. I adapted several entries due to the new patch and removed some values as they aren't anymore in the vanilla files.
Swiss Halberdier  [author] 9 Dec, 2018 @ 2:12am 
I updated my mod to the new patch 2.2 and the DLC. I adapted several entries due to the new patch and removed some values as they aren't anymore in the vanilla files. The most important change is that the sector/planet caps have been changed to new EMPIRE_SIZE_* values.
Swiss Halberdier  [author] 22 May, 2018 @ 7:43am 
I updated my mod to the new patch 2.1 and DLC Distant Stars. I adapted several entries due to the new patch.

I added these new values:

NAVAL_CAPACITY_POP_MULT
STARBASE_CAPACITY_SYSTEM_MULT
STARBASE_CAPACITY_POP_MULT
Swiss Halberdier  [author] 15 May, 2018 @ 5:48am 
My mod still works after the last small patch 2.0.5 and the patch didn't changed the important file "00_defines.txt".
Swiss Halberdier  [author] 8 May, 2018 @ 3:49am 
@Baleur
Oh yes some of the vanilla standard values are indeed a bit "strange".
Baleur 8 May, 2018 @ 12:47am 
Its insane some of the vanilla values.. Like the restriction on 1 science ship and 4 constructors for AI empires. Just insanity, whichever dev added that. Even just doubling those values makes AI empires far more potent in expanding. Imagine if the player was locked to 1 science ship and 4 constructors, it'd be way more difficult.
Swiss Halberdier  [author] 1 May, 2018 @ 2:33am 
@Baleur
Oh thanks a lot :-) Nice that my tutorial and Changes post was helpful for your own private mod. :-)

My mod still works after the last small patch 2.0.4.

Basically you can use and even add with the same code-system quite any value in the vanilla file "00_defines.txt" located in this folder: C:\Program Files (x86)\Steam\steamapps\common\Stellaris\common\defines
Baleur 30 Apr, 2018 @ 10:58pm 
I love this so much!
I used it as a template for my own taste mod. Thank you so much for including the base values in your Changes post, very helpful.
Swiss Halberdier  [author] 19 Apr, 2018 @ 2:18am 
I updated my mod to the new patch 2.0.3. I adapted several entries due to the new patch.
Swiss Halberdier  [author] 30 Mar, 2018 @ 12:56am 
I updated my mod to the new patch 2.0.2. I adapted several entries due to the new patch.
Swiss Halberdier  [author] 23 Feb, 2018 @ 11:14pm 
I updated my mod to the new patch 2.0 and DLC.

- added these new values to the mod

COMMAND_LIMIT_MAX = 250 # Max value of Command Limit - increased from 200 to 250

COMMAND_LIMIT_BASE = 30 # Base value of Command Limit - increased from 20 to 30

NAVAL_CAPACITY_MAX = 1250 # Max value of Naval Capacity - increased from 1000 to 1200

NAVAL_CAPACITY_BASE = 30 # Base value of Naval Capacity - increased from 20 to 30

STARBASE_CAPACITY_MAX = 100 # Max value of Starbase Capacity - increased from 50 to 100

STARBASE_CAPACITY_BASE = 8 # Base value of Starbase Capacity - increased from 3 to 8

Enjoy STELLARIS
Swiss Halberdier
Swiss Halberdier  [author] 22 Feb, 2018 @ 11:03am 
I updated my mod to the new patch 2.0 and DLC.

Due to the new patch I had to remove several entries and adapted a lot.

Enjoy STELLARIS
Swiss Halberdier
Swiss Halberdier  [author] 8 Dec, 2017 @ 5:13am 
I updated my mod to the new patch 1.9.

Enjoy STELLARIS
Swiss Halberdier
Swiss Halberdier  [author] 13 Oct, 2017 @ 10:48am 
I updated my mod to the new patch 1.8.2

- adapted several values according to the new vanilla values

Enjoy STELLARIS
Swiss Halberdier
Swiss Halberdier  [author] 21 Sep, 2017 @ 8:39am 
I updated my mod to the new patch 1.8 and DLC

- adapted several values according to the new vanilla values
- removed several values as they aren't anymore used in the vanilla files

Enjoy STELLARIS
Swiss Halberdier
Swiss Halberdier  [author] 4 Aug, 2017 @ 1:19am 
I updated my mod to the reverted patch number that the mod isn't anymore listed as outdated on the mod menu.

Enjoy STELLARIS
Swiss Halberdier
Swiss Halberdier  [author] 16 Jun, 2017 @ 1:41am 
I updated my mod to the new patch 1.7.2

- added the entry DOCKED_FLEET_MAINTENANCE_REDUCTION = 0.4 # Docked fleets will have a lowered maintenance reduction of this amount - increased from 0.25 to 0.4

Enjoy STELLARIS
Swiss Halberdier
Swiss Halberdier  [author] 24 May, 2017 @ 8:50am 
Thanks a lot Verminator!
Verminator 24 May, 2017 @ 1:53am 
Thanks so much for the update. This mod is one of my must have mods. Wish more mods had customizable offline versions.
Swiss Halberdier  [author] 16 May, 2017 @ 2:11am 
I updated my mod to the new patch 1.6.1

- adapted several values according to the new vanilla values
- fixed several comments in the file

Enjoy STELLARIS
Swiss Halberdier
Swiss Halberdier  [author] 9 May, 2017 @ 11:13am 
@MaxRavenclaw
Great and thanks again ;-)
MaxRavenclaw 9 May, 2017 @ 10:55am 
Well, I already knew how to code, but my code wasn't working for the same reason yours wasn't. What I meant in the last comment was that I came here to see how you did it and to learn from it, but... it turned out you did the same mistake that I did, so I didn't actually learn anything. But thanks anyway, I did manage to understand what some wierd variables meant, and I did manage to help you, so it wasn't for naught ;)
Swiss Halberdier  [author] 9 May, 2017 @ 6:45am 
I updated my mod to the new patch 1.6.

- fixed some values according to the new vanilla values
- re-structurated the file for better visibility
- removed the entry SECTOR_SUPPORT_RESOURCE_AMOUNT as it's possible in vanilla to use CTRL+click that 1000 resources can be given to the sector
- added the entry DRAIN_SECTOR_RESOURCES_INFLUENCE_COST = 75 # The influence cost to drain a sector's stockpile of resources - decreased from 100 to 75

Enjoy STELLARIS
Swiss Halberdier
Swiss Halberdier  [author] 5 May, 2017 @ 1:13pm 
@MaxRavenclaw
Great that my little mod was useful for you to learn how to code and I'm grateful for your recent help. Next Tuesday comes the new patch 1.6.
MaxRavenclaw 5 May, 2017 @ 7:27am 
Glad to have been of help. I came here in the first place to see how you did it and learn from it so I considered it to be proper for me to share info back ;)
Swiss Halberdier  [author] 4 May, 2017 @ 12:52pm 
I updated the mod:

- fixed the file type and syntax of the code
- fully save game compatible

Thanks a lot to MaxRavenclaw for pointing out this issue.

Enjoy STELLARIS
Swiss Halberdier
Swiss Halberdier  [author] 4 May, 2017 @ 11:26am 
@MaxRavenclaw
Oh thanks for this info! I'll check this asap.
MaxRavenclaw 2 May, 2017 @ 12:49pm 
File needs to be a .txt now, not a .lua. That's what the problem was.

So, TL;DR: You need to change the file from .lua to .txt and change the syntax or your mod won't work.
MaxRavenclaw 2 May, 2017 @ 12:39pm 
Figured it out. They changed the syntax: https://www.reddit.com/r/StellarisMods/comments/64256o/151_hotfix_solves_defines_issues/

Although I still can't get it to work. You might want to look into this anyway and update your mod.
MaxRavenclaw 2 May, 2017 @ 12:33pm 
Has something changed in the game? Neither my mod nor yours seems to affect the amount of days needed to integrate a subject. Vanilla numbers seem to overwrite it in new games (3600) while in an older save, I get 1800 days for some reason... I'm perplexed.
Swiss Halberdier  [author] 12 Apr, 2017 @ 8:30am 
I updated my mod to the new patch 1.5.1.

- fully save game compatible

I added these new additional values.

NDefines.NGameplay.NAVY_SIZE_HABITAT_ADD = 15
-- Naval capacity added per habitat - increased from 10 to 15

NDefines.NGameplay.START_ARMIES = 8
-- This amount of defense armies will be generated on home planet - increased from 5 to 8

NDefines.NGameplay.MIN_RESOURCE_STORAGE = 150
-- Minimum amount that can always be stored of accumulative resources - increased from 100 to 150

NDefines.NGameplay.POLICY_YEARS = 5
-- Years a set policy can not be changed for - decreased from 10 to 5

NDefines.NGameplay.SPECIES_POLICY_YEARS = 5
-- Years a set species policy can not be changed for - decreased from 10 to 5

NDefines.NGameplay.MIN_RIVAL_YEARS = 5
-- Years before you can remove an empire as a rival - decreased from 10 to 5

Enjoy STELLARIS
Swiss Halberdier
Swiss Halberdier  [author] 6 Apr, 2017 @ 6:48am 
I updated the mod to the new patch and DLC.

- updated all values accordingly to the new patch and DLC
- removed the TERRAFORM_DEFAULT_DURATION_DAYS and PLANET_ARMIES_LIMIT as the system has changed in vanilla

A new campaign should be started according to the recommendation of the developers.

As always I updated the complete description of the mod content in the "Changes" discussion section.

If you downloaded my optional "My Global Changes" offline version for your personal modding, then please re-download it and use the new one.

Enjoy STELLARIS
Swiss Halberdier
Swiss Halberdier  [author] 14 Jan, 2017 @ 3:15am 
I updated the mod with some additional values.

- fully save game compatible

NDefines.NEconomy.COLONY_MONTHLY_GROWTH = 3
-- How much the colony population grows every month while colonizing the planet - increased from 2 to 3

NDefines.NGameplay.LEADER_AGE_MIN = 25
-- Minimum age of generated leaders - decreased from 28 to 25

NDefines.NGameplay.LEADER_AGE_MAX = 45
-- Maximum age of generated leaders - decreased from 50 to 45

NDefines.NGameplay.MIN_TRADE_DEAL_LENGTH_YEARS = 5
-- Minimum length of a trade deal in years - decreased from 10 to 5

NDefines.NGameplay.MAX_TRADE_DEAL_LENGTH_YEARS = 35
-- Maximum length of a trade deal in years - increased from 30 to 35

As always I updated the complete description of the mod content in the "Changes" discussion section.

If you downloaded my optional "My Global Changes" offline version for your personal modding, then please re-download it and use the new one.

Cheers and enjoy STELLARIS
Swiss Halberdier
Swiss Halberdier  [author] 21 Dec, 2016 @ 9:52pm 
@Verminator
Thanks a lot again for your very nice words about my little mod. :-) I appreciate this and great that some people like it and they have pleasure to customize it. ;-) Yes I saw that my offline version is downloaded frequently.

Here is an additional hint for customizing it. It is of course possible that you can add also other additional values which are in the vanilla file "00_defines.lua" to the bottom of your custom Global Changes mod. It is just important that the syntax writing order of the related vanilla code is like I did it in my mod.
Verminator 21 Dec, 2016 @ 11:57am 
I love this custimizable mod so much. Thanks again Swiss Halberdier for all your work on this. I hope you know that just because not many people are subscribed, doesn't mean a lot of people aren't using your mod. We're just using the offline, customizable version.
Swiss Halberdier  [author] 9 Dec, 2016 @ 2:00pm 
A new hotfix patch 1.4.1 has been released today. Global Changes is still compatible.
Swiss Halberdier  [author] 5 Dec, 2016 @ 7:15am 
I updated the mod to the new patch 1.4.

According to the official patch notes 1.3.2 saves should be compatible with 1.4, but no guarantees from the developers.

- updated all values accordingly to the new patch
- changed these existing values

NDefines.NGameplay.CORE_SECTOR_SYSTEM_CAP = 15
-- Too many systems with owned planets in core sector will apply modifier inefficient_planet_management - possible own controlled planets increased from 5 to 15

NDefines.NGameplay.SECTOR_CAP = 6
-- Too many sectors will apply modifier inefficient_sector_management - possible own controlled base sectors increased from 2 to 6

NDefines.NGameplay.SECTOR_REVOKE_SYSTEM_COST = 10
-- Influence cost for removing a system from a sector - decreased from 25 to 10 - the cost for removing the whole sector is multiplied by this value with the amount of systems

Cheers and enjoy STELLARIS
Swiss Halberdier
Swiss Halberdier  [author] 23 Nov, 2016 @ 3:31am 
NDefines.NAI.MAX_SHIPS_BUILD_PER_WEEK = 12
-- How many maximum ships the AI can build per week - increased from 10 to 12

NDefines.NAI.AI_COMMUNICATIONS_RANDOM_VALUE = 50
-- AI communications days will vary with +- these many days - decreased from 60 to 50

Cheers and enjoy STELLARIS
Swiss Halberdier
Swiss Halberdier  [author] 23 Nov, 2016 @ 3:31am 
NDefines.NGameplay.TERRAFORM_DEFAULT_DURATION_DAYS = 3400
-- Default number of days required to successfully terraform a planet - decreased from 3600 to 3400

NDefines.NEconomy.COLONY_MAINTENANCE_COST = 7
-- Base cost maintenance per month for a new colony - decreased from 8 to 7

NDefines.NEconomy.COLONY_SHIP_MAINTENANCE = 5
-- Monthly colony ship maintenance cost - decreased from 8 to 5

NDefines.NEconomy.RESETTLEMENT_COST_AMOUNTS = { 35 }
-- Resource influence cost for manual resettlement - decreased from 50 to 35

NDefines.NEconomy.SPACEPORT_UPGRADE_COSTS = { 175.0, 225.0, 275.0, 325.0, 375.0 }
-- Mineral costs for upgrading the spaceport - decreased from 200,250,300,350,400 to 175,225,275,325,375
Swiss Halberdier  [author] 23 Nov, 2016 @ 3:31am 
I updated my mod with several new values.

- fully save game compatible
- changed this existing value

NDefines.NGameplay.LEADER_BASE_CAP = 25
-- Base number of leaders which can be assigned to certain roles - increased from 10 to 25

- added these new values

NDefines.NGameplay.SUBJECT_INTEGRATION_COST_BASE = 15
-- Base cost for subject integration - decreased from 20 to 15

NDefines.NGameplay.SUBJECT_INTEGRATION_BASE_PROGRESS = 4
-- Base cost progress per month for subject integration - decreased from 5 to 4

NDefines.NGameplay.SUBJECT_INTEGRATION_COST_PER_POP = 4
-- Integration cost per pop - decreased from 5 to 4

NDefines.NGameplay.SUBJECT_INTEGRATION_COST_PER_PLANET = 40
-- Integration cost per planet - decreased from 50 to 40

NDefines.NGameplay.INTEGRATE_SUBJECT_MIN_DAYS = 3000
-- Amount of days the subject has been a subject before we can integrate it - decreased from 3600 to 3000
Swiss Halberdier  [author] 19 Nov, 2016 @ 1:54pm 
@Verminator
Thanks a lot for your very nice words about my little mod. :-) I appreciate this and great that you like it. Yes as there are many changed values which a player probably wants to change, I created a tutorial and a customizable offline version. That all players can enjoy their own version of "Global Changes". :-)
Verminator 19 Nov, 2016 @ 1:45pm 
Can't believe how many mods I was able to get rid of because this mod had all of their functionality in it. A Swiss Army knife of mods, and user customizable. YOU NEED THIS.

Kudos, Swiss Halberdier.
Verminator 19 Nov, 2016 @ 1:11pm 
I hadn't even read what the mod did, when I was sold by the second sentence. "I created a special offline version and a tutorial which you can use to customize this mod." Right there, you know you are going to want this one.

Now, how cool is that? You can learn something, and get a customizable mod......what a concept. I wish more people did this, it's awesome. Thanks Swiss Halberdier. Great mod, and the ultimate in presentation.
Swiss Halberdier  [author] 10 Nov, 2016 @ 5:03pm 
I updated the mod to the new patch 1.3.2 and it is fully save game compatible.

Cheers and enjoy STELLARIS
Swiss Halberdier
Swiss Halberdier  [author] 27 Oct, 2016 @ 8:09am 
- updated the mod to the new patch 1.3.1 and it is fully save game compatible

Cheers and enjoy STELLARIS
Swiss Halberdier
Swiss Halberdier  [author] 22 Oct, 2016 @ 4:06am 
As always I updated the complete description of the mod content in the "Changes" discussion section.

If you downloaded my optional "My Global Changes" offline version for your personal modding, then please re-download it and use the new one.

Cheers and enjoy STELLARIS
Swiss Halberdier
Swiss Halberdier  [author] 22 Oct, 2016 @ 4:03am 
- added these new values

MAX_ARMY_MAINTENANCE
-- AI will not spend more than this amount on assault armies - increased from 20 to 30 - with this change the AI can build more assault armies

STATION_SELF_REPAIR_RATE
-- How fast stations self-repair (% of max health each day) - increased from 0.01 to 0.02

BUILDING_REPARATION_TIME_RATE
-- Amount of time required to repair ruined buildings - decreased from 0.25 to 0.2

BUILDING_REPARATION_COST_RATE
-- Amount of resources required to repair ruined buildings - decreased from 0.25 to 0.2
Swiss Halberdier  [author] 22 Oct, 2016 @ 4:03am 
- added these new values

LEADER_HIRING_COST
-- Influence cost for hiring a leader - decreased from 50 to 40

ELECTION_COST
-- Base cost of electing a candidate - decreased from 200 to 180

DEMOCRATIC_ELECTION_COST
-- Base cost of supporting a candidate in a democratic election - decreased from 50 to 35

MIGRATION_SPEED
-- Monthly migration speed of pops. The pop will be moved when it has reached a migration progress of 1 - increased from 0.05 to 0.08

NAVY_SIZE_SPACEPORT_LEVEL
-- Naval Capacity per spaceport level - increased from 2,4,6,9,12,15 to 3,5,7,10,15,20 - with this change you can build more ships per spaceport

MAX_BOMBARD_FLEET_SIZE
-- Fleet size over this won't be counted for how fast planetary defenses are bombed down - increased from 200 to 250