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

Al Merko

Second Lieutenant
55 Badges
Apr 13, 2006
105
1
  • Pillars of Eternity
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Europa Universalis III Complete
  • Europa Universalis IV: Common Sense
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Cities: Skylines - Parklife
  • Divine Wind
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Arsenal of Democracy
  • 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 Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
Hi Im making a mod based on AGCEEP 1.50 and EGUFSM 1.1.
I modified few events and changed all files according to them.
But i still get this message:
Code:
Critical error!
---Couldnt open file:AGCEEP\Events\AGCEEP_Specific\Styria
  ---
Do you still want to continue?

What could be wrong?
File is right there in folder. Why?
Thank you for help.
 

Al Merko

Second Lieutenant
55 Badges
Apr 13, 2006
105
1
  • Pillars of Eternity
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Europa Universalis III Complete
  • Europa Universalis IV: Common Sense
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Cities: Skylines - Parklife
  • Divine Wind
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Arsenal of Democracy
  • 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 Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
Here is my event file.
I went throught 3 times but the message is still the same. Please help
Code:
#Styria (PRM)

#-----------------------------------------------------------------------------------------------

#(1436-1456) Styria becomes Karantania
event = {
	id = 261002
	trigger = {
		event = 261004		
	}
	random = no
	country = PRM
	name = "Styria becomes Karantania"
	desc = "Karantania was medieval kingdom of Slovenians. It consisted of large areas south of Alps. Now when we are Dukes and equal to Habsburg we may revive this historical kingdom and lead Slovenians to the glory."

	date = { day = 1 month = january year = 1436}
	offset = 30
	deathdate = { year = 1456 }

	action_a = {
		name = "Slovenian kingdom is reborn with me"
		command = { type = country which = KRN }
		command = { type = addcore which = 352 } #Panonija
		command = { type = addcore which = 366 } #Croatia
		command = { type = addcore which = 367 } #Kranjska
		command = { type = addcore which = 368 } #Istra
		command = { type = addcore which = 369 } #Carantha

	}
	action_b = {
		name = "Remain Dukes of Styria"
		command = { type = stability value = -1 }
		command = { }
	}
}

#(1419) Regency of Friedrich IV, Count of Tyrol
event = {
	id = 261010
	trigger = { NOT = { war = { country = PRM country = TYR } } }
	random = no
	country = PRM
	name = "Death of Ernest the Iron"
	desc = "Archduke Ernst the Iron of Styria prematurely died in his best manhood in 1419 at the age of 42, while hunting a wild boar. Herman of Cilli merly saved the life of his young son Friederick, who gave regency to Count of Celje as sign of thankfulness."
	
	date = { day = 3 month = january year = 1419 }
	
	action_a = {
		name = "What a tragic end of great man. Respect the wish of young prince"
		command = { type = relation which = TYR value = -200 }
		command = { type = relation which = HAB value = -200 }
		command = { type = relation which = HUN value = 200 } #Friend of emperor Sigismund, king of HUN and BOH
		command = { type = relation which = BOH value = 200 }
		command = { type = relation which = ROM value = 200 }
		command = { type = wakemonarch which = 0111017 } #Herman II Celjski
		command = { type = sleepmonarch which = 0111018 } #Friedrich IV
		command = { type = domestic which = aristocracy value = 2 }
		
	}
	action_b = {
		name = "What a tragic end of great man. Let Friedrich IV be our regent"
		command = { type = relation which = TYR value = 100 }
		command = { type = domestic which = centralization value = -1 }
		command = { type = domestic which = aristocracy value = 1 }
		command = { type = trigger which = 322015 } #TYR: Regency of Friedrich IV in Inner Austria
		command = { type = stability value = -1 }
	}
}
#(1419) Regency of Friedrich IV, Count of Tyrol
event = {
	id = 261012 #triggered by TYR_322015
	random = no
	country = PRM
	name = "EVENTNAME261012" #Regency of Friedrich IV, Count of Tyrol
	desc = "EVENTHIST261012"
	#-#Friedrich IV's regency, during which Styria was governed from Tyrol by a regent whose main interest was to get as much profit as possible for himself out of his office, led to a notable weakening of central power and further strengthened the local noble dynasties and landowners, which led to increased taxes they demanded from their peasants, making the decline of their situation even more rapid.

	action_a = {
		name = "OK"
		command = { type = stability value = 4 }
	}
}
#(1419) Regency of Herman II of Cilli - Ahistorical
event = {
	id = 261011
	trigger = { war = { country = PRM country = TYR } }
	random = no
	country = PRM
	name = "EVENTNAME261011" #Regency of Herman II of Celje
	desc = "Archduke Ernst the Iron of Styria prematurely died in his best manhood in 1419 at the age of 42, while hunting a wild boar. Herman II of Celje merly saved the life of his young son Friederick, who gave regency to Count of Celje as sign of thankfulness."Since Styria was at war with Tyrol, whose ruler Friedrich IV would otherwise, according to Habsburg tradition, be chosen as the guardian of Ernest's sons, the Estates decided to trust the regency to Hermann II of Celje, member of a noble family of Styrian magnates that was quickly rising in power due to Herman's close personal Friendship with the Holy Roman Emperor Sigismund, whose life he saved in the battle against the Turks at Nicopolis. Thus Herman was made regent of Croatia in 1406, and in 1436 the family was raised to the rank of the princes of state.

	date = { day = 3 month = june year = 1419 }

	action_a = {
		name = "OK"
		command = { type = relation which = HUN value = 200 } #Friend of emperor Sigismund, king of HUN and BOH
		command = { type = relation which = BOH value = 200 }
		command = { type = relation which = ROM value = 200 }
		command = { type = wakemonarch which = 0111017 } #Herman II Celjski
		command = { type = sleepmonarch which = 0111018 } #Friedrich IV
	}
}

#(1419-1439) Change of regent
event = {
	id = 261013
	trigger = {

		exists = TYR
		monarch = 0111018 #Friedrich IV
		NOT = { vassal = { country = PRM country = TYR } }
	}
	random = no
	country = PRM
	name = "EVENTNAME261013" #Change of regent
	desc = "EVENTHIST261013"
	#-#Unsatisfied with Friedrich IV's handling of matters in Styria, the estates of Inner Austria decided to entrust the regency into the hands of the Counts of Celje.

	date = { year = 1419 }
	
	deathdate = { day = 23 month = june year = 1439 }

	action_a = {
		name = "ACTIONNAME261013A" #We prefer Herman of Celje
		command = { type = relation which = TYR value = -200 }
		command = { type = relation which = HAB value = -200 }
		command = { type = relation which = HUN value = 200 } #Friend of emperor Sigismund, king of HUN and BOH
		command = { type = relation which = BOH value = 200 }
		command = { type = relation which = ROM value = 200 }
		command = { type = wakemonarch which = 0111017 } #Herman II Celjski
		command = { type = stability value = 3 }
	}
}

#(1431) Frederich V ascends the throne
event = {
	id = 261014 #triggered by TYR_322016 B
	random = no
	country = PRM
	name = "Friedrich V comes of age"
	desc = "Friedrich IV, regent for the minors Friedrich V and Albrecht VI, only reluctantly accepted to turn over Styria to his nephews. Usually, regencies in Habsburg lands lasted until the heir had reached adulthood, which was by Habsburg law at the age of 16. However when Friedrich V came of age in 1431, Friedrich IV managed to extend his term until Albrecht VI's 16th birthday in 1435, under the pretext that a possible partition between the two brothers could only be negotiated fairly when both had reached adulthood. Even in 1435, Friedrich IV refused to give up rule of Styria. Only because of the arbitration of Albrecht V of Austria did Friedrich IV finally agree to end his regency on March 25th 1436."

	action_a = {
		name = "Friedrich V becomes Duke of Karantania"
		command = { type = breakvassal which = TYR }
		command = { type = relation which = TYR value = -50 }
		command = { type = stability value = 3 }
		command = { type = diplomats value = 3 }
		command = { type = relation which = HAB value = 30 }
	}
}
#(1431-1435) Frederich V ascends the throne
event = {
	id = 261015
	trigger = { monarch = 0111018 } #Friedrich IV
	random = no
	country = PRM
	name = "Friedrich V comes of age"
	desc = "Friedrich V, later emperor Friedrich III, became of age in 1431, on his 16th birthday, and took up the rulership of Inner Austria, thus terminating the regency of Celje."

	date = { day = 20 month = september year = 1431 }
	offset = 30
	deathdate = { year = 1435 }

	action_a = {
		name = "ACTIONNAME261014A" #Friedrich V becomes Duke of Inner Austria
		command = { type = relation which = HAB value = 50 }
		command = { type = relation which = TYR value = 50 }
		command = { type = relation which = BOH value = -100 }
		command = { type = relation which = ROM value = -100 }
		command = { type = relation which = HUN value = -100 }
		command = { type = wakemonarch which = 0111019 } #Friedrich V (early instance)
		command = { type = sleepmonarch which = 0111001 } #Friedrich V
	}	
}
#(1436) Frederich V ascends the throne
event = {
	id = 261016
	trigger = { monarch = 0111017 } #Herman II Celjski
	random = no
	country = PRM
	name = "Friedrich V comes of age"
	desc = "Herman, regent for the minors Friedrich V and Albrecht VI, only reluctantly accepted to turn over Styria to Habsburgs. Usually, regencies in Habsburg lands lasted until the heir had reached adulthood, which was by Habsburg law at the age of 16. However when Friedrich V came of age in 1431, Herman managed to extend his term until Albrecht VI's 16th birthday in 1435, under the pretext that a possible partition between the two brothers could only be negotiated fairly when both had reached adulthood. Even in 1435, Herman refused to give up rule of Styria. Only because of the arbitration of Albrecht V of Austria did Herman finally agree to end his regency on March 25th 1436."

	date = { day = 24 month = march year = 1436 }

	action_a = {
		name = "ACTIONNAME261014A" #Friedrich V becomes Duke of Inner Austria
		command = { type = breakvassal which = TYR }
		command = { type = relation which = TYR value = -50 }
		command = { type = stability value = 3 }
		command = { type = diplomats value = 3 }
		command = { type = relation which = HAB value = 30 }
	}
}

