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

Battlecry

Field Marshal
16 Badges
Feb 22, 2007
2.530
4
  • Arsenal of Democracy
  • Crusader Kings II
  • Europa Universalis III
  • Europa Universalis IV
  • For the Motherland
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis: Rome
  • Semper Fi
  • Rome: Vae Victis
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: Pre-order
  • Hearts of Iron IV Sign-up
Since it's such a popular topic, I wanted to post this event I developed (after an agonizingly long series of tests) which will automatically assign a new governor to empty provinces.
While I'm working on more complex versions (i.e. one which chooses by finesse level - for pure automation - and one which chooses by trait - to represent character ambition & plotting & such) this version simply chooses any random character with no job to fill any province with no governor.
Use it as you wish.

IMPORTANT NOTE: You will not see this event fire! It is a silent event - i.e. one which fires in the background. If anybody wants one where they can see who/where/when, I have that too, so just ask & I'll post it.

Here it is:

Code:
character_event = {
	id = 987100
	trigger = {
		has_job = no
		is_ruler = no
		age = 16
		country = {
			AI = no
			any_province = {
				has_governor = no
				is_capital = no
                                controlled_by = owner
			}
		}
	}
	
	mean_time_to_happen = {
		months = 1
	}
		
	title = "Become Governor?"
	desc = "A province has been left without a governor, will you take the job?"
	
	option = { 
		name "Of course I will..."
		country = {
			random_owned = {
				limit = {
					has_governor = no
					is_capital = no
					controlled_by = owner
				}
				governor = THIS
			}
		}
	}
}
 
You could enhance it a bit by introducing "MTTH"-finesee; also, adding "no" option would be a good idea ;)

EDIT: BTW, I'm back to Rome and modding :D
 
Keraunos said:
You could enhance it a bit by introducing "MTTH"-finesee; also, adding "no" option would be a good idea ;)

a) I know this and am working on just such things, but I wanted to post the "pure" version - different people want different things, some want it based on finesse while other's want it to represent character ambition. I'm still deciding exactly how it will be implemented into R:E, but everyone can make what they want out of it.

b) I'm considering creating an event that will fire immediately at the start of the game and set a flag (auto = yes or auto = no ) so that the player can choose to have these events or not. The event is silent (i.e. background), and is meant to be that way, so I wouldn't add another option to the event itself, as then it'd no longer be silent.

Keraunos said:
BTW, I'm back to Rome and modding :D

Welcome back! I could sure use your input on further military changes in R:E (Dedicated forum in my sig) - haven't really changed it much since New-IMM, and I think maybe some further tweaking would be good now that patch 1.2 is out.

Regards,
Bc
 
Into what file do we transcribe this?
 
Goraja said:
Into what file do we transcribe this?
Any event will work from any event file. You can create a new .txt, paste this into it, and put the file in your /events folder. Just remember to remove it before using the next version of Rome:Enhanced, as then you'll have two events with the same number - which causes problems to say the least.

I just know I'm gonna hear about CTDs due to exactly this problem...yaaay...I can't wait.
 
Last edited:
Oh yeah, does anybody have an idea as to how to make this event place more than one governor per month? (And no, reducing the MTTH to days, or even 1 day, doesn't work, I tried that)
 
battlecry said:
Oh yeah, does anybody have an idea as to how to make this event place more than one governor per month? (And no, reducing the MTTH to days, or even 1 day, doesn't work, I tried that)

I guess you could write more identical events with different id numbers.
 
JakethX said:
im not going to attempt to write that myself i would screw it up could you provide a link and info to where i place it?

Battlecry said:
Any event will work from any event file. You can create a new .txt, paste this into it, and put the file in your /events folder.

There's no reason you would have to "write it yourself". Just copy all the text from the "code" box in the first post, paste it into a new .txt file, and put that file into the EU - Rome/events folder. If you can't do this, I'm not going to explain how to copy and paste text; my fiancee teaches children, not me.

This isn't a mod, it's just an event - so there's not going to be a download, or a readme or anything like that.
 
Last edited:
Bumbar said:
I guess you could write more identical events with different id numbers.
True. I was looking for something "cleaner", but this would be simple to do, if all else fails.