Hearts of Iron III: Their Finest Hour - Bonus Dev Diary: Modding

  • 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

podcat

Oberkommando HOI4
Super Moderator
12 Badges
Jul 23, 2007
12.674
32.899
  • Europa Universalis IV
  • 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
Hello again, I'm doing an extra diary because I forgot talk about modding and technical things in the last diary. So if all you want to do is play the new expansion you can probably stop reading here, this diary is for modders!

Anyone still here? Good!

New Expansion Format
One of the big things we have done is make sure that installing the new expansion doesn’t stop you from accessing the old expansions and DLC. This means you can still play For the Motherland with Dies Irae - Götterdämmerung and Stars and Stripes etc if you so wish. The expansion is now installed in a sub-folder named "tfh" which contains all the new files and ensures it doesn’t mess up any of the old files.

New Modding Format and Directory Structure
People who have played CK2 or Victoria 2: A House Divided are already familiar with our new format and structure. Now it's time for Hearts of Iron to get the same treatment. The advantage of the new structure is that it moves all user settings to your personal Documents folder (stopping any issues with windows UAC), lets you run multiple mods at the same time from the launcher and save custom settings and file caches for each one (so mods that do a new map doesn’t require you to copy the game folder or rebuild the map each start up). Most importantly it makes it easier for us to support modding and DLC in the future.

So, let's get down to the gritty. Here is how to make a mod:

To make a mod create a file in this directory named with a .mod extension.
If there are more files supplied it is best to put them in a sub-folder with the same name as your mod. Important to note is that all mods for TFH go in the tfh/mod directory.

Example in directory:
Code:
fun.mod
fun/

For this to work the "fun" directory must have a structure that mimics the base games.
So if you want to change a gui file you need to have the whole path as well, like so:

Code:
fun.mod
fun/interface/chat.gui

The fun.mod file would look like this:
Code:
name = "Fun example"
path = "mod/fun"


There are a couple more settings as well. Here is a full list:
Code:
name = "EXAMPLE" # name of your mod, shown in launcher
path = "mod/EXAMPLE" # location of your mod files. note that full path is needed
archive = "mod/EXAMPLE.zip" # if you want to put your mod files in an archive instead (wont load path)
user_dir = "EXAMPLE" # optional. creates a sub directory where settings/map cache/savegames etc can be safely written for your mod and not get mixed up 
replace_path = "events" # this replaces whole path instead of just adding files as normal. useful for directories where the game just loads everything
dependencies = {"another_cool_mod"} # this lets you control order of loading in case you build on top of another mod
 

Had a dad

V g H
Moderator
209 Badges
Sep 5, 2008
25.216
2.940
  • 500k Club
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Conclave
  • Crusader Kings II: Limited Collectors Edition
  • Diplomacy
  • Cities: Skylines
  • Europa Universalis: Rome
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Prison Architect
  • Imperator: Rome Deluxe Edition
  • Europa Universalis IV: Golden Century
  • Surviving Mars: First Colony Edition
  • Shadowrun Returns
  • Age of Wonders: Planetfall Deluxe edition
  • BATTLETECH - Digital Deluxe Edition
  • Steel Division: Normandy 44 -  Back to Hell
  • Stellaris: Humanoids Species Pack
  • VtM - Bloodlines 2
  • Imperator: Rome Sign Up
  • Age of Wonders: Planetfall
  • Crusader Kings Complete
  • Age of Wonders: Planetfall Premium edition
  • Age of Wonders: Planetfall Season pass
  • Age of Wonders: Planetfall Sign Up
  • Crusader Kings III Referal
  • PDXCon 2019 "Baron"
  • Stellaris: Lithoids
  • BATTLETECH: Heavy Metal
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV
  • Empire of Sin
  • Elven Legacy Collection
  • Magicka: Wizard Wars Founder Wizard
  • Victoria 2 Beta
  • Mount & Blade: With Fire and Sword
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Elven Legacy
  • Cities: Skylines - Green Cities
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Steel Division: Normandy 44 Deluxe Edition
  • PDXCON 2017 Standard Ticket holder
  • BATTLETECH
  • Hearts of Iron IV: Death or Dishonor
Thank you sir for the bonus

So
dependencies =

Would be used if you make a sub mod of a mod?
 

PlayerHOI