#(1436) The Dukes of Celje
event = {
	id = 261004
	trigger = {
		owned = { province = 369 data = -1 } #Carantha
	}
	random = no
	country = PRM
	name = "The Dukes of Celje"
	desc = "In 1396 count Hermann II of Celje was in command of Styrian troops that took part in the Battle of Nicopolis. The Ottoman army won the battle decisively, but the count saved the life of the Hungarian king Sigismund of Luxemburg. A strong bond between the two men, which was further strengthened when Sigismund married Hermann's daughter Barbara, was created. In 1436 the Emperor Sigismund elevated the counts of Cilli to the rank of dukes. This triggered a feud with the Habsburg duke Frederick V, who was their formal liege lord."

	date = { day = 2 month = march year = 1436 }

	action_a = {
		name = "Emperor is most generous"
		command = { type = relation which = HUN value = 200 }
		command = { type = relation which = BOH value = 200 }
		command = { type = provincetax which = 369 value = 2 } #Carantha
		command = { type = treasury value = 300 }
	}
}

#(1436-1439) Treaty with Albrecht VI
event = {
	id = 261017
	trigger = {
		OR = {
			monarch = 0111001 #Friedrich V (early instance)
			monarch = 0111001 #Friedrich V
		}
	}
	random = no
	country = PRM
	name = "EVENTNAME261017" #Treaty with Albrecht VI
	desc = "EVENTHIST261017"
	#-#Soon after taking over Styria, Friedrich V had to deal with the demands of his younger brother, Albrecht VI, for a part of their father's estate. Their first treaty was concluded on May 13th 1436 in Vienna. By the terms of the treaty, Friedrich remained governor of all of Styria, but had to provide Albrecht with an income sufficient to fund a princely lifestyle. This soon wasn't enough for the extravagant, ambitious and warlike Albrecht.

	date = { day = 12 month = may year = 1436 }
	offset = 30
	deathdate = { month = may year = 1439 }

	action_a = {
		name = "ACTIONNAME261017A" #Accept the treaty
		command = { type = provincetax which = 369 value = -1 } #Carantha
		command = { type = revoltrisk which = 36 value = 3 }
	}
	action_b = {
		name = "ACTIONNAME261017B" #Don't make any concessions to Albrecht
		command = { type = revoltrisk which = 312 value = 6 }
		command = { type = revolt which = -2 }
		command = { type = setflag which = no_concessions }
	}
}

#(1443) End of the feud
event = {
	id = 261005
	trigger = {
		owned = { province = 369 data = -1 } #Carantha
	}
	random = no
	country = PRM
	name = "EVENTNAME261005" #End of the feud
	desc = "EVENTHIST261005"
	#-#The feud between Duke Frederick V of Styria and Duke Ulrich of Cilli lasted until 1443, and the fighting in which local nobles, their entourages and foreign mercenaries took part spread over much of Styria and Carniola. Many castles and towns were besieged and destroyed. The troops of the Counts of Cilli even unsuccessfully laid siege to the Carniolan capital Ljubljana. The conflict was solved in 1443 with the signing of several documents; one of them foresaw a mutual inheritance in case one of the families became extinct.

	date = { day = 11 month = april year = 1443 }

	action_a = {
		name = "ACTIONNAME261005A" #At last
		command = { type = provincetax which = 369 value = -2 } #Steiermark
		command = { type = province_revoltrisk which = 369 value = -5 } #Steiermark
	}
}

#(1456) Death of Duke Ulrich of Cilli
event = {
	id = 261006
	trigger = {
		owned = { province = 369 data = -1 } #Carantha
	}
	random = no
	country = PRM
	name = "EVENTNAME261006" #Death of Duke Ulrich of Cilli
	desc = "EVENTHIST261006"
	#-#When last Count of Cilli, Ulrich, was killed in Belgrade (1456), Frederick had to fight Ulrich's widow, Hungarian king Ladislas Postumus, the count of Görz and the Croatian counts of Frankopani for his promised inheritance of Cilli. Unfortunately the region has become volatile once again.

	date = { day = 24 month = july year = 1456 }

	action_a = {
		name = "ACTIONNAME261006A" #Damn!
		command = { type = relation which = HUN value = -50 }
		command = { type = relation which = BOH value = -50 }
		command = { type = relation which = CRO value = -50 }
		command = { type = revoltrisk which = 369 value = 3 } #Steiermark
	}
}

#(1457) The stubborn widow
event = {
	id = 261007
	trigger = {
		owned = { province = 369 data = -1 } #Carantha
	}
	random = no
	country = PRM
	name = "EVENTNAME261007" #The stubborn widow
	desc = "EVENTHIST261007"
	#-#After Ladislas died in 1457 and Frederick managed to strike a deal with the widow, and the conflict was practically settled. The war of succession ended in 1460 with Frederick gaining all the former possessions of the Counts of Cilli.

	date = { day = 24 month = august year = 1457 }

	action_a = {
		name = "ACTIONNAME261007A" #The county is now ours
		command = { type = provincetax which = 369 value = 3 } #Steiermark
		command = { type = revoltrisk which = 369 value = -3 }
	}
}

