• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

unmerged(81495)

Private
Aug 2, 2007
23
0
I played an old EU2 to Victoria revolutions game that I am looking to "continue" playing in HOI2 now. I played the US with the US more clearly victorious in the Revolutionary war I and II as well as the war of 1814. I no longer have the save game from Victoria so a conversion is out.

I would like to mod in Canada as national provinces of the US to reflect the end state of my previous game. The rest of the world can remain the same. If this can be done as an event that would be great though I am willing to try editing a save game too and a bonus if I can add in Canada's tech teams as well mainly for flavor. I just need some help on how to get started with event writing or save game editing.
 
Make a copy of usa.txt (located in the DB/EVENTS/ folder) then edit the file by adding this event at the bottom :

Code:
####################################
# Give Canada to USA
####################################

event = {
	id = 123456
	random = no
	country = USA
	trigger = {
		ai = no
			}
	name = "Annex Canada"
	desc = "This event will annex Canada for the USA."
	style = 0
	picture = "anchsluss"

		date = { day = 1 month = january year = 1936 }
		
	action_a = {
		name = "OK"
		command = { type = inherit which = CAN }
		
	
	}
}

You can change the text in quotes to suit, and the date if you're playing another campaign.
 
Yep, sorry - there is a list of province numbers in the can_36.inc file located in the scenarios/1936 folder

At the bottom of the event add a command line for each core like this :

Code:
                 command = { type = addcore which = 556 }
                 command = { type = addcore which = 541 }
                 command = { type = addcore which = 555 }
                 command = { type = addcore which = 554 }

and so on between the 'type = inherit' line and the last two brackets.
 
Last edited:
Add this line to the existing event in usa.txt :
Code:
       action_a = {
		name = "OK"
                [B]command = { type = trigger which = 123457 }[/B]
		command = { type = inherit which = CAN }

Then add this event to the end of the uk.txt file in the events folder :
Code:
##############################################
#  USA claims UK provinces in Canada
##############################################
event = { 
	id = 123457
	random = no
	country = ENG
	
	# Triggered by USA 123456
	
	style = 0
	
	action_a = {
		command = { type = secedeprovince which = USA value = 575 } # Labrador
		command = { type = secedeprovince which = USA value = 576 } # Newfoundland
		 
	}
	
}

Information after the # marks is just for reference - you can leave it out.
 
Thanks yet again. Do I need to remove the cores from UK? Will those cores cause our relations to drop?

Newfoundland and Labrador aren't cores in Armageddon so I didn't include the commands to change their status. If nesessary, add these two lines to the event in the UK.txt file
Code:
      action_a = {
		command = { type = secedeprovince which = USA value = 575 } # Labrador
		command = { type = secedeprovince which = USA value = 576 } # Newfoundland
                [B]command = { type = removecore which = 575 }
                command = { type = removecore which = 576 }[/B]
 
Thanks for all the help. I think that is it for all the technical help. The new question is going to be how much will not having Canada around hurt the UK prior to my entrance? I will be playing somewhat historically and not entering till Pearl Harbor. My guess is that it probably won't affect them much.
 
No problem.

You can give the UK some extra units, or manpower, or both, to try and balance it out. For example :

Code:
###########################
#  Raising of Canadian Volunteer units
###########################      
event = {
    id = 123499
    random = no
    country = ENG
    trigger = {
		control = { province = 19 data = ENG } # London
		
		}
    date = { hour = 12 day = 1 month = june year = 1939 }
    name = "Emergency mobilization of Canadian volunteers"
    desc = "War seems imminent ! We must call up the expatriate Canadian volunteers !"
    style = 0
	
    action_a = {
	
        name = "Canadian volunteers have answered the call !"
		command = { type = add_division value = infantry which = "1st Canadian Volunteers" when = 1 }
                command = { type = add_division value = militia which = "2nd Canadian Volunteers" when = 0 }
                command = { type = add_division value = militia which = "3rd Canadian Volunteers" when = 0 }
		command = { type = add_division value = interceptor which = "1st Canadian Fighter Wing" when = 1 }
		command = { type = add_division value = strategic_bomber which = "1st Canadian Bomber Wing " when = 0 where = escort }
		command = { type = add_division value = destroyer which = "HMS Halifax" when = 2 }
		command = { type = add_division value = destroyer which = "HMS Vancouver" when = 2 }
		command = { type = add_division value = light_cruiser which = "HMS Ottowa" when = 2 }
		command = { type = manpowerpool value = 50 }
		}
	  
}

A smattering of units and 50 manpower.

'When' sets model number - 0 is oldest
'Which' assigns name to unit(s)
'Where' attaches a brigade