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

Lyrecryer

Back by Unpopular Demand!
85 Badges
Feb 27, 2010
2.074
13
  • Cities: Skylines - After Dark
  • Rome: Vae Victis
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sword of the Stars
  • Crusader Kings II: Horse Lords
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Victoria 2
  • 500k Club
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cradle of Civilization
  • Knights of Pen and Paper 2
  • Crusader Kings II: Conclave
  • Hearts of Iron IV: No Step Back
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Imperator: Rome Deluxe Edition
  • Prison Architect
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV
  • Crusader Kings III: Royal Edition
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Third Rome
  • Surviving Mars
  • Europa Universalis III Complete
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis III Complete
  • Europa Universalis 4: Emperor
I think we need a Thread that allows people to ask questions about modding without creating a thread for it.


Here is my Qeustion, How can I make 3 nations stay at war with each other untill 1 nation remains? I am getting annoyed with my moded game having Germany having a truce with one of it's rebels.
 
Ok then These Events aren't showing up for some reason. Can you tell me why?

Code:
#########################################################################
#  German Civil War -Democary Wins!
#########################################################################
event = {
	id = 81000
	random = no
	country = DFR

	trigger = {
		NOT = {
			exists = GER
			AND = {
			exists = DDR
		}
		}
		atwar = no
	}

	name = "Democary Prevails!"
	desc = "After long and bitter fighting We have beaten back the Fascists and Communist and made sure that Democarcy Prevails! Now we need to rebuild our beloved country and seek to it that this will never happen again!"
	style = 2
  	picture = "scw"

	action_a = {
		name = "Victory!" 
		command = {type = setflag which = Rebuild}
		command = { type = dissent value = -17 }
		
	}
}
############REBUILD############
event = {
	id = 81001
	random = no
	tag = {GER DDR DFR }

	trigger = {
	flag = Rebuild
	}

	name = "What shall we rebuild first?"
	desc = "Now that we need to rebuild our beloved country, we can choose where to start with first. We can choose to repair the roads or we can start a few industrys. We can also try to improve our army but the civillians will not be amused to see vital resouces go to the army."
	style = 2
  	picture = "scw"

	action_a = {
		name = "Start the Autobahn Project!"# Increase Infrastructe to 3 random provinces by 10%
		command = { type = dissent value = -5 }
						command = { type = construct which = infrastructure where = -1 value = 10 }
						command = { type = construct which = infrastructure where = -1 value = 10 }
						command = { type = construct which = infrastructure where = -1 value = 10 }
						command = { type = supplies value = -500} #It's very expenvise!
						command = { type = money value -100 }
						command = {type = clrflag = Rebuild}
	}
		action_b = {
		name = "Build a few factorys here and there."# Increase by 10 IC randomly
		command = { type = dissent value = -8 }
						command = { type = construct which = ic where = -4 value = 5 }
						command = { type = construct which = ic where = -4 value = 5  }
						command = { type = supplies value = -1000} #It's very expenvise!
						command = { type = money value 20 } #New Owners will buy land from you.
						command = {type = clrflag = Rebuild}
	}
			action_c = {
		name = "The Army needs to be improved!"# Gives suppiles and 2 new units but give you 5 dissent.
						command = { type = dissent value = 5 }
						command = { type = industrial_modifier which = supplies value = 10 }#Improvment of army suppiles.
						command = { type = supplies value = -1500}
						command = { type = add_division value = militia when = 5 }
						command = { type = add_division value = militia when = 5 }
						command = { type = add_division value = militia when = 5 }
						command = { type = add_division value = militia when = 5 }	
command = {type = clrflag = Rebuild}						
	}
}

#########################################################################
#  German Civil War -Fascism Wins!
#########################################################################
event = {
	id = 81002
	random = no
	country = GER

	trigger = {
		NOT = {
			exists = DFR
			AND = {
			exists = DDR
		}
		}
		atwar = no
	}

	name = "Fascism Prevails!"
	desc = "After long and bitter fighting We have beaten back the Democratics and Communists and made sure that Fascism Prevails! Now we need to rebuild our beloved country and seek to it that this will never happen again!"
	style = 2
  	picture = "scw"

	action_a = {
		name = "Victory!" 
		command = {type = setflag which = Rebuild}
		command = { type = dissent value = -17 }
	}
}


#########################################################################
#  German Civil War -Commuism Wins!
#########################################################################
event = {
	id = 81003
	random = no
	country = DDR

	trigger = {
		NOT = {
			exists = DFR
			AND = {
			exists = GER
		}
		}
		atwar = no
	}

	name = "Communism Prevails!"
	desc = "After long and bitter fighting We have beaten back the Democratics and Fasicst and made sure that Commuism Prevails! Now we need to rebuild our beloved country and seek to it that this will never happen again!"
	style = 2
  	picture = "scw"

	action_a = {
		name = "Victory!" 
		command = {type = setflag which = Rebuild}
		command = { type = dissent value = -17 }
	}
}
 