#(1463) Austria inherits Styria
event = {
	id = 261000
	trigger = {
		exists = HAB
		exists = TYR
	}
	random = no
	country = PRM
	name = "EVENTNAME261000" #Death of Duke Albert
	desc = "EVENTHIST261000"
	#-#In December 1463 Duke Albert of Styria died childless. Despite their former conflicts he let his brother, emperor Friedrich V, who was thus able to unite Styria and Krain with Austria, inherit all his possessions.

	date = { day = 1 month = december year = 1463 }
	offset = 10
	deathdate = { day = 1 month = january year = 1464 }

	action_a = {
		name = "ACTIONNAME261000A" #The duke's brother is heir (End Game)
		#command = { type = independence which = SLZ } #Salzburg
		command = { type = independence which = BAY }
		command = { type = independence which = WUR }
		command = { type = independence which = MLO }
		command = { type = independence which = MAN }
		command = { type = independence which = VEN } #Weird things can happen :-)
		command = { type = secedeprovince which = VEN value = 368 } #Istria
		command = { type = secedeprovince which = VEN value = 365 } #Dalmatia
		command = { type = secedeprovince which = HUN value = 352 } #Odenburg
		command = { type = secedeprovince which = HUN value = 326 } #Presburg
		command = { type = trigger which = 179002 } #HAB: Austria inherits Styria
	}
	action_b = {
		name = "ACTIONNAME261000B" #Let Sigmund of Tirol have it instead (End Game)
		command = { type = trigger which = 322014 } #TYR: Styria and Krain are willed to Tirol
	}
	action_c = {
		name = "ACTIONNAME261000C" #Friedrich is our enemy! Styria remains independent
		command = { type = stability value = -3 }
		command = { type = revolt which = 367 } #Krain
		command = { type = revolt which = 369 } #Steiermark
		command = { type = relation which = HAB value = -200 }
		command = { type = relation which = TYR value = -100 }
		#command = { type = relation which = SLZ value = -100 } #Salzburg
	}
}
#(1463) Austria inherits Styria (Tirol doesn't exist)
event = {
	id = 261001
	trigger = {
		exists = HAB
		NOT = { exists = TYR }
	}
	random = no
	country = PRM
	name = "EVENTNAME261001" #Death of Duke Albert
	desc = "EVENTHIST261001"
	#-#In december 1463 Duke Albert of Styria died childlessly. Despite their former conflicts he let his brother, emperor Friedrich V, who was thus able to unite Styria and Krain with Austria, inherit all his possessions.

	date = { day = 1 month = december year = 1463 }
	offset = 10
	deathdate = { day = 1 month = january year = 1464 }

	action_a = {
		name = "ACTIONNAME261001A" #The duke's brother is heir (End Game)
		#command = { type = independence which = SLZ } #Salzburg
		command = { type = independence which = TYR }
		command = { type = independence which = BAY }
		command = { type = independence which = WUR }
		command = { type = independence which = MLO }
		command = { type = independence which = MAN }
		command = { type = independence which = VEN } #Weird things can happen :-)
		command = { type = secedeprovince which = VEN value = 368 } #Istria
		command = { type = secedeprovince which = VEN value = 365 } #Dalmatia
		command = { type = secedeprovince which = HUN value = 352 } #Odenburg
		command = { type = secedeprovince which = HUN value = 326 } #Presburg
		command = { type = trigger which = 179002 } #HAB: Austria inherits Styria
	}
	action_b = {
		name = "ACTIONNAME261001B" #Friedrich is our enemy! Styria remains independent
		command = { type = stability value = -3 }
		command = { type = revolt which = 367 } #Krain
		command = { type = revolt which = 369 } #Steiermark
		command = { type = relation which = HAB value = -200 }
		#command = { type = relation which = SLZ value = -100 } #Salzburg
	}
}
#(1419) Inheritance of Ortenburgs
event = {
	id = 261003
	trigger = { owned = { province = 367 data = -1 } #Kranjska
		    monarch = 0111017 } #Herman II Celjski		
	
	random = no
	country = PRM
	name = "Inheritance of Ortenburgs"
	desc = "When Ortenburgs ceased to exist Counts of Celje inherited their possessions."

	date = { day = 4 month = january year = 1419}
	
	deathdate = { year = 1456 }

	action_a = {
		name = "This will bring us some gold and land"
		command = { type = provincetax which = 367 value = 1 } #Kranjska
		command = { type = treasury value = 50 }
	}	
}
#(1419) Patriarch asks for help
event = {
	id = 261008
	trigger = { monarch = 0111017 } #Herman II Celjski		
		
	random = no
	country = PRM
	name = "Patriarch asks for help"
	desc = "During the first decades of 15. century Venice expanded their teritories in Istra and Dalmatia. Thus they came in conflict with patriarchate in Oglej. Patriarch then turned to Herman II Celjski for help."

	date = { day = 5 month = january year = 1419}
	
	deathdate = { year = 1423 }

	action_a = {
		name = "Help him"
		command = { type = war  which = Venice }
		command = { type = relation   which = Venice value = -20 }
		command = { type = relation   which = PapalStates value = 20 }
		command = { type = treasury value = 75 }
	}
	action_b = {
		name = "Dont interfere"
		command = { type = relation   which = Venice value = 20 }
		command = { type = relation   which = PapalStates value = -20 }
	}	
}
#(1419) Counts of Celje are bans of Croatia
event = {
	id = 261009
	trigger = { monarch = 0111017 } #Herman II Celjski
		
	random = no
	country = PRM
	name = "Counts of Celje are bans of Croatia"
	desc = "Emperor Sigismund gave Herman II of Celje title ban of Croatia for saving his life in 1396 Battle of Nicopolis."

	date = { day = 6 month = january year = 1419}
	
	deathdate = { year = 1436 }

	action_a = {
		name = "Thank you o Emperor"
		command = { type = addcore   which = 366 }
		command = { type = relation   which = HUN value = 200 }
		command = { type = relation   which = BOH value = 200 }
	}	
}
#(1423) End od war - Victory
event = {
	id = 261018
	trigger = { control = { province = 368 data = -1 } #Istra
	
	}
	random = no
	country = PRM
	name = "End of war - Victory"
	desc = "War with Venice ended in 1423 with our victory."

	date = { day = 1 month = january year = 1423}
	offset = 30
	deathdate = { year = 1424 }

	action_a = {
		name = "Celebrate"
		command = { type = addcore  which = 368 }
		command = { type = relation   which = Venice value = -50 }
		command = { type = relation   which = PapalStates value = 50 }
		command = { type = treasury value = 50 }
	}	
}
#(1423) End od war - Defeat
event = {
	id = 261019
	trigger = { NOT = { control = { province = 368 data = -1 } #Istra
		}
	}
	random = no
	country = PRM
	name = "End of war - Defeat"
	desc = "War with Venice ended in 1423 with our defeat."

	date = { day = 1 month = january year = 1423}
	offset = 30
	deathdate = { year = 1424 }

	action_a = {
		name = "Dammn"
		command = { type = relation   which = Venice value = -50 }
		command = { type = relation   which = PapalStates value = -50 }
		command = { type = treasury value = -500 }
	}	
}

#-----------------------------------------------------------------------------------------------
 
Jan 9, 2005
8.858
5
I imagine it's because you've got the file extension wrong. Make sure the file extension is the same. I can't remember the file right now (mind's gone ablank, it's so annoying), but I had this problem before.
 

Bordic

Magister Militum
4 Badges
May 29, 2004
4.482
0
  • Hearts of Iron II: Armageddon
  • Deus Vult
  • For The Glory
  • 500k Club
Al Merko said:
Hi Im making a mod based on AGCEEP 1.50 and EGUFSM 1.1.
I modified few events and changed all files according to them.
But i still get this message:
Code:
Critical error!
---Couldnt open file:AGCEEP\Events\AGCEEP_Specific\Styria
  ---
Do you still want to continue?

What could be wrong?
File is right there in folder. Why?
Thank you for help.

I think you need to go to AGCEEP/DB folder and search for event.txt

event.txt is already searching for this line:

Code:
event = "AGCEEP\Events\AGCEEP_Specific_Styria.eue"

So you need to have AGCEEP_Specific_Styria.eue in that folder (with the events in it)

The error message reports:
AGCEEP\Events\AGCEEP_Specific\Styria

while the correct address should be

AGCEEP\Events\AGCEEP_Specific_Styria.eue
 
Jan 9, 2005
8.858
5
Yes, that's what I meant! :D
 

Al Merko

Second Lieutenant
55 Badges
Apr 13, 2006
105
1
  • Pillars of Eternity
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Europa Universalis III Complete
  • Europa Universalis IV: Common Sense
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Cities: Skylines - Parklife
  • Divine Wind
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Arsenal of Democracy
  • 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 Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
Thank that solved the thing

