• 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(49243)

First Lieutenant
Oct 8, 2005
236
0
This may seem like a noobish question, but I just don't understand what can be wrong with my new Finland eventfile for CORE (I thought I'd change the history a bit... :p ).

So, I made this event file with a couple new events (also includes new events for SOV and HOL in their own files), but for some reason when starting up the CG in hoi2, it always complains about the events. No matter how much I check through them, it still complains. The strangest thing is, that these same events worked before completely normally, and I can't think of adding anything that could make them not work (besides changing numbers, etc.). All of the events are based on existing ones from vanilla hoi2 and mods, with values etc changed.

I'd be thankful if someone could have a look to see what could be wrong.

Error message:
untitled4na.jpg


(it seems to be complaining about the first event's deathdate, but I can't figure out why. I copied this bit from Austria mod's "Welcome to Austria Mod" event, with different command parameters, text, etc. :confused:

Added events (added to the end of CORE2's finland.txt in vanilla events folder):

Code:
#########################################################################
#  A slight change in history
#########################################################################
event = {
	id = 3204
	country = FIN
	random = no
	# picture = 

	name = "A slight change in history"
	desc = "Soon after its independence, the Finnish population started growing enormously. This was partially due to the war refugees that arrived from Europe, and from the improving conditions in general. In 1920, the government started an industrialisation programme, increasing the country's industry to around eight times the 1900 values, especially focusing on shipbuilding industry. This industrialisation programme has finally ended and the factories will start to be put into use. Due to the military threat of the Soviet Union, the government is now discussing an enlargement in the armed forces."
	style = 0

	date = { day = 1 month = january year = 1936 }
	offset = 1
	deathdate = { day = 1 month = december year = 1947 }

	action_a = { name = "OK"

		command = { type = construct which = ic where = 103 value = 1 } 
		command = { type = construct which = ic where = 130 value = 1 } 
		command = { type = construct which = ic where = 131 value = 7 } 
		command = { type = construct which = ic where = 103 value = 3 } 
		command = { type = construct which = ic where = 132 value = 9 } 
		command = { type = construct which = ic where = 136 value = 1 } 
		command = { type = construct which = ic where = 137 value = 8 } 
		command = { type = construct which = ic where = 138 value = 2 } 
		command = { type = construct which = ic where = 139 value = 2 } 
		command = { type = construct which = ic where = 140 value = 3 } 
		command = { type = construct which = ic where = 141 value = 8 } 
		command = { type = construct which = ic where = 142 value = 19 } 
		command = { type = construct which = ic where = 143 value = 10 } 
		command = { type = construct which = ic where = 144 value = 2 } 
		command = { type = construct which = ic where = 145 value = 8 } 
		command = { type = construct which = ic where = 146 value = 1 } 
		command = { type = construct which = ic where = 147 value = 1 } 
		command = { type = construct which = ic where = 148 value = 1 } 
		command = { type = construct which = ic where = 149 value = 1 } 
		command = { type = construct which = ic where = 101 value = 13 } 
		command = { type = construct which = ic where = 107 value = 9 } 
		command = { type = construct which = ic where = 294 value = 10 } 
		command = { type = construct which = ic where = 127 value = 6 } 
		command = { type = construct which = naval_base where = 132 value = 10 } 
		command = { type = construct which = naval_base where = 142 value = 6 } 
		command = { type = construct which = naval_base where = 141 value = 6 } 
		command = { type = construct which = naval_base where = 127 value = 4 } 
		command = { type = construct which = air_base where = 141 value = 6 } 
		command = { type = construct which = air_base where = 143 value = 6 } 
		command = { type = construct which = air_base where = 142 value = 4 } 
		command = { type = construct which = air_base where = 132 value = 4 } 
		command = { type = supplies value = 200000 }
	}
}


#########################################################################
#  Alliance
#########################################################################
event = {
	id = 3206
	random = no
	country = FIN
	# picture = 

	name = "The Nordic alliance"
	desc = "The Nordic alliance ratified in 1935 has now come into force."
	style = 0

	date = { day = 3 month = january year = 1936 }
	offset = 1
	deathdate = { day = 1 month = december year = 1947 }

	action_a = {
		name = "OK"
		command = { type = alliance which = SWE }
		command = { type = alliance which = NOR }
		command = { type = alliance which = DEN }
		command = { type = relation which = SWE value = 80 }
		command = { type = relation which = NOR value = 80 }
		command = { type = relation which = DEN value = 80 }
	}
}

#########################################################################
#  Colonies
#########################################################################
event = {
	id = 3205
	random = no
	country = FIN
	# picture = 

	name = "Netherlands gives us some colonies"
	desc = "Netherlands has decided to give us some of the colonies that they no longer need. This will be very helpful to use, and we will now guarantee their independence and they will join the Nordic alliance."
	style = 0

	date = { day = 30 month = january year = 1936 }
	offset = 1
	deathdate = { day = 1 month = december year = 1947 }

	action_a = {
		name = "OK"
		command = { type = guarantee which = FIN where = HOL }
		command = { type = alliance which = HOL }
	}
}

#########################################################################
#  Europe Secessions
#########################################################################
event = {
	id = 3207
	random = no
	country = FIN
	# picture = 

	name = "Give France and Belgium back their lands."
	desc = " "
	style = 0

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = FRA value = 527 }
		command = { type = secedeprovince which = FRA value = 366 }
		command = { type = secedeprovince which = FRA value = 367 }
		command = { type = secedeprovince which = FRA value = 529 }
		command = { type = secedeprovince which = FRA value = 365 }
		command = { type = secedeprovince which = FRA value = 364 }
		command = { type = secedeprovince which = FRA value = 363 }
		command = { type = secedeprovince which = FRA value = 362 }
		command = { type = secedeprovince which = FRA value = 358 }
		command = { type = secedeprovince which = FRA value = 328 }
		command = { type = secedeprovince which = FRA value = 327 }
		command = { type = secedeprovince which = FRA value = 326 }
		command = { type = secedeprovince which = FRA value = 325 }
		command = { type = secedeprovince which = FRA value = 324 }
		command = { type = secedeprovince which = FRA value = 359 }
		command = { type = secedeprovince which = FRA value = 361 }
		command = { type = secedeprovince which = FRA value = 322 }
		command = { type = secedeprovince which = FRA value = 323 }
		command = { type = secedeprovince which = FRA value = 59 	}
		command = { type = secedeprovince which = FRA value = 60 	}
		command = { type = secedeprovince which = FRA value = 61	}
		command = { type = secedeprovince which = FRA value = 62 	}
		command = { type = secedeprovince which = FRA value = 63 	}
		command = { type = secedeprovince which = FRA value = 318 }
		command = { type = secedeprovince which = FRA value = 317 }
		command = { type = secedeprovince which = FRA value = 64 	}
		command = { type = secedeprovince which = FRA value = 54 	}
		command = { type = secedeprovince which = FRA value = 42 	}
		command = { type = secedeprovince which = FRA value = 55 	}
		command = { type = secedeprovince which = FRA value = 41 	}
		command = { type = secedeprovince which = FRA value = 56	}
		command = { type = secedeprovince which = FRA value = 57 	}
		command = { type = secedeprovince which = FRA value = 58 	}
		command = { type = secedeprovince which = FRA value = 32 	}
		command = { type = secedeprovince which = FRA value = 33 	}
		command = { type = secedeprovince which = FRA value = 34 	}
		command = { type = secedeprovince which = FRA value = 35 	}
		command = { type = secedeprovince which = FRA value = 36 	}
		command = { type = secedeprovince which = FRA value = 37 	}
		command = { type = secedeprovince which = FRA value = 38 	}
		command = { type = secedeprovince which = FRA value = 39 	}
		command = { type = secedeprovince which = FRA value = 40 	}
		command = { type = secedeprovince which = FRA value = 320 }
		command = { type = secedeprovince which = FRA value = 321 }
		command = { type = secedeprovince which = FRA value = 528 }
		command = { type = secedeprovince which = FRA value = 319 }
		command = { type = secedeprovince which = FRA value = 360	}
		command = { type = secedeprovince which = FRA value = 43 	}
		command = { type = secedeprovince which = FRA value = 44 	}
		command = { type = secedeprovince which = FRA value = 53 	}
		command = { type = secedeprovince which = FRA value = 18 	}
		command = { type = secedeprovince which = FRA value = 72 	}
		command = { type = secedeprovince which = FRA value = 73 	}
		command = { type = secedeprovince which = FRA value = 316 	}
		command = { type = secedeprovince which = BEL value = 45 }
		command = { type = secedeprovince which = BEL value = 50 }
		command = { type = secedeprovince which = BEL value = 51 }
		command = { type = secedeprovince which = BEL value = 52 }
		command = { type = secedeprovince which = BEL value = 65 }
		command = { type = secedeprovince which = BEL value = 68 }
		command = { type = secedeprovince which = BEL value = 69 }
		command = { type = secedeprovince which = BEL value = 70 }
	}
}
 

Atruejedi

General
98 Badges
Jun 24, 2003
2.171
62
  • War of the Roses
  • Leviathan: Warships
  • The Kings Crusade
  • Magicka
  • Majesty 2
  • Majesty 2 Collection
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • The Showdown Effect
  • Victoria 2
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • Lead and Gold
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Magicka 2
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Victoria 3 Sign Up
  • Darkest Hour
  • Hearts of Iron II: Armageddon
  • 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: 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
  • Commander: Conquest of the Americas
  • Arsenal of Democracy
  • Dungeonland
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • 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
  • Hearts of Iron III
Lt Hilsdorf said:
Well I reckon the description for the first event is too long. Make it smaller and then it ought to work.

Indeed. Descriptions must be under 500 characters. Your first is 506, didn't check the other ones. Shorten them and give it another shot.
 

unmerged(49243)

First Lieutenant
Oct 8, 2005
236
0
Thanks for the help, it took the error message away. However, that's a problem. The game now freezes where the message used to come. Could this be that it finds an error, but doesn't have a message for it, or could it be the effect seen with some mods (ie. that you need to let the game start up for the first half an hour when playing the mod for the first time)? I just thought that this half-an-hour-freezing-effect occurs in the beginning when loading the scenario, and not when it's almost loaded. Strange. :confused:

EDIT: Never mind. This freezing problem seems to be with my USSR event file. I created an event in which USSR surrenders East Karelia to Finland if Finland either occupies Leningrad or the whole of East Karelia and the Kola peninsula.

EDIT2: Great. It works now. Now it's actually possible for Finland to win Winter War with those events (there's a couple more that aren't above). Also, the first event there gives it a nice chance to fight Germany, too. The event that's there in case Fin beats Germany has to be launched manually, as I didn't want to make a very complicated chain of events. Thanks a lot. :cool:
 
Last edited: