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...
).
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:
(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.
Added events (added to the end of CORE2's finland.txt in vanilla events folder):
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:
(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.
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 }
}
}