Now I made 3 new events for Venice:
Code:
#(1419) Patriarch asks for help
event = {
	id = 326047
	trigger = { event = 261008A } 		
		
	random = no
	country = VEN
	name = "Patriarch asks for help"
	desc = "During the first decades of 15. century Venice expanded their teritories in Istra and Dalmatia. Thus they came in conflict with patriarchate in Oglej. Patriarch then turned to Herman II Celjski for help."

	date = { day = 5 month = january year = 1419}
	offset = 1
	deathdate = { year = 1423 }

	action_a = {
		name = "They will regret it"
		command = { type = war which = PRM }
		command = { type = relation which = VEN value = -20 }
		command = { type = relation which = PAP value = 20 }
		command = { type = casusbelli which = PRM value = 30 }
	}
}
#(1423) End od war - Victory
event = {
	id = 326048
	trigger = { control = { province = 368 data = -1 } #Istra
	
	}
	random = no
	country = VEN
	name = "End of war - Victory"
	desc = "War with Styria ended in 1423 with our victory."

	date = { day = 1 month = january year = 1423}
	offset = 3
	deathdate = { year = 1424 }

	action_a = {
		name = "Celebrate"
		command = { type = addcore which = 368 }
		command = { type = relation which = PRM value = -50 }
		command = { type = relation which = PAP value = -50 }
		command = { type = treasury value = 500 }
	}	
}
#(1423) End od war - Defeat
event = {
	id = 326049
	trigger = { NOT = { control = { province = 368 data = -1 } #Istra
		}
	}
	random = no
	country = VEN
	name = "End of war - Defeat"
	desc = "War with Styria ended in 1423 with our defeat."

	date = { day = 1 month = january year = 1423}
	offset = 3
	deathdate = { year = 1424 }

	action_a = {
		name = "Dammn"
		command = { type = relation which = PRM value = -50 }
		command = { type = relation which = PAP value = -50 }
		command = { type = secedeprovince which = PRM value = 368 }
	}	
}

And one for Hungary:
Code:
#(1419) Counts of Celje are bans of Croatia
event = {
	id = 188008 
	trigger = { event = 261009A }
	
	random = no
	country = HUN
	name = "Counts of Celje are bans of Croatia"
	desc = "Emperor Sigismund gave Herman II of Celje title ban of Croatia for saving his life in 1396 Battle of Nicopolis."

	date = { day = 6 month = january year = 1419}
	
	deathdate = { year = 1436 }

	action_a = {
		name = "I will never forget it Herman#
		command = { type = secedeprovince which = PRM value = 366 }
		command = { type = relation which = PRM value = 200 }
	}	
}

Scenario loads to 99% but when it should write Initializing script the program freeze.
So what could be wrong? Do you see any mistake in events?
Thank you for all the help.
 

Bordic

Magister Militum
4 Badges
May 29, 2004
4.482
0
  • Hearts of Iron II: Armageddon
  • Deus Vult
  • For The Glory
  • 500k Club
this line in the first event:
Code:
	trigger = { event = 261008[COLOR=Red]A[/COLOR] }
probably the engine cannot read the A but only numbers...

the same here in last event:
Code:
	trigger = { event = 261009[COLOR=Red]A[/COLOR] }

and you need a " here too:
Code:
		name = "I will never forget it Herman[COLOR=Yellow]"[/COLOR]#

EDIT: I suggest you to try this on-line event checker for long sequences. ;)
 

Al Merko

Second Lieutenant
55 Badges
Apr 13, 2006
105
1
  • Pillars of Eternity
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Europa Universalis III Complete
  • Europa Universalis IV: Common Sense
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Cities: Skylines - Parklife
  • Divine Wind
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Arsenal of Democracy
  • 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 Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
Thank you guys a lot.
I didnt know about this tool BTW its awsome. :ava: to the guy who made it!
I hope there wont be any need to bother you again ;)

EDIT: Ok all events are ok, but at 1 february CTD happens?
Its just weak CPU or is sometnihg wrong? Is there any list of reasons for CTD?

@Yoda...thx
 
Last edited: