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

Jarno

The end.
17 Badges
Feb 21, 2008
700
13
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Darkest Hour
  • Hearts of Iron III
  • Iron Cross
  • Hearts of Iron Anthology
  • 500k Club
  • Hearts of Iron IV: La Resistance
  • Imperator: Rome Sign Up
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Steel Division: Normand 44 Sign-up
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • 200k Club
Fireoflife said:
Any chance of making a random event that gives a load of militia divisions at the capital?


event = {
id = 99999999
random = yes

name = "a gift"
desc = "A rich friend just got back from shopping and has a gift for you"
style = 0

action_a = {
name = "Thank you"
command = { type = add_division value = militia when = 2 }
command = { type = add_division value = militia when = 2 }
command = { type = add_division value = militia when = 2 }
command = { type = add_division value = militia when = 2 }
command = { type = add_division value = militia when = 2 }
}
}

its not at the capitol but in the deployment que, tho its random and free.
not the bst scripter stil learning ^^
 

Leon_Corona

First Lieutenant
34 Badges
Feb 28, 2006
280
10
  • Age of Wonders III
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Cities: Skylines
  • Stellaris: Humanoids Species Pack
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Age of Wonders: Planetfall
  • Stellaris: Lithoids
  • Europa Universalis III
  • 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: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Crusader Kings II
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Semper Fi
  • 500k Club
The events themselves can be placed in here within any non-AI file (im not sure if AI files will work so i just avoid them).

C:\Program Files\Paradox Interactive\Doomsday\db\events

If you place them in there, and within another file such as USA, the event will work fine. But lets say you wanted an event for a country that did not have a file such as U10. You would then need to add this

event = "db\events\U10.txt"
within the events.txt in

C:\Program Files\Paradox Interactive\Doomsday\db

Then proceed to create the file in the events folder with the name U10.txt and place the event in there. -Leon
 

Leon_Corona

First Lieutenant
34 Badges
Feb 28, 2006
280
10
  • Age of Wonders III
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Cities: Skylines
  • Stellaris: Humanoids Species Pack
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Age of Wonders: Planetfall
  • Stellaris: Lithoids
  • Europa Universalis III
  • 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: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Crusader Kings II
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Semper Fi
  • 500k Club
JRHINDO said:
Can someone make me the end to total conquest is preferable in the Vichy independence of Germany.

like: if paris, vichy, marseilles, bordeuax and brest is occupied by then they get a) secede province: All France ton GER b) secede province: almost all france but italy get the 4 lower right corner provinces of france.

THX

Well iv been attempting to do this event, however iv run into some problems with the spoils to Italy part event 5000001. I havent modded in a year or so, page 12 or so this thread, so if a more experienced modder could help that would be awesome. Thanks, -Leon
P.S.
The problem is that event 5000001 just does not trigger. I have tried to trigger it manually with no luck. Also JR let me know if you would like France to not be annexed or anything else to be changed.
Code:
#########################################################################
#  France Annexation
#########################################################################
event = {
	id = 5000000
	random = no
	country = GER

	trigger = {

	 war = { country = GER  country = FRA }
		AND = {
			NOT = {
	 control = { province = 56 data = FRA } # Paris
	 control = { province = 320 data = FRA } # Vichy
	 control = { province = 364 data = FRA } # Marseille
	 control = { province = 325 data = FRA } # Bordeaux
	 control = { province = 32 data = FRA } # Brest
			}
		}
	 }

	name = "EVT_2021_NAME"
	desc = "EVT_2021_DESC"
	style = 0
	picture = "VIC"

	action_a = {
         name = "French total Annexation"
		ai_chance = 75
		command = { type = inherit which = FRA }
	}
	action_b = {
		name = "split the Spoils of War"
		ai_chance = 25
		command = { type = inherit which = FRA }
		command = { type = trigger which = 5000001 } # GER

	}
}

#########################################################################
#  Spoils to Italy
#########################################################################
event = { 
	id = 5000001
	random = no
	country = GER

        name = "Spoils to Italy"
	desc = "Our noble ally Italy deserves some spoils of war as well"

	action_a = {
		name = "Spoils to Italy"
		command = { type = secedeprovince which = ITA value = 527 } # Grenoble
		command = { type = secedeprovince which = ITA value = 528 } # Lyon
		command = { type = secedeprovince which = ITA value = 364 } # Marseille
		command = { type = secedeprovince which = ITA value = 365 } # Toulon
		command = { type = secedeprovince which = ITA value = 366 } # Nice
		command = { type = secedeprovince which = ITA value = 367 } # Corsica

	}
}
 
Last edited:

Jarno

The end.
17 Badges
Feb 21, 2008
700
13
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Darkest Hour
  • Hearts of Iron III
  • Iron Cross
  • Hearts of Iron Anthology
  • 500k Club
  • Hearts of Iron IV: La Resistance
  • Imperator: Rome Sign Up
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Steel Division: Normand 44 Sign-up
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • 200k Club
Is it possible to write events to make the building time of units like carriers shorther? like - 100 days orso, kinda dont like to wait 3 years for a new ship <_<
 

unmerged(63461)

Marshal of ***33
Dec 11, 2006
924
0
www.strategium-alliance.com
Leon_Corona said:
Well iv been attempting to do this event, however iv run into some problems with the spoils to Italy part event 5000001. I havent modded in a year or so, page 12 or so this thread, so if a more experienced modder could help that would be awesome. Thanks, -Leon
P.S.
The problem is that event 5000001 just does not trigger. I have tried to trigger it manually with no luck. Also JR let me know if you would like France to not be annexed or anything else to be changed.
Code:
#########################################################################
#  France Annexation
#########################################################################
event = {
	id = 5000000
	random = no
	country = GER

	trigger = {

	 war = { country = GER  country = FRA }
		AND = {
			NOT = {
	 control = { province = 56 data = FRA } # Paris
	 control = { province = 320 data = FRA } # Vichy
	 control = { province = 364 data = FRA } # Marseille
	 control = { province = 325 data = FRA } # Bordeaux
	 control = { province = 32 data = FRA } # Brest
			}
		}
	 }

	name = "EVT_2021_NAME"
	desc = "EVT_2021_DESC"
	style = 0
	picture = "VIC"

	action_a = {
         name = "French total Annexation"
		ai_chance = 75
		command = { type = inherit which = FRA }
	}
	action_b = {
		name = "split the Spoils of War"
		ai_chance = 25
		command = { type = inherit which = FRA }
		command = { type = trigger which = 5000001 } # GER

	}
}

#########################################################################
#  Spoils to Italy
#########################################################################
event = { 
	id = 5000001
	random = no
	country = GER

        name = "Spoils to Italy"
	desc = "Our noble ally Italy deserves some spoils of war as well"

	action_a = {
		name = "Spoils to Italy"
		command = { type = secedeprovince which = ITA value = 527 } # Grenoble
		command = { type = secedeprovince which = ITA value = 528 } # Lyon
		command = { type = secedeprovince which = ITA value = 364 } # Marseille
		command = { type = secedeprovince which = ITA value = 365 } # Toulon
		command = { type = secedeprovince which = ITA value = 366 } # Nice
		command = { type = secedeprovince which = ITA value = 367 } # Corsica

	}
}

You just forgot the date in event 5000000
 

Leon_Corona

First Lieutenant
34 Badges
Feb 28, 2006
280
10
  • Age of Wonders III
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Cities: Skylines
  • Stellaris: Humanoids Species Pack
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Age of Wonders: Planetfall
  • Stellaris: Lithoids
  • Europa Universalis III
  • 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: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Crusader Kings II
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Semper Fi
  • 500k Club
Well after more work i finally have it all working. Not 100% how i wanted but it does work. So i hope you like it JR, let me know if you want anything else changed. Also, you may make the ai_chances to anything you like. -Leon
Vichy event (minor changes)
Code:
#########################################################################
#  Vichy France
#########################################################################
event = {
	id = 2021
	random = no
	country = GER

	trigger = {

		control = { province = 56 data = -1 } # Paris
		lost_national = { country = FRA value = 25 }	# At least 25% of national provinces lost

		OR = {
			random = 25
			lost_national = { country = FRA value = 40 }
		}

		OR = {
			control = { province = 320 data = FRA } # France controls Vichy
			control = { province = 320 data = GER } # Germany controls Vichy
		}

		war = { country = GER country = FRA }
		NOT = {
			OR = {
				year = 1942 # Year < 1941
				event = 2021
				war = { country = GER country = SOV }
				puppet = { country = VIC country = GER }
				puppet = { country = FRA country = GER }
			}
		}
	}

	name = "EVT_2021_NAME"
	desc = "EVT_2021_DESC"
	style = 0
	picture = "VIC"

	date = { day = 1 month = january year = 1936 }
	offset = 3 # Check for trigger conditions every three days
	deathdate = { day = 30 month = december year = 1963 }

	action_a = {
		name = "ACTIONNAME2021A" # Set up French Puppet Government in Vichy
		ai_chance = X
		command = { type = trigger which = 2800 } # FRA
		command = { type = sleepevent which = 5000000 }
	}
	action_b = {
		name = "ACTIONNAME2021B" # Total conquest is preferable
		ai_chance = X
		command = { type = trigger which = 5000000 } 
	}
}

