Ah, then I didn't understand that section of the wiki fully. I'm probably having a hard time following the load order explanation so I'll try listing out specific questions.
1. 'First In, Only Serve' means first item in the launcher mod list?
2. Error Key doesn't impact how the files are read?
3. Is the "Breaks auto-generated modifiers" notes, such as in buildings, what indicates if a file can be partially overwritten?
4. Is there an indicator indicating if a file needs asciibetical ordering?
Thanks!
1. First in, only serve, means that if you want to overwrite a portion of a file rather than whole thing, you need to name your new file something that comes BEFORE the vanilla file name (and the names of any similar overwrites in other mods) asciibetically. For instance, if I want to overwrite the Grand Admiral difficulty static modifier, but not the whole 00_static_modifiers file, I could do it by making a new text file containing this text:
Code:
difficulty_grand_admiral = { #Multiplying Vanilla values by 1.5
stations_produces_mult = 1.5
planet_jobs_produces_mult = 1.5
country_naval_cap_mult = 0.9
starbase_shipyard_build_cost_mult = -0.35 #Except this so DS don't get free ships!
planet_stability_add = 30
ships_upkeep_mult = -0.4 #Except this to avoid upkeep-free nonsense; 1x only
#Adding a 100% boost to research, admin cap, and unity on top of that, because why not!
all_technology_research_speed = 1
country_unity_produces_mult = 1
country_admin_cap_mult = 1
country_claim_influence_cost_mult = -0.3 #Because the AI can't use total war
#AI can't redevelop districts, so housing is probably a fair bonus
pop_housing_usage_mult = -0.3
country_alloys_produces_mult = 0.25 #To compensate for nerfing the ship cost reduction
}
Named something like "!!beastmode_grand_admiral.txt" because !! comes before 00_static_modifiers asciibetically.
Last in, only, serve, means the same thing, except you would name the file something that comes after the vanilla file name. For instance, if I wanted to overwrite the "Greater than Ourselves" edict without overwriting the whole file, I could do something like this:
Code:
greater_than_ourselves = {
length = -1
icon = "GFX_edict_type_policy"
edict_cap_usage = 0
resources = {
category = edicts
cost = { #Activation Cost
trigger = {
NOT = { has_edict = greater_than_ourselves }
}
influence = 0
}
cost = { #Deactivation Cost
trigger = {
has_edict = greater_than_ourselves
}
influence = 0
}
}
modifier = {
}
ai_weight = {
weight = 19999
}
}
And call it something like "freegtos.txt" because freegtos comes after 00_edicts asciibetically.
Load order only matter when the files have the same names, which typically only occurs when overwriting entire vanilla files (such as jobs files, which can't be overwritten individually).
2. The Error log messages have no inherent effect on gameplay. It will just print an error message in error.log in the logs folder, but this will not have any effect game-wise. It can make finding actual errors in the log more difficult if you come across modding issues you want to fix, but in and of itself it is not a problem.
3. No. Anything with an entry (other than "no," and the Pop Jobs folder specifically, which can't be overwritten individually despite what the wiki says) in the "overwrite type" column can be overwritten individually (except-sort-of-dupl, which will create a new version of the same thing). "Breaks auto-generated modifiers" just means that if you change the entry, it won't necessarily be reflected in the UI in game (but it will still take effect). For instance, if I mod research labs to only have 1 researcher instead of two, it might still display a base output of +8 of each research and a base upkeep of 4 consumer goods on the card, even though it's really half that (and if I build the research lab, it will only have 1 job).
4. The LIOS/FIOS tells you. LIOS: asciibetically AFTER the vanilla file that contains the element you're overwriting. FIOS: asciibetically BEFORE the vanilla file containing the element you're overwriting. If you can't overwrite individual elements, you need to overwrite the entire file.