• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Patriotes1837

Colonel
5 Badges
Aug 12, 2003
949
0
  • Europa Universalis III Complete
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • 500k Club
Hi,

I think I posted this in the wrong forum so here it is again.

I want to play ahistorical as Germany and invade the SU without invading France. I will probably be in a state of war with the Allies though. How should I modify the bitter peace event in order for it to trigger even with Paris in French hands? I put in red what I think I should remove but I'm not sure. Are any modding experts able to help? Thanks.




################################################## #######################
# Sue for peace with the Germans
################################################## #######################
event = {
id = 2624
random = no
country = SOV

trigger = {
war = { country = GER country = SOV }
random = 35
OR = {
control = { province = 56 data = GER } # Paris is not free
control = { province = 56 data = VIC } # Paris is not free
}

OR = {
AND = {
lost_national = { country = SOV value = 25 } #maybe raise this number
NOT = {
war = { country = GER country = ENG }
war = { country = GER country = FRA }
war = { country = GER country = USA }
}

}
AND = {
NOT = {
control = { province = 187 data = SOV } # Leningrad has fallen
control = { province = 163 data = SOV } # Stalingrad has fallen
control = { province = 175 data = SOV } # Moscow has fallen
control = { province = 1907 data = SOV } # Baku has fallen
control = { province = 1572 data = SOV } # Sverdlovsk has fallen
war = { country = GER country = JAP }
war = { country = SOV country = JAP }
alliance = { country = GER country = JAP }
#flag = JAPtripartite
war = { country = GER country = ITA } # To avoid exploits
}
}
}
}
 

sbr

Field Marshal
41 Badges
Dec 31, 2006
4.133
15
  • 500k Club
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • 200k Club
  • Magicka
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Pride of Nations
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Stellaris
  • Stellaris: Leviathans Story Pack
  • Prison Architect
  • Europa Universalis III Complete
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Deus Vult
  • Hearts of Iron Anthology
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Lead and Gold
I would do this

################################################## #######################
# Sue for peace with the Germans
################################################## #######################
event = {
id = 2624
random = no
country = SOV

trigger = {
war = { country = GER country = SOV }
random = 35

AND = {
NOT = {
control = { province = 187 data = SOV } # Leningrad has fallen
control = { province = 163 data = SOV } # Stalingrad has fallen
control = { province = 175 data = SOV } # Moscow has fallen
control = { province = 1907 data = SOV } # Baku has fallen
control = { province = 1572 data = SOV } # Sverdlovsk has fallen
war = { country = GER country = JAP }
war = { country = SOV country = JAP }
alliance = { country = GER country = JAP }
#flag = JAPtripartite
war = { country = GER country = ITA } # To avoid exploits
}
}
}
}
 

sbr

Field Marshal
41 Badges
Dec 31, 2006
4.133
15
  • 500k Club
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • 200k Club
  • Magicka
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Pride of Nations
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Stellaris
  • Stellaris: Leviathans Story Pack
  • Prison Architect
  • Europa Universalis III Complete
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Deus Vult
  • Hearts of Iron Anthology
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Lead and Gold
That makes more sense. Thanks! I'll give it a try.

No problem. The line you left between the two red sections was part of a trigger where Germany was at war with the USSR but not the Allies, I assume in that scenario the USSR would realize they had no help and would try to get a peace faster.
 

unmerged(74599)

Nexus 6
Apr 17, 2007
4.391
0
Code:
  Originally Posted by Patriotes1837  View Post
################################################## #######################
# Sue for peace with the Germans
################################################## #######################
event = {
id = 2624
random = no
country = SOV

trigger = {
war = { country = GER country = SOV }
random = 35

[COLOR="Yellow"]AND = {[/COLOR]
NOT = {
control = { province = 187 data = SOV } # Leningrad has fallen
control = { province = 163 data = SOV } # Stalingrad has fallen
control = { province = 175 data = SOV } # Moscow has fallen
control = { province = 1907 data = SOV } # Baku has fallen
control = { province = 1572 data = SOV } # Sverdlovsk has fallen
war = { country = GER country = JAP }
war = { country = SOV country = JAP }
alliance = { country = GER country = JAP }
#flag = JAPtripartite
war = { country = GER country = ITA } # To avoid exploits

}
}
[COLOR="Yellow"]}[/COLOR]

I don't think the AND is necessary, since the NOT applies to any of the conditions included. If any of these things is true, then the event will not fire. Therefore it functions as "AND". Also anything in the first field is part of an "AND" function. In other words "Trigger" itself is basically an "AND". This is basically AND = { AND = {....
 
Last edited:

Patriotes1837

Colonel
5 Badges
Aug 12, 2003
949
0
  • Europa Universalis III Complete
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • 500k Club
Code:
  Originally Posted by Patriotes1837  View Post
################################################## #######################
# Sue for peace with the Germans
################################################## #######################
event = {
id = 2624
random = no
country = SOV

trigger = {
war = { country = GER country = SOV }
random = 35

[COLOR="Yellow"]AND = {[/COLOR]
NOT = {
control = { province = 187 data = SOV } # Leningrad has fallen
control = { province = 163 data = SOV } # Stalingrad has fallen
control = { province = 175 data = SOV } # Moscow has fallen
control = { province = 1907 data = SOV } # Baku has fallen
control = { province = 1572 data = SOV } # Sverdlovsk has fallen
war = { country = GER country = JAP }
war = { country = SOV country = JAP }
alliance = { country = GER country = JAP }
#flag = JAPtripartite
war = { country = GER country = ITA } # To avoid exploits

}
}
[COLOR="Yellow"]}[/COLOR]

I don't think the AND is necessary, since the NOT applies to any of the conditions included. If any of these things is true, then the event will not fire. Therefore it functions as "AND". Also anything in the first field is part of an "AND" function. In other words "Trigger" itself is basically an "AND". This is basically AND = { AND = {....

When I loaded the game with sbr's suggestion I got an error message. I made modifications and didn't have any message when I loaded the game. But yours is probably the best way to do it. Thanks for the info. I'll try your way.
 

unmerged(74599)

Nexus 6
Apr 17, 2007
4.391
0
I don't see anything in SBR's set up that should cause it to error, all of the functions are legitimate. Probably you just had an extra parenthesis somewhere.