• 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.

Zuckergußgebäck

Den ökända hästen från Troja
11 Badges
Jan 7, 2004
8.851
2
  • Hearts of Iron II: Armageddon
  • Deus Vult
  • Europa Universalis III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • Victoria 2
  • Victoria 2: A House Divided
  • 500k Club
  • Hearts of Iron IV Sign-up
Look!

Code:
########################
# Alliance with Poland #
########################
event = {
	id = XXX
	random = no
	couontry = UKR

	name = "Alliance with Poland"
	desc = "With the war with the Reds going badly the Ukrainian Leader Simon Petlyura and Polish head of State Jozef Pilsudski signed an alliance to fight the Reds and let the Poles regain Belarus which had been Part of Congress Poland in the 1600's."

	date = { day = 21 month = April year = 1920 }

	action_a = {
		name = "Offer them an alliance!"
		command = { type = trigger which = 244501 }
		command = { type = prestige value = 5 }
		command = { type = pop_militancy which = socialist value = 1 }
		command = { type = pop_militancy which = communist value = 1 }
	}
	action_b = {
		name = "We don't need their help!"
		command = { type = prestige value = 10 }
		command = { type = relation which = POL value = -30 }
	}
}


#############################
# Alliance with the Ukraine #
#############################
event = {
	id = 244501
	random = no
	country = POL

	#triggered by Ukraine

	name = "Alliance with the Ukraine"
	desc = "Today we have heard that the Ukrainians want us to help them fight in the war against Bolshevism! If we join them, we will gain Belarus and glory!"
	style = 0

	action_a = {
		name = "Join with them!"
		command = { type = prestige value = 20 }
		command = { type = relation which = UKR value = 50 }
		command = { type = alliance which = UKR }
	}
	action_b = {
		name = "No need, we might loose!"
		command = { type = prestige value = -30 }
		command = { type = relation which = UKR value = -50 }
	}
}


##############################
# The miracle on the Vistula #
##############################
event = {
	id = XXX0
	random = no
	country = U12

        trigger = {
                war = { country = POL country = U12 }
                NOT = {
                   control = { province = 412 data = U12 }
                }
        }

	name = "The miracle on the Vistula"
	desc = "In August 1920 the Red army was sweeping through Poland. But on the outskirts of Warsaw the Poles ,defient and brave, stood their ground. In the battle, on 5th August 1920, the Poles routed the invading Soviets and began to push them back to the Soviet border. After our crushing defeat and low morale, can we still fight them on?"
	style = 0

	date = { day = 5 month = august year = 1920 }

	action_a = {
		name = "Surrender and make peace"
		command = { type = trigger which = XXX1 } #Treaty of Riga
		command = { type = trigger which = XXX } #Miracle of the Vistula
	}
	action_b = {
		name = "fight on!"
		command = { type = reliability value = -1 }
		command = { type = elan value = -5 }
	}
}

##########################
# Miracle on the Vistula #
##########################

event = {
	id = XXX0
	random = no
	country = POL

	name = "The miracle on the Vistula"
	desc = "We have Just defeated the Bolshevik armies at the gates of Warsaw! Our crushing defeat and brilliant route of their forces has made them give up and we can now live in peace and prosperity!"
	style = 0

	action_a = {
		name = "Hurrah for Pisudski and Poland!"
		command = { type = prestige value = 20 }
	}
}

##################
# Treaty of Riga #
##################

event = {
	id = XXX0
	random = no
	country = U12

	name = "Treaty of Riga"
	desc = "After a long and brutal campaign the Soviets decided to call it quits after their humiliating defeat on the outskirts of Warsaw in August 1920 at the hands of the Poles."
	style = 0

	action_a = {
		name = "We´ll have our revenge, but not now."
		command = { type = prestige value = -50 }
                command = { type = secedeprovince which = POL value = 408 }
                command = { type = secedeprovince which = POL value = 409 }
                command = { type = secedeprovince which = POL value = 411 }
                command = { type = secedeprovince which = POL value = 365 }
                command = { type = secedeprovince which = POL value = 990 }
                command = { type = secedeprovince which = POL value = 988 }
                command = { type = secedeprovince which = POL value = 440 }
                command = { type = secedeprovince which = POL value = 435 }
                command = { type = trigger which = xxx } #Treaty of riga
	}
}

##################
# Treaty of Riga #
##################

