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

Pellaken

TheNewTeddy
109 Badges
Mar 24, 2009
3.759
1.885
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: By Blood Alone
  • Victoria 3 Sign Up
  • Surviving Mars: First Colony Edition
  • Surviving Mars: First Colony Edition
  • Stellaris: Galaxy Edition
  • Europa Universalis IV
  • Crusader Kings III
  • Imperator: Rome
  • 500k Club
  • Victoria 2
  • Crusader Kings II
  • Mount & Blade: Warband
  • Sengoku
  • Cities: Skylines
  • Prison Architect
Hello. Longtime player here. I've made some event files in my life but am working on one to help my current playing strategy. I'm wondering what the etiquette is for posting event files?

The file I have in mind is unrealistic, but based (very loosely) on history.

During the 1500's, Portugal was occupied by Spain, yet its colonies kept their independence and much of Portugal's "power base" moved to Brazil, so to speak.

When I play as Portugal, I tend to almost forget about Europe, and wish I could move my capitol to the new world. Hence my event.

the first event would have a bunch of advisors approach you with the idea to move the court to Brazil! You must own Recife (the new capitol location) as well as any other territory within 3 squares! (IE, all the provinces next to Recife, the provinces next to those, and the provinces next to those!) This will ensure that you have an inland empire, and hence, a strong colony.

I'm going to brush up on what options the AI picks - I do not want them picking to move to Brazil. But the 3 options I have in mind "Fire the Advisors (+1 Stab) -- Give Brazil more freedom (-1 central, -1 stab) -- Yes! Lets move our court to the new world!. Picking that one would move your capitol and have a ton of consequences, including getting quite a few European nations angry at you, and giving Castile/Spain cores over Portugal.

Following this, either directly after the event or a short time after, you will be presented with an idea, by the same group of advisors to change the name of your country to Brazil. There will be a yes and no option.

The final event is a rebellion in the old Portugal, back in Europe. You can either let them go (in which case they become Portugal, with many events disabled, as you now have those events) or fight them (in which case you best be in for a very long war with rebels. If you pick the first option, you lose all your cores on Portugal.

The end result should be that you are an "european" nation located in the new world!


PS

How again do I set up events so the AI picks the options I want them to?
 
Ai will choose A option around 90% (was it 95%?) of the time.

Here's an event from WATKABAOI, where as European nation with colonies you get the chance to move your capital to the colonies. Thought it might be of help.

Code:
event = {
	id = 876303
	random = yes
	name = "Colonial citizens demands"
	desc = "Around the 19th century the colonies demanded alot of things."
	style = 0
	action_a = {
			name = "Give them nothing"
			command = { type = stability value = -2 }
		}
	action_b = {
			name = "Move our capital to the colonies"
			command = { type = population which = -2 value = -10000 }
			command = { type = removecot   which = -2 }
			command = { type = losebuilding   which = -2 value = cityrights }
			command = { type = population which = -1 value = -6000 }
			command = { type = population which = -1 value = -6000 }
			command = { type = colonialrevolt   which = -1 }
			command = { type = INF   which = -3 value = 10000 }
			command = { type = addcore   which = -3 }
                        command = { type = capital   which = -3 }
                        command = { type = cot  which = -3 }
                        command = { type = gainbuilding   which = -3 value = cityrights }
                        command = { type = provinceculture   which = -3 value = -1 }
                        command = { type = population which = -3 value = 1000 }
                        command = { type = population which = -3 value = 19000 }
   			command = { type = colonialrevolt   which = -1 }
   			command = { type = INF   which = -3 value = 2000 }
			command = { type = population which = -3 value = 900 }
			command = { type = colonialrevolt   which = -1 }
			command = { type = INF   which = -3 value = 2000 }
			command = { type = population which = -3 value = 900 }
			command = { type = colonialrevolt   which = -1 }
			command = { type = INF   which = -3 value = 2000 }
			command = { type = population which = -3 value = 900 }
			command = { type = colonialrevolt   which = -1 }
			command = { type = INF   which = -3 value = 2000 }
			command = { type = population which = -3 value = 900 }
			command = { type = vp   value = 50 }
                        command = { type = colonists   value = -6 }
                        command = { type = desertion   which = -1 value = -5000 }
                        command = { type = desertion   which = -1 value = -5000 }
                        command = { type = desertion   which = -1 value = -5000 }
                        command = { type = desertion   which = -1 value = -5000 }
	}
	action_c = {
			name = "Raise the taxes"
			command = { type = stability value = -4 }
			command = { type = colonialrevolt   which = -1 }
			command = { type = religiousrevolt   which = -3 }
			command = { type = provincetax   which = -3 value = 1 } 
			command = { type = colonialrevolt   which = -1 }
			command = { type = religiousrevolt   which = -3 }
			command = { type = provincetax   which = -3 value = 1 } 
			command = { type = colonialrevolt   which = -1 }
			command = { type = religiousrevolt   which = -3 }
			command = { type = provincetax   which = -3 value = 1 } 
			command = { type = colonialrevolt   which = -1 }
			command = { type = religiousrevolt   which = -3 }
			command = { type = provincetax   which = -3 value = 1 }


		}
}
 
How again do I set up events so the AI picks the options I want them to?
In current EU2 version, there is no solution with a single event. It is impossible to change hardcoded chances for AI choice in actions.

Only solution is an event with all choices for players (ai = no as condition in trigger) and another one with only one choice for AI (ai = yes as condition in the trigger)... or even no event for AI and only one for players if it makes sense.

Btw, welcome Nickjbor!
 
Thanks. I think I remember something to the effect that it picks choice A most of the time, and choice B some of the time, and never choice C, or something.

I also downloaded the ACKPEEP or whatever it's called, and played it last night, and its great! I ended up inheriting all of Spain! Then I tested out an event (I used to all of these things years ago no prob) and was successfully able to move my capital to the colonies.

Anyways. What is the proper etiquette for posting events etc? Do I just make a new thread and post my events in there??

Also, I'm thinking about making an entire scenario/mod that I started working on (and then stopped [more than once]) many years ago.
 
Thanks. I think I remember something to the effect that it picks choice A most of the time, and choice B some of the time, and never choice C, or something.
See 3.12.1 for exact percentages in Havard's Bible.
 
Thanks. I stumbled across that site the other day and have been trying to remember it all. It's so inclusive! I also came across the entire FAQ section, and was able to learn some things about colonization that helped me out! I still can't figure out why after 50 or so provinces, colonizing more seems near impossible! Regardless, I've moved on to a scenario I've had on my mind for a while. I'll consider the event that Wari Bana posted to fulfill the objective of the thread - to get an event that just what his does - and offer him my thanks and move on to my scenario idea!
 
Colonization becomes impossible if you have too much unfinished colonies or tradingposts. This is way to prevent a player from painting the map with his own color (not very plausible the way colonization was in EU2 era).