HOI4 Dev Diary - 1.3.3 modding features

HOI4 Dev Diary - 1.3.3 modding features

  • Crusader Kings III Available Now!

    The realm rejoices as Paradox Interactive announces the launch of Crusader Kings III, the latest entry in the publisher’s grand strategy role-playing game franchise. Advisors may now jockey for positions of influence and adversaries should save their schemes for another day, because on this day Crusader Kings III can be purchased on Steam, the Paradox Store, and other major online retailers.


    Real Strategy Requires Cunning

Havebeard

Yes
Super Moderator
Aug 11, 2015
710
2.011
Hi everyone,

As mentioned in last weeks diary, I wanted to go a little more into detail with a few of the changes modders can look forward to in 1.3.3.

Tech trees
A part of HOI4 we've often seen modded are the technology trees, specifically adding trees that are unique to one nation. This has so far been achieved with a clever little trick, where the first technology in a tree only is available to a certain nation. This does achieve the goal, but it also means all trees are visible, even though the player can never research them. In 1.3.3 we've added dynamic technology folders, which hides and locks any technology in the folder that does not meet the trigger. I've taken a book out of my click bait add and prepared a little before and after sample using BICE as an example of how the new mod feature looks.
before.png
after.png


Obviously they could chose to remove all the original folders and replace with country unique ones, but that's up to the BICE guys.
This does technically work with any trigger, but I recommend primarily using it for tags. Enabling during the game and and keeping it enabled for the rest of the game should not be a problem.

Industry
One of our focuses for 1.3.3 is to improve industrial balance. We will talk more about that in the future (when its actually done :D) but this has led to some new features modders have requested as well. Its now possible to separate the industrial bonuses between factories and dockyards for example (helpful for balancing concentrated vs dispersed industry also) as well as now being able to control the max number of factories assignable to production lines (some mods like to limit the max for naval construction for example so you produce more in parallel rather than serially) but so far this was only possible by limiting UI for player. Now it can be set separately for military, civilian and naval lines.

Change state names
state_before.png
state_after.png


Changing victory point names

Of course modders have also wanted to be able to change names of cities, and now you can!
Untitled.jpg


More is more!
These new features will amaze you. I can't believe no 5
Apologies if some have already been mentioned =)

-Added trigger to technology folders. Will hide tab and disable research for techs if trigger is not met.

-Split up factory modifier into a new industrial_capacity_dockyard so dockyards get their own progression

-Added local_non_core_manpower state modifier

-Added effect add_state_modifier

-Added an on action for on_annex. Fired from both effect and peaceconference.

-Fixed on_civil_war_end having a fixed random seed

-Added has_country_leader trigger

-The AI is no longer quite as emotionally attached to modded ideas. Will now consider changing non-hardcoded ideas if the ai_will_do value is higher than the existing idea.

-Added new ai strategy "template_xp_reserve" that lets you modify how much AI wants to burn or not burn its xp for division design
-Added proper error handling when reading scripted ai strategies

-Added can_join_factions rule

-Added trigger has_tech_bonus. Works with specific technology or category

-Added has_resources_amount trigger

-Added on_startup to onactions

-Added count_triggers ( same as calc_true_if on other projects )

-Added set_state_category

-Added set_state_name


The rest of the team are squashing bugs, working on late game performance and as always improving the AI.

Also don't forget to tune in at 16:00CET on www.twitch.tv/paradoxinteractive today where we will be checking out Millennium Dawn: Modern Day Mod in our series of mod highlights in World War Wednesday!
 
Last edited by a moderator:
  • 82
  • 33
  • 5
Reactions:

Ted52

Millennium Dawn Developer
66 Badges
Mar 29, 2014
1.280
1.968
  • Crusader Kings II
  • Europa Universalis IV: Third Rome
  • Knights of Honor
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - After Dark
  • Cities: Skylines Deluxe Edition
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Supreme Ruler: Cold War
  • Semper Fi
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Hearts of Iron III: Their Finest Hour
  • For the Motherland
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Sword of Islam
  • Hearts of Iron III
  • Darkest Hour
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Cities: Skylines - Green Cities
  • Tyranny: Archon Edition
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Rights of Man
  • Imperator: Rome - Magna Graecia
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Age of Wonders III
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
All these changes are amazing and will be greatly helpful for modding, I have some plans for them already :)

I also hope you guys will enjoy playing Millennium Dawn. Have fun! I'll stick around in the chat I hope.
 
  • 16
  • 2
Reactions:

Shock360

Colonel
55 Badges
May 2, 2016
1.091
949
  • Crusader Kings II
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Jade Dragon
  • Cities: Skylines - After Dark
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Europa Universalis IV: Res Publica
  • Hearts of Iron III
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Europa Universalis IV: Art of War
  • Surviving Mars: Digital Deluxe Edition
  • Imperator: Rome
  • Steel Division: Normandy 44
  • Europa Universalis IV: Mandate of Heaven
  • Surviving Mars
  • Steel Division: Normand 44 Sign-up
  • Prison Architect
  • Steel Division: Normand 44 - Second Wave
  • Stellaris: Apocalypse
  • Crusader Kings II: Holy Fury
  • Steel Division: Normandy 44 -  Back to Hell
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Surviving Mars: First Colony Edition
  • Stellaris: Megacorp
  • Crusader Kings II: Conclave
  • Crusader Kings III
  • Victoria 2
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Surviving Mars: First Colony Edition
  • Crusader Kings II: Monks and Mystics
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
Coolio
 
  • 1
Reactions:

dylanstrategie

Corporal
18 Badges
Jun 20, 2013
28
228
  • Darkest Hour
  • Europa Universalis III
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Semper Fi
  • Crusader Kings II
  • Prison Architect
  • Imperator: Rome
  • Age of Wonders III
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Stellaris
  • Cities: Skylines
  • Victoria 2
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
So, are there any plans for the new modding features being used in the base game ?

Notably renaming cities and states. Dynamic province names come to mind, same goes with some alternative names historically given by Germany to USSR cities
 
  • 2
Reactions:

podcat

Oberkommando HOI4
Super Moderator
12 Badges
Jul 23, 2007
12.610
30.925
  • Hearts of Iron III
  • Semper Fi
  • 500k Club
  • Europa Universalis III: Collection
  • Europa Universalis IV: Pre-order
  • Hearts of Iron II: Beta
  • Europa Universalis: Rome Collectors Edition
  • Mount & Blade: Warband
  • Paradox Order
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Together for Victory
So, are there any plans for the new modding features being used in the base game ?
the name change ones you see in the diary are in, as for more, maaaaaybe :3
 
  • 23
  • 1
Reactions:

tommylotto

Field Marshal
18 Badges
Mar 5, 2011
3.110
2.223
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Semper Fi
  • For the Motherland
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome
  • Imperator: Rome Deluxe Edition
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Hearts of Iron IV Sign-up
  • Stellaris
  • 500k Club
Nice set of changes. Limiting the number of dockyards is a nice change option, and I thought it being controlled in the UI file was odd. Nice to be able to change names of states and cities. Still hope to be able to change templates by event some day though...
 
  • 2
Reactions:

IVM.Firefly

First Lieutenant
46 Badges
May 16, 2016
200
150
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Res Publica
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Heir to the Throne
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • 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
  • Crusader Kings II: Holy Fury Pre-order
  • Europa Universalis IV: Dharma Pre-order
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome Sign Up
  • Crusader Kings III
  • 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
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • 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
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mare Nostrum
-Added local_non_core_manpower state modifier

@Havebeard correct me if I am wrong, but does that allow me to kinda implement the "partial cores" I mentioned in the requests thread? Can this modifier be altered during the game, such as on the change of controller, allowing the state to give more manpower to a given owner?
 

Havebeard

Yes
Super Moderator
Aug 11, 2015
710
2.011
-Added local_non_core_manpower state modifier

@Havebeard correct me if I am wrong, but does that allow me to kinda implement the "partial cores" I mentioned in the requests thread? Can this modifier be altered during the game, such as on the change of controller, allowing the state to give more manpower to a given owner?
Yes
 
  • 7
  • 3
Reactions:

maverick87

BLACK I.C.E.
22 Badges
Aug 5, 2007
1.872
447
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Semper Fi
  • Sword of the Stars
  • Supreme Ruler 2020
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome
  • Imperator: Rome Deluxe Edition
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Steel Division: Normand 44 Sign-up
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Hearts of Iron IV Sign-up
  • 500k Club
Nice to see you used my design as an example
 
  • 13
  • 1
Reactions:

Jorlem

Field Marshal
110 Badges
May 9, 2012
4.439
3.590
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Crusader Kings II
  • 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 Complete
  • Europa Universalis III Complete
  • The Showdown Effect
  • War of the Roses
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Humble Paradox Bundle
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Stellaris
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Mandate of Heaven
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Tyranny - Bastards Wound
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Crusader Kings II: Holy Fury Pre-order
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
I've taken a book out of my click bait add and prepared a little before and after sample using BICE as an example of how the new mod feature looks.
Will it be possible to hide or replace the generic tree? For example, in those pictures, to have the German tank button replace the generic tank tech button?
 
  • 3
Reactions:

Zarathustra_the

General
78 Badges
Nov 3, 2011
1.742
979
  • Victoria 2: A House Divided
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • King Arthur II
  • The Kings Crusade
  • Magicka
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Naval War: Arctic Circle
  • Victoria 2: Heart of Darkness
  • Warlock 2: The Exiled
  • Europa Universalis IV: Third Rome
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mare Nostrum
  • Stellaris - Path to Destruction bundle
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Call to arms event
  • Cities in Motion
  • Crusader Kings II
  • 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
  • For the Motherland
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Divine Wind
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Crusader Kings III
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Magicka 2: Ice, Death and Fury
  • Crusader Kings II: Conclave
  • Stellaris
  • Warlock: Master of the Arcane
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
mmmm @Havebeard it is good to see so many of my requests being implemented, I commit myself entirely to making sure that HOI IV is as good of a mod platform as CKII is currently. @podcat is there any possible update as to when 1.33 will drop?
 
  • 1
Reactions:

Zarathustra_the

General
78 Badges
Nov 3, 2011
1.742
979
  • Victoria 2: A House Divided
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • King Arthur II
  • The Kings Crusade
  • Magicka
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Naval War: Arctic Circle
  • Victoria 2: Heart of Darkness
  • Warlock 2: The Exiled
  • Europa Universalis IV: Third Rome
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mare Nostrum
  • Stellaris - Path to Destruction bundle
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Call to arms event
  • Cities in Motion
  • Crusader Kings II
  • 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
  • For the Motherland
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Divine Wind
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Crusader Kings III
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Magicka 2: Ice, Death and Fury
  • Crusader Kings II: Conclave
  • Stellaris
  • Warlock: Master of the Arcane
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
Do these new trees fix the incompatibility with other tech expansions? currently, no two mods adding single tech trees are compatible without doing a compatch because of how the .GUI file works. Will this new update change that at all?
 
  • 1
Reactions:

Havebeard

Yes
Super Moderator
Aug 11, 2015
710
2.011
Do these new trees fix the incompatibility with other tech expansions? currently, no two mods adding single tech trees are compatible without doing a compatch because of how the .GUI file works. Will this new update change that at all?
No.
I don't remember if that has been mentioned on the mod forum..?
 
  • 2
Reactions:

Zarathustra_the

General
78 Badges
Nov 3, 2011
1.742
979
  • Victoria 2: A House Divided
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • King Arthur II
  • The Kings Crusade
  • Magicka
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Naval War: Arctic Circle
  • Victoria 2: Heart of Darkness
  • Warlock 2: The Exiled
  • Europa Universalis IV: Third Rome
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mare Nostrum
  • Stellaris - Path to Destruction bundle
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Call to arms event
  • Cities in Motion
  • Crusader Kings II
  • 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
  • For the Motherland
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Divine Wind
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Crusader Kings III
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Magicka 2: Ice, Death and Fury
  • Crusader Kings II: Conclave
  • Stellaris
  • Warlock: Master of the Arcane
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
One final question, will you be able to document the new mod features in the coming patch notes? I am aware it can be tedious, but it has always been a crusade for me to push for better documentation, especially with the wiki's in such a sad state of disrepair.

Oh and a last aside, can we get a similar building_slot modifier for non core states as you have included for non-core manpower? This would be quite useful to enable so that we can have a conquering empire not lose out on factories due to annexing rather than puppeting.
 
  • 3
Reactions: