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

unmerged(83121)

Major
12 Badges
Aug 29, 2007
756
0
  • Deus Vult
  • East India Company
  • Europa Universalis III
  • Europa Universalis III Complete
  • For The Glory
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis: Rome
  • Victoria 2: A House Divided
  • Warlock: Master of the Arcane
My problem is the following: I added some random events from AGEEP to WatKABAOI (copied them in separate file and made link in events.txt), but when one of them fires, there is no event name and no historical description, but some EVENT076 text instead. In which file can I find and add these descriptions?

And second question - are there some events for countries with low stability, that provoke revolts in non-core/non-national culture/different religion provinces, or may be simulating some local nobles dissent? (may be in several provinces simultaneously). All is to increase challenge for myself...
(I didn`t go though all AoI and AGEEP events, therefore I may not be aware of them if they happen exist).
 
Cortes_R said:
My problem is the following: I added some random events from AGEEP to WatKABAOI (copied them in separate file and made link in events.txt), but when one of them fires, there is no event name and no historical description, but some EVENT076 text instead. In which file can I find and add these descriptions?

Open the folder Config. In there you will find a single file titled text.csv which you need to open with notepad, or similar.

This is the file that stores most of the in-game text. If an event has EVENTHIST076 in its desciption, then it looks in this file under EVENTHIST076 and uses the text it finds there. So, you would instead need to add new entries for these imported events, giving them the EVENTNAME and EVENTHIST from the events you have imported from AGCEEP.

However, even easier is to simply cut and paste the text the AGCEEP carefully places in the event into the DESC section.

Here's a sample AGCEEP event with the name, description and action name texts highlighted

Code:
#(1447-1820) We'll never recover Champagne...
event = {
	id = 1000148
	trigger = {
		core = { province = 376 data = -1 }
		atwar = no
		NOT = {
			OR = {
				event = 1000062 #ENG: English Final Victory
				owned = { province = 376 data = -1 }
			}
		}
	}
	random = no
	country = ENG
	name = "EVENTNAME1000148" #[B]We'll Never Recover Champagne...[/B]
	desc = "EVENTHIST1000148"
	#-#[B]England's rule in Chmpagne was always tenuous at best, and utterly dependent on the goodwill of the Duke of Burgundy. Without a loyal garrison in Champagne, Henry VI could not hope to have his claims recognized by the lessor nobles, let alone the clergy or the peasantry of the county.[/B]

	date = { day = 1 month = january year = 1447 }
	offset = 360
	deathdate = { year = 1820 }

	action_a = {
		name = "ACTIONNAME1000148A" #[B]Our claims fall on deaf ears...[/B]
		command = { type = removecore which = 376 } #Champagne
	}
}

And now the same event having these text elements placed directly into the event, sidestepping the text.csv file.


Code:
#(1447-1820) We'll never recover Champagne...
event = {
	id = 1000148
	trigger = {
		core = { province = 376 data = -1 }
		atwar = no
		NOT = {
			OR = {
				event = 1000062 #ENG: English Final Victory
				owned = { province = 376 data = -1 }
			}
		}
	}
	random = no
	country = ENG
	name = "We'll Never Recover Champagne..."
	desc = "England's rule in Chmpagne was always tenuous at best, and utterly dependent on the goodwill of the Duke of Burgundy. Without a loyal garrison in Champagne, Henry VI could not hope to have his claims recognized by the lessor nobles, let alone the clergy or the peasantry of the county."

	date = { day = 1 month = january year = 1447 }
	offset = 360
	deathdate = { year = 1820 }

	action_a = {
		name = "Our claims fall on deaf ears..."
		command = { type = removecore which = 376 } #Champagne
	}
}


And second question - are there some events for countries with low stability, that provoke revolts in non-core/non-national culture/different religion provinces, or may be simulating some local nobles dissent? (may be in several provinces simultaneously). All is to increase challenge for myself...
(I didn`t go though all AoI and AGEEP events, therefore I may not be aware of them if they happen exist).

Sadly, the triggers in EU2 have limitations.

Random revolts can only be targetted with the following numeric qualifiers

-1 Any owned province
-2 Your capital
-3 The same province as the last one mentioned or generated randomly
-4 Colonial province

To have an event make a revolt in a province that was not a core, then the event would need to be created specifically for that province.

Code:
event = {
	id = xxxxxx
	random = yes
	province = 285
	trigger = {
		NOT = { stability = 0 }
		NOT = { core = { province = 285 data = -1 } }
	}
	name = "Revolt in Smolensk!"
	desc = "Those Smolenskians just don't like us ruling them and they have taken advantage of national instability to rise in revolt against us."

	action_a = {
		name = "O, rats"
		command = { type = revolt which = 285 }
	}
}

I made this a random event so that it could occur mutiple times. Note, however, that the random event list can get pretty choked, such that any given random becomes less and less likely to happen. If you instead made it random = no then you would need to add date qualifiers and accept that it will only ever happen once.
 
Thank you for detailed reply, it looks like some detailed work will be needed :)

(I copied all section of random events from AGEEP to AoI, but descriptions are still EVENT etc. when I run event from console. It seems it`s really better to replace EVENTwatever name with descriptions manually).
 
Cortes_R said:
(I copied all section of random events from AGEEP to AoI, but descriptions are still EVENT etc. when I run event from console. It seems it`s really better to replace EVENTwatever name with descriptions manually).
Easier, yes, but it's only better if you're not planning for them to be translated. That is the main function of text.csv: to separate out all text strings for easier translation. :)
 
MichaelM said:
Easier, yes, but it's only better if you're not planning for them to be translated. That is the main function of text.csv: to separate out all text strings for easier translation. :)

Yeah, but this guy sounds like his just doing a personal mod to an existing mod.
If ever anyone wants to translate Interregnum, they can't transpose all the text strings themselves. :D
 
MattyG said:
Yeah, but this guy sounds like his just doing a personal mod to an existing mod.
If ever anyone wants to translate Interregnum, they can't transpose all the text strings themselves. :D
want to bet? :D