What is the maxium amount of tech component a tech team can have? I heard that it was 5.
 
I'm trying to enter some events in the mod I'm working on:

In a text similar to the peace_negotiations one, I added this treaty which is supposed to end hostilities between the Ottomans and the Balkan League. I guess I also need to give an event of Military Defeat to the Ottomans which triggers the peace treaty:

event = {
id = 2024501 # Treaty of London
country = OTT

trigger = {
random = 25
OR= {
event = 2192513 # Military defeat
}
}

name = "EVT1914_2024501_NAME"
desc = "EVT1914_2024501_DESC"
style = 2
picture = "news_paper"

date = { day = 1 month = january year = 1912 }
offset = 7
deathdate = { day = 30 month = december year = 1925 }

action_a = {
ai_chance = 100
name = "EVT1914_2024501_ACTIONA" # Austria lives its Darkest Hour...
command = { trigger = { war = { country = OTT country = BUL } } type = peace which = BUL value = 1 }
command = { trigger = { war = { country = OTT country = GRE } } type = peace which = GRE value = 1 }
command = { trigger = { war = { country = OTT country = MTN } } type = peace which = MTN value = 1 }
command = { trigger = { war = { country = OTT country = SER } } type = peace which = SER value = 1 }
command = { trigger = { } type = secedeprovince which = BUL value = 319 }
command = { trigger = { } type = secedeprovince which = BUL value = 320 }
command = { trigger = { } type = secedeprovince which = BUL value = 363 }
command = { trigger = { } type = secedeprovince which = BUL value = 370 }
command = { trigger = { } type = secedeprovince which = BUL value = 385 }
command = { trigger = { } type = secedeprovince which = GRE value = 365 }
command = { trigger = { } type = secedeprovince which = GRE value = 366 }
command = { trigger = { } type = secedeprovince which = GRE value = 367 }
command = { trigger = { } type = secedeprovince which = GRE value = 369 }
command = { trigger = { } type = secedeprovince which = GRE value = 383 }
command = { trigger = { } type = secedeprovince which = SER value = 328 }
command = { trigger = { } type = secedeprovince which = SER value = 329 }
command = { trigger = { } type = secedeprovince which = SER value = 333 }
command = { trigger = { } type = secedeprovince which = SER value = 334 }
command = { trigger = { } type = secedeprovince which = MTN value = 335 }
}
}

Is this right?
 
Hi to all members and developers here!
I'm asking if someone can post here graphics templates (for tech-teams, models, brigades, inventions)
Have some pictures of military planes of 1920-40th for different minor European countries, wanna see them ingame)
Thanks, Hopekeeper
 
Last edited:
Yes, but the OR section in the trigger makes no sense (OR event Military Defeat OR...?). If you want it to trigger from another event, then you'll have to remove the trigger and the date+offset+deathdate from this event.

I want the Treaty to be triggered by this military defeat event:

event = {
id = 2192513 # Military defeat
tag = { OTT }

trigger = {
atwar = yes
OR = {
NOT = { control = { province = 333 data = -1 } }
NOT = { control = { province = 361 data = -1 } }
NOT = { control = { province = 365 data = -1 } }
NOT = { control = { province = 367 data = -1 } }
NOT = { control = { province = 370 data = -1 } }
NOT = { control = { province = 383 data = -1 } }
NOT = { control = { province = 385 data = -1 } }
}
}

name = "EVT1914_2192513_NAME"
desc = "EVT1914_2192513_DESC"
style = 2
picture = "Peace_conference"

date = { day = 29 month = june year = 1912 }
offset = 3
deathdate = { day = 30 month = december year = 1925 }

action = {
name = "EVT1914_2192513_ACTIONA" # We have been defeated
command = { trigger = { war = { country = OTT country = BUL } } type = peace which = BUL value = 1 }
command = { trigger = { war = { country = OTT country = GRE } } type = peace which = GRE value = 1 }
command = { trigger = { war = { country = OTT country = MTN } } type = peace which = MTN value = 1 }
command = { trigger = { war = { country = OTT country = SER } } type = peace which = SER value = 1 }
command = { type = dissent value = -10 }
}
}

How should each event look like?
 
First of all, is there is only one country you shouldn't use tag = { OTT } but country = OTT.

Second, just add command = { type = trigger which = 2024501} to this event (right after command = { type = dissent value = -10 }) and finally, as I said earlier, remove the trigger and the date+offset+deathdate from event 2024501.
 
First of all, is there is only one country you shouldn't use tag = { OTT } but country = OTT.

Second, just add command = { type = trigger which = 2024501} to this event (right after command = { type = dissent value = -10 }) and finally, as I said earlier, remove the trigger and the date+offset+deathdate from event 2024501.

Ah, got it, thanks a lot mate.
 
Another thing: It seems that some event descriptions and names do not appear as they should. For example I get events in this format: EVT1914_2000000_NAME;