[B@W] Abominus
09.11.04, 22:19
Wieder ein wenig Eventediting...
Mich hat jemand gefragt, wie er Länder per Event "anschließen" kann (so wie es historisch mit Österreich ans Reich passiert ist. Hier also die Erklärung, bzw. natürlich auch die Anfrage, ob das so richtig ist.
#########################################################################
# Anschluss of Austria - Annexation
#########################################################################
event = {
id = 2001
random = no
country = GER
# Triggered by AUS 2100
name = "EVT_2001_NAME"
desc = "EVT_2001_DESC"
style = 0
action_a = {
name = "OK"
command = { type = inherit which = AUS }
command = { type = manpowerpool value = 300 }
command = { type = dissent value = -10 }
command = { type = warentry which = USA value = -4 }
command = { type = warentry which = FRA value = -4 }
command = { type = warentry which = ENG value = -4 }
}
}
Das dick geschriebene ist der Befehl zum annektieren eines Landes. Aber, damit ist es natürlich noch nicht getan. Man möchte natürlich auch die Truppen etc. erhalten.
Dafür muss in der Szenariodatei folgendes beachten:
#Anti Aircraft Batteries
province = { id = 621 antiair = 1 } #Wien
country = {
tag = AUS
ai = "austria.ai"
alignment = { x = 60 y = -70 }
manpower = 65
techlevels = {
12000 13000 11000 14000 1000 1100 2000 5000 6000 9000 10000 8000
8100 3000 3100 4000 4100 4200 4300 1200 1300 2100 3200 9100 10100 11100 12100
}
techapps = {
12001 11001 11004 14001 14014 1001 6003 6004 3002 3005 4001 4101
4102 4201 4202 4203 4204 3101 14005 1107
4301 4302 4303 1201 11002 1202 1203 1204 1205 1206 1207 1208 1301 2001 2002 2003 2004 2005 2006
2101 2102 3001 3003 3004 3006 3007 3102 3103 3104 14002 14003 14004 14006 14007 14008 14009 14010 14012 14013
9001
9002 9004 9005 10001 10002 10003 10004 10005 11003 11102 11103 12002 12004 12102 13006
}
capital = 621
# The only effect is that Germany gets the whole manpower pool, all units and resources on annex.
civil_war = GER
# Resource Reserves
coal = 15000 steel = 15000 rubber = 15000 oil = 15000 supplies = 5000
ownedprovinces = {
565 573 571 623 621 610 611 620
}
controlledprovinces = {
565 573 571 623 621 610 611 620
}
nationalprovinces = {
565 573 571 623 621 610 611 620 563 616
}
landunit = {
id = { type = 14000 id = 9000 }
location = 621
name = "I. Korps"
division = {
id = { type = 14000 id = 9001 }
name = "1. Kavalleriedivision"
type = cavalry
model = 0
strength = 70
organisation = 50
}
division = {
id = { type = 14000 id = 9002 }
name = "1. Infantriedivision"
type = infantry
strength = 100
organisation = 50
}
division = {
id = { type = 14000 id = 9003 }
name = "2. Infantriedivision"
type = infantry
strength = 100
organisation = 50
}
division = {
id = { type = 14000 id = 9004 }
name = "3. Infantriedivision"
type = infantry
extra = artillery
strength = 100
organisation = 50
}
}
landunit = {
id = { type = 14000 id = 9005 }
location = 611
name = "II. Korps"
division = {
id = { type = 14000 id = 9006 }
name = "4. Infantriedivision"
type = infantry
strength = 100
organisation = 50
}
}
landunit = {
id = { type = 14000 id = 9007 }
location = 623
name = "III. Korps"
division = {
id = { type = 14000 id = 9009 }
name = "5. Infantriedivision"
type = infantry
strength = 100
organisation = 50
}
}
landunit = {
id = { type = 14000 id = 9008 }
location = 573
name = "IV. Korps"
division = {
id = { type = 14000 id = 9011 }
name = "6. Infantriedivision"
type = infantry
extra = engineer
strength = 100
organisation = 50
}
}
landunit = {
id = { type = 14000 id = 9010 }
location = 571
name = "V. Korps"
division = {
id = { type = 14000 id = 9012 }
name = "7. Infantriedivision"
type = infantry
strength = 100
organisation = 50
}
}
landunit = {
id = { type = 14000 id = 9013 }
location = 610
name = "VI. Korps"
division = {
id = { type = 14000 id = 9014 }
name = "1. Alpenjägerdivision"
type = bergsjaeger
strength = 30
organisation = 50
}
}
}
Es muss also in der Szenariodatei (in diesem Fall Hearts of Iron\scenarios\1936\austria.inc) die entsprechende Zeile suchen und dort das Land hin setzen, welches die Truppen bei gleichzeitiger Annektion übernehmen soll (es bringt nicht viel, civil_war = GER anzugeben, wenn England Österreich annektiert.
Mich hat jemand gefragt, wie er Länder per Event "anschließen" kann (so wie es historisch mit Österreich ans Reich passiert ist. Hier also die Erklärung, bzw. natürlich auch die Anfrage, ob das so richtig ist.
#########################################################################
# Anschluss of Austria - Annexation
#########################################################################
event = {
id = 2001
random = no
country = GER
# Triggered by AUS 2100
name = "EVT_2001_NAME"
desc = "EVT_2001_DESC"
style = 0
action_a = {
name = "OK"
command = { type = inherit which = AUS }
command = { type = manpowerpool value = 300 }
command = { type = dissent value = -10 }
command = { type = warentry which = USA value = -4 }
command = { type = warentry which = FRA value = -4 }
command = { type = warentry which = ENG value = -4 }
}
}
Das dick geschriebene ist der Befehl zum annektieren eines Landes. Aber, damit ist es natürlich noch nicht getan. Man möchte natürlich auch die Truppen etc. erhalten.
Dafür muss in der Szenariodatei folgendes beachten:
#Anti Aircraft Batteries
province = { id = 621 antiair = 1 } #Wien
country = {
tag = AUS
ai = "austria.ai"
alignment = { x = 60 y = -70 }
manpower = 65
techlevels = {
12000 13000 11000 14000 1000 1100 2000 5000 6000 9000 10000 8000
8100 3000 3100 4000 4100 4200 4300 1200 1300 2100 3200 9100 10100 11100 12100
}
techapps = {
12001 11001 11004 14001 14014 1001 6003 6004 3002 3005 4001 4101
4102 4201 4202 4203 4204 3101 14005 1107
4301 4302 4303 1201 11002 1202 1203 1204 1205 1206 1207 1208 1301 2001 2002 2003 2004 2005 2006
2101 2102 3001 3003 3004 3006 3007 3102 3103 3104 14002 14003 14004 14006 14007 14008 14009 14010 14012 14013
9001
9002 9004 9005 10001 10002 10003 10004 10005 11003 11102 11103 12002 12004 12102 13006
}
capital = 621
# The only effect is that Germany gets the whole manpower pool, all units and resources on annex.
civil_war = GER
# Resource Reserves
coal = 15000 steel = 15000 rubber = 15000 oil = 15000 supplies = 5000
ownedprovinces = {
565 573 571 623 621 610 611 620
}
controlledprovinces = {
565 573 571 623 621 610 611 620
}
nationalprovinces = {
565 573 571 623 621 610 611 620 563 616
}
landunit = {
id = { type = 14000 id = 9000 }
location = 621
name = "I. Korps"
division = {
id = { type = 14000 id = 9001 }
name = "1. Kavalleriedivision"
type = cavalry
model = 0
strength = 70
organisation = 50
}
division = {
id = { type = 14000 id = 9002 }
name = "1. Infantriedivision"
type = infantry
strength = 100
organisation = 50
}
division = {
id = { type = 14000 id = 9003 }
name = "2. Infantriedivision"
type = infantry
strength = 100
organisation = 50
}
division = {
id = { type = 14000 id = 9004 }
name = "3. Infantriedivision"
type = infantry
extra = artillery
strength = 100
organisation = 50
}
}
landunit = {
id = { type = 14000 id = 9005 }
location = 611
name = "II. Korps"
division = {
id = { type = 14000 id = 9006 }
name = "4. Infantriedivision"
type = infantry
strength = 100
organisation = 50
}
}
landunit = {
id = { type = 14000 id = 9007 }
location = 623
name = "III. Korps"
division = {
id = { type = 14000 id = 9009 }
name = "5. Infantriedivision"
type = infantry
strength = 100
organisation = 50
}
}
landunit = {
id = { type = 14000 id = 9008 }
location = 573
name = "IV. Korps"
division = {
id = { type = 14000 id = 9011 }
name = "6. Infantriedivision"
type = infantry
extra = engineer
strength = 100
organisation = 50
}
}
landunit = {
id = { type = 14000 id = 9010 }
location = 571
name = "V. Korps"
division = {
id = { type = 14000 id = 9012 }
name = "7. Infantriedivision"
type = infantry
strength = 100
organisation = 50
}
}
landunit = {
id = { type = 14000 id = 9013 }
location = 610
name = "VI. Korps"
division = {
id = { type = 14000 id = 9014 }
name = "1. Alpenjägerdivision"
type = bergsjaeger
strength = 30
organisation = 50
}
}
}
Es muss also in der Szenariodatei (in diesem Fall Hearts of Iron\scenarios\1936\austria.inc) die entsprechende Zeile suchen und dort das Land hin setzen, welches die Truppen bei gleichzeitiger Annektion übernehmen soll (es bringt nicht viel, civil_war = GER anzugeben, wenn England Österreich annektiert.