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

Frans01

Sergeant
Dec 4, 2018
83
0
Stupid "
clear.png
Respectfully Disagree x 1" explain the reason or or let it be!
 

Nick3210

Captain
1 Badges
Aug 7, 2013
459
293
  • Darkest Hour

Nesic8693

Colonel
5 Badges
Sep 17, 2014
841
216
  • Age of Wonders III
  • Imperator: Rome Sign Up
  • Age of Wonders: Planetfall Sign Up
  • Crusader Kings II
  • Crusader Kings II: The Old Gods
I want ask something about AI:
I one event i am making fascist country will have option to join Axis in war against Comintern. Event has two options:
Option A - alliance by joining Axis block.
Option B - standalone declaration of war on Comintern - to evade war with Allies.
Problem is when option B is chosen after few weeks AI joins Axis so choice is practically void.
Question is: How to prevent AI to join Axis after option B is chosen?
 

Xzyvy

Private
1 Badges
Jun 18, 2015
11
0
  • Darkest Hour
Does the trigger: division_in_province = { id = { type = [id type] id = [id id] } province = X } work for checking other country divisions? And does it check for any division being there or just the one specified?

I am making some improvement events for polish-bloshevik war and want to make an event for cze taking tesin from polish control if there is no polish army there. Is it possible with this trigger, or if not, is there any other trigger I could use for it?
 

IllyaTokar

Sergeant
4 Badges
Feb 5, 2015
84
31
  • Europa Universalis IV
  • Victoria 2
  • Surviving Mars
  • Darkest Hour
I want to add a working seaport to the province of Jaffna. Is it possible to edit the map in this way?
You don't need to edit the map. All you have to do is modify the province info in map\Map_1\Province.csv file.
Basic facts first: each province has its own unique ID. There's a list of all DH provinces and their IDs in the Modding documentation folder. Jaffna's ID is 1509.
Open Province.csv, find a row with ID 1509. Modify the following columns:
- there should be a 1 in "Port Allowed" column, not a 0;
- in "Port Seazone" column, there should be an ID of the sea province ships arrive in when they leave the port;
- and finally, "Port XPos" and "Port YPos" are coordinates of the port icon on the map.
If it seems hard for you, I'd recommend the DH-Capable Data Editor. You'd have to input the same information, but at least there's a UI.
 

^_AC_^

Field Marshal
84 Badges
Feb 24, 2009
5.695
327
  • Victoria 2: A House Divided
  • Sengoku
  • Semper Fi
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Magicka
  • Leviathan: Warships
  • Knights of Pen and Paper +1 Edition
  • Victoria 2: Heart of Darkness
  • War of the Roses
  • Hearts of Iron IV Sign-up
  • Europa Universalis III Complete
  • The Showdown Effect
  • Warlock 2: The Exiled
  • Crusader Kings II: Conclave
  • 500k Club
  • Stellaris
  • Europa Universalis IV: El Dorado
  • Prison Architect
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Imperator: Rome Sign Up
  • Europa Universalis IV: Common Sense
  • Stellaris: Ancient Relics
  • Knights of Pen and Paper 2
  • Europa Universalis IV: Cossacks
  • Hearts of Iron IV: Cadet
  • Surviving Mars
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Dharma
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Stellaris Sign-up
  • Europa Universalis IV: Golden Century
  • Stellaris: Synthetic Dawn
  • Imperator: Rome
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Imperator: Rome Deluxe Edition
The problem is what I add the "Sea Zone" column the game tends to freeze up...
Give it time.
After makiing such a change, the fist time you load the game, it has to recalculate all distances from all the other ports to this port. This takes time, but it must be done only once after each change.
 

^_AC_^

Field Marshal
84 Badges
Feb 24, 2009
5.695
327
  • Victoria 2: A House Divided
  • Sengoku
  • Semper Fi
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Magicka
  • Leviathan: Warships
  • Knights of Pen and Paper +1 Edition
  • Victoria 2: Heart of Darkness
  • War of the Roses
  • Hearts of Iron IV Sign-up
  • Europa Universalis III Complete
  • The Showdown Effect
  • Warlock 2: The Exiled
  • Crusader Kings II: Conclave
  • 500k Club
  • Stellaris
  • Europa Universalis IV: El Dorado
  • Prison Architect
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Imperator: Rome Sign Up
  • Europa Universalis IV: Common Sense
  • Stellaris: Ancient Relics
  • Knights of Pen and Paper 2
  • Europa Universalis IV: Cossacks
  • Hearts of Iron IV: Cadet
  • Surviving Mars
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Dharma
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Stellaris Sign-up
  • Europa Universalis IV: Golden Century
  • Stellaris: Synthetic Dawn
  • Imperator: Rome
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Imperator: Rome Deluxe Edition
Does the trigger: division_in_province = { id = { type = [id type] id = [id id] } province = X } work for checking other country divisions? And does it check for any division being there or just the one specified?

I am making some improvement events for polish-bloshevik war and want to make an event for cze taking tesin from polish control if there is no polish army there. Is it possible with this trigger, or if not, is there any other trigger I could use for it?
I think garrison would be better:
garrison = { [country = TAG/0/-1/-2/-3] province = [province] type = [air/land/naval] size = [number of divisions] area = [yes/no/0/1/2/3 ] }
# [country = TAG/0/-1/-2/-3] : 0 – all countries, current country (country = -1 or no country), enemy countries (country = -2) or allied/friendly countries (country = -3)
# No type field means "all division types".
#"area = yes" means "count divisions in all provinces in this controlled Area". Do not use "area = yes" for sea provinces!
# area = 0/1/2/3 : 0 = (no) / 1 = area / 2 = region /3 = (yes) owner area
 

Nesic8693

Colonel
5 Badges
Sep 17, 2014
841
216
  • Age of Wonders III
  • Imperator: Rome Sign Up
  • Age of Wonders: Planetfall Sign Up
  • Crusader Kings II
  • Crusader Kings II: The Old Gods
One question:
How to reduce or raise AI production rate of divisions?
 

^_AC_^

Field Marshal
84 Badges
Feb 24, 2009
5.695
327
  • Victoria 2: A House Divided
  • Sengoku
  • Semper Fi
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Magicka
  • Leviathan: Warships
  • Knights of Pen and Paper +1 Edition
  • Victoria 2: Heart of Darkness
  • War of the Roses
  • Hearts of Iron IV Sign-up
  • Europa Universalis III Complete
  • The Showdown Effect
  • Warlock 2: The Exiled
  • Crusader Kings II: Conclave
  • 500k Club
  • Stellaris
  • Europa Universalis IV: El Dorado
  • Prison Architect
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Imperator: Rome Sign Up
  • Europa Universalis IV: Common Sense
  • Stellaris: Ancient Relics
  • Knights of Pen and Paper 2
  • Europa Universalis IV: Cossacks
  • Hearts of Iron IV: Cadet
  • Surviving Mars
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Dharma
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Stellaris Sign-up
  • Europa Universalis IV: Golden Century
  • Stellaris: Synthetic Dawn
  • Imperator: Rome
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Imperator: Rome Deluxe Edition
One question:
How to reduce or raise AI production rate of divisions?
I don't remember, check the AI files Modding documentation\AI Files Modifiers.txt
Try making the AI use IC for other things (airbases, navalbases, more IC)
 

NukePL91

Germanicus
10 Badges
Mar 23, 2011
568
267
I struggle with inherit command. IIRC its default effect is just annexing of given country's provinces. However, using it as below:
Code:
type = inherit which = AUS
type = inherit which = AUS value = 0
gives me all Austrian divisions and their production queue, which should only happen if inherit command was used as below:
Code:
type = inherit which = AUS value = 1
Is my reasoning correct or do I make a mistake somewhere?
 

^_AC_^

Field Marshal
84 Badges
Feb 24, 2009
5.695
327
  • Victoria 2: A House Divided
  • Sengoku
  • Semper Fi
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Magicka
  • Leviathan: Warships
  • Knights of Pen and Paper +1 Edition
  • Victoria 2: Heart of Darkness
  • War of the Roses
  • Hearts of Iron IV Sign-up
  • Europa Universalis III Complete
  • The Showdown Effect
  • Warlock 2: The Exiled
  • Crusader Kings II: Conclave
  • 500k Club
  • Stellaris
  • Europa Universalis IV: El Dorado
  • Prison Architect
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Imperator: Rome Sign Up
  • Europa Universalis IV: Common Sense
  • Stellaris: Ancient Relics
  • Knights of Pen and Paper 2
  • Europa Universalis IV: Cossacks
  • Hearts of Iron IV: Cadet
  • Surviving Mars
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Dharma
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Stellaris Sign-up
  • Europa Universalis IV: Golden Century
  • Stellaris: Synthetic Dawn
  • Imperator: Rome
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Imperator: Rome Deluxe Edition
I struggle with inherit command. IIRC its default effect is just annexing of given country's provinces. However, using it as below:
Code:
type = inherit which = AUS
type = inherit which = AUS value = 0
gives me all Austrian divisions and their production queue, which should only happen if inherit command was used as below:
Code:
type = inherit which = AUS value = 1
Is my reasoning correct or do I make a mistake somewhere?
It's correct, but may be other parameters involved too.
For example, i if the annexed country in revolt.txt has regular_id = [TAG of annexing country]. That would lead to the observed behaviour. Check revolt.txt for rules regarding regular_id.
 

NukePL91

Germanicus
10 Badges
Mar 23, 2011
568
267
It's correct, but may be other parameters involved too.
For example, i if the annexed country in revolt.txt has regular_id = [TAG of annexing country]. That would lead to the observed behaviour. Check revolt.txt for rules regarding regular_id.
Actually my case is annexing Austria by Germany, so it shouldn't be a problem with regular_id. I've just seen in revolt.txt that AUS has parameter no = { GER }, but it means that GER cannot release AUS, doesn't it? In GER there are no parameters involving AUS.