[HoI2] Hilfe bei Eventerstellung

Modvorstellungen und weiteres

Moderator: Moderatoren

Benutzeravatar
nordstern
Aedilis
Aedilis
Beiträge: 12624
Registriert: 6. Dezember 2010 01:28
:
Teilnahme an einem Contest

[HoI2] Hilfe bei Eventerstellung

Beitragvon nordstern » 10. Mai 2012 11:52

hi,

ich spiele momentan wieder sehr viel HoI2 DD und stoße da immer wieder auf Situationen die eigentlich nur noch ätzend sind. Um das zu ändern hab ich mir ein paar Events ausgedacht, weis aber nicht wie ich das am besten Umsetzen kann.

Kapitulationsevents:
Bsp. England:
Wenn England seine Provinzen in Ägypten, Naher Osten und Europa verloren hat soll das Commonwealth zerbrechen. Dies hat die Kapitulation Englands an den Besatzer zur Folge sowie die Unabhängigkeit der verbliebenen englischen Gebiete und die neuen Länder gehören nicht den Alliierten an. Gleiches gilt für Frankreich und Italien, wobei bei Italien der verlust der europäischen Gebiete reichen soll.
Ein entsprechendes Event für Amerika das beim Verlust des amerikanischen Kontinents greift.

Desweiteren ein Event das die Alliierten zerfallen lässt sobald die großen Nationen Amerika (wenn im Krieg), England und Frankreich aus dem Rennen sind und die bis dahin eroberten Gebiete wie z.b. Holland und Belgien automatisch zum Reich des Besatzers gehören, alle nicht eroberten bleiben in deren Besitz, Alliierte Kapitulieren und es kommt zum Frieden.

Momentan ist es ja leider so das man z.b. als deutsches Reich bis in den Pazifik die kleinste Siegprovinz erober muss. Und ich finde das total Unrealistisch:
1) Ein Land das eine wirtschaftliche und indtsurielle Basis verliert sowie alle nicht Kolonien kann nicht mehr existieren
2) Z.B. Churchill nach dem Krieg zugab: Währe nur ein einziger deutscher Soldat in England gelandet hätte er sofort kapituliert. Er habe den Krieg auf dem Festland gesehen und wolle nicht das sein Land auch so zerstört wird wie die Beneluxstaaten oder Polen.

Ich stehe in einer Kampange momentan als deutsches Reich in Vietnam und weder Frankreich noch England wollen kapitulieren weil sie ja noch ein paar weniger Ländereien haben mit Siegpunkten wie Hongkong, Fiji, etc... nur ein Land wie England kann doch keinen Krieg mehr führen wenn die einzigen Grundlagen für diesen Krieg Inseln mit ein paar hundert Einwohnern tausende Km vom besetzten Heimatland entfernt sind. Abgesehen von der Tatsache das Frankreich zu der zeit keinerlei Bodentruppen mehr hatte.
Ich bin Legastheniker. Wer also Rechtschreibfehler oder unklare Formulierungen findet, soll bitte versuchen die Grundaussage zu verstehen oder darf sie gerne behalten :)

Danke für euer Verständnis.

Benutzeravatar
Guderian
Tribunus Angusticlavius
Tribunus Angusticlavius
Beiträge: 3423
Registriert: 9. November 2010 18:06
Wohnort: Freiheit Buer
:
Teilnahme an einem Contest

Re: [HoI2] Hilfe bei Eventerstellung

Beitragvon Guderian » 10. Mai 2012 15:32

Puuuuuuhhhh
Das ist ne extrem heftiger Event-Wunsch und ist nicht mal eben so geschrieben

Frage: Wieviel verstehst du von Event-Programmierung?
Dann könnt ich dir nämlich schreitweise zeigen was du machen müsstest, nach dem Motto:

Gib einem Mann einen Fisch und er wird einen Tag satt, Zeig einem Mann wie man fischt und er kann sich selbst versorgen.
Bild

Benutzeravatar
nordstern
Aedilis
Aedilis
Beiträge: 12624
Registriert: 6. Dezember 2010 01:28
:
Teilnahme an einem Contest

Re: [HoI2] Hilfe bei Eventerstellung

Beitragvon nordstern » 10. Mai 2012 16:30

ähm.. naja.. ich denke die basics.. ich weis wie sie aussehen, ich habe eventereignisse leicht verändert (z.b. Danzig oder Krieg statt um eine um 4 Provinzen erweitert damit das DR "rundlicher" aussieht)
Allerdings bei den bedigungen weis ich wie die Aufgebaut sind. Aer ich habe noch nie eins selbst erstellt bzw die Bedigungen außer bei den Jahreszahlen verändert.
Ich bin Legastheniker. Wer also Rechtschreibfehler oder unklare Formulierungen findet, soll bitte versuchen die Grundaussage zu verstehen oder darf sie gerne behalten :)

Danke für euer Verständnis.

Benutzeravatar
Seleukos
Signifer
Signifer
Beiträge: 452
Registriert: 17. November 2010 17:54
:
Großspender

Re: [HoI2] Hilfe bei Eventerstellung

Beitragvon Seleukos » 10. Mai 2012 17:32

Hallo nordstern,

es gibt aus dem HOI-Forum (heartsofiron.de) ein "England kapituliert-Event", das ich mir mal kopiert habe.
Ich weiß allerdings weder, wer es erstellt hat, noch ob es funktioniert - hab es nie ausprobiert.

Aber als Basis kann es ja für Deine Modding-Wünsche dienen.

http://ul.to/4amdcb14
Lache nie über die Dummheit der anderen, sie ist deine Chance - Sir Winston Churchill

Benutzeravatar
Guderian
Tribunus Angusticlavius
Tribunus Angusticlavius
Beiträge: 3423
Registriert: 9. November 2010 18:06
Wohnort: Freiheit Buer
:
Teilnahme an einem Contest

Re: [HoI2] Hilfe bei Eventerstellung

Beitragvon Guderian » 10. Mai 2012 18:33

@Nordstern
also ich persönlich würde mir, wenn ich das angehen würde, das eigentliche Event als Basis nehmen:

Code: Alles auswählen

#########################################################################
#  Surrender events - Partition of United Kingdom
#########################################################################

event = {
   id = 13
   random = no
   country = GER

   name = EVT_13_NAME
   desc = EVT_13_DESC
   picture = "partition_of_england"
   style = 0

   trigger = {
      OR = {
         control = { province = 56 data = GER } #Paris
         NOT = {
            war = { country = FRA country = GER }
         }
      }
      control = { province = 19 data = GER } #London
      lost_VP = { country = ENG value = 75 }
      lost_IC = { country = ENG value = 75 }
      NOT = {
         war = { country = USA country = GER }
      }
      NOT = {
         war = { country = SOV country = GER }
      }
      random = 50
   }

        date = { day = 0 month = january year = 1936 }
        offset = 10
   deathdate = { day = 29 month = december year = 1963 }

   action_a = {
      ai_chance = 50
      name = EVT_13_ACTA
      command = { type = dissent value = -5 }
      command = { type = end_mastery which = SCO }
      command = { type = money value = 5000 }
      command = { type = trigger which = 66 }
   }
   action_b = {
      ai_chance = 50
      name = EVT_13_ACTB
      command = { type = dissent value = -2 }
      command = { type = money value = 2500 }
      command = { type = sleepevent which = 66 }
   }
}