event = {
	id = XXX0
	random = no
	country = POL

	name = "Treaty of Riga"
	desc = "The Russo-Polish war is now over, the Poles now looked to Lithuania and the city of Vilno. The crushing defeat of the Reds at the gates of Warsaw was seen, my Britsih General and historian, J.F.C Fuller, 'as one of the most important battles in western history'."
	style = 0

	action_a = {
		name = "Hurrah! Hurrah!"
		command = { type = prestige value = 50 }
	}
}

###########################
# Poland occupies Vilnius #
###########################

event = {
	id = XXX0
	random = no
	country = POL

        name = "Poland occupies Vilnius"
	desc = "Vilnus in Lithuania had a large Polish population and the Poles wanted this land. So when invading the Soviet held lands of Belarus, Polish troops invaded and occupied the city."
	style = 0

	date = { day = 9 month = october year = 1920 }

	action_a = {
		name = "Go ahead, Vilnius is ours"
		command = { type = trigger which = XXX1 } #Lithuania
		command = { type = prestige value = 10 }
                command = { type = badboy value = 10 }
                command = { type = relation which = LIT value = -50 }
	}
	action_b = {
		name = "Who needs Vilnius, anyway?"
		command = { type = prestige value = -10 }
		command = { type = relation which = LIT value = 20 }
	}
}

##########################
# Poland demands Vilnius #
##########################

# Action_b is removed indefinately

event = {
	id = XXX0
	random = no
	country = LIT

        name = "Poland demands Vilnius"
	desc = "In 1920 the Poles while invading the Soviet Union decided to occupy the city of Vilnus, one of the ancient Lithuanian Cities. Faced with the mastodont polish army, we have to surrender the city."
	style = 0

	action_a = {
		name = "There is no other option..."
		command = { type = prestige value = -50 }
                command = { type = secedeprovince which = POL value = 449 }
                command = { type = secedeprovince which = POL value = 407 }
	}
}
 

Strategist

General
68 Badges
May 6, 2004
2.401
15
  • Victoria 2: Heart of Darkness
  • Magicka
  • Majesty 2 Collection
  • March of the Eagles
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Sengoku
  • The Showdown Effect
  • Victoria 2
  • Victoria 2: A House Divided
  • Europa Universalis III Complete
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • War of the Roses
  • 500k Club
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Europa Universalis IV: Common Sense
  • Europa Universalis 4: Emperor
  • Europa Universalis III: Chronicles
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Diplomacy
  • Dungeonland
  • Europa Universalis III
  • A Game of Dwarves
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Hearts of Iron III
Kaiser Franz said:
could you tell me what the id codes are please. or give some ones because i wanna test these babies out... :cool:

Test them? Just use some ids above 1 million :)

I will try to create a progress file soon.

El-Rey can you e-mail me a fixed Sevres treaty?
 

Strategist

General
68 Badges
May 6, 2004
2.401
15
  • Victoria 2: Heart of Darkness
  • Magicka
  • Majesty 2 Collection
  • March of the Eagles
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Sengoku
  • The Showdown Effect
  • Victoria 2
  • Victoria 2: A House Divided
  • Europa Universalis III Complete
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • War of the Roses
  • 500k Club
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Europa Universalis IV: Common Sense
  • Europa Universalis 4: Emperor
  • Europa Universalis III: Chronicles
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Diplomacy
  • Dungeonland
  • Europa Universalis III
  • A Game of Dwarves
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Hearts of Iron III
Look at the useful info above, there youll find the site with the country IDs :)
 

Zuckergußgebäck

Den ökända hästen från Troja
11 Badges
Jan 7, 2004
8.851
2
  • Hearts of Iron II: Armageddon
  • Deus Vult
  • Europa Universalis III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • Victoria 2
  • Victoria 2: A House Divided
  • 500k Club
  • Hearts of Iron IV Sign-up

Strategist

General
68 Badges
May 6, 2004
2.401
15
  • Victoria 2: Heart of Darkness
  • Magicka
  • Majesty 2 Collection
  • March of the Eagles
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Sengoku
  • The Showdown Effect
  • Victoria 2
  • Victoria 2: A House Divided
  • Europa Universalis III Complete
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • War of the Roses
  • 500k Club
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Europa Universalis IV: Common Sense
  • Europa Universalis 4: Emperor
  • Europa Universalis III: Chronicles
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Diplomacy
  • Dungeonland
  • Europa Universalis III
  • A Game of Dwarves
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Hearts of Iron III
Zuckergußgebäck said:
Fixed? What´s wrong with it?!

Well there was some kind of error in it that did make it not trigger ;)
 

Zuckergußgebäck

Den ökända hästen från Troja
11 Badges
Jan 7, 2004
8.851
2
  • Hearts of Iron II: Armageddon
  • Deus Vult
  • Europa Universalis III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • Victoria 2
  • Victoria 2: A House Divided
  • 500k Club
  • Hearts of Iron IV Sign-up

Kaiser Franz

I am the Walrus
32 Badges
Aug 25, 2004
3.229
0
  • Hearts of Iron IV: Cadet
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Prison Architect
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Cities: Skylines - Parklife
  • Cities: Skylines - Parklife Pre-Order
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Stellaris: Synthetic Dawn
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II
  • Stellaris
  • Crusader Kings II: Way of Life
  • Cities: Skylines
  • 500k Club
  • War of the Roses
  • Magicka
  • Hearts of Iron III
  • Europa Universalis IV
  • Darkest Hour
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
oh yeah...Zucker your events on The Treaty of Riga are very good, but when the treaty happens it doesn't make peace between Poland and USSR. i thought i'd mention that and the fact you spelled country wrong in the first event, the allaince with Poland one.
 

Zuckergußgebäck

Den ökända hästen från Troja
11 Badges
Jan 7, 2004
8.851
2
  • Hearts of Iron II: Armageddon
  • Deus Vult
  • Europa Universalis III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • Victoria 2
  • Victoria 2: A House Divided
  • 500k Club
  • Hearts of Iron IV Sign-up
Look!

Code:
########################
# Alliance with Poland #
########################
event = {
	id = XXX
	random = no
	couontry = UKR

	name = "Alliance with Poland"
	desc = "With the war with the Reds going badly the Ukrainian Leader Simon Petlyura and Polish head of State Jozef Pilsudski signed an alliance to fight the Reds and let the Poles regain Belarus which had been Part of Congress Poland in the 1600's."

	date = { day = 21 month = April year = 1920 }

	action_a = {
		name = "Offer them an alliance!"
		command = { type = trigger which = 244501 }
		command = { type = prestige value = 5 }
		command = { type = pop_militancy which = socialist value = 1 }
		command = { type = pop_militancy which = communist value = 1 }
	}
	action_b = {
		name = "We don't need their help!"
		command = { type = prestige value = 10 }
		command = { type = relation which = POL value = -30 }
	}
}


#############################
# Alliance with the Ukraine #
#############################
event = {
	id = 244501
	random = no
	country = POL

	#triggered by Ukraine

	name = "Alliance with the Ukraine"
	desc = "Today we have heard that the Ukrainians want us to help them fight in the war against Bolshevism! If we join them, we will gain Belarus and glory!"
	style = 0

	action_a = {
		name = "Join with them!"
		command = { type = prestige value = 20 }
		command = { type = relation which = UKR value = 50 }
		command = { type = alliance which = UKR }
	}
	action_b = {
		name = "No need, we might loose!"
		command = { type = prestige value = -30 }
		command = { type = relation which = UKR value = -50 }
	}
}


##############################
# The miracle on the Vistula #
##############################
event = {
	id = XXX0
	random = no
	country = U12

        trigger = {
                war = { country = POL country = U12 }
                NOT = {
                   control = { province = 412 data = U12 }
                }
        }

	name = "The miracle on the Vistula"
	desc = "In August 1920 the Red army was sweeping through Poland. But on the outskirts of Warsaw the Poles ,defient and brave, stood their ground. In the battle, on 5th August 1920, the Poles routed the invading Soviets and began to push them back to the Soviet border. After our crushing defeat and low morale, can we still fight them on?"
	style = 0

	date = { day = 5 month = august year = 1920 }

	action_a = {
		name = "Surrender and make peace"
		command = { type = trigger which = XXX1 } #Treaty of Riga
		command = { type = trigger which = XXX } #Miracle of the Vistula
	}
	action_b = {
		name = "fight on!"
		command = { type = reliability value = -1 }
		command = { type = elan value = -5 }
	}
}

##########################
# Miracle on the Vistula #
##########################

event = {
	id = XXX0
	random = no
	country = POL

	name = "The miracle on the Vistula"
	desc = "We have Just defeated the Bolshevik armies at the gates of Warsaw! Our crushing defeat and brilliant route of their forces has made them give up and we can now live in peace and prosperity!"
	style = 0

	action_a = {
		name = "Hurrah for Pisudski and Poland!"
		command = { type = prestige value = 20 }
	}
}

##################
# Treaty of Riga #
##################

event = {
	id = XXX0
	random = no
	country = U12

	name = "Treaty of Riga"
	desc = "After a long and brutal campaign the Soviets decided to call it quits after their humiliating defeat on the outskirts of Warsaw in August 1920 at the hands of the Poles."
	style = 0

	action_a = {
		name = "We´ll have our revenge, but not now."
		command = { type = prestige value = -50 }
                command = { type = secedeprovince which = POL value = 408 }
                command = { type = secedeprovince which = POL value = 409 }
                command = { type = secedeprovince which = POL value = 411 }
                command = { type = secedeprovince which = POL value = 365 }
                command = { type = secedeprovince which = POL value = 990 }
                command = { type = secedeprovince which = POL value = 988 }
                command = { type = secedeprovince which = POL value = 440 }
                command = { type = secedeprovince which = POL value = 435 }
                command = { type = trigger which = xxx } #Treaty of riga
                command = { type = peace which = POL value = 0 }
	}
}

##################
# Treaty of Riga #
##################

event = {
	id = XXX0
	random = no
	country = POL

	name = "Treaty of Riga"
	desc = "The Russo-Polish war is now over, the Poles now looked to Lithuania and the city of Vilno. The crushing defeat of the Reds at the gates of Warsaw was seen, my Britsih General and historian, J.F.C Fuller, 'as one of the most important battles in western history'."
	style = 0

	action_a = {
		name = "Hurrah! Hurrah!"
		command = { type = prestige value = 50 }
	}
}

###########################
# Poland occupies Vilnius #
###########################

event = {
	id = XXX0
	random = no
	country = POL

        name = "Poland occupies Vilnius"
	desc = "Vilnus in Lithuania had a large Polish population and the Poles wanted this land. So when invading the Soviet held lands of Belarus, Polish troops invaded and occupied the city."
	style = 0

	date = { day = 9 month = october year = 1920 }

	action_a = {
		name = "Go ahead, Vilnius is ours"
		command = { type = trigger which = XXX1 } #Lithuania
		command = { type = prestige value = 10 }
                command = { type = badboy value = 10 }
                command = { type = relation which = LIT value = -50 }
	}
	action_b = {
		name = "Who needs Vilnius, anyway?"
		command = { type = prestige value = -10 }
		command = { type = relation which = LIT value = 20 }
	}
}

##########################
# Poland demands Vilnius #
##########################

# Action_b is removed indefinately

event = {
	id = XXX0
	random = no
	country = LIT

        name = "Poland demands Vilnius"
	desc = "In 1920 the Poles while invading the Soviet Union decided to occupy the city of Vilnus, one of the ancient Lithuanian Cities. Faced with the mastodont polish army, we have to surrender the city."
	style = 0

	action_a = {
		name = "There is no other option..."
		command = { type = prestige value = -50 }
                command = { type = secedeprovince which = POL value = 449 }
                command = { type = secedeprovince which = POL value = 407 }
	}
}

Here you go.

And as i directly copied your descriptions, who made the error? And which country is it?
 

Rey

Instant Karma
14 Badges
May 6, 2004
3.069
357
  • Crusader Kings II
  • Darkest Hour
  • Europa Universalis IV
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: Pre-order
  • Hearts of Iron IV Sign-up
And about West Ukraine? :)

I noticed that isn't any event annexing them.

So what trigger should the event have? By date or when Poland occupy provs?

;)
 

Zuckergußgebäck

Den ökända hästen från Troja
11 Badges
Jan 7, 2004
8.851
2
  • Hearts of Iron II: Armageddon
  • Deus Vult
  • Europa Universalis III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • Victoria 2
  • Victoria 2: A House Divided
  • 500k Club
  • Hearts of Iron IV Sign-up
OK, as said in Armies thread, I think that the Versailles violation should only fire after a sucessful TGWOR, because Germany was faced with such manpower problems that it would have been impossible for them to gain such an army.

If not, I suggest that we make Germany unable to build irregulars until the Versailles violation.