Hearts of Iron IV

Hearts of Iron IV

Azur Lane Navy Commanders
Lord Wahu 20 Jul, 2021 @ 7:44am
Allowing all nations to summon anyone
After a bit of work, I figured out a way to make it work

Instead of spawning the admiral for the country you're playing as, spawn them for a different country, then after a day or two transfer the nationality from that country to the country you're playing as

I added this code (using the MK3 Bulin from the collab mod into EaW) and it did spawn the admiral with the correct portrait. It would probably be better to use a landlocked nation so they don't have any other admirals to transfer

days_remove = 4

remove_effect = {
JER = {
every_navy_leader = {
set_nationality = ROOT
}
}
}

complete_effect = {
JER = {
create_navy_leader = {
name = "Specialised Bulin Custom MKIII"
picture = "Portrait_UNI_Specialised_Bulin_Custom_MKIII.dds"
traits = { specialised_bulin_custom_mkiii }
skill = 9
id = ALUNI3
attack_skill = 1
defense_skill = 1
maneuvering_skill = 1
coordination_skill = 1
}
}
}
Last edited by Lord Wahu; 20 Jul, 2021 @ 7:46am
< >
Showing 1-3 of 3 comments
Lord Wahu 20 Jul, 2021 @ 7:49am 
After further tests, it also works to spawn them into a nation that doesn't exist on the map (like one that was defeated or a formable) so if you want the extra effort to make it universally compatable with all mods, what you could do is make a dummy nation that has no territory, and have the admiral spawn there. That way you wouldn't have to worry about multiple admirals getting caught up in the mix
Tooru  [developer] 20 Jul, 2021 @ 10:25am 
interesting
Tooru  [developer] 20 Jul, 2021 @ 10:26am 
seems like a really roundabout way of doing it thought, there must be a way that is easier and more convenient than having to create or use an existing nation. having to use other nations could cause issues with compatibility i feel
< >
Showing 1-3 of 3 comments
Per page: 1530 50