New Events
Code:
#########################################################################
#  France Annexation A
#########################################################################
event = {
	id = 5000000
	random = no
	country = GER

	trigger = {

	 war = { country = GER  country = FRA }
		AND = {
			NOT = {
	 control = { province = 56 data = FRA } # Paris
	 control = { province = 320 data = FRA } # Vichy
	 control = { province = 364 data = FRA } # Marseille
	 control = { province = 325 data = FRA } # Bordeaux
	 control = { province = 32 data = FRA } # Brest
			}
		}
	 }

	name = "French Defeat"
	desc = "France has totally fallen, are we to take it all for ourselves?"
	style = 0
	picture = "VIC"

	date = { day = 0 month = january year = 1936 }
	offset = 5
	deathdate = { day = 30 month = december year = 1947 }

	action_a = {
         name = "French total Annexation"
		ai_chance = X
		command = { type = inherit which = FRA }
		command = { type = sleepevent which = 5000001 }
	}
	action_b = {
		name = "split the Spoils of War"
		ai_chance = X
		command = { type = trigger which = 5000001 } # GER
	}
}

#########################################################################
#  French Total Surrender 
#########################################################################
event = {
	id = 5000001
	random = no
	country = FRA

	name = "French Defeat"
	desc = "France has totally fallen, we are at the mercy of our new masters."
	style = 0
	picture = "VIC"

	action_a = {
         name = "Transition of power"
		command = { type = leave_alliance }
		command = { type = peace which = GER value = 1 }
		command = { type = non_aggression which = FRA where = GER }
		command = { type = access which = GER }
		command = { type = access which = ITA }
		command = { type = peace which = ITA value = 1 }
		command = { type = non_aggression which = FRA where = ITA }
	}
}

#########################################################################
#  Spoils to Italy
#########################################################################
event = { 
	id = 5000002
	random = no
	country = FRA

	 trigger = {
	 event = 5000001
	}

        name = "Spoils to Italy"
	desc = "our once glorious nation is no more."

	date = { day = 0 month = january year = 1936 }
	offset = 2
	deathdate = { day = 30 month = december year = 1947 }

	action_a = {
		name = "Spoils to Italy"
		command = { type = secedeprovince which = ITA value = 527 } # Grenoble
		command = { type = secedeprovince which = ITA value = 528 } # Lyon
		command = { type = secedeprovince which = ITA value = 364 } # Marseille
		command = { type = secedeprovince which = ITA value = 365 } # Toulon
		command = { type = secedeprovince which = ITA value = 366 } # Nice
		command = { type = secedeprovince which = ITA value = 367 } # Corsica
		command = { type = trigger which = 5000003 } # GER
	}
}

#########################################################################
#  France Annexation B
#########################################################################
event = {
	id = 5000003
	random = no
	country = GER

	name = "Annexation of France"
	desc = "Our noble ally Italy deserves some spoils of war as well"
	style = 0
	picture = "VIC"

	action_a = {
         name = "Victory over France!"
		command = { type = inherit which = FRA }
	}
}
 
Jul 3, 2007
299
0
can someone write me an event chain for the rebirth of the Austrian Empire (not Austria-Hungary)...and a 2 way civil between Monarchist (GER) and Red Germans (DDR)..........
 

Leon_Corona

First Lieutenant
34 Badges
Feb 28, 2006
280
10
  • Age of Wonders III
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Cities: Skylines
  • Stellaris: Humanoids Species Pack
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Age of Wonders: Planetfall
  • Stellaris: Lithoids
  • Europa Universalis III
  • 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: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Crusader Kings II
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Semper Fi
  • 500k Club
Well JR, i wasnt sure how exactly you wanted it so i just went with annexation. So my apologies on that, i was thinking of the colonies liberating themselves instead of joining the Germans, but i figured id just leave it.

Stud, do you have anything in mind for this chain concerning Austria? As for the civil war, would have to change German leaders and such to reflect a monarchy, or would you just want a civil war and pretend that Hitler and his boys are monarchists? -Leon
 