event = {
   id = 66
   random = no
   country = ENG

   name = EVT_66_NAME
   desc = EVT_66_DESC
   style = 0

   # Triggered by German event 13

   action_a = {
      ai_chance = 50
      name = EVT_66_ACTA
      command = { type = set_domestic which = democratic value = 3 }
      command = { type = set_domestic which = political_left value = 3 }
      command = { type = peace which = GER value = 0 }
      command = { type = leave_alliance }
      command = { type = dissent value = 15 }
      command = { type = relation which = USA value = -50 }
      command = { type = set_relation which = ITA value = 50 }
      command = { type = set_relation which = GER value = 50 }
      #Incase Italy has taken control
      command = { type = secedeprovince which = ITA value = 5 } # Scapa Flow
      command = { type = secedeprovince which = ITA value = 23 } # Plymouth
      command = { type = secedeprovince which = ITA value = 1822 } # Kuwait City
      #IF Germany or UK has control give provinces to Germany
      command = { type = secedeprovince which = GER value = 5 } # Scapa Flow
      command = { type = secedeprovince which = GER value = 23 } # Plymouth
      command = { type = secedeprovince which = GER value = 1822 } # Kuwait City
      #Incase Germany has control
      command = { type = secedeprovince which = GER value = 31 } # Malta
      command = { type = secedeprovince which = GER value = 444 } # Cyprus
      command = { type = secedeprovince which = GER value = 348 } # Gibraltar
      command = { type = secedeprovince which = GER value = 901 } # Port Said
      command = { type = secedeprovince which = GER value = 900 } # Suez
      command = { type = secedeprovince which = GER value = 1036 } # Zeila
      command = { type = secedeprovince which = GER value = 1035 } # Berbera
      #If Italy or UK control give them to Italy.(except gibraltar goes to spain if UK controls))
      command = { type = secedeprovince which = ITA value = 31 } # Malta
      command = { type = secedeprovince which = ITA value = 444 } # Cyprus
      command = { type = secedeprovince which = ITA value = 348 } # Gibraltar
      command = { type = secedeprovince which = ITA value = 901 } # Port Said
      command = { type = secedeprovince which = ITA value = 900 } # Suez
      command = { type = secedeprovince which = ITA value = 1036 } # Zeila
      command = { type = secedeprovince which = ITA value = 1035 } # Berbera
      #Incase Nat Spain or UK control Gibraltar give it to spain.
      command = { type = secedeprovince which = SPA value = 348 } # Gibraltar
      #Incase Italy control
      command = { type = secedeprovince which = ITA value = 576 } # Newfoundland
      command = { type = secedeprovince which = ITA value = 575 } # Labrador
      #Incase Germany control
      command = { type = secedeprovince which = GER value = 576 } # Newfoundland
      command = { type = secedeprovince which = GER value = 575 } # Labrador
      #If UK still controlls, Canada takes control
      command = { type = secedeprovince which = CAN value = 576 } # Newfoundland
      command = { type = secedeprovince which = CAN value = 575 } # Labrador
      #Incase Italy has taken Caribbean
      command = { type = secedeprovince which = ITA value = 538 } # Bermuda
      command = { type = secedeprovince which = ITA value = 758 } # Belize
      command = { type = secedeprovince which = ITA value = 891 } # Jamaica
      command = { type = secedeprovince which = ITA value = 652 } # Andros
      command = { type = secedeprovince which = ITA value = 653 } # New providence
      command = { type = secedeprovince which = ITA value = 664 } # Grand Bahama
      command = { type = secedeprovince which = ITA value = 665 } # Abacos
      command = { type = secedeprovince which = ITA value = 666 } # Eleuthera
      command = { type = secedeprovince which = ITA value = 668 } # Long Island
      #Incase Germany has taken Caribbean
      command = { type = secedeprovince which = GER value = 538 } # Bermuda
      command = { type = secedeprovince which = GER value = 758 } # Belize
      command = { type = secedeprovince which = GER value = 891 } # Jamaica
      command = { type = secedeprovince which = GER value = 652 } # Andros
      command = { type = secedeprovince which = GER value = 653 } # New providence
      command = { type = secedeprovince which = GER value = 664 } # Grand Bahama
      command = { type = secedeprovince which = GER value = 665 } # Abacos
      command = { type = secedeprovince which = GER value = 666 } # Eleuthera
      command = { type = secedeprovince which = GER value = 668 } # Long Island
      #If UK still controlls Caribbean, US takes control
      command = { type = secedeprovince which = USA value = 538 } # Bermuda
      command = { type = secedeprovince which = USA value = 758 } # Belize
      command = { type = secedeprovince which = USA value = 891 } # Jamaica
      command = { type = secedeprovince which = USA value = 652 } # Andros
      command = { type = secedeprovince which = USA value = 653 } # New providence      
      command = { type = secedeprovince which = USA value = 664 } # Grand Bahama
      command = { type = secedeprovince which = USA value = 665 } # Abacos
      command = { type = secedeprovince which = USA value = 666 } # Eleuthera
      command = { type = secedeprovince which = USA value = 668 } # Long Island   

      command = { type = domestic which = defense_lobby value = -2 }
      command = { type = domestic which = freedom value = -2 }

      command = { type = headofstate which = 1032 }
      command = { type = headofgovernment which = 1042 }
      command = { type = foreignminister which = 1049 }
      command = { type = armamentminister which = 1068 }
      command = { type = ministerofsecurity which = 1090 }
      command = { type = ministerofintelligence which = 1107 }
      command = { type = chiefofstaff which = 1124 }
      command = { type = chiefofarmy which = 1134 }
      command = { type = chiefofnavy which = 1142 }
      command = { type = chiefofair which = 1151 }

      #command = { type = trigger which = 12309 }
      command = { type = independence which = LEB value = 1 }
      command = { type = independence which = EGY value = 1 }
      command = { type = independence which = JOR value = 1 }
      command = { type = independence which = IND value = 1 }
   }
   action_b = {
      ai_chance = 50
      name = EVT_66_ACTB
      command = { type = dissent value = 5 }
      command = { type = domestic which = defense_lobby value = 1 }

      #command = { type = trigger which = 12310 }
   }
}


