Results 1 to 6 of 6

Thread: Landbridges?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6

    Default Re: Landbridges?

    It is as Mascen Rufus says YLAC. This is the example from the vanilla starpos for the land bridge between Naples and Sicily (the ones of interest in Italics). The land bridge (effectively a neighbouring like any other as far as the MTW/VI exe. is concerned) must be declared in the set neighbours and in the SetBorderInfo of the startpos.txt file that is related to the "era" you have set for the mod, otherwise you'll crash. Some advice: do one landbridge first and then test it in-game. That is attempt to cross armies both ways on a game. Then after you know it works, do the next one and test it and so on. If you do them all together it might be difficult to locate any mistake that causes you to crash.

    SetNeighbours:: ID_NAPLES ID_ROME ID_SICILY ID_PAPAL_STATES ID_ADRIATIC_OCEAN ID_TYRRHENIAN_SEA ID_STRAITS_SICILY ID_IONIAN_SEA

    SetNeighbours:: ID_MALTA ID_MALTESE_CHANNEL

    SetNeighbours:: ID_SICILY ID_NAPLES ID_STRAITS_SICILY
    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
    SetBorderInfo:: ID_SICILY ID_NAPLES 16456 19576 0 ARID AT_SOUTHERN_EUROPEAN COAST HILLY NO_RIVER
    To save time you can copy similar "map" lines for the set border info information. My strategy was as follows: say you want to do Rhodes to Nicaea. Reproduce the line from Agean Sea to Nicaea (by copy pasting) and substitute the Agean Sea with Rhodes. For the Nicaea to Rhodes one similarly reproduce (with copy-paste) the SetBorderInfo line from the Sea of Dodecanese to Rhodes and Substitute Sea of Dodecanese with Nicaea. You'll get the coastal map that befits the landbridge battle. Now all you need to do is add Nicaea to Rhodes' declared neighbours and then add Rhodes to Nicaea's declared neigbours. Land bridge completed.

    Conversely if you want to remove land bridges you need to remove each province from the other's neibghours and then delete the two SetBorderInfo lines that describe the invasion from each to the other.

    If you do not set validly one direction of a Land Bridge the game will play until someone (player or AI faction) invades from the direction that you haven't properly done; at that point the game will crash to the desktop.

    Hope this helps

    Noir
    Last edited by Noir; 09-02-2007 at 01:01.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO