Hey, I'm still pretty new around here but I'm currently diving into modding Arsenal of Democracy (I hope this is the right place to pose this). My friend and I are making a modern day scenario where you start in 1990 and play well into the future. Essentially you can do everything in the 1936 scenario but in the world of 1990 and on. I have two questions for the community here:
Question 1 - How do I implement Events?
I'm using an Event Maker program which generates the code for the Event precisely how I want it. The event itself looks functional after comparing it to other examples found in AOD. However when I go to load the scenario the game complains about it. It says "missing eventdatabase" in the first pop up and the following one says "Error: ID = 1000000 Line = 6 File = db\events\1990_usa.txt" I know that "ID = 1000000" is the tag of the event that I created (my first one), I'm assuming that "Line = 6" is what line in the file the game is complaining about and "File = db\events\1990_usa.txt" is what file the game is pissed off at. Can anyone give me some guidance as to what's going on?
Question 2 - Runtime Error
Yesterday after many long and agonizing hours of reallocating territories I finally have all the new political boarders of the world set. However there was an error message that came up which simply said "Scenario has errors." Kind of vague isn't it? At first I just fooled around with it but couldn't find the cause. Since the game seemed functional, I kept rolling on in adding new countries, key word seemed. Since I had class on and off all day today, I just opened up the scenario to see if it would keep running when I got back and I ran it about 3 times now. Each time the game crashed somewhere between mid to late 1991. I'm taking an educated guess that it is the result of that error. Here is the scenario file that I'm working with, does anyone have any idea about what's happening?
Question 1 - How do I implement Events?
I'm using an Event Maker program which generates the code for the Event precisely how I want it. The event itself looks functional after comparing it to other examples found in AOD. However when I go to load the scenario the game complains about it. It says "missing eventdatabase" in the first pop up and the following one says "Error: ID = 1000000 Line = 6 File = db\events\1990_usa.txt" I know that "ID = 1000000" is the tag of the event that I created (my first one), I'm assuming that "Line = 6" is what line in the file the game is complaining about and "File = db\events\1990_usa.txt" is what file the game is pissed off at. Can anyone give me some guidance as to what's going on?
Question 2 - Runtime Error
Yesterday after many long and agonizing hours of reallocating territories I finally have all the new political boarders of the world set. However there was an error message that came up which simply said "Scenario has errors." Kind of vague isn't it? At first I just fooled around with it but couldn't find the cause. Since the game seemed functional, I kept rolling on in adding new countries, key word seemed. Since I had class on and off all day today, I just opened up the scenario to see if it would keep running when I got back and I ran it about 3 times now. Each time the game crashed somewhere between mid to late 1991. I'm taking an educated guess that it is the result of that error. Here is the scenario file that I'm working with, does anyone have any idea about what's happening?
name = "Winds of War"
panel = "scenarios/data/0.bmp"
header =
{ name = "Winds of War"
startdate = { year = 1990}
selectable = { AFG ALB ARG AST AUS BEL BHU BOL BRA BUL CAN CGX CHC CHI CHL
COL COS CSX CUB CXB CYN CZE DEN DOM ECU ENG EST ETH FIN FRA
GER GRE GUA HAI HOL HON HUN IRE IRQ ITA JAP LAT LIB LIT LUX
MAN MEX MON NEP NIC NOR NZL OMN PAN PAR PER PHI POL POR PRU
ROM SOV SWE SAF SAL SAU SCH SIA SIK SPR TIB TUR URU USA VEN
YEM
U89 SCO ICL SLO SLV CRO BOS MTN SER U92 CYP LEB SYR JOR PAK
EGY U91 ISR LBY ALG TUN MOR U93 U96 U86 GUI U88 SIE GLD U99
MAL BEN NIG U84 U94 EAF CAM SUD U70 U95 U90 SOM EQA MOZ ANG
NAM MAD IND BUR LAO U72 MLY INO PRK KOR CON U85 GAB GUY U98
U91 U01 U05 U03 U17 U06 U08 U07 U09 U10 U11 U12 U15 U16 U14
U13 U18 U19 U20 U21 U22 U23 U24 U25 U04 U27 U75
}
USA = { }
PER = { }
IRQ = { }
ISR = { }
CHC = { }
RUS = { }
ENG = { }
}
globaldata =
{ startdate = { year = 1990 month = january day = 0 }
axis =
{ id = { type = 15000 id = 2 }
participant = { PER LBY U91 LEB JOR ALG MOR U08 EGY IRQ ARA AFG SOM SYR YEM
SUD PAK SAU OMN }
}
allies =
{ id = { type = 15000 id = 1 }
participant = { USA ITA ICL HUN GRE FRA GER EST DEN CZE BUL CRO CAN BEL ALB
ENG TUR SPR SLV SLO ROM POR POL LUX NOR HOL LAT LIT }
}
comintern =
{ id = { type = 15000 id = 3 }
participant = { CHC RUS U72 PRK LAO }
}
alliance =
{ id = { type = 15000 id = 10 }
participant = { CHI CXB }
}
war =
{ id = { type = 9430 id = 1 }
date = { year = 1935 month = october day = 3 }
enddate = { year = 1936 month = january day = 0 }
attackers =
{ id = { type = 9430 id = 2 }
participant = { ITA }
}
defenders =
{ id = { type = 9430 id = 3 }
participant = { ETH }
}
}
# ########################### 1936 ############################
treaty =
{ id = { type = 16384 id = 1 }
type = non_aggression
country = "ENG"
country = "POR"
startdate = { year = 1935 month = december day = 30 }
expirydate = { year = 1948 month = december day = 30 }
}
# ###################### 1936 TRADES #####################
treaty =
{ id = { type = 16384 id = 300 }
type = trade
country = "HOL"
country = "BEL"
startdate = { year = 1935 month = december day = 30 }
expirydate = { year = 1948 month = december day = 30 }
oil = -2
rare_materials = -1
supplies = 1
}
enddate = { year = 3000 month = january day = 0 }
}
# ###################
# Includes for global data
include = "db\events\1990_usa.txt"
# Victory points distribution
include = "scenarios\0\vp.inc"
# Include files for each country tag used in the scenario
include = "scenarios\0\afghanistan.inc"
include = "scenarios\0\albania.inc"
include = "scenarios\0\australia.inc"
include = "scenarios\0\austria.inc"
include = "scenarios\0\belgium.inc"
include = "scenarios\0\bhutan.inc"
include = "scenarios\0\bolivia.inc"
include = "scenarios\0\brazil.inc"
include = "scenarios\0\bulgaria.inc"
include = "scenarios\0\canada.inc"
include = "scenarios\0\chile.inc"
include = "scenarios\0\colombia.inc"
include = "scenarios\0\costa_rica.inc"
include = "scenarios\0\cuba.inc"
include = "scenarios\0\dominican_republic.inc"
include = "scenarios\0\ecuador.inc"
include = "scenarios\0\united_kingdom.inc"
include = "scenarios\0\estonia.inc"
include = "scenarios\0\ethiopia.inc"
include = "scenarios\0\finland.inc"
include = "scenarios\0\france.inc"
include = "scenarios\0\germany.inc"
include = "scenarios\0\greece.inc"
include = "scenarios\0\guatemala.inc"
include = "scenarios\0\haiti.inc"
include = "scenarios\0\netherlands.inc"
include = "scenarios\0\honduras.inc"
include = "scenarios\0\hungary.inc"
include = "scenarios\0\ireland.inc"
include = "scenarios\0\iraq.inc"
include = "scenarios\0\italy.inc"
include = "scenarios\0\japan.inc"
include = "scenarios\0\latvia.inc"
include = "scenarios\0\liberia.inc"
include = "scenarios\0\lithuania.inc"
include = "scenarios\0\luxemburg.inc"
include = "scenarios\0\mexico.inc"
include = "scenarios\0\mongolia.inc"
include = "scenarios\0\nepal.inc"
include = "scenarios\0\nicaragua.inc"
include = "scenarios\0\norway.inc"
include = "scenarios\0\new_zealand.inc"
include = "scenarios\0\oman.inc"
include = "scenarios\0\panama.inc"
include = "scenarios\0\paraguay.inc"
include = "scenarios\0\philippines.inc"
include = "scenarios\0\poland.inc"
include = "scenarios\0\portugal.inc"
include = "scenarios\0\peru.inc"
include = "scenarios\0\romania.inc"
include = "scenarios\0\south_africa.inc"
include = "scenarios\0\el_salvador.inc"
include = "scenarios\0\saudi_arabia.inc"
include = "scenarios\0\switzerland.inc"
include = "scenarios\0\siam.inc"
include = "scenarios\0\spain.inc"
include = "scenarios\0\sweden.inc"
include = "scenarios\0\turkey.inc"
include = "scenarios\0\uruguay.inc"
include = "scenarios\0\usa.inc"
include = "scenarios\0\venezuela.inc"
include = "scenarios\0\yemen.inc"
include = "scenarios\0\arab_federation.inc"
include = "scenarios\0\argentina.inc"
include = "scenarios\0\bosnia.inc"
include = "scenarios\0\croatia.inc"
include = "scenarios\0\cyprus.inc"
include = "scenarios\0\czech_republic.inc"
include = "scenarios\0\denmark.inc"
include = "scenarios\0\egypt.inc"
include = "scenarios\0\iran.inc"
include = "scenarios\0\israel.inc"
include = "scenarios\0\china.inc"
include = "scenarios\0\russia.inc"
include = "scenarios\0\jamaica.inc"
include = "scenarios\0\jordan.inc"
include = "scenarios\0\kuwait.inc"
include = "scenarios\0\malta.inc"
include = "scenarios\0\montenegro.inc"
include = "scenarios\0\lebanon.inc"
include = "scenarios\0\pakistan.inc"
include = "scenarios\0\scotland.inc"
include = "scenarios\0\serbia.inc"
include = "scenarios\0\slovakia.inc"
include = "scenarios\0\slovenia.inc"
include = "scenarios\0\iceland.inc"
include = "scenarios\0\syria.inc"
include = "scenarios\0\libya.inc"
include = "scenarios\0\algeria.inc"
include = "scenarios\0\tunisia.inc"
include = "scenarios\0\morocco.inc"
include = "scenarios\0\mauritania.inc"
include = "scenarios\0\senegal.inc"
include = "scenarios\0\gambia.inc"
include = "scenarios\0\guinea.inc"
include = "scenarios\0\ivory_coast.inc"
include = "scenarios\0\sierra_leone.inc"
include = "scenarios\0\ghana.inc"
include = "scenarios\0\benin.inc"
include = "scenarios\0\mali.inc"
include = "scenarios\0\togo.inc"
include = "scenarios\0\nigeria.inc"
include = "scenarios\0\niger.inc"
include = "scenarios\0\chad.inc"
include = "scenarios\0\cameroon.inc"
include = "scenarios\0\central_african_union.inc"
include = "scenarios\0\sudan.inc"
include = "scenarios\0\uganda.inc"
include = "scenarios\0\rwanda.inc"
include = "scenarios\0\kenya.inc"
include = "scenarios\0\somalia.inc"
include = "scenarios\0\equatorial_africa.inc"
include = "scenarios\0\mozambique.inc"
include = "scenarios\0\angola.inc"
include = "scenarios\0\nambia.inc"
include = "scenarios\0\madagascar.inc"
include = "scenarios\0\india.inc"
include = "scenarios\0\burma.inc"
include = "scenarios\0\laos.inc"
include = "scenarios\0\vietnam.inc"
include = "scenarios\0\malaysia.inc"
include = "scenarios\0\indonesia.inc"
include = "scenarios\0\north_korea.inc"
include = "scenarios\0\south_korea.inc"
include = "scenarios\0\congo.inc"
include = "scenarios\0\congo_brazzaville.inc"
include = "scenarios\0\gabon.inc"
include = "scenarios\0\guyana.inc"
include = "scenarios\0\trinidad.inc"
include = "scenarios\0\greenland.inc"
include = "scenarios\0\macedonia.inc"
include = "scenarios\0\puerto_rico.inc"
include = "scenarios\0\belize.inc"
include = "scenarios\0\moldova.inc"
include = "scenarios\0\bahrain.inc"
include = "scenarios\0\burkina_faso.inc"
include = "scenarios\0\tanzania.inc"
include = "scenarios\0\eritrea.inc"
include = "scenarios\0\zambia.inc"
include = "scenarios\0\malawi.inc"
include = "scenarios\0\botswana.inc"
include = "scenarios\0\cambodia.inc"
include = "scenarios\0\bangladesh.inc"
include = "scenarios\0\djibouti.inc"
include = "scenarios\0\virgin_islands.inc"
include = "scenarios\0\antigua.inc"
include = "scenarios\0\guadelope.inc"
include = "scenarios\0\st_lucia.inc"
include = "scenarios\0\st_georges.inc"
include = "scenarios\0\barbados.inc"
include = "scenarios\0\tobago.inc"
include = "scenarios\0\suriname.inc"
include = "scenarios\0\martinique.inc"
include = "scenarios\0\taiwan.inc"
include = "scenarios\0\singapore.inc"