und dann die speziellen Stellen raussuchen, die geändert werden müssen deiner Meinung nach

z.B.
command = { type = independence which = LEB value = 1 }
command = { type = independence which = EGY value = 1 }
command = { type = independence which = JOR value = 1 }
command = { type = independence which = IND value = 1 }
wolltest du ja erweitern, dann suchst du dir bei db/revolt.txt die Tags raus von den Ländern die du unabhängig erklären willst
und damit das Commonwealth zerbricht kannst du neue Events schreiben für die commonwealth-Staaten
die dann die Allianz verlassen und Frieden schliessen also:
command = { type = leave_alliance }
command = { type = peace which = GER value = 0 }

das nur mal so als Einstieg
Bild

Benutzeravatar
nordstern
Aedilis
Aedilis
Beiträge: 12624
Registriert: 6. Dezember 2010 01:28
:
Teilnahme an einem Contest

Re: [HoI2] Hilfe bei Eventerstellung

Beitragvon nordstern » 12. Mai 2012 12:13

wo steht den das Event? Ich hab bisher verzweifelt solche Events gesucht.

edit:
Ich habe eine alte Kampange als GB rausgekramt. In dieser befand ich mich nicht im Krieg gegen das DR. Als jedoch das DR drohte den Krieg gegen Russland zu verlieren, erklärte 1943 Amerika Japan den Krieg. Ich holte sie manuell ins Bündniss. Daraufhin erklärte Deutschland, das kein Bündniss mit Japan hatte, den Alliierten den Krieg. Böld war das zu der Zeit Russland mit (lt Spionen) 1.800Infantriedivisionen und 257Panzern in Polen stand, Frankreich über 240Divisionen verfügte und meine Wenigkeit 14. mot. Armeen mit je 12Divisionen in Frankreich hatte -> Meine Truppen sind ohne großen Wiederstand an die Elbe vorgerückt und haben dort dann auf die Russen gewartet. Meine 4 Mech. Armeen landeten in Norwegen und Dänemark. Als das Event kam das Deutschland sich eribt annektierte Russland Deutschland und dann kam es zum ctd.
Irgendwas stimmt mit dem Deutschland kapituliert Event nicht... Ich bekam nur ein Event wo ich "Sieg" anklicken konnte.. das teilungszeugs etc kam garnicht erst.

Spoiler (Öffnen)

Code: Alles auswählen

#########################################################################
#  Surrender events - Partition of Germany
#########################################################################

event = {
   id = 38
   random = no
   country = GER

   name = EVT_38_NAME
   desc = EVT_38_DESC
   style = 0
   picture = "ger_surrender"

   trigger = {
      random = 25
      war = { country = GER country = USA }
      war = { country = GER country = FRA }
      war = { country = GER country = ENG }
      war = { country = GER country = SOV }
      lost_national = { country = GER value = 70 }
      OR = {
         control = { province = 56 data = USA }
         control = { province = 56 data = FRA }
         control = { province = 56 data = ENG }
      }
      NOT = {
         control = { province = 300 data = GER } # Berlin
      }
   }

        date = { day = 0 month = january year = 1939 }
        offset = 5
   deathdate = { day = 29 month = december year = 1953 }

   action_a = {
      ai_chance = 90
      name = EVT_38_ACTA
      command = { type = independence which = LUX value = 1 when = 1 }
      command = { type = independence which = DEN value = 1 when = 1  }
      command = { type = independence which = NOR value = 1 when = 1  }
      command = { type = independence which = SWE value = 1 when = 1  }
      command = { type = independence which = FRA value = 1 when = 1  }
      command = { type = independence which = HOL value = 1 when = 1  }
      command = { type = independence which = BEL value = 1 when = 1  }
      command = { type = independence which = SPA value = 1 when = 1  }
      command = { type = independence which = AUS value = 1 when = 1  }
      command = { type = independence which = TUR value = 1 when = 1  }
      command = { type = independence which = GRE value = 1 when = 1  }
      command = { type = independence which = YUG value = 1 when = 1  }
      command = { type = independence which = ITA value = 1 when = 1  }
      command = { type = independence which = ALB value = 1 when = 1  }
      command = { type = end_mastery which = LUX }
      command = { type = end_mastery which = DEN }
      command = { type = end_mastery which = NOR }
      command = { type = end_mastery which = SWE }
      command = { type = end_mastery which = FRA }
      command = { type = end_mastery which = HOL }
      command = { type = end_mastery which = BEL }
      command = { type = end_mastery which = SPA }
      command = { type = end_mastery which = HUN }
      command = { type = end_mastery which = AUS }
      command = { type = end_mastery which = POL }
      command = { type = end_mastery which = LIT }
      command = { type = end_mastery which = LAT }
      command = { type = end_mastery which = EST }
      command = { type = end_mastery which = CZE }
      command = { type = end_mastery which = BUL }
      command = { type = end_mastery which = TUR }
      command = { type = end_mastery which = ROM }
      command = { type = end_mastery which = GRE }
      command = { type = end_mastery which = ALB }
      # Transfer Poland & Czechoslakia to Soviet control
      command = { type = secedeprovince which = SOV value = 303 } # Poland
      command = { type = secedeprovince which = SOV value = 306 }
      command = { type = secedeprovince which = SOV value = 307 }
      command = { type = secedeprovince which = SOV value = 479 }
      command = { type = secedeprovince which = SOV value = 480 }
      command = { type = secedeprovince which = SOV value = 481 }
      command = { type = secedeprovince which = SOV value = 483 }
      command = { type = secedeprovince which = SOV value = 484 }
      command = { type = secedeprovince which = SOV value = 305 }
      command = { type = secedeprovince which = SOV value = 485 }
      command = { type = secedeprovince which = SOV value = 486 }
      command = { type = secedeprovince which = SOV value = 487 }
      command = { type = secedeprovince which = SOV value = 489 }
      command = { type = secedeprovince which = SOV value = 488 }
      command = { type = secedeprovince which = SOV value = 500 }
      command = { type = secedeprovince which = SOV value = 501 }
      command = { type = secedeprovince which = SOV value = 502 }
      command = { type = secedeprovince which = SOV value = 503 }
      command = { type = secedeprovince which = SOV value = 504 }
      command = { type = secedeprovince which = SOV value = 505 }
      command = { type = secedeprovince which = SOV value = 506 }
      command = { type = secedeprovince which = SOV value = 507 }
      command = { type = secedeprovince which = SOV value = 508 }
      command = { type = secedeprovince which = SOV value = 509 }
      command = { type = secedeprovince which = SOV value = 209 }
      command = { type = secedeprovince which = SOV value = 208 }
      command = { type = secedeprovince which = SOV value = 213 }
      command = { type = secedeprovince which = SOV value = 211 }
      command = { type = secedeprovince which = SOV value = 210 }
      command = { type = secedeprovince which = SOV value = 222 }
      command = { type = secedeprovince which = SOV value = 229 }
      command = { type = secedeprovince which = SOV value = 562 }
      command = { type = secedeprovince which = SOV value = 214 }
      command = { type = secedeprovince which = SOV value = 471 } # Czechoslovakia
      command = { type = secedeprovince which = SOV value = 472 }
      command = { type = secedeprovince which = SOV value = 466 }
      command = { type = secedeprovince which = SOV value = 470 }
      command = { type = secedeprovince which = SOV value = 469 }
      command = { type = secedeprovince which = SOV value = 468 }
      command = { type = secedeprovince which = SOV value = 474 }
      command = { type = secedeprovince which = SOV value = 475 }
      command = { type = secedeprovince which = SOV value = 478 }
      command = { type = secedeprovince which = SOV value = 477 }
      command = { type = secedeprovince which = SOV value = 490 }
      command = { type = secedeprovince which = SOV value = 499 }
      command = { type = secedeprovince which = SOV value = 476 }
      command = { type = secedeprovince which = SOV value = 467 }
      # Transfer eastern Germany to Soviets
      command = { type = secedeprovince which = SOV value = 298 }
      command = { type = secedeprovince which = SOV value = 299 }
      command = { type = secedeprovince which = SOV value = 300 }
      command = { type = secedeprovince which = SOV value = 301 }
      command = { type = secedeprovince which = SOV value = 206 }
      command = { type = secedeprovince which = SOV value = 296 }
      command = { type = secedeprovince which = SOV value = 297 }
      command = { type = secedeprovince which = SOV value = 310 }
      command = { type = secedeprovince which = SOV value = 309 }
      command = { type = secedeprovince which = SOV value = 311 }
      command = { type = secedeprovince which = SOV value = 473 }
      command = { type = secedeprovince which = SOV value = 482 }
      command = { type = secedeprovince which = SOV value = 308 }
      command = { type = secedeprovince which = SOV value = 302 }
      command = { type = secedeprovince which = SOV value = 304 }
      command = { type = secedeprovince which = SOV value = 510 }
      # Transfer western Germany to France, UK and USA
      command = { type = secedeprovince which = USA value = 80 }
      command = { type = secedeprovince which = USA value = 81 }
      command = { type = secedeprovince which = USA value = 82 }
      command = { type = secedeprovince which = USA value = 83 }
      command = { type = secedeprovince which = USA value = 84 }
      command = { type = secedeprovince which = USA value = 85 }
      command = { type = secedeprovince which = USA value = 86 }
      command = { type = secedeprovince which = USA value = 87 }
      command = { type = secedeprovince which = USA value = 88 }
      command = { type = secedeprovince which = USA value = 89 }
      command = { type = secedeprovince which = USA value = 90 }
      command = { type = secedeprovince which = USA value = 312 }
      command = { type = secedeprovince which = USA value = 313 }
      command = { type = secedeprovince which = USA value = 314 }
      command = { type = secedeprovince which = USA value = 315 }
      command = { type = secedeprovince which = USA value = 375 }
      command = { type = secedeprovince which = USA value = 376 }
      command = { type = secedeprovince which = USA value = 374 }
      command = { type = secedeprovince which = USA value = 76 }
      command = { type = secedeprovince which = USA value = 67 }
      command = { type = secedeprovince which = USA value = 75 }
      command = { type = secedeprovince which = USA value = 74 }
      command = { type = secedeprovince which = USA value = 66 }

      command = { type = secedeprovince which = FRA value = 72 }
      command = { type = secedeprovince which = FRA value = 73 }
      command = { type = secedeprovince which = FRA value = 316 }
      # Trigger events for US, UK, France and USSR
      command = { type = trigger which = 40 }
      command = { type = domestic which = defense_lobby value = -2 }
   }
   action_b = {
      ai_chance = 10
      name = EVT_38_ACTB
      command = { type = sleepevent which = 39 }
      command = { type = sleepevent which = 40 }
      command = { type = sleepevent which = 41 }
      command = { type = sleepevent which = 42 }
      command = { type = dissent value = 10 }
      command = { type = domestic which = political_left value = -1 }
      command = { type = domestic which = freedom value = -1 }
      command = { type = domestic which = democratic value = -1 }
      command = { type = domestic which = defense_lobby value = 1 }
   }
}


event = {
   id = 938
   random = no
   country = GER

   name = EVT_38_NAME
   desc = EVT_38_DESC
   style = 0
   picture = "ger_surrender"

   trigger = {
      random = 25
      war = { country = GER country = SOV }
      lost_national = { country = GER value = 70 }
      NOT = {
         control = { province = 300 data = GER } # Berlin
      }
      control = { province = 56 data = SOV } #Paris
   }

        date = { day = 0 month = january year = 1939 }
        offset = 5
   deathdate = { day = 29 month = december year = 1953 }

   action_a = {
      name = EVT_38_ACTA
      # Transfer Poland & Czechoslakia to Soviet control
      command = { type = secedeprovince which = SOV value = 303 } # Poland
      command = { type = secedeprovince which = SOV value = 306 }
      command = { type = secedeprovince which = SOV value = 307 }
      command = { type = secedeprovince which = SOV value = 479 }
      command = { type = secedeprovince which = SOV value = 480 }
      command = { type = secedeprovince which = SOV value = 481 }
      command = { type = secedeprovince which = SOV value = 483 }
      command = { type = secedeprovince which = SOV value = 484 }
      command = { type = secedeprovince which = SOV value = 305 }
      command = { type = secedeprovince which = SOV value = 485 }
      command = { type = secedeprovince which = SOV value = 486 }
      command = { type = secedeprovince which = SOV value = 487 }
      command = { type = secedeprovince which = SOV value = 489 }
      command = { type = secedeprovince which = SOV value = 488 }
      command = { type = secedeprovince which = SOV value = 500 }
      command = { type = secedeprovince which = SOV value = 501 }
      command = { type = secedeprovince which = SOV value = 502 }
      command = { type = secedeprovince which = SOV value = 503 }
      command = { type = secedeprovince which = SOV value = 504 }
      command = { type = secedeprovince which = SOV value = 505 }
      command = { type = secedeprovince which = SOV value = 506 }
      command = { type = secedeprovince which = SOV value = 507 }
      command = { type = secedeprovince which = SOV value = 508 }
      command = { type = secedeprovince which = SOV value = 509 }
      command = { type = secedeprovince which = SOV value = 209 }
      command = { type = secedeprovince which = SOV value = 208 }
      command = { type = secedeprovince which = SOV value = 213 }
      command = { type = secedeprovince which = SOV value = 211 }
      command = { type = secedeprovince which = SOV value = 210 }
      command = { type = secedeprovince which = SOV value = 222 }
      command = { type = secedeprovince which = SOV value = 229 }
      command = { type = secedeprovince which = SOV value = 562 }
      command = { type = secedeprovince which = SOV value = 214 }
      command = { type = secedeprovince which = SOV value = 471 } # Czechoslovakia
      command = { type = secedeprovince which = SOV value = 472 }
      command = { type = secedeprovince which = SOV value = 466 }
      command = { type = secedeprovince which = SOV value = 470 }
      command = { type = secedeprovince which = SOV value = 469 }
      command = { type = secedeprovince which = SOV value = 468 }
      command = { type = secedeprovince which = SOV value = 474 }
      command = { type = secedeprovince which = SOV value = 475 }
      command = { type = secedeprovince which = SOV value = 478 }
      command = { type = secedeprovince which = SOV value = 477 }
      command = { type = secedeprovince which = SOV value = 490 }
      command = { type = secedeprovince which = SOV value = 499 }
      command = { type = secedeprovince which = SOV value = 476 }
      command = { type = secedeprovince which = SOV value = 467 }
      # Transfer eastern Germany to Soviets
      command = { type = secedeprovince which = SOV value = 298 }
      command = { type = secedeprovince which = SOV value = 299 }
      command = { type = secedeprovince which = SOV value = 300 }
      command = { type = secedeprovince which = SOV value = 301 }
      command = { type = secedeprovince which = SOV value = 206 }
      command = { type = secedeprovince which = SOV value = 296 }
      command = { type = secedeprovince which = SOV value = 297 }
      command = { type = secedeprovince which = SOV value = 310 }
      command = { type = secedeprovince which = SOV value = 309 }
      command = { type = secedeprovince which = SOV value = 311 }
      command = { type = secedeprovince which = SOV value = 473 }
      command = { type = secedeprovince which = SOV value = 482 }
      command = { type = secedeprovince which = SOV value = 308 }
      command = { type = secedeprovince which = SOV value = 302 }
      command = { type = secedeprovince which = SOV value = 304 }
      command = { type = secedeprovince which = SOV value = 510 }
      # Trigger events for US, UK, France and USSR
      command = { type = trigger which = 42 }
   }
}

event = {
   id = 39
   random = no
   country = USA

   name = EVT_39_NAME
   desc = EVT_39_DESC
   style = 0
   picture = "ger_surrender"

   # triggered by German event 38

   action_a = {
      name = EVT_39_ACTA
#      command = { type = peace which = GER }
      command = { type = domestic   which = interventionism value = -3 }
      command = { type = money value = 1000 }
      command = { type = dissent value = -2 }
      command = { type = trigger which = 41 }
   }
}

event = {
   id = 40
   random = no
   country = ENG

   name = EVT_40_NAME
   desc = EVT_40_DESC
   style = 0
   picture = "ger_surrender"

   # triggered by German event 38

   action_a = {
      name = EVT_40_ACTA
#      command = { type = peace which = GER }
      command = { type = money value = 1000 }
      command = { type = dissent value = -2 }
      command = { type = domestic   which = interventionism value = -3 }
      # Transfer Italian provinces to Italy, 1944 scenario fix
      command = { type = secedeprovince which = ITA value = 534 }
      command = { type = secedeprovince which = ITA value = 515 }
      command = { type = secedeprovince which = ITA value = 516 }
      command = { type = secedeprovince which = ITA value = 517 }
      command = { type = secedeprovince which = ITA value = 518 }
      command = { type = secedeprovince which = ITA value = 519 }
      command = { type = secedeprovince which = ITA value = 520 }
      command = { type = secedeprovince which = ITA value = 521 }
      command = { type = secedeprovince which = ITA value = 522 }
      command = { type = secedeprovince which = ITA value = 523 }
      command = { type = secedeprovince which = ITA value = 524 }
      command = { type = secedeprovince which = ITA value = 525 }
      command = { type = secedeprovince which = ITA value = 526 }
      # Transfer Aegean isles to Greece
      command = { type = secedeprovince which = GRE value = 398 }
      command = { type = secedeprovince which = GRE value = 399 }
      command = { type = trigger which = 39 }
      command = { type = domestic which = defense_lobby value = -3 }
   }
}