Colonel
78 Badges
Aug 29, 2010
998
537
  • Victoria 2: A House Divided
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Magicka
  • Hearts of Iron II: Armageddon
  • Semper Fi
  • Sword of the Stars
  • Victoria: Revolutions
  • Victoria 2: Heart of Darkness
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Third Rome
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Wealth of Nations
  • 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: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Europa Universalis IV: Call to arms event
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis III
  • Europa Universalis III Complete
  • Tyranny: Archon Edition
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Conclave
  • Europa Universalis IV
  • Crusader Kings II: Horse Lords
  • Europa Universalis 4: Emperor
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Pre-order
  • 500k Club
  • Europa Universalis III Complete
  • Victoria 2
Any new scopes\modifiers or effects?

For example, can we set lend lease percentage in a history file for a country or is that only handled by an event?

Also, can the mod directory now handle going further then one level directory for all folders?
 
Last edited:

podcat

Oberkommando HOI4
Super Moderator
12 Badges
Jul 23, 2007
12.674
32.899
  • Europa Universalis IV
  • 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
Thank you sir for the bonus

So
dependencies =

Would be used if you make a sub mod of a mod?

yes, or a mod of a DLC for example. it basically ensures that they are loaded in the correct order if they change the same files.

Any new scopes\modifiers or effects?

For example, can we set lend lease percentage in a history file for a country or is that only handled by an events?

Also, can the mod directory now handle going further then one level directory for all folders

yes, basically the mods files must follow an identical structure to the files they replace, so if you replace gfx/anims/GermanSoldier.dds you must put it in tfh/mod/MyCoolUniformMod/gfx/anims/GermanSoldier.dds

there are new scopes used when scripting gainable traits where you can access combatants and leaders. it looks like this:
Code:
gainable_trait = {
	trait = urban_assault_specialist
	combat = land_combat
	hours_required = 705
	trigger = {
		terrain = urban
	}
}

Same goes for tactics, here is an example:
Code:
tactic_blitz = {
	trigger = {
		is_attacker = yes
		has_armour_unit = yes
		OR = {
			skill = 3
			trait = panzer_leader
			skill_advantage = 2
		}
	}
	
	base = 1
	picture = blitz
	countered_by = tactic_elastic_defence
	
	movement_speed = 0.5
	attacker = 0.25
	defender = -0.15
}
 

PlayerHOI

Colonel
78 Badges
Aug 29, 2010
998
537
  • Victoria 2: A House Divided
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Magicka
  • Hearts of Iron II: Armageddon
  • Semper Fi
  • Sword of the Stars
  • Victoria: Revolutions
  • Victoria 2: Heart of Darkness
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Third Rome
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Wealth of Nations
  • 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: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Europa Universalis IV: Call to arms event
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis III
  • Europa Universalis III Complete
  • Tyranny: Archon Edition
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Conclave
  • Europa Universalis IV
  • Crusader Kings II: Horse Lords
  • Europa Universalis 4: Emperor
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Pre-order
  • 500k Club
  • Europa Universalis III Complete
  • Victoria 2
yes, or a mod of a DLC for example. it basically ensures that they are loaded in the correct order if they change the same files.



yes, basically the mods files must follow an identical structure to the files they replace, so if you replace gfx/anims/GermanSoldier.dds you must put it in tfh/mod/MyCoolUniformMod/gfx/anims/GermanSoldier.dds

there are new scopes used when scripting gainable traits where you can access combatants and leaders. it looks like this:
Code:
gainable_trait = {
	trait = urban_assault_specialist
	combat = land_combat
	hours_required = 705
	trigger = {
		terrain = urban
	}
}

Same goes for tactics, here is an example:
Code:
tactic_blitz = {
	trigger = {
		is_attacker = yes
		has_armour_unit = yes
		OR = {
			skill = 3
			trait = panzer_leader
			skill_advantage = 2
		}
	}
	
	base = 1
	picture = blitz
	countered_by = tactic_elastic_defence
	
	movement_speed = 0.5
	attacker = 0.25
	defender = -0.15
}

Well that's good to hear, hope it all works as intended cause as far as FTM total conversion mods cannot be installed using the mod directory due to this problem.

What about the technology folders not being able to "communicate" with each other except for specific one's? For example if I want a tech in naval doctrines to be dependent on a tech in theory I won't be able to do this but I can link any tech from the "Industry" folder to all other folders...

And last one, any chance of limiting nukes to human players only?
 

podcat

Oberkommando HOI4
Super Moderator
12 Badges
Jul 23, 2007
12.674
32.899
  • Europa Universalis IV
  • 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
What about the technology folders not being able to "communicate" with each other except for specific one's? For example if I want a tech in naval doctrines to be dependent on a tech in theory I won't be able to do this but I can link any tech from the "Industry" folder to all other folders...

And last one, any chance of limiting nukes to human players only?

we might have fixed the tech folders, we did some work there. I dont remember exactly though. AI not wasting your nukes is in my bug list, its not fixed yet.
 

SeriousDude

Corporal
3 Badges
Jul 29, 2011
27
0
  • Hearts of Iron III
  • 500k Club
  • Hearts of Iron IV Sign-up
Is there an option to append content of modded file, without replacing original one? This might be useful for "unique" files, like event_modifiers.txt.
 

podcat

Oberkommando HOI4
Super Moderator
12 Badges
Jul 23, 2007
12.674
32.899
  • Europa Universalis IV
  • 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
Is there an option to append content of modded file, without replacing original one? This might be useful for "unique" files, like event_modifiers.txt.

no, that would pretty much be impossible to do right for a general case
 

Nicolas I

Field Marshal
60 Badges
Oct 2, 2011
2.909
2.760
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: The Republic
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Common Sense
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Hearts of Iron IV Sign-up
  • Stellaris
  • Crusader Kings II: Horse Lords
  • Stellaris: Distant Stars
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Holy Fury
  • Steel Division: Normand 44 Sign-up
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Megacorp
  • Tyranny - Bastards Wound
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Europa Universalis IV: Rule Britannia
  • Crusader Kings II: Way of Life
  • Europa Universalis IV
  • Hearts of Iron IV: La Resistance
  • Stellaris: Federations
  • Europa Universalis III Complete
  • Europa Universalis IV: Golden Century
  • Europa Universalis III Complete
  • Stellaris: Ancient Relics
  • Victoria 2
  • Imperator: Rome Sign Up
  • Hearts of Iron IV: Expansion Pass
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Pillars of Eternity
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Hearts of Iron III
  • Semper Fi
tactic_blitz = {
trigger = {
is_attacker = yes
has_armour_unit = yes
OR = {
skill = 3
trait = panzer_leader
skill_advantage = 2

Have I read panzer leader ? Is this example wrong or did Paradox finally salvaged a kind of panzer leader trait ?
 

CSABadass

DV Mod Maker
45 Badges
Jan 16, 2003
4.314
141
forum.paradoxplaza.com
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma Pre-order
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Golden Century
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Battle for Bosporus
  • Europa Universalis 4: Emperor
  • Empire of Sin
  • Empire of Sin - Premium Edition
  • Hearts of Iron III: Their Finest Hour
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron II: Armageddon
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
New Expansion Format
One of the big things we have done is make sure that installing the new expansion doesn’t stop you from accessing the old expansions and DLC. This means you can still play For the Motherland with Dies Irae - Götterdämmerung and Stars and Stripes etc if you so wish. The expansion is now installed in a sub-folder named "tfh" which contains all the new files and ensures it doesn’t mess up any of the old files.

If the TFH files are all in a new sub-folder, does this mean we need to have the FtM 3.05 patch installed prior to adding TFH?

Thanks in advance for the info!
 

Had a dad

V g H
Moderator
209 Badges
Sep 5, 2008
25.216
2.940
  • 500k Club
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Conclave
  • Crusader Kings II: Limited Collectors Edition
  • Diplomacy
  • Cities: Skylines
  • Europa Universalis: Rome
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Prison Architect
  • Imperator: Rome Deluxe Edition
  • Europa Universalis IV: Golden Century
  • Surviving Mars: First Colony Edition
  • Shadowrun Returns
  • Age of Wonders: Planetfall Deluxe edition
  • BATTLETECH - Digital Deluxe Edition
  • Steel Division: Normandy 44 -  Back to Hell
  • Stellaris: Humanoids Species Pack
  • VtM - Bloodlines 2
  • Imperator: Rome Sign Up
  • Age of Wonders: Planetfall
  • Crusader Kings Complete
  • Age of Wonders: Planetfall Premium edition
  • Age of Wonders: Planetfall Season pass
  • Age of Wonders: Planetfall Sign Up
  • Crusader Kings III Referal
  • PDXCon 2019 "Baron"
  • Stellaris: Lithoids
  • BATTLETECH: Heavy Metal
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV
  • Empire of Sin
  • Elven Legacy Collection
  • Magicka: Wizard Wars Founder Wizard
  • Victoria 2 Beta
  • Mount & Blade: With Fire and Sword
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Elven Legacy
  • Cities: Skylines - Green Cities
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Steel Division: Normandy 44 Deluxe Edition
  • PDXCON 2017 Standard Ticket holder
  • BATTLETECH
  • Hearts of Iron IV: Death or Dishonor
Have I read panzer leader ? Is this example wrong or did Paradox finally salvaged a kind of panzer leader trait ?
It's probably the new Battlemaster trait and it's name only got changed in localization. If I had to venture a guess based on what I know of those damnable file :D
 

krogoth21

SFO
93 Badges
Aug 22, 2007
378
203
  • Steel Division: Normand 44 - Second Wave
  • Victoria: Revolutions
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Hearts of Iron IV: Expansion Pass
  • Steel Division: Normandy 44 Deluxe Edition
  • 500k Club
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: El Dorado
  • Imperator: Rome Sign Up
  • Pride of Nations
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Mandate of Heaven
  • Imperator: Rome
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Galaxy Edition
  • Imperator: Rome Deluxe 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
  • Steel Division: Normandy 44
  • Cities: Skylines - Mass Transit
  • Europa Universalis 4: Emperor
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Surviving Mars: First Colony Edition
  • Steel Division: Normandy 44 -  Back to Hell
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Age of Wonders III
  • Europa Universalis III Complete
  • Europa Universalis IV
  • Age of Wonders: Planetfall
  • Victoria 2
  • Crusader Kings III
  • Steel Division: Normand 44 Sign-up
  • Stellaris: Synthetic Dawn
  • Surviving Mars
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Stellaris: Federations
  • Hearts of Iron IV: Death or Dishonor
  • Supreme Ruler 2020
  • Heir to the Throne
  • Divine Wind
This is an exellent improvement. It'll make things way easier.
You might want to pin this info in the mods forum.

Thanks :)
 

xtfoster

Field Marshal
42 Badges
Feb 8, 2006
5.283
1.073
  • BATTLETECH: Flashpoint
  • Age of Wonders III
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • BATTLETECH - Digital Deluxe Edition
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Shadowrun: Hong Kong
  • Stellaris: Synthetic Dawn
  • Stellaris: Megacorp
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Ancient Relics
  • BATTLETECH: Season pass
  • Age of Wonders: Planetfall Sign Up
  • BATTLETECH: Heavy Metal
  • Hearts of Iron IV: La Resistance
  • Stellaris: Federations
  • Battle for Bosporus
  • Hearts of Iron II: Beta
  • Deus Vult
  • Europa Universalis III
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Majesty 2
  • Europa Universalis III Complete
  • Semper Fi
  • Supreme Ruler 2020
  • 500k Club
  • Hearts of Iron II: Armageddon
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Expansion Pass
  • Stellaris - Path to Destruction bundle
  • BATTLETECH
  • Hearts of Iron IV: Death or Dishonor
Have I read panzer leader ? Is this example wrong or did Paradox finally salvaged a kind of panzer leader trait ?
No, they kept the original "internal" name, but the trait has been changed as described in the DDs
 

Nicolas I

Field Marshal
60 Badges
Oct 2, 2011
2.909
2.760
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: The Republic
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Common Sense
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Hearts of Iron IV Sign-up
  • Stellaris
  • Crusader Kings II: Horse Lords
  • Stellaris: Distant Stars
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Holy Fury
  • Steel Division: Normand 44 Sign-up
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Megacorp
  • Tyranny - Bastards Wound
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Europa Universalis IV: Rule Britannia
  • Crusader Kings II: Way of Life
  • Europa Universalis IV
  • Hearts of Iron IV: La Resistance
  • Stellaris: Federations
  • Europa Universalis III Complete
  • Europa Universalis IV: Golden Century
  • Europa Universalis III Complete
  • Stellaris: Ancient Relics
  • Victoria 2
  • Imperator: Rome Sign Up
  • Hearts of Iron IV: Expansion Pass
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Pillars of Eternity
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Hearts of Iron III
  • Semper Fi
It's probably the new Battlemaster trait and it's name only got changed in localization. If I had to venture a guess based on what I know of those damnable file :D

No, they kept the original "internal" name, but the trait has been changed as described in the DDs

Yes I knew that was probably that. Just a faint hope or wishfull thinking...
 

steveh11

Games Player
115 Badges
Jun 9, 2001
2.393
333
www.asstr.org
  • Cities: Skylines Deluxe Edition
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Sengoku
  • Teleglitch: Die More Edition
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Warlock: Master of the Arcane
  • Warlock 2: The Exiled
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: Res Publica
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Paradox Order
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Stellaris: Necroids
  • Europa Universalis IV: Art of War
  • 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
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV
  • Ancient Space
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • March of the Eagles
Is there an option to append content of modded file, without replacing original one? This might be useful for "unique" files, like event_modifiers.txt.

no, that would pretty much be impossible to do right for a general case
Bother! That really screws up any "mod depending on mod" that changes these files. If a file like "event_modifiers.txt" is replaced, rather than appended, it really breaks the whole idea of having mods, indeed potentially DLC, be independent of one another.

I understand that it's probably a bit much for an expansion, but really ought to have been included in new games. Maybe for HOI4 - or possibly EU4?
 

SeriousDude

Corporal
3 Badges
Jul 29, 2011
27
0
  • Hearts of Iron III
  • 500k Club
  • Hearts of Iron IV Sign-up
no, that would pretty much be impossible to do right for a general case
I see, merging requires some sophisticated logic.
Modding of "common" folder can also be simplified by converting its logic from "hardcoded-filename-for-effect" to more general, "decision" folder style. So, you can create and name file whatever you like, as long its content enclosed in right scope ("event_modifiers = {...}" or "strategic_resources = {...}"). Just an idea.

On some other note, I really like the improvements of new expansion. You guys did a great job:)
 

steveh11

Games Player
115 Badges
Jun 9, 2001
2.393
333
www.asstr.org
  • Cities: Skylines Deluxe Edition
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Sengoku
  • Teleglitch: Die More Edition
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Warlock: Master of the Arcane
  • Warlock 2: The Exiled
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: Res Publica
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Paradox Order
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Stellaris: Necroids
  • Europa Universalis IV: Art of War
  • 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
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV
  • Ancient Space
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • March of the Eagles
no, that would pretty much be impossible to do right for a general case

I see, merging requires some sophisticated logic.
Modding of "common" folder can also be simplified by converting its logic from "hardcoded-filename-for-effect" to more general, "decision" folder style. So, you can create and name file whatever you like, as long its content enclosed in right scope ("event_modifiers = {...}" or "strategic_resources = {...}"). Just an idea.

On some other note, I really like the improvements of new expansion. You guys did a great job:)
That would appear to be an excellent suggestion - from this side of the code. I wonder just how difficult it would be from PDS's standpoint...? ;)
 

Torakka

Major
89 Badges
Oct 20, 2010
749
524
  • 500k Club
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Call to arms event
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Victoria: Revolutions
  • Pillars of Eternity
If I recall correctly, in CK2 that sort of thing was handled by replacing file with folder (I.E. folder called "religion" instead of religion.txt) and you could then add files to that folder in same fashion like adding new events, decisions or localisations. That sort of system would work for files like event_modifiers, as long as you only ever added new stuff. Editing existing ones would cause similar issues like having two events share same ID. However, files with fixed entries, like defines.lua or static_modifiers.txt could not really be handled that way.

In any case, changing that for TFH is probably a bit late by now...
 

GrimReaper

Angel of Death
37 Badges
Jan 4, 2003
3.625
3
  • Stellaris: Distant Stars
  • Steel Division: Normandy 44
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Steel Division: Normand 44 - Second Wave
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Steel Division: Normandy 44 -  Back to Hell
  • Hearts of Iron IV: Expansion Pass
  • Stellaris - Path to Destruction bundle
  • Stellaris: Megacorp
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Hearts of Iron IV: La Resistance
  • Stellaris: Federations
  • Battle for Bosporus
  • Stellaris: Necroids
  • Stellaris
  • Diplomacy
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Naval War: Arctic Circle
  • Semper Fi
  • Supreme Ruler: Cold War
  • 500k Club
  • Hearts of Iron Anthology
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
Huzzah! Modding actually seems simple now.