Hearts of Iron IV

Hearts of Iron IV

View Stats:
Jim Barret Apr 29, 2018 @ 7:03am
how to spawn unit ??
saw a console command but it didn't work.
I entered, spawn [<SubUnit Type>] [<Province ID>] [<Amount>]
shows, Command available only for developers
It shows the same even after I opened the game in debug mode ..
And What the heck is SubUnit type ??
< >
Showing 1-15 of 15 comments
Viksteri Apr 29, 2018 @ 7:55am 
wait so u dont know how to recruit divisions?
Jim Barret Apr 29, 2018 @ 8:04am 
Originally posted by Viiksivallu:
wait so u dont know how to recruit divisions?
I did not say "Recruit Division". I said "Spawn". The way a troop instantly pops outta nowhere. You don't have to pretend not understanding what I meant if you don't know the answer.
Sol Inherent Apr 29, 2018 @ 10:35am 
Subunit are regiments. "Infantry" "Cavalry" "Motorized" etc
DragomirKingsman Apr 29, 2018 @ 2:06pm 
Jack, you mean battalions.
It should say command only available for developers, but you enabled debug mode, so it shouldn't.
Tell me how you did debug mode- maybe you ♥♥♥♥♥♥ that up.
Jim Barret Apr 30, 2018 @ 12:57am 
Originally posted by DragomirKingsman:
Jack, you mean battalions.
It should say command only available for developers, but you enabled debug mode, so it shouldn't.
Tell me how you did debug mode- maybe you ♥♥♥♥♥♥ that up.
I went to the properties of the game from the steam, then set launch option and wrote "-debug" .
a youtube channel said if it's in debug mode the main menu of the game will have an option that says "NUDGE" which I do have. but the units are not spawning.
Jadresu Kage Oct 17, 2018 @ 6:24pm 
Originally posted by Jim Barret:
Originally posted by DragomirKingsman:
Jack, you mean battalions.
It should say command only available for developers, but you enabled debug mode, so it shouldn't.
Tell me how you did debug mode- maybe you ♥♥♥♥♥♥ that up.
I went to the properties of the game from the steam, then set launch option and wrote "-debug" .
a youtube channel said if it's in debug mode the main menu of the game will have an option that says "NUDGE" which I do have. but the units are not spawning.

This happens to me to, have you figured out how to fix this? I put "-debug" in set launch options on steam and when I'm in the main menu I can see it says (debug) at the bottom. I want to spawn in units yet it says "command only available for developers" I don't know what the problem is.
Jim Barret Oct 18, 2018 @ 12:54am 
Originally posted by Papa Stalin:
Originally posted by Jim Barret:
I went to the properties of the game from the steam, then set launch option and wrote "-debug" .
a youtube channel said if it's in debug mode the main menu of the game will have an option that says "NUDGE" which I do have. but the units are not spawning.

This happens to me to, have you figured out how to fix this? I put "-debug" in set launch options on steam and when I'm in the main menu I can see it says (debug) at the bottom. I want to spawn in units yet it says "command only available for developers" I don't know what the problem is.
No direct way that I've asked about before is probably not possible. So I used the alternative way.
I used console command for equipments and manpower, then put them in training... get them out of training as fast as possible and add experience to them to level up
DobroDam Nov 16, 2018 @ 6:12am 
sorry so you can find out what to do?:Cadet_hoi:
Jim Barret Nov 16, 2018 @ 10:16am 
Originally posted by Dobro Dam:D:
sorry so you can find out what to do?:Cadet_hoi:
nope ...
Last edited by Jim Barret; Nov 16, 2018 @ 10:16am
TANQ78 Sep 23, 2019 @ 4:28pm 
same problem
sam1370 Feb 15, 2020 @ 3:18pm 
me as well, i entered debug mode in the launch options, it shows in the title screen, but still the spawn command does not work
Last edited by sam1370; Feb 15, 2020 @ 3:18pm
MAD/FAZE Sep 2, 2020 @ 10:54am 
the command doesnt work anymore
marie Sep 7, 2021 @ 12:34pm 
alex are you ♥♥♥♥♥♥♥ kidding me I just spent an hour looking for this console command
GuineaPig404 Jul 23, 2022 @ 4:18am 
There is a convoluted way to spawn units through editing the save file without mods or other software. Note: this is without DLC’s.
Open the settings file C:\Users\[user]\Documents\Paradox Interactive\Hearts of Iron IV\settings.txt (Notepad or any text editor will do) look for save_as_binary=yes and change it from yes to no.
Next, open your world and resave it as a new file. This will create a save file not in numbers but words. Open your new save file in a text editor and what I do to find the right section of code is search for a division name that is already in the world. E.g ‘Royal Tank Regiment’.
There should be a section of code that looks like this:
division={
id={ id=86 type=51 }
last_combat_date="1.1.1.1"
location=9239
logical_country="ENG"
id={ id=86 type=51 }
motorization_level=0
division_template_id={ id=9 type=52 }
division_name={
type=0
override="Royal Tank Regiment"
}
max_supply=108.000
organisation=10.000
strength=6.000
equipment={
equipment={
id={ id=919 type=70 }
amount=180.000
}
}
script_id=-1
army_manpower={
army_manpower_value={
value={ tag="ENG" value=1500 }
}
army_manpower_need={
value={ tag="ENG" value=1500 }
}
}
experience=450.000
fuel=345.600
dig_in=3.750
dig_in_cap=15.000
army_current_supply_ratio=76.650
supply_gain=0.150
}

Copy and paste all the code of the division you want to spawn in and paste it below the where you copied it from. Change override=”” to a new name (Not necessary to change Division name). Important: you must change the divisions unique id to something unique. E.g In the section id={id=86 type=51} change id={id=[number] to E.g 100001. Make this number big because even in a new save file there is hundreds of divisions. Note: Some divisions have two id={}. Change both two the new id or delete the duplicate id={}.
Save the file, restart hoi4 and open the save. The division(s) you spawned in should be at the same location as the division you copied the code from.
Last edited by GuineaPig404; Jul 23, 2022 @ 4:20am
admiralHalsey65 Jul 24, 2023 @ 9:12am 
Originally posted by Jim Barret:
Originally posted by Viiksivallu:
wait so u dont know how to recruit divisions?
I did not say "Recruit Division". I said "Spawn". The way a troop instantly pops outta nowhere. You don't have to pretend not understanding what I meant if you don't know the answer.
You must have forgotten we're on the internet
< >
Showing 1-15 of 15 comments
Per page: 1530 50

Date Posted: Apr 29, 2018 @ 7:03am
Posts: 15