event = {
   id = 41
   random = no
   country = FRA

   name = EVT_41_NAME
   desc = EVT_41_DESC
   style = 0
   picture = "ger_surrender"

   # triggered by German event 38

   action_a = {
      name = EVT_41_ACTA
#      command = { type = peace which = GER }
      command = { type = domestic   which = interventionism value = -3 }
      command = { type = money value = 1000 }
      command = { type = dissent value = -2 }
      command = { type = trigger which = 42 }
   }
}

event = {
   id = 42
   random = no
   country = SOV

   name = EVT_42_NAME
   desc = EVT_42_DESC
   style = 0
   picture = "ger_surrender"

   # triggered by German event 38

   action_a = {
      ai_chance = 90
      name = EVT_42_ACTA
      command = { type = inherit which = GER }
      command = { type = money value = 1000 }
      command = { type = dissent value = -2 }
#      command = { type = trigger which = 34 }
   }
   action_b = {
      ai_chance = 10
      name = EVT_42_ACTB
      command = { type = domestic which = freedom value = -2 }
      command = { type = relation which = FRA value = -20 }
      command = { type = relation which = ENG value = -20 }
      command = { type = relation which = USA value = -20 }
      command = { type = inherit which = GER }
      command = { type = money value = 500 }
      command = { type = dissent value = 2 }
      command = { type = sleepevent which = 34 }
      command = { type = sleepevent which = 35 }
Ich bin Legastheniker. Wer also Rechtschreibfehler oder unklare Formulierungen findet, soll bitte versuchen die Grundaussage zu verstehen oder darf sie gerne behalten :)

Danke für euer Verständnis.

Benutzeravatar
Guderian
Tribunus Angusticlavius
Tribunus Angusticlavius
Beiträge: 3423
Registriert: 9. November 2010 18:06
Wohnort: Freiheit Buer
:
Teilnahme an einem Contest

Re: [HoI2] Hilfe bei Eventerstellung

Beitragvon Guderian » 12. Mai 2012 13:14

in db/hoi2.txt
da ist auch das Kapitulationsevent für die USA

Und was die Teilung Deutschlands angeht:
DIe events wie du bei country sehen kannst sind v.a. für Deutschland
du bekommst nur die command = { type = secedeprovince which = ITA value = 534 }
in dem Fall, dass du die Provinzen hälst und sie dadurch abgibst
Bild

Benutzeravatar
nordstern
Aedilis
Aedilis
Beiträge: 12624
Registriert: 6. Dezember 2010 01:28
:
Teilnahme an einem Contest

Re: [HoI2] Hilfe bei Eventerstellung

Beitragvon nordstern » 14. Mai 2012 21:54

ok.. ich schaus mir mal an. Aber momentan sehr viel zutun.. ws erst nächste Woche
Ich bin Legastheniker. Wer also Rechtschreibfehler oder unklare Formulierungen findet, soll bitte versuchen die Grundaussage zu verstehen oder darf sie gerne behalten :)

Danke für euer Verständnis.