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

Kirkegaard

Major
45 Badges
Mar 7, 2010
787
470
  • Knights of Pen and Paper +1 Edition
  • Europa Universalis IV: Common Sense
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Res Publica
  • Majesty 2 Collection
  • Magicka
  • For The Glory
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Dungeonland
  • Darkest Hour
  • A Game of Dwarves
  • Arsenal of Democracy
  • Cities: Skylines - Mass Transit
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Mandate of Heaven
  • Surviving Mars
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Golden Century
  • Imperator: Rome
  • Cities: Skylines - Campus
  • Cities: Skylines - Natural Disasters
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mare Nostrum
  • Humble Paradox Bundle
  • Pillars of Eternity
  • Magicka: Wizard Wars Founder Wizard
  • Europa Universalis IV: El Dorado
  • 500k Club
  • War of the Roses
  • Victoria 2
  • Stellaris
  • Europa Universalis IV: Cradle of Civilization
  • Cities: Skylines
  • Cities: Skylines Industries
  • Crusader Kings II
Hello everyone,

I have started making a new scenario, and I have run into two problems.

1.
I can change IC/etc. in the province.csv file, but this would affect all scenarios right? Is it possible to have a double "province.csv" file without having two folders for the entire game?


2. Events
I have made an events for Argentina, but I can only get it to work if I add it into the country "ai-arg" file. Is it possible to have it in a file of it's own?
Like "election_events" and so on, so the event will not be removed if a patch changes/updates the ai-arg file.

Best regards
Kirkegaard
 
As to question 1, you can edit an .inc file in scenarios directory. So it will only take effect in that particular scenario.

You want to add a block like this, this increases the Infrastructure, IC, AA, the air and naval bases in Casablanca. It's a little labourious to do so by hand if there are a large number of provinces.
Code:
province =
{ id         = 958
  infra      = 0.2
  ic         = 5
  anti_air   = 3
  air_base   = { size = 4 current_size = 4 }
  naval_base = { size = 4 current_size = 4 }
}              # Casablanca
 
Thanks.

I guess I can do it like this:

province =
{ id = 958, 969, 960, etc.....
infra = 0.2
ic = 5
}

and thus change infra and ic for a large number of provinces once.
 
2. Events
I have made an events for Argentina, but I can only get it to work if I add it into the country "ai-arg" file. Is it possible to have it in a file of it's own?
Like "election_events" and so on, so the event will not be removed if a patch changes/updates the ai-arg file.

Best regards
Kirkegaard

Make a file out of it. Maybe call it foo.txt.

Add that file to events.txt and you are good to go.
 
New questions :)

There is two commands I don't really understand. Lets take this event as example:

Code:
#########################################################################
#  Great War Manifestation
#########################################################################
event = {
	id = 2061
	country = GER
	trigger = {
		ai = no
		NOT = { dissent = 13 }
		NOT = { event = 2000 }
		NOT = { war = { country = GER country = FRA } }
		NOT = { alliance = { country = GER country = FRA } }
	}
	name = "EVT_1110R_NAME"
	desc = "URGE_RHINELAND"
	picture = "great_war_manifestion"
	style = 0
	persistent = yes
	date = { day = 0 month = january year = 1936 }
	offset = 45
	deathdate = { day = 30 month = december year = 1999 }
	action_a = {
		name = "ACTIONNAME1110A"
		command = { type = dissent value = 3 }
	}
}

The question is regarding:
"style = 0" What does it do, I see it all the time in the code but I can't figure out what it does...
2nd one is: "offset = 45" Does this means it have a 45% chance to fire every day or month or?


Edit: Actually I don't understand "persistent = yes" eighter...