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

draco

Autokratōr
15 Badges
Apr 24, 2001
569
0
Visit site
  • Crusader Kings II
  • 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: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV
  • Europa Universalis IV: Call to arms event
  • March of the Eagles
  • Sengoku
  • 500k Club
  • Europa Universalis IV: Pre-order
Can anyone tell me how to add a porrt to a province. I thought all I had to is change the province to Coastal in the Province file. But it does't seem to have worked.
 
You also have to add the co-ordinates for the port. And the number for the "Port/sea Adjacency"
When I played my Languedoc-Templar scenario I added a port to Montpellier.

This is the original entry:
422;Languedoc;inland;reformed;0;3;0;0;0;5;12;0;0;0;Wine;0;1;0;0;0;0;0;0;9470;2249;9440;2225;0;0;9516;2226;0;-100;-100;0;-100;-100;0;-100;-100;0;-100;-100;0;France;Western Europe;Europe;Montpellier;0;0;0;0;9465;2221;-1;-1;-1;-
1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1

And this is the new with a port:
422;Languedoc;coastal; reformed;0;3;0;0;0;5;12;0;0;0;
Wine;0;1;0;0;0;0;0;0;9470;2249;9440;2225; 9495;2280;9516
;2226; 987;-100;-100;0;-100;-100;0;-100;-100;0;-100;-100;0;France;Western Europe;Europe;Montpellier;0;0;0;0;9465;2221;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1
 
Last edited:
Originally posted by McGuinn
9495;2280 = This is where the port icon will show up on the map
How do you get ths number?
 
BUMP
 
I think Jeremy is a practitioner of the Kabela, so if we start playing number games with "Languedoc", we might be able to reverse engineer how he came up with the settings. :D

My guess is that he used trial and error. Those two numbers are part of a string of numbers in provinces.csv that govern where the graphics go inside the province boundaries. You know, terrain sprites go here, pizza pie sprite goes there, etc.

I say experiment.
 
I have no idea how he came up with the numbers he did. I've tried every possible combo i can think of I've PM him but he hasn't answered yet.:(
 
Havn't seen him post for a couple of days - must be busy. Surprised Vulture hasn't made an appearance - he is very interested in adding a port to the Caspian Sea.
 
Well here I am... I was away, football match (soccer for you Americans)...
So where do I find the numbers of the 'icon'...Like the '9495;2280' of Jeremy???
 
Originally posted by State Machine
Jeremy gave us a nice hint, then vanished. :D

I'm afraid RL have demanded my full attention the last couple of days.

Actually State have already supplied the answer.
You have to work from the co-ordinates you've got.
I know the city of Montpellier is x-9470;y-2249,
so I just have to calculate the difference for the port from that.
Raise the x value and you place the icon to the right of the city
Lower the x value and you place the icon to the left of the city
Raise the y value and you place the icon under the city
Lower the y value and you place the icon over the city
This may require some experimenting to get it where you want.

(I'm writing this from memory so I hope it’s not the other way around.):D
 
Oh my God is it that complicated??? Sigh... :)
So it's just a little guessing, hop into Eu and check out? Oh boy :rolleyes:

So how exactly do you 'know' the coordinates of Montpellier?
 
Check the example above. Here is the key for the numbers:

Id;
Name;
PIW name;
Religion;
Pashas;
Climate;
Ice?;
Storm?;
Galleys;
Manpower;
Income;
Terrain;
Mine(1) ?;
MineValue;
Goods;
Uprgadable;
CoT Historical Modifier;
Difficulty for Colonization;
Native Combat Strength;
Ferocity;
Efficiency of Natives in combat;
Negotiation Value for Trading Posts;
Natives Tolerance value ;
city x;
city y;
unit x;
unit y;
port x;
port y;
manu x;
manu y;
Port/sea Adjacency;;;;;;;;;;;;;
Area;
Region;
Continent;;
Extra River Desc Link 1;
Extra River Desc Link 2;
Extra River Desc Link 3;;
Fill coord X;
Fill coord Y;;;;;;;;;;;;;;;;
 
Vulture, I think Huszics has the province.csv info in a nicely formatted way on his site.
 
Yes, Thank you Jeremy you have been most helpful.