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.
You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
Can I use a civic to block certain authority or block change of authority? (For example, in my case, you pick the civic at the start, you stuck with dictatorial)
I believe conditions for authorities are in authority files and I don't want to overwrite.
How do you identify a species within your country (not main species), for the sake of say, a trigger, without being able to save them as an event target or without them having a unique trait?
But I have a feeling that empires created mid-game also call this at some point because they also need starting technologies added. It's a guess though.
eta: This would not be the case for nations split off from existing ones though, I'm more thinking primitives that become FTL-capable.
How do you identify a species within your country (not main species), for the sake of say, a trigger, without being able to save them as an event target or without them having a unique trait?
Hm, I was thinking about it in terms of a "soft block," in that the player would not want to implement a different authority and lose the effect of a civic they can't replace. But what if, for example, ethos shift makes an empire Egalitarian? Yeah, the authority would have to change in that case.
Hm, I was thinking about it in terms of a "soft block," in that the player would not want to implement a different authority and lose the effect of a civic they can't replace. But what if, for example, ethos shift makes an empire Egalitarian? Yeah, the authority would have to change in that case.
I never really experienced ethic shift on this axis, does it authomatically push towards acceptable?
I was thinking about maybe making my own take on more civic mods and make a civic where your country is ruled by an immortal robot. This is not soft cap friendly.
Is it conceivable that some sort of 'decadence' mechanic could be added? I'd love to see some kind of endless turnover where the fallen empires would really just be regular empires with literally thousands of years of ingame history... like Dwarf Fortress in space.
This is a messy one. I have been trying to change the wordings of some traditions (renaming descriptions and the name of some of the individual traditions in the different trees). Feels standard, should be easy (hint: not).
Start of with an simple question which I think is related: What is the number between the : and the " in the localisation entries (usually a 0). Example in:
tr_domination_fleet_levies:0 "Fleet Levies"
(I have been trying to play around with these numbers, but to no effect. I have not found what they do, but there have to be something?)
So basically, I copied the "traditions_l_english.yml", pasted it into my mod and opened it in notepad++. I then changed the text within " " of a few entries. Some changes passed, some didn't. Strange. Now starts the de-bugging. I didn't get hold of the problem but have some results.
Step 1: Change all entries to BlaBla:
Code:
tradition_expansion:2 "BlaBla"
#tradition_expansion_desc: "We must spread our civilization to new systems and planets if we are to survive. As other empires emerge on the galactic scene, competition will be fierce. The faster we can establish new colonies, the better."
tradition_expansion_desc:2 "BlaBla"
tr_expansion_adopt:2 "BlaBla"
tr_expansion_adopt_desc:2 "BlaBla"
tr_expansion_adopt_effect:2 "BlaBla"
tr_expansion_colonization_fever:2 "BlaBla"
tr_expansion_colonization_fever_desc:2 "BlaBla"
tr_expansion_colonization_fever_delayed:2 "BlaBla"
tr_expansion_a_new_life_desc:2 "BlaBla"
tr_expansion_a_new_life_delayed:2 "BlaBla"
#tr_expansion_standardized_colony_ships: "Standardized Colony Ships"
#tr_expansion_standardized_colony_ships_desc: "Immediately give you a free §Y$colonizer$§!. In addition, §Y$shipsize_colonizer_construction_speed_mult$§! is increased by §G+100%§!."
#tr_expansion_standardized_colony_ships_delayed: "Simplified designs and less expensive materials allow us to mass-produce colony ships on a hitherto unseen scale. Our colonists may not enjoy as many creature comforts during transport to their new homes, but these ships will still get them where they're going."
tr_expansion_courier_network:2 "BlaBla"
tr_expansion_courier_network_desc:2 "BlaBla"
tr_expansion_courier_network_delayed:2 "BlaBla"
tr_expansion_reach_for_the_stars:2 "BlaBla"
tr_expansion_reach_for_the_stars_desc:2 "BlaBla"
tr_expansion_reach_for_the_stars_delayed:2 "BlaBla"
tr_expansion_galactic_ambition:2 "BlaBla"
tr_expansion_galactic_ambition_desc:2 "BlaBla"
tr_expansion_galactic_ambition_delayed:2 "BlaBla"
tr_expansion_finish:2 "BlaBla"
tr_expansion_finish_effect:2 "BlaBla"
Some entries were changed to "BlaBla", most didn't.
Second Step: Add AAAAAAA at the start of every entry:
Code:
tradition_expansion:0 "AAAAAAAExpansion"
#tradition_expansion_desc: "We must spread our civilization to new systems and planets if we are to survive. As other empires emerge on the galactic scene, competition will be fierce. The faster we can establish new colonies, the better."
tradition_expansion_desc:0 "AAAAAAAWe must expand our civilization to new systems and planets or risk eventual extinction."
tr_expansion_adopt:0 "AAAAAAAExpansion Traditions"
tr_expansion_adopt_desc:0 "AAAAAAA$tradition_expansion_desc$\n\n$tr_expansion_adopt_effect$\n\n$tr_expansion_finish_effect$"
tr_expansion_adopt_effect:0 "AAAAAAA§E$TRADITIONS_ADOPT$:§!\nNew colonies start with §Y1§! additional £pops Pop."
tr_expansion_colonization_fever:0 "AAAAAAAColonization Fever"
tr_expansion_colonization_fever_desc:0 "AAAAAAA§YCapital buildings§! now produce §Y1§! additional £unity Unity."
tr_expansion_colonization_fever_delayed:0 "AAAAAAAColonization fever seems to have gripped the populace. Their enthusiasm and patriotic fervor grows for every new world claimed by our colonists."
tr_expansion_a_new_life:0 "AAAAAAAA New Life"
tr_expansion_a_new_life_desc:1 "AAAAAAA£pops Pop §Y$MOD_POP_GROWTH_SPEED$§! increased by §G+10%§! and §Y$MOD_PLANET_COLONY_DEVELOPMENT_SPEED_MULT$§! increased by §G+50%§!."
tr_expansion_a_new_life_delayed:0 "AAAAAAAA new life awaits our citizens in the off-world colonies. A chance to begin again in a golden land of opportunity and adventure! With the help of an aggressive marketing campaign, the less fortunate elements of our society will be flocking to our colony ships."
#tr_expansion_standardized_colony_ships: "Standardized Colony Ships"
#tr_expansion_standardized_colony_ships_desc: "Immediately give you a free §Y$colonizer$§!. In addition, §Y$shipsize_colonizer_construction_speed_mult$§! is increased by §G+100%§!."
#tr_expansion_standardized_colony_ships_delayed: "Simplified designs and less expensive materials allow us to mass-produce colony ships on a hitherto unseen scale. Our colonists may not enjoy as many creature comforts during transport to their new homes, but these ships will still get them where they're going."
tr_expansion_courier_network:0 "AAAAAAACourier Network"
tr_expansion_courier_network_desc:0 "AAAAAAAThe effect on increased §Y$TRADITION_COST$§! caused by number of colonies is reduced by §G-33%§!."
tr_expansion_courier_network_delayed:0 "AAAAAAAA network of small courier vessels is a reliable alternative for transporting VIPs or delivering messages that can't be trusted to FTL communications. This will tie our far-flung colonies more closely together."
tr_expansion_reach_for_the_stars:0 "AAAAAAAReach for the Stars"
tr_expansion_reach_for_the_stars_desc:0 "AAAAAAAFor the purpose of colonizing and building §YFrontier Outposts§!, systems count as being half the regular distance away."
tr_expansion_reach_for_the_stars_delayed:0 "AAAAAAAThe frontiers of our star nation are being pushed ever forwards. Soon, nothing in this galaxy will lie beyond our grasp..."
tr_expansion_galactic_ambition:0 "AAAAAAAGalactic Ambition"
tr_expansion_galactic_ambition_desc:1 "AAAAAAA§Y$shipsize_outpost_station_upkeep_mult$§! reduced by §G-50%§!."
tr_expansion_galactic_ambition_delayed:0 "AAAAAAAThe banner of our great empire will one day be as common as hydrogen throughout the galaxy."
tr_expansion_finish:0 "AAAAAAAExpansion Traditions Finished"
tr_expansion_finish_effect:0 "AAAAAAA§E$TRADITIONS_FINISH$:§!\nAdopting all $tr_expansion_adopt$ increases our §Y$MOD_COUNTRY_CORE_SECTOR_SYSTEM_CAP$§! by §Y2§!."
About half the entries get "AAAAAAA" in the beginning.
Third Step: Add ZZZZZZZ at the beginning of all entries:
Code:
tradition_expansion:0 "ZZZZZZZExpansion"
#tradition_expansion_desc: "We must spread our civilization to new systems and planets if we are to survive. As other empires emerge on the galactic scene, competition will be fierce. The faster we can establish new colonies, the better."
tradition_expansion_desc:0 "ZZZZZZZWe must expand our civilization to new systems and planets or risk eventual extinction."
tr_expansion_adopt:0 "ZZZZZZZExpansion Traditions"
tr_expansion_adopt_desc:0 "ZZZZZZZ$tradition_expansion_desc$\n\n$tr_expansion_adopt_effect$\n\n$tr_expansion_finish_effect$"
tr_expansion_adopt_effect:0 "ZZZZZZZ§E$TRADITIONS_ADOPT$:§!\nNew colonies start with §Y1§! additional £pops Pop."
tr_expansion_colonization_fever:0 "ZZZZZZZColonization Fever"
tr_expansion_colonization_fever_desc:0 "ZZZZZZZ§YCapital buildings§! now produce §Y1§! additional £unity Unity."
tr_expansion_colonization_fever_delayed:0 "ZZZZZZZColonization fever seems to have gripped the populace. Their enthusiasm and patriotic fervor grows for every new world claimed by our colonists."
tr_expansion_a_new_life:0 "ZZZZZZZA New Life"
tr_expansion_a_new_life_desc:1 "ZZZZZZZ£pops Pop §Y$MOD_POP_GROWTH_SPEED$§! increased by §G+10%§! and §Y$MOD_PLANET_COLONY_DEVELOPMENT_SPEED_MULT$§! increased by §G+50%§!."
tr_expansion_a_new_life_delayed:0 "ZZZZZZZA new life awaits our citizens in the off-world colonies. A chance to begin again in a golden land of opportunity and adventure! With the help of an aggressive marketing campaign, the less fortunate elements of our society will be flocking to our colony ships."
#tr_expansion_standardized_colony_ships: "Standardized Colony Ships"
#tr_expansion_standardized_colony_ships_desc: "Immediately give you a free §Y$colonizer$§!. In addition, §Y$shipsize_colonizer_construction_speed_mult$§! is increased by §G+100%§!."
#tr_expansion_standardized_colony_ships_delayed: "Simplified designs and less expensive materials allow us to mass-produce colony ships on a hitherto unseen scale. Our colonists may not enjoy as many creature comforts during transport to their new homes, but these ships will still get them where they're going."
tr_expansion_courier_network:0 "ZZZZZZZCourier Network"
tr_expansion_courier_network_desc:0 "ZZZZZZZThe effect on increased §Y$TRADITION_COST$§! caused by number of colonies is reduced by §G-33%§!."
tr_expansion_courier_network_delayed:0 "ZZZZZZZA network of small courier vessels is a reliable alternative for transporting VIPs or delivering messages that can't be trusted to FTL communications. This will tie our far-flung colonies more closely together."
tr_expansion_reach_for_the_stars:0 "ZZZZZZZReach for the Stars"
tr_expansion_reach_for_the_stars_desc:0 "ZZZZZZZFor the purpose of colonizing and building §YFrontier Outposts§!, systems count as being half the regular distance away."
tr_expansion_reach_for_the_stars_delayed:0 "ZZZZZZZThe frontiers of our star nation are being pushed ever forwards. Soon, nothing in this galaxy will lie beyond our grasp..."
tr_expansion_galactic_ambition:0 "ZZZZZZZGalactic Ambition"
tr_expansion_galactic_ambition_desc:1 "ZZZZZZZ§Y$shipsize_outpost_station_upkeep_mult$§! reduced by §G-50%§!."
tr_expansion_galactic_ambition_delayed:0 "ZZZZZZZThe banner of our great empire will one day be as common as hydrogen throughout the galaxy."
tr_expansion_finish:0 "ZZZZZZZExpansion Traditions Finished"
tr_expansion_finish_effect:0 "ZZZZZZZ§E$TRADITIONS_FINISH$:§!\nAdopting all $tr_expansion_adopt$ increases our §Y$MOD_COUNTRY_CORE_SECTOR_SYSTEM_CAP$§! by §Y2§!."
This have no effect what so ever.
Fourth Step: Add 000 At the start of every Entry.
Code:
tradition_expansion:0 "000Expansion"
#tradition_expansion_desc: "We must spread our civilization to new systems and planets if we are to survive. As other empires emerge on the galactic scene, competition will be fierce. The faster we can establish new colonies, the better."
tradition_expansion_desc:0 "000We must expand our civilization to new systems and planets or risk eventual extinction."
tr_expansion_adopt:0 "000Expansion Traditions"
tr_expansion_adopt_desc:0 "000$tradition_expansion_desc$\n\n$tr_expansion_adopt_effect$\n\n$tr_expansion_finish_effect$"
tr_expansion_adopt_effect:0 "000§E$TRADITIONS_ADOPT$:§!\nNew colonies start with §Y1§! additional £pops Pop."
tr_expansion_colonization_fever:0 "000Colonization Fever"
tr_expansion_colonization_fever_desc:0 "000§YCapital buildings§! now produce §Y1§! additional £unity Unity."
tr_expansion_colonization_fever_delayed:0 "000Colonization fever seems to have gripped the populace. Their enthusiasm and patriotic fervor grows for every new world claimed by our colonists."
tr_expansion_a_new_life:0 "000A New Life"
tr_expansion_a_new_life_desc:1 "000£pops Pop §Y$MOD_POP_GROWTH_SPEED$§! increased by §G+10%§! and §Y$MOD_PLANET_COLONY_DEVELOPMENT_SPEED_MULT$§! increased by §G+50%§!."
tr_expansion_a_new_life_delayed:0 "000A new life awaits our citizens in the off-world colonies. A chance to begin again in a golden land of opportunity and adventure! With the help of an aggressive marketing campaign, the less fortunate elements of our society will be flocking to our colony ships."
#tr_expansion_standardized_colony_ships: "Standardized Colony Ships"
#tr_expansion_standardized_colony_ships_desc: "Immediately give you a free §Y$colonizer$§!. In addition, §Y$shipsize_colonizer_construction_speed_mult$§! is increased by §G+100%§!."
#tr_expansion_standardized_colony_ships_delayed: "Simplified designs and less expensive materials allow us to mass-produce colony ships on a hitherto unseen scale. Our colonists may not enjoy as many creature comforts during transport to their new homes, but these ships will still get them where they're going."
tr_expansion_courier_network:0 "000Courier Network"
tr_expansion_courier_network_desc:0 "000The effect on increased §Y$TRADITION_COST$§! caused by number of colonies is reduced by §G-33%§!."
tr_expansion_courier_network_delayed:0 "000A network of small courier vessels is a reliable alternative for transporting VIPs or delivering messages that can't be trusted to FTL communications. This will tie our far-flung colonies more closely together."
tr_expansion_reach_for_the_stars:0 "000Reach for the Stars"
tr_expansion_reach_for_the_stars_desc:0 "000For the purpose of colonizing and building §YFrontier Outposts§!, systems count as being half the regular distance away."
tr_expansion_reach_for_the_stars_delayed:0 "000The frontiers of our star nation are being pushed ever forwards. Soon, nothing in this galaxy will lie beyond our grasp..."
tr_expansion_galactic_ambition:0 "000Galactic Ambition"
tr_expansion_galactic_ambition_desc:1 "000§Y$shipsize_outpost_station_upkeep_mult$§! reduced by §G-50%§!."
tr_expansion_galactic_ambition_delayed:0 "000The banner of our great empire will one day be as common as hydrogen throughout the galaxy."
tr_expansion_finish:0 "000Expansion Traditions Finished"
tr_expansion_finish_effect:0 "000§E$TRADITIONS_FINISH$:§!\nAdopting all $tr_expansion_adopt$ increases our §Y$MOD_COUNTRY_CORE_SECTOR_SYSTEM_CAP$§! by §Y2§!."
Most entries start of with 000, but a few of the _desc does not.
I've also tried various namings of the file. Keeping the original name, adding zzz_ in the beginning, adding 000_ in the beginning.
At this stage I have no idea what is happening. I still can't change everything, and it is not like I want my entries to start with "000" either. It feels like this should be a simle(ish) thing to do, but now it feels just messed up. I've tried to change the numbers in the middle (between : and ", usually a 0), but they seem to have no effect. I've tried both all -1, all 2 and all 100.
Is there a way to make random_list dynamic?
For example, there's a mechanic I want to implement - annexation of primitives without actual land invasion via special project for which a fleet enters orbit and intimidates primitives into submission. I want it to work differently (and randomly) depending on how developed are primitives in comparison with fleet power. Is there a way to put some kind of variable instead of a number or block an option with limit or trigger?
For now the only idea I have is quite dangerous in terms of potential fall into infinite loop.
I think the answer is no. That's why vanilla initializer basic_init_04 define asteroids first, then move orbit back to define random planets inside the asteroid belt.
planet_event = {
id = colony.242
hide_window = yes
is_triggered_only = yes
fire_only_once = yes
immediate = {
planet_event = { id = colony.243 days = 30 }
}
}
As far as I understand, that should trigger the event on the first colonisation attempt of any planet. However, that doesn't seem to be happening. Is there some problem with on_action?