Results 1 to 5 of 5

Thread: Modding Mountains

  1. #1
    Member Member Colonel Fatlad's Avatar
    Join Date
    Aug 2003
    Location
    Chester, England
    Posts
    7

    Default

    Hello everyone, I'm a new poster here so please play nice.

    I've been playing M:TW since it came out and have finally got around to the idea of modding the game for myself. I am in the early stages of producing a mod based on a new map and have been reading all the guides available on this forum, but something has come up that doesn't seem to have been covered before.

    The mod will be set on a map with a small geographical area and want to make a mountain range impassable except at a mountain pass. Since the mod will not include deep-sea ships, my original intention was to designate the mountain zones as deep sea and set up the pass in the same way as the links between Wessex/Flanders and Denmark/Sweden.

    What I would like to know is if this is possible and whether there are any unforseen problems with this approach. Any advice about how to go about it would also be appreciated.

    Cheers.

  2. #2
    Member Member Brother Derfel's Avatar
    Join Date
    Nov 2002
    Location
    Corinium
    Posts
    669

    Default

    Hmmm, how about making your mountain range into a region like The Sahara so that it is impassible, then making your mountain pass another region altogether?

    I am not that good at modding so I could not tell you how to do this, but someone here will be able to.

    Also if you make it a sea region, you have the risk of storm events hapening there which won't look very good.


    Welcome to the Org
    'Odi et ammo, excrucior' - I love and I hate, it hurts.

    'Excretus est ex altitudine' - Shat upon from a great hight.


  3. #3
    Moderator Moderator Gregoshi's Avatar
    Join Date
    Oct 2000
    Location
    Central Pennsylvania, USA
    Posts
    12,980

    Default

    Welcome Fatlad. We'll be easy on you. That's a good issue you raise. Let's see what the experts say.
    This space intentionally left blank

  4. #4

    Default

    first - welcome to the Org from a frequent visitor to the walled city oh the number of times i've walked under the east gate

    second
    its actually easier than you think.
    what you want is to edit the border info for the regions.
    example:
    lets say you want to make the pyrennes impassable except going through navarre to aquitaine - your mountain pass.

    //========================================
    //How do the regions link together?
    //Region in question first, followed
    //by its neighbours.
    //Regions can have a maximum number of
    //15 neighbours. Any more and Medieval
    //will crash.
    //========================================
    SetNeighbours:: ID_NAVARRE ID_CASTILE ID_ARAGON ID_AQUITAINE ID_COSTA_VERDE ID_BAY_OF_BISCAY
    SetNeighbours:: ID_ARAGON ID_CASTILE ID_VALENCIA ID_TOULOUSE ID_AQUITAINE ID_NAVARRE ID_GULF_LIONS

    find this part of your startpos file (early.txt etc) and delete the extra provinces. so you would delete aquitaine and toulouse from aragon's neighbour list, and delete aragon from toulouse and aquitaines neighbour list. then the only way to cross into iberia from france is to go from aquitaine into navarre.
    you have to remember to delete the neighbours from both sides - otherwise you could go from aragon to toulouse, but not go back again in this way its also possible to add neighbours, i.e add ireland to wales list, so you can invade without ships - just so long as you remember to add wales to irelands list so you can get back again remember the note at the start of this section - no more than 15 neighbours or the game will crash.


    the other way would be to create two regions which cannot be entered, and in between your small mountain pass as a seperate region - as brother derfel describes
    to set a region as unplayable i think you have to set region ownership

    //disabled lands
    //==============
    //SetRegionOwner:: ID_AFRICA FN_NONE

    under where you set which factions own a province




    Head Moderator of TotalRome
    Refugee of the Total War Centre

  5. #5
    Member Member Colonel Fatlad's Avatar
    Join Date
    Aug 2003
    Location
    Chester, England
    Posts
    7

    Default

    Thanks for the replies people .

    the Black Prince - this is exactly what I needed, so thank you very much. I had originally set different mountain regions due to the small scale of the map, but I think I'll change this now. It'll take a bit of extra work, but your idea has got to be better in the long run.

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