Results 1 to 30 of 57

Thread: Campaign Map from a small part

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: Campaign Map from a small part

    if your map_regions size is w60 x h53
    then your map_roughness needs to end up w120 x h106
    your map_heights, _ground_types, and _climates need to be w121 x h107

    if you haven't re-sized (stretched) the bit of map_regions you cut out then you shouldn't re-size the other ones either - just crop or copy out the relevant bit.

    if your start location in map regions was x -> 34 y -> 22
    then start location on the other maps would be about x -> 68 y -> 44
    but the odd pixel in map_heights etc will make that not quite work....
    (you're probably going to have to do a bit of manual tweaking with this at the end to get everything lined up again)

    for map features you'll have to adjust your rivers to make sure where they got cut off they all still have source (white pixel) on each of them - the one on left hand bottom edge looks like it got split.
    Not used mods before? Looking for something small and fun?!
    Download the:

  2. #2

    Post

    Quote Originally Posted by Makanyane
    if your map_regions size is w60 x h53
    then your map_roughness needs to end up w120 x h106
    your map_heights, _ground_types, and _climates need to be w121 x h107

    if you haven't re-sized (stretched) the bit of map_regions you cut out then you shouldn't re-size the other ones either - just crop or copy out the relevant bit.

    if your start location in map regions was x -> 34 y -> 22
    then start location on the other maps would be about x -> 68 y -> 44
    but the odd pixel in map_heights etc will make that not quite work....
    (you're probably going to have to do a bit of manual tweaking with this at the end to get everything lined up again)

    for map features you'll have to adjust your rivers to make sure where they got cut off they all still have source (white pixel) on each of them - the one on left hand bottom edge looks like it got split.
    so for map_heights, Process 4 =

    x -> not 68 but 69
    y -> not 44 but 45

    But when I try to save map_ground_types, this comes:

    Could not save as ''C:\...\map_ground_types.tga''
    because of a disk error.

    What do I have to do now to save it? try again maybe

    * And I don't understand how to do with the map features like you are talking about the rivers, can you give me some pictures made?

    Thanx

    water_surface I don't understand how to do?

    because first I have to do 256*256 but what are =

    x? y? w? h?

    And do I have to resize all tga maps to nearest neighbor option?

    Process 6. It is advisable to cut also one map_factionname at the same time.
    These maps have 384x237 size. My advice is to cut one with the zone to be enlarged completely empty. For this zone I chose map_britons.
    Repeat the steps of process 1, with the slice width proportional: 384*210/255 = 316.
    With all these operations you have a full set of functional map files.


    My map would be only france with other factions who doesn't appear in rtw, but yes in BI and also some factions to be created

    so.. what do I have to do with te britons if they aren't appearing on my map?
    Last edited by Makanyane; 05-18-2008 at 13:56. Reason: quadruple post

  3. #3
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: Campaign Map from a small part

    Hi, I've merged your posts - assume you're having problem with lack of edit button - you should get that facility when you get promoted from Junior Member
    Quote Originally Posted by Clovis I
    so for map_heights, Process 4 =

    x -> not 68 but 69
    y -> not 44 but 45

    But when I try to save map_ground_types, this comes:

    Could not save as ''C:\...\map_ground_types.tga''
    because of a disk error.

    What do I have to do now to save it? try again maybe
    have a look at the file's properties and make sure it isn't set to 'read only' - if if is unselect that box. Have you managed to save the other files you changed OK?

    * And I don't understand how to do with the map features like you are talking about the rivers, can you give me some pictures made?
    You'll need to redraw any affected bits see http://www.twcenter.net/wiki/Map_features.tga for how river must work.

    You don't need any content in that file to get the map to load - easiest thing for now is paint it all black RGB 0,0,0 and worry about it later. Make sure the tga size is same size in pixels as your map_regions though.

    water_surface I don't understand how to do?

    because first I have to do 256*256 but what are =

    x? y? w? h?
    you can actually ignore it for now and use the old one - it only affects the colour of the sea....

    And do I have to resize all tga maps to nearest neighbor option?
    if you have to resize them then yes use nearest neighbor - as its the option that doesn't merge colours.

    If you are only cutting a piece out of the map don't re-size just use crop.
    Even if you want to make your piece of map bigger it would be best anyway to get the map working with just the cut out pieces of map before you start re-sizing things.

    Process 6. It is advisable to cut also one map_factionname at the same time.
    These maps have 384x237 size. My advice is to cut one with the zone to be enlarged completely empty. For this zone I chose map_britons.
    Repeat the steps of process 1, with the slice width proportional: 384*210/255 = 316.
    With all these operations you have a full set of functional map files.


    My map would be only france with other factions who doesn't appear in rtw, but yes in BI and also some factions to be created

    so.. what do I have to do with te britons if they aren't appearing on my map?
    don't worry about map_factionname at the moment either, they are just bits that display in the interface they don't make up part of the functioning map so you can leave old ones in for now


    NOTE: keep to using the faction names that are in your data/descr_sm_factions.txt for any factions you're putting in descr_strat.txt
    you can't mix BI and RTW faction names without changing a lot of other files.... (its easier to just make the RTW faction look like the BI one)
    Not used mods before? Looking for something small and fun?!
    Download the:

  4. #4

    Default Re: Campaign Map from a small part

    Sorry for the staggering necro-post, but I've been following this tutorial and need some assistance.

    I'm resizing the map and have done most of the steps, however whenever I try to start a campaign it goes back to the menu. Show_err says something about the map_heights.tga having to be 261x139 dimensions, however that is already the size of the image in question, so I don't know why such an error is arising. Does anyone have an idea?

  5. #5
    Member Member Blackwolf's Avatar
    Join Date
    Jul 2010
    Location
    In a TOP SECRET location (Which the Government does not know of...) planning my world domination! (Which again the Government does not know of...)
    Posts
    7

    Default Re: Campaign Map from a small part

    Hi! I apparently don't have a file called "map_regions" & the campaign still works. Why don't I have map_regions & where else might it be located? I have it in all my other TW games but this one & BI...
    NOTE* I have RTW: GOLD
    BLACKWOLF

  6. #6
    Anything that isn't 'member' Member Squid's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    596

    Default Re: Campaign Map from a small part

    It will either be in the base folder or the campaign folder.

    -Trait/Ancillary/Building Editor

    "Two things are infinite: the universe and human stupidity;
    and I'm not sure about the universe." -----Albert Einstein

  7. #7
    Member Member Blackwolf's Avatar
    Join Date
    Jul 2010
    Location
    In a TOP SECRET location (Which the Government does not know of...) planning my world domination! (Which again the Government does not know of...)
    Posts
    7

    Default Re: Campaign Map from a small part

    Quote Originally Posted by Squid View Post
    It will either be in the base folder or the campaign folder.
    Thanks squid! Again! haha
    I found it in my base folder & will get working on it right now! =)
    BLACKWOLF

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