• We will be taking the forums down for scheduled maintenance on Tuesday, May 22nd 2023 at around 8:00 CDT / 13:00 UTC for up to an hour hour.
  • 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(10322)

Esperantisto
Jul 22, 2002
154
0
Visit site
I am running a GC atm where I am popping from Country to country trying to make history happen roughly correctly. :)

One thing I am missing is the ability to gift provinces to other Countries. (Which would be nice if I have found a country has gone on a bit of a conquest spree.)

What I need is a template for an event that gives a province to another country. Raising relations slightly (50is) and lowering BB a little (1). That triggers after I have reloaded the game.

Could anyone help or point me to an event that does this that I can crib from :)

Yours Spencer.
 

Kasperus

Field Marshmallow
8 Badges
Nov 5, 2001
4.379
0
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Europa Universalis III
  • Europa Universalis IV
  • For The Glory
  • 500k Club
  • Mount & Blade: Warband
Afaik that would require a lot of events as you cannot just design an event which will give a border province to the country on the other side of the border. You would have to write events for every country2country combination, for every province that the country possibly can own. That makes it about 1000(number of land-provinces) * 150^2 (number of country2country combination) events.
The only other possibility is to write really random event which will give a random province to a random country, but that can have really weird effects (if it is possible anyway). Imagine Englnad seceding London to the Mamelukkes for example - I don`t that is what you want...
 

unmerged(10322)

Esperantisto
Jul 22, 2002
154
0
Visit site
Sorry for the misunderstanding. What I want is an event to cover a specific situation not the general case that would be necessary for scenario writing.

What I want to do is to write the event while I am playing the game so that I can gift a specific province to a specific other country.

For example I am playing as Russia and want to destroy the Golden Horde. But I am not keen on owning Kouban and Kalmuk. What I want to do is win them in a war and then give them away to the Crimea who I think would quite like them.

So I conquer the provinces and save the game. I then write an event that gives Kouban and Kalmuk to the Crimea.

When I reload the event fires And I lose a couple of BB and my relation with the Crimea improves.

This is the event that I would like a template for so that I can write it depending on the situation. ( I put it into a sepeate file listed in the events.txt file and then delete it when the game is over.)

Spencer.
 

Havard

Dark Power
49 Badges
Jun 28, 2001
15.686
170
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Cities: Skylines - Natural Disasters
  • Crusader Kings II: Monks and Mystics
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Dharma
  • Cities: Skylines Industries
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Cities: Skylines - Campus
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Res Publica
  • 500k Club
  • Cities: Skylines
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
Something like this then:
Code:
[color=silver]event = {
	id = 9000			
	random = no
	trigger = {
		owned = { province = <prov. id> data = -1 } # <= Update id
	}
	country = TAG1 # <=Insert your country tag here
	name = "Event name"
	desc = "Event description"
	style = 4

	date = { day = 1 month = january year = 1419 }
	offset = 0
	deathdate = { day = 1 month = january year = 1821 }

	action_a ={
		name = "Give it away"	
		command = { type = secedeprovince which = TAG2 value = <prov. id.> }
		command = { type = relation which = TAG2 value = 50 }
	}
	action_b ={
		name = "Don't do it"	
		command = { type = relation which = TAG2 value = -50 }
	}
}[/color]
You'll have to update your country id (TAG1), the province ID and the other country id (TAG2).
 

unmerged(10322)

Esperantisto
Jul 22, 2002
154
0
Visit site
Thanks Havard. Exactly what I was looking for. I shall have a quick tinker and post it back up when I have it exactly how I want it.