Jul 3, 2007
299
0
I'd like it to be the United States of Greater Austria, under the Kaiser Otto I...i'd like u to start at the anchullus (give a forth option of inviting the Kaiser Otto I to be king...it would grant independence to U05...(USGA)...which would annex austria by event....make a bunch of claim events on the old terretories of the Austro empire (all the green lands including Lambordia, Venetia, and Trentino, and Triest, ect (for the italian claims give the player the choice of claming all of these terretories (on the HOI2 map, Venice Milan and Trento) , just trento, or to forget all of these claims to gain Italian support... I also need industrial/Military buildup events , claims on Czechoslovakia, Hungarian claims and possible fights with these two states (this is NOT A-H, just Austria)...Polish claims (on the HOI2 map, Crakow, Lvov, premezl, Strj, and Stainsalow) or go with a renouciation of these claims to get Polish support and lastly, the Revenge War against Yugoslavia to get its lost empire back and offer an allaince with Bulgaria (they'll get all of thier claimed terretories plus a little extra...also, the USGA and Bulgaria will go to war with Romania and in order to get Transalvania for Austria and Constanta for Bulgaria...use this map(s)...
Austrian_empire1-2.png


hitler and his gang is to be overthrowed for not rearming the Rhineland (if u don't arm the provence of Cologne after June of 1936)...there is a revolt in Berlin and a power struggle between Monarchist (GER) under Wilhelm II (make his death date in early 1937, and have his son, Wilhelm III replace him and he secretly plans to arm and rebuild Germany and start to make polish claims, reamring events, ect) and anti-stalinist socialist (DDR) (govt type, LWR) they plan to form a Euro Union and a possible war agianst Stalin, if they win out.
 

Leon_Corona

First Lieutenant
34 Badges
Feb 28, 2006
280
10
  • Age of Wonders III
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Cities: Skylines
  • Stellaris: Humanoids Species Pack
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Age of Wonders: Planetfall
  • Stellaris: Lithoids
  • Europa Universalis III
  • 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: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Crusader Kings II
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Semper Fi
  • 500k Club
JR, I can add a small colonial militia event if you like. I left them unguarded simply because i figured if they allowed Germany to govern them instead of France, they honestly could care less which European is in charge and thus the French garrison would simply leave and leave the area unguarded for their British allies to take over until France is liberated.

Stud, ill take a look at it in the morning. I do hope this U05 country is USGA already. As i have never made a country from scratch before, and that is the only thing i ask that people not request out of me. So if not, i can just work with Austria in giving them what you asked. Ill see what i can do with the civil war, hopefully the royalty characters are already made so i can simply do a change of leadership event.

Ill post updates tomorrow, JR let me know if you want any finishing touches and ill give your mod a review tomorrow as well. -Leon
 

Lord Finnish

A man of science and culture.
73 Badges
Sep 4, 2006
12.332
1.958
  • Europa Universalis IV: Third Rome
  • Imperator: Rome - Magna Graecia
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Horse Lords
  • Hearts of Iron IV: Death or Dishonor
  • Age of Wonders III
  • Cities: Skylines - Green Cities
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Cities: Skylines Industries
  • Europa Universalis IV: Golden Century
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: By Blood Alone
  • Europa Universalis 4: Emperor
  • Battle for Bosporus
  • Crusader Kings III: Royal Edition
  • Crusader Kings III
  • Europa Universalis III: Chronicles
  • Hearts of Iron IV: La Resistance
  • Europa Universalis IV
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome
  • Europa Universalis IV: Call to arms event
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mandate of Heaven
  • Cities: Skylines - Mass Transit
  • Cities: Skylines - Natural Disasters
  • Europa Universalis IV: Cossacks
  • Victoria 2
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Pre-order
  • For The Glory
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Holy Fury Pre-order
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Wealth of Nations
  • Arsenal of Democracy
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
Someone make me a trigger, where..

Trigger:

Japan is at war with CHC (China)
China has lost atleast 50% of it's national provinces
China has lost control of provinces
1205 (Beijing)
1237 (Shanghai)
1235 (Nanking)
1271 (Yan'an)
1313 (Guangzhou)
1280 (Chongqing)

Thank you
 

Leon_Corona

First Lieutenant
34 Badges
Feb 28, 2006
280
10
  • Age of Wonders III
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Cities: Skylines
  • Stellaris: Humanoids Species Pack
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Age of Wonders: Planetfall
  • Stellaris: Lithoids
  • Europa Universalis III
  • 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: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Crusader Kings II
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Semper Fi
  • 500k Club
Made this real quick, so test it and let me know if it works.
Code:
#############################################
###### Chinas Defeat
#############################################
event = {
         id = 7000010
         random = no
         country = JAP

	 trigger = {
	 war = { country = JAP  country = CHI }
	 lost_national = { country = CHI value = 50 }
		AND = {
			NOT = {
	 control = { province = 1205 data = CHI }
	 control = { province = 1237 data = CHI }
	 control = { province = 1235 data = CHI }
	 control = { province = 1271 data = CHI }
	 control = { province = 1313 data = CHI }
	 control = { province = 1280 data = CHI }
			}
		}
	 }