PDA

View Full Version : Setborderinfo



caravel
07-24-2006, 16:08
Can anyone explain or find some kind of explanation for how the setborderinfo works in the startpos file. There are two numeric values possibly referring to coordinates on the campaign map? Though I have no idea what they relate to, whether the centre of the province or 1 of the borders (surely not?), nor how they can relate to a "ragged" border. The maptex2 image is paired with another map which contains the borders and highlight colouring? Does this image somehow separate provinces.

Thanks in advance for any and all replies. I have searched but I simply cannot find anything. :embarassed:

:help:

caravel
07-26-2006, 08:03
No ideas? ~:mecry:

R'as al Ghul
07-26-2006, 11:00
Hello,

I can't answer it from the top of my head. Haven't done it myself.
Barocca is our man for that.
Try these links, please:
https://forums.totalwar.org/vb/showthread.php?t=29944

https://forums.totalwar.org/vb/showthread.php?t=23980

https://forums.totalwar.org/vb/showthread.php?t=13155

http://www.google.com/custom?q=Setborderinfo+&sa=Go&cof=S%3Ahttp%3A%2F%2Fwww.totalwar.org%3BGL%3A0%3BAH%3Acenter%3BAWFID%3A20821f1d0a099978%3B&domains=forums.totalwar.org%3Btotalwar.org&sitesearch=forums.totalwar.org

A search for maptex may also reveal interesting threads.
Another idea is to download any Medieval mod that has a new map,
Samurai Warlords comes to mind :wink:, and see what was changed.

:bow:

R'as

caravel
07-26-2006, 13:02
Thanks R'as al Ghul. I have read a few of those threads before, they are informative but but they just don't explain those first two values. For example:

SetBorderInfo:: ID_ROME ID_TUSCANY 13864 15672 0 ARID AT_SOUTHERN_EUROPEAN INLAND HILLY NO_RIVER

SetBorderInfo:: ID_ROME ID_PAPAL_STATES 14432 15912 0 ARID AT_SOUTHERN_EUROPEAN INLAND HILLY NO_RIVER

SetBorderInfo:: ID_NAPLES ID_ROME 14824 16472 0 ARID AT_SOUTHERN_EUROPEAN INLAND HILLY NO_RIVER

SetBorderInfo:: ID_PAPAL_STATES ID_ROME 14248 15984 0 ARID AT_SOUTHERN_EUROPEAN INLAND HILLY NO_RIVER

SetBorderInfo:: ID_TUSCANY ID_ROME 13904 15808 0 ARID AT_SOUTHERN_EUROPEAN INLAND HILLY NO_RIVER

SetBorderInfo:: ID_TYRRHENIAN_SEA ID_ROME 14128 16400 0 ARID AT_SOUTHERN_EUROPEAN COAST HILLY NO_RIVER

SetBorderInfo:: ID_ROME ID_NAPLES 15064 16456 0 ARID AT_SOUTHERN_EUROPEAN INLAND HILLY NO_RIVER

They seem to be coordinates, but coordinates of what exactly? The border, the center of the province, where? If I was, e.g. setting the border info for rhodes to niccea:

SetBorderInfo:: ID_RHODES ID_NICCEA ? ? 0 ARID AT_SOUTHERN_EUROPEAN INLAND HILLY NO_RIVER

SetBorderInfo:: ID_NICCEA ID_RHODES ? ? 0 ARID AT_SOUTHERN_EUROPEAN INLAND HILLY NO_RIVER



What would those two values be? How is the coordinate for the border found, and how is it defined? :dizzy2:

:help:

Sensei Warrior
07-27-2006, 06:08
I wish I could help, but you are talking way above my meager modding skills. Thanks again for the info about getting rid of the landbridges. That worked like a charm.

barocca
07-27-2006, 13:17
originally those numbers where meant to be the locations of "border crossings" - for want of a better word, little markers would be displayed on the map which, when you mouse'd over them, displayed the type of terrain you would be fighting on,
they were deemed redundant and the game now uses the border difference colour region (not visible ingame - it's part of the lukmap) for the same effect

the location of borders is set on the lukmap, you dont have to define anything, just use the correct colours when you make the lukmap

those numbers can be set to zero with no impact on the game.
B.

caravel
07-27-2006, 19:27
originally those numbers where meant to be the locations of "border crossings" - for want of a better word, little markers would be displayed on the map which, when you mouse'd over them, displayed the type of terrain you would be fighting on,
they were deemed redundant and the game now uses the border difference colour region (not visible ingame - it's part of the lukmap) for the same effect

the location of borders is set on the lukmap, you dont have to define anything, just use the correct colours when you make the lukmap

those numbers can be set to zero with no impact on the game.
B.

borocca thank you for your response. Now it becomes clear. I linked malta to sicily last night and for those two values I simply copied from the naples/sicily landbridge. The malta/sicily landbridge works fine, and those values seemed to have no effect, though I was worried in case some hidden problem cropped up later.

Sensei Warrior, no problem, I hope you've got it working ok. BTW Have you enabled Sahara also?

Regards

Caravel

Sensei Warrior
07-31-2006, 21:41
The lanbridge thing worked out great.

I enabled Sahara once in the past, but lost that tweak to comp problems. That was over a year ago. I haven't done it since, although I honestly forgot all about it.

Most of my focus lately has been in the British Isles and the Khazar region. Just a few little minor things for purely my personal enjoyment.

caravel
08-01-2006, 12:31
I enabled Sahara once in the past, but lost that tweak to comp problems. That was over a year ago. I haven't done it since, although I honestly forgot all about it.

Ok I'll put up a guide for this later. I've never found an absolutely complete guide on here, or elswhere, so it may be a good idea. Apart from the startpos files, a language file needs to be edited also. Also the castle in Morocco is called Marrakech. This famous site should actually be much further south in the Sahara province. I may change this, and make the Sahara province more important.

Sensei Warrior
08-01-2006, 20:54
Yeah unfortunately most of the modding info needs to be hunted down. I haven't gotten around to it yet, but I was going to start tweaking the religions, making the lesser known ones more viable or what not. Its hard to find the info, sometimes you really have to dig deep and soft hard to find something of value.

Sometimes its actually easier to poke around with a mod that has something similar to get an idea of what you can do. Good luck with your mod Caravel