Results 1 to 12 of 12

Thread: How to edit the strategic map

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member Member Midnight's Avatar
    Join Date
    Oct 2004
    Location
    England
    Posts
    289

    Lightbulb How to edit the strategic map

    I suggested to a friend of mine, MonocerosDragon, that the strategic map might be edited, but I didn't know how. Within fifteen minutes he'd cracked it, and I took it from there.

    RTW uses the file map.rwm for all of the map data (geography, climate, regions, etc.). However, should this file not exist Rome will attempt to build it from several other files detailed below. Rome looks for map.rwm or the files needed to build it in the campaign directory first (i.e. data\world\maps\campaign) and then in data\world\maps\base.

    If you delete map.rwm, you can then get to work modifying the campaign map. Note: map.rwm will be generated at the point you start the campaign and you have to remember to delete map.rwm each time you make a change - Unfortunatly RTW doesn't realise the other files have been modified more recently and rebuild it. If some of the files required to build map.rwm cannot be found, or one or more of them is incorrect, the game usually crashes at this point. Some changes require corresponding changes to be added to multiple files - i.e. adding a new island requires changes to map_regions.tga, map_heights.tga and map_ground_types.tga as a minimum.

    I haven't tried everything, and I'm not certain what everything does, but I'll do my best here:

    map_FE.tga
    I haven't edited this, but I suspect it's nothing more than the image shown on the faction selection screen

    map_heights.tga
    This is a basic heightmap, and it determines the core geometry of the strat map. Blue is the ocean, and the land ranges from very dark (low land) to quite light (mountaintops)

    map_ground_types.tga
    A map which determines the type of terrain. The reds are the ocean (the darker, the deeper). Greens are fertile land, black is desert, browns are rocks and mountains.

    map_roughness
    Self-explanatory, really. Determines how rough the ground is. The whiter, the rougher.

    map_features.tga
    The red dots are volcanoes, the yellow lines are stretches of coast you can't land on, the blue lines are rivers, the white dots are the beginnings of rivers, and the cyan dots are river crossings.

    map_climates.tga
    This map controls the climate (bet you didn't see that one coming!). Roughly: blues and purples are arid, pinks and reds are temperate, greens and yellows snow in winter.

    map_regions.tga
    Each colour is a different region The ocean is that big blue thing where the ocean should be . The white dots are ports, the black dots are towns.

    map_trade_routes.tga
    Presumably has something to do with trade. I have tried editing this yet, because I'm not exactly sure what it indicates.

    water_surface.tga
    Some sort of water surface map. Not part of map.rwm.

    map_heights.hgt
    Not sure. map_heights.tga contains the height data, so I'm not sure what this does. I can't open it, anyway

    I haven't tried playing with the following, but it's pretty easy to work out what they do (it's actually explained in the files themselves).

    descr_disasters.txt
    All the lovely disasters you face through the course of a game.

    descr_terrain.txt
    Map parameters.

    descr_regions.txt
    Region parameters. No idea what a 'triumph point value' is, though.

    So far I've managed to put a mountain in Britannia Superior; added a river with two crossing points just north of that; stopped snow from falling over the Alps; moved the positions of Deva, Eboracum and Londinium; and added a small island just east of Corsica.

    Hope this is of some use.

  2. #2
    The Lord of Chaos Member ChaosLord's Avatar
    Join Date
    Apr 2003
    Location
    Oklahoma City, Oklahoma
    Posts
    388

    Default Re: How to edit the strategic map

    Thats awesome, from the sounds of it things are easier to edit then the old map was in MTW. Great work MonocerosDragon and Midnight.
    "Every good communist should know political power grows out of the barrel of a gun." - Mao tse-Tung

  3. #3

    Default Re: How to edit the strategic map

    so basically we just have to change how the image looks like and we'll see the effects? (they look yuseless...) but that means we can finnd these maps for certain regions say asia, find a real picture, put it in, and it will be on the real map ?

  4. #4
    Member Member Midnight's Avatar
    Join Date
    Oct 2004
    Location
    England
    Posts
    289

    Default Re: How to edit the strategic map

    Not quite. In order to change the strat map completely (something I'm trying to do myself), you need to edit all of the files. You can't just take a map of somewhere and throw it in.

    btw, can a Mod please move this to the Dungeon?

  5. #5
    Senior Member Senior Member Duke John's Avatar
    Join Date
    May 2003
    Location
    Netherlands
    Posts
    2,917

    Default Re: How to edit the strategic map

    Oh just **** off! You can't be serious! That easy!? Oh my god! ....



    I will try this at once.

    Give your friend a six-pack!

    Edit: ok, in the Sons of Mars folder I tried deleting map_heights.hgt and map.rwm since these are the only files that cannot be edited. The campaign started without a CTD! This means that we are able to edit the campaign map, such wonderfull news! Who needs CA when we've got our own masterminds! I'll get back as soon as I have added a simple island.
    Last edited by Duke John; 10-13-2004 at 08:00.

  6. #6
    Senior Member Senior Member Duke John's Avatar
    Join Date
    May 2003
    Location
    Netherlands
    Posts
    2,917

    Default Re: How to edit the strategic map

    Yep, it's possible. Please post all your discoveries in this thread

    Cheers, DJ

    Since when can moderators only post one message in every 30 seconds?

    Edit: and a picture to prove the theory and how I feel right now:
    Last edited by Duke John; 10-13-2004 at 08:41.

  7. #7

    Default Re: How to edit the strategic map

    CA mentioned this would be a very moddable game. I think some rather clever chaps here have just gone and proved it!

    Great news for the modding community!

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