I thought I'd let Austria have a chance to reforge it's 1914 Empire. I wrote this event for the austria.txt file in the db\events folder: [note: red line is for comment below]
I then put the following lines in the event_text.csv file of the \config folder:
When I try to load Austria 1936, I get the following error:
The red text line above is line #86 in the austria.txt file.
Did I write something wrong? Did I need to put more info somewhere? Maybe add something to another file? HELP!
I basically just copied over the event for Munich Treaty and adjusted to fit what I wanted. I selected event2101 because it was unused. Thanks for the help!
#########################################################################
# Claim the old empire!
#########################################################################
event = {
id = 2101
random = no
country = AUS
trigger = {
atwar = no
NOT = {
OR = {
war = { country = CZE country = GER }
war = { country = HUN country = GER }
war = { country = YUG country = GER }
alliance = { country = CZE country = GER }
alliance = { country = HUN country = GER }
alliance = { country = YUG country = GER }
ispuppet = GER
puppet = { country = CZE country = GER }
puppet = { country = HUN country = GER }
puppet = { country = YUG country = GER } }
}
}
}
name = "EVT_2101_NAME"
desc = "EVT_2101_DESC"
style = 0
picture = "german_marginal_victory2"
date = { day = 5 month = january year = 1936 }
action_a = {
name = "ACTIONNAME2101A" # Declare reformation of old empire!
ai_chance = 10
command = { type = addcore which = 468 } # Czechoslovak provinces
command = { type = addcore which = 469 }
command = { type = addcore which = 470 }
command = { type = addcore which = 471 }
command = { type = addcore which = 472 }
command = { type = addcore which = 474 }
command = { type = addcore which = 475 }
command = { type = addcore which = 476 }
command = { type = addcore which = 477 }
command = { type = addcore which = 478 }
command = { type = addcore which = 490 }
command = { type = addcore which = 380 } #Yugoslavia provinces
command = { type = addcore which = 381 }
command = { type = addcore which = 382 }
command = { type = addcore which = 383 }
command = { type = addcore which = 384 }
command = { type = addcore which = 385 }
command = { type = addcore which = 386 }
command = { type = addcore which = 387 }
command = { type = addcore which = 388 }
command = { type = addcore which = 454 }
command = { type = addcore which = 455 }
command = { type = addcore which = 459 }
command = { type = addcore which = 493 }
command = { type = addcore which = 456 } #Hungary provinces
command = { type = addcore which = 457 }
command = { type = addcore which = 458 }
command = { type = addcore which = 491 }
command = { type = addcore which = 492 }
command = { type = addcore which = 497 }
command = { type = addcore which = 428 } #Romania provinces
command = { type = addcore which = 496 }
command = { type = addcore which = 498 }
command = { type = addcore which = 479 } #Poland provinces
command = { type = addcore which = 489 }
command = { type = addcore which = 500 }
command = { type = relation which = GER value = -10 }
command = { type = relation which = CZE value = -20 }
command = { type = relation which = HUN value = -20 }
command = { type = relation which = YUG value = -20 }
command = { type = belligerence which = AUS value = 5 }
command = { type = domestic which = interventionism value = 1 }
command = { type = domestic which = defense_lobby value = 1 }
command = { type = dissent value = 8 }
}
action_b = {
name = "ACTIONNAME2101B" # Leave well enough alone
ai_chance = 90
command = { type = relation which = YUG value = 10 }
command = { type = relation which = CZE value = 10 }
command = { type = relation which = HUN value = 10 }
command = { type = relation which = GER value = 10 }
command = { type = belligerence which = AUS value = -1 }
command = { type = dissent value = -2 }
}
}
I then put the following lines in the event_text.csv file of the \config folder:
EVT_2101_NAME;Reforge the Empire;;;;;;;;;;X
EVT_2101_DESC;Proclaim the intent to retake all provinces lost in 1918 and reforge the Austrian Empire.;;;;;;;;;;X
ACTIONNAME2101A;Claim the lost provinces!;;;;;;;;;;X
ACTIONNAME2101B;Never mind...;;;;;;;;;;X
When I try to load Austria 1936, I get the following error:
---Error: (unknown data defined in event database) 'name = 'EVT_NAME_2101' Line = 86 file = db\events\austria.txt ---
Do you want to continue?
The red text line above is line #86 in the austria.txt file.
Did I write something wrong? Did I need to put more info somewhere? Maybe add something to another file? HELP!
I basically just copied over the event for Munich Treaty and adjusted to fit what I wanted. I selected event2101 because it was unused. Thanks for the help!