Divine

Programmer
Super Moderator
33 Badges
Dec 26, 2005
565
929
  • Semper Fi
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • Magicka
  • March of the Eagles
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • For the Motherland
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Magicka: Wizard Wars Founder Wizard
  • Magicka 2 - Signup Campaign
  • Stellaris Sign-up
  • Crusader Kings II
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Diplomacy
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
This thread is meant to keep you updated on what modding features the Usermod Coordinators (currently myself and @Captain Gars). We will regularly post here on what we implement to the game. Feel free to comment or ask questions about the things that we have implemented in this thread. However this is NOT the thread for making suggestions for modding features or reporting bugs there are other threads for that purpose already.

FAQ:
Q:
When will we get these features that you post about?
A: In an upcoming patch. We don't really have too much to say about when our stuff will hit the live versions but if we deem them important or game-breaking for mods we are probably already pushing for releasing our fixes.
 
  • 12
  • 1
Reactions:

Axelius

Scriptkid
83 Badges
Sep 23, 2003
581
536
  • War of the Roses
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Sengoku
  • Sword of the Stars
  • Teleglitch: Die More Edition
  • The Showdown Effect
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Warlock: Master of the Arcane
  • March of the Eagles
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Magicka: Wizard Wars Founder Wizard
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Necroids
  • Divine Wind
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Dungeonland
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Crusader Kings II
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • Leviathan: Warships
So what is the gameplan for the upcoming patch?
 

Divine

Programmer
Super Moderator
33 Badges
Dec 26, 2005
565
929
  • Semper Fi
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • Magicka
  • March of the Eagles
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • For the Motherland
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Magicka: Wizard Wars Founder Wizard
  • Magicka 2 - Signup Campaign
  • Stellaris Sign-up
  • Crusader Kings II
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Diplomacy
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
There are some fixes in it that will not be posted here but should be available in the changelog for the patch. But from now on we will try to keep this thread updated with most of the relevant modding additions.

Updates:
- Added num_energy trigger.
- Reading a single on_action entry from multiple files will now append the events to the list entry rather than overwriting it. This should allow more mods to be compatible.
- Prescripted countries can now set the attribute "disallow_editing = yes" to disable the edit button in the Empire selection view before game start.
 
  • 9
Reactions:

Divine

Programmer
Super Moderator
33 Badges
Dec 26, 2005
565
929
  • Semper Fi
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • Magicka
  • March of the Eagles
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • For the Motherland
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Magicka: Wizard Wars Founder Wizard
  • Magicka 2 - Signup Campaign
  • Stellaris Sign-up
  • Crusader Kings II
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Diplomacy
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
Will you be adding the dummydefines.lua to the game like in ck2? I think it would make modding the defines a lot clearer to noobs and i believe Captain Gars had commented on the idea.
We've added a header comment in the 00_defines.lua explaining how to go about when modding define values.

If you want to replace a specific on_action, how can you do that after this change?
You have two options. The straight-forward version is to replace the 00_on_actions.txt with your own on_actions file (either by using the same name or by using replace_path in the .mod file). This will however require you to keep your own on_actions file with all the relevant on_action entries that you want to keep alive and will likely make your mod incompatible with other mods that are replacing the on_actions file.

The other way would be to instead replace the event files that keep the events that are fired from the on_action entry you would like to avoid. If you remake these events to hide_window events with either an empty immediate or option they are basically null events that will have no effect. If they have a place in the random events list then also make sure to put a modifier on the events weight_modifier with an always = yes trigger and factor = 0.

It will still be a bit messy to replace things in the on_actions file but at least it's easier to append things now. I hope this will help some modding efforts.
 
  • 4
Reactions:

Maksim17

Sergeant
14 Badges
Aug 14, 2010
95
239
  • Crusader Kings II
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Victoria: Revolutions
  • Rome Gold
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Victoria 2
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: Common Sense
  • Stellaris
On appending items to random_events in on_actions:

I would like to add some random colony events but I would like to keep the overall frequency the same. At the moment, in on_colony_1_year_old, the first line of random_events is "300 = 0", and the total weight of other events in core is around 25, leading to 10% event chance.

Let's say I now add another 25 total weight of new events, leading to roughly 50 event weight total in the modded version. Would I be able to add another "300 = 0" line in the modded on_colony_1_year_old.random_events, so that the total weight of "no event" is 600, and thus the original ratio of 10% is preserved?

Thanks!
 

IG11

Second Lieutenant
51 Badges
Oct 24, 2013
133
238
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Third Rome
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Pre-order
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Victoria 2
  • Europa Universalis IV
  • Crusader Kings II: Jade Dragon
Where would be the best place to request new effects/triggers or just more modding abilities in general?

Some effects I would love to see:
get_species_name =
set_species_name =
change_founder_species = (change_dominant_species seems to do nothing/be broken)

And the ability to set weights on species_classes being chosen by ai (rather than just randomized = yes/no)

Got plenty more, but I don't want to spam the thread if this isn't the place for it.
 

Divine

Programmer
Super Moderator
33 Badges
Dec 26, 2005
565
929
  • Semper Fi
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • Magicka
  • March of the Eagles
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • For the Motherland
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Magicka: Wizard Wars Founder Wizard
  • Magicka 2 - Signup Campaign
  • Stellaris Sign-up
  • Crusader Kings II
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Diplomacy
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
On appending items to random_events in on_actions:

I would like to add some random colony events but I would like to keep the overall frequency the same. At the moment, in on_colony_1_year_old, the first line of random_events is "300 = 0", and the total weight of other events in core is around 25, leading to 10% event chance.

Let's say I now add another 25 total weight of new events, leading to roughly 50 event weight total in the modded version. Would I be able to add another "300 = 0" line in the modded on_colony_1_year_old.random_events, so that the total weight of "no event" is 600, and thus the original ratio of 10% is preserved?

Thanks!
Yes, from reading the code I think it should be possible to have multiple empty entries (actually it also seems possible to have multiple entries with the same event-ids).

Where would be the best place to request new effects/triggers or just more modding abilities in general?

Some effects I would love to see:
get_species_name =
set_species_name =
change_founder_species = (change_dominant_species seems to do nothing/be broken)

And the ability to set weights on species_classes being chosen by ai (rather than just randomized = yes/no)

Got plenty more, but I don't want to spam the thread if this isn't the place for it.
https://forum.paradoxplaza.com/forum/index.php?threads/modding-suggestions.928316/
This thread is supposed to be dedicated to modding improvement suggestions.
 
  • 1
Reactions:

hinkledolph

Fungoid Infected Mammalian
64 Badges
Feb 23, 2012
96
76
  • Stellaris: Synthetic Dawn
  • Heir to the Throne
  • King Arthur II
  • Magicka
  • Europa Universalis IV: Res Publica
  • Sword of the Stars
  • Crusader Kings II
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Pre-order
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Europa Universalis IV: Wealth of Nations
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Hearts of Iron IV: Cadet
  • BATTLETECH
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris: Ancient Relics
  • Steel Division: Normandy 44
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris Sign-up
  • Stellaris: Galaxy Edition
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • 500k Club
My question has to do with Name Lists. We can see the official name lists, and by digging through the army name files I found titan armies could be named, while the planet classes showed pc_nuked, and pc_gaia which weren't on the name lists.

Would it be possible to get an official list of rules, and list of things that can be named?
 

Kyojin

Sergeant
27 Badges
Jun 27, 2012
82
36
  • Victoria 2: Heart of Darkness
  • Stellaris: Synthetic Dawn
  • Pillars of Eternity
  • Victoria 2: A House Divided
  • Crusader Kings II
  • Europa Universalis IV: Res Publica
  • Magicka
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Prison Architect
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Cities: Skylines - Parklife
  • Cities: Skylines - Parklife Pre-Order
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris Sign-up
  • Stellaris
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Victoria 2
Was something changed with the country_types in 1.1.0? A country I created before the patch perfectly fine is now getting some error about colonies even though it is set to not need colonies and its hostile even with is_hostile = no set.
 

biship

Sergeant
99 Badges
Jul 5, 2012
52
16
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Pre-order
  • Warlock 2: Wrath of the Nagas
  • Warlock 2: The Exiled
  • Stellaris
  • Sword of the Stars II
  • Sword of the Stars
  • Europa Universalis IV: Res Publica
  • Majesty 2
  • Magicka
  • Europa Universalis IV: Cossacks
  • Heir to the Throne
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Cities in Motion 2
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II
  • Knights of Pen and Paper 2
  • Stellaris: Necroids
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Cities: Skylines - After Dark
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Magicka: Wizard Wars Founder Wizard
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Warlock: Master of the Arcane
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV
Any chance of giving users a way to order mods?
Current issues:
  • FIles with the same name in multiple mods - only the file in the mod highest in the alphabet loads. This means older steam mods (which have a lower number) take precedence.
  • Files with different name in multiple mods - the file lowest in the alphabet loads. (zz_* > aa_*)
  • If the file is alphabetically higher than "00_" then it loads before the default game files (you can see the problems with that)
Most of these problems are documented here:
https://forum.paradoxplaza.com/foru...-problems-with-mods-solution-proposed.934510/

I'd also like to mention it would be lovely if there were more variables in the UI files.
ie: At the top of each UI file:
@containersize = 660
And then reference @containersize & use it for sub-containers/scroll bars etc

ie: customize_species_editors.gui
Code:
@containersize = 660

containerWindowType = {
        name = "species_portrait_editor"
        moveable = @movable_editors
        position = { x = -400 y = -10 }
        size = { width = 1030 height = @containersize }
}
        smoothListboxType = {
            name = "categories"
            position = { x = 12 y = 50 }
            size = { x = 150 y = { @containersize -95} } #instead of a fixed number
}
(code simplified)
Oh I didn't see the suggest thread. I also put the UI variable suggestion over there.
 

Kyojin

Sergeant
27 Badges
Jun 27, 2012
82
36
  • Victoria 2: Heart of Darkness
  • Stellaris: Synthetic Dawn
  • Pillars of Eternity
  • Victoria 2: A House Divided
  • Crusader Kings II
  • Europa Universalis IV: Res Publica
  • Magicka
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Prison Architect
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Cities: Skylines - Parklife
  • Cities: Skylines - Parklife Pre-Order
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris Sign-up
  • Stellaris
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Victoria 2
Was something changed with the country_types in 1.1.0? A country I created before the patch perfectly fine is now getting some error about colonies even though it is set to not need colonies and its hostile even with is_hostile = no set.

After some testing it seems something was changed, I have reported it as a bug.
 

Divine

Programmer
Super Moderator
33 Badges
Dec 26, 2005
565
929
  • Semper Fi
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • Magicka
  • March of the Eagles
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • For the Motherland
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Magicka: Wizard Wars Founder Wizard
  • Magicka 2 - Signup Campaign
  • Stellaris Sign-up
  • Crusader Kings II
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Diplomacy
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
- The Ruler entry in pre-scripted countries now allow ruler traits to be defined.
- change_dominant_species now allows last_created as argument.
- create_new_species effect now allows a namelist entry. Valid right-hand-side arguments for namelists are random which picks a random namelist, random_class which picks a random namelist but limits it to the same class (namelists must be named <tag># to be considered as a member of that classtag), a tag for a namelist or a scope of country/pop/species/leader-type.
 
Last edited:

IG11

Second Lieutenant
51 Badges
Oct 24, 2013
133
238
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Third Rome
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Pre-order
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Victoria 2
  • Europa Universalis IV
  • Crusader Kings II: Jade Dragon
- change_dominant_species now allows last_created_species as argument.
That already works? I'm using the line:
Code:
change_dominant_species = last_created_species
And it works perfectly already. Did you mean something else?

And can these changes be expected when 1.1 comes out or are we looking at 1.2?
 

Duuk

Reformed Badboy
23 Badges
Oct 16, 2001
6.137
1.400
  • Majesty 2
  • Europa Universalis III: Collection
  • Crusader Kings II: Holy Knight (pre-order)
  • Cities: Skylines
  • 500k Club
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria 2
  • Rome Gold
  • Victoria: Revolutions
  • Europa Universalis III Complete
  • Majesty 2 Collection
  • Hearts of Iron Anthology
  • Europa Universalis III Complete
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III
  • Deus Vult
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II
Does max_influence exist as a modifier, or can it be added?
 

Divine

Programmer
Super Moderator
33 Badges
Dec 26, 2005
565
929
  • Semper Fi
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • Magicka
  • March of the Eagles
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • For the Motherland
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Magicka: Wizard Wars Founder Wizard
  • Magicka 2 - Signup Campaign
  • Stellaris Sign-up
  • Crusader Kings II
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Diplomacy
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
That already works? I'm using the line:
Code:
change_dominant_species = last_created_species
And it works perfectly already. Did you mean something else?

And can these changes be expected when 1.1 comes out or are we looking at 1.2?
Oh, you learn something new every day. I actually meant that last_created should now be a valid argument. Another modder pointed out that last_created worked in some other effects but not this one. So at least now it's consistently overdone with other effects.

About the relevant patch for our changes it's not in our power and we don't know either unless we're pushing a fix for specific problems that would be total showstoppers for modders. So it's just to keep an eye on the changelogs.

Does max_influence exist as a modifier, or can it be added?
max_influence exists as a modifier and should work in the same way as max_energy or max_minerals. Trying to keep things tidy in this thread however I would prefer if these questions are asked in the quick questions thread and if it's a non-existent mod functionality that you would request then post in the suggestions thread. This thread is meant to give the possibility to comment or ask questions about the implemented changes.
 
Last edited:

Aexrael

First Lieutenant
53 Badges
Nov 12, 2010
276
376
  • Steel Division: Normand 44 - Second Wave
  • Age of Wonders III
  • Stellaris: Synthetic Dawn
  • Cities: Skylines Industries
  • Cities: Skylines - Green Cities
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Surviving Mars: Digital Deluxe Edition
  • Steel Division: Normandy 44 -  Back to Hell
  • Cities: Skylines - Parklife
  • Shadowrun Returns
  • Stellaris: Necroids
  • Surviving Mars: First Colony Edition
  • Crusader Kings III: Royal Edition
  • Stellaris: Megacorp
  • Surviving Mars: First Colony Edition
  • Stellaris: Ancient Relics
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Deluxe edition
  • Age of Wonders: Planetfall Premium edition
  • Age of Wonders: Planetfall Season pass
  • Age of Wonders: Planetfall Sign Up
  • Stellaris: Lithoids
  • Stellaris: Nemesis
  • Stellaris: Federations
  • Crusader Kings III
  • Age of Wonders
  • 500k Club
  • Cities: Skylines - After Dark
  • Cities: Skylines - Snowfall
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Stellaris - Path to Destruction bundle
  • Steel Division: Normandy 44
  • Cities: Skylines - Mass Transit
  • Steel Division: Normandy 44 Deluxe Edition
  • Surviving Mars
  • Age of Wonders: Shadow Magic
  • Age of Wonders II
  • Leviathan: Warships
  • Majesty 2
  • Majesty 2 Collection
  • Cities: Skylines Deluxe Edition
  • Shadowrun: Dragonfall
  • Stellaris: Distant Stars
  • Crusader Kings II
- The Ruler entry in pre-scripted countries now allow ruler traits to be defined.

So like this?

Code:
    # Ruler
    ruler={
        gender=female
        name="Kathleen Savage"
        portrait="human_female_04"
        texture=0
        hair=1
        clothes=4
        ruler_title="King"
        ruler_title_female="Queen"
        trait="trait_ruler_logistic_understanding"
        trait="leader_trait_fleet_organizer"
    }
 

Divine

Programmer
Super Moderator
33 Badges
Dec 26, 2005
565
929
  • Semper Fi
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • Magicka
  • March of the Eagles
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • For the Motherland
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Magicka: Wizard Wars Founder Wizard
  • Magicka 2 - Signup Campaign
  • Stellaris Sign-up
  • Crusader Kings II
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Diplomacy
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
- Added calc_true_if trigger.
Example usage:
Code:
calc_true_if = {
    amount = 2
    has_monthly_income = { 
        resource = energy
        value > 5
    }
    has_monthly_income = { 
        resource = minerals
        value > 5
    }
    has_monthly_income = { 
        resource = influence
        value > 5
    }
}
Which will return true if you have more than 5 monthly income in at least 2 out the three resources designated by the triggers. Inside the calc_true_if block any trigger should work.
 
  • 2
  • 1
Reactions: