Hearts of Iron IV

Hearts of Iron IV

Die Luftwaffe
 This topic has been pinned, so it's probably important
ADLER  [developer] 23 Feb, 2023 @ 10:04am
Re-enabling locked division template editing.
Unfortunately I had to lock the division templates as people kept renaming them, & since the BBA DLC, this crashed the entire game.

If you are capable of resisting renaming the divisions, and wish to edit them again, then follow these steps:

Navigate to your STEAM folder #########\Steam\steamapps\workshop\content\394360\1511867085\history\units

Then look for all the files that have "unlock" in the file name, they will be variations of "ZDLW-unlock_LW_infantry.txt" (You might want to back up these files somewhere else before you edit.)

Open these files with a text editor & change "is_locked = yes" to is "is_locked = no" everywhere it appears. Save the file. This will enable you to edit the division templates again... but do not down load them! Please note that every time I update the game, it will overwrite your changes, so you may want to save your changes as well.

--------------------------------------------------------------------
If you have your special way that you want your division to be & hate having to make the same change every game... you can actually make those changes whilst you are in there. Please note though, that if you don't have the tech yet, the game will crash. You should always keep just the latest design of light & medium tanks before the templates deploy, otherwise you will get tanks without turrets if you have an undersigned new hull etc. (Another Paradox feckup)

Your standard Division looks like this:


division_template = {
name = "Waffen-SS Pnz.Div." <- this is the template name - if you change it crashes.
division_names_group = SS_Arm_01 <- This is the name group it pulls the division names from.
is_locked = yes <- Remove or set to NO to unlock.
regiments = { <- these are the rows of units you have in the template you can have 5x5 the { x = 0 y = 0 } decides the row & column. x=0->4 y=0->4. The first part denotes the brigade type tank, cavalry etc.
medium_armor = { x = 0 y = 0 }
medium_armor = { x = 0 y = 1 }
medium_armor = { x = 0 y = 2 }
medium_armor = { x = 0 y = 3 }

medium_armor = { x = 1 y = 0 }
medium_armor = { x = 1 y = 1 }
medium_armor = { x = 1 y = 2 }
medium_armor = { x = 1 y = 3 }

SS_mechanized = { x = 2 y = 0 }
SS_mechanized = { x = 2 y = 1 }
SS_mechanized = { x = 2 y = 2 }
mot_artillery_brigade = { x = 2 y = 3 }

SS_mechanized = { x = 3 y = 0 }
SS_mechanized = { x = 3 y = 1 }
SS_mechanized = { x = 3 y = 2 }
mot_artillery_brigade = { x = 3 y = 3 }

SS_mechanized = { x = 4 y = 0 }
SS_mechanized = { x = 4 y = 1 }
mot_anti_air_brigade = { x = 4 y = 2 }
mot_anti_tank_brigade = { x = 4 y = 3 }
}
support = { <- These are support units assigned to the division, again you need the tech or it will crash.
mot_recon = { x = 0 y = 0 }
engineer = { x = 0 y = 1 }
signal_company = { x = 0 y = 2 }
logistics_company = { x = 0 y = 3 }
maintenance_company = { x = 0 y = 4 }
}
priority = 2 <- this sets the importance of the unit 2 is elite, get the best equipment first, 1 is normal, 0 is for garrison units etc.
}


C:\Users\######\OneDrive\Documents\Paradox Interactive\Hearts of Iron IV\logs\error.log with a text editor if you get crashes.
Please note, I am not giving 'how to support' for this... I have 70 staff keeping me busy... I need my down time!
Last edited by ADLER; 23 Feb, 2023 @ 10:08am