Page 1 of 2 12 LastLast
Results 1 to 20 of 23

Thread: Resizing map

  1. #1
    Milos98's Avatar Semisalis
    Join Date
    Nov 2006
    Location
    Zini da ti kažem
    Posts
    444

    Default Resizing map

    I have a problem; I couldnt find a tutorial about resizing map, but I found some info in some threads.
    1.)
    map_regions is 510x327
    map_features is 510x327
    map_climates is 1021x655
    map_fog is 1021x655
    map_ground_types is 1021x655
    map_heights is 1021x655
    map_roughness is 1020x654
    map_trade_routes is 510x327
    2.)
    descr_terrain.txt
    dimensions
    {
    width 510
    height 327
    }
    heights
    {
    min_sea_height -3406.782
    max_land_height 7511.272
    }
    roughness
    {
    min 50.000
    max 200.000
    }
    fractal
    {
    multiplier 0.500
    }
    lattitude
    {
    min 22.000
    max 56.000
    }
    3.) Everything is set to read only, I delete map.rwm, but before Imperial campaign loading, there is an error; the mtw encountered an error and needs to close...
    Help?!

    Does it matter if I added some regions before resizing?
    Regards, Milos98

  2. #2
    wilddog's Avatar Paintedwolves run free
    Join Date
    Jan 2005
    Location
    UK
    Posts
    2,337

    Default Re: Resizing map

    Sorry but I think you need to give people a sporting chance and at least tell them what your log file says about the error. I've no idea how you've rescaled your maps, what you've done about map_heights.hgt etc other than you've done something wrong and its crashed.

    If you don't know how to set up the log file there are like mapping a lot of tutorials but basically you just need to enter an entry into your.cfg file.

    Its also quite a big map so depending on numbers of regions, size of regions, set up of impassible terrain etc you are likely to get a crash.
    Last edited by wilddog; May 11, 2007 at 04:23 PM.

  3. #3
    Milos98's Avatar Semisalis
    Join Date
    Nov 2006
    Location
    Zini da ti kažem
    Posts
    444

    Default Re: Resizing map

    OK, forget my last post.
    How can I make map bigger (saw it in some mods)?
    Wich and how many files must I change?

    btw First im gonna try resizing original MTW2 map.
    Regards, Milos98

  4. #4
    Milos98's Avatar Semisalis
    Join Date
    Nov 2006
    Location
    Zini da ti kažem
    Posts
    444

    Icon5 Re: Resizing map

    I have tried everything from the start again, and made some progress ( now, the problem is probably in descr_strat.txt)
    map_regions is 510x327
    map_features is 510x327
    map_climates is 1021x655
    map_fog is 1021x655
    map_ground_types is 1021x655
    map_heights is 1021x655
    map_roughness is 1020x654
    map_trade_routes is 510x327

    I have edited descr_terrain.txt like in the first post, deleted the map.rwm.
    All of my regions and ports are large 1 pixel .
    When I click start campaign it "crashes" to menu, need some help!?

    and I havent done anything else.

    BTW What should I do with map_heights.hgt?
    Have I forgot to edit any text files?

    I have read in some tutorial this:
    As in map_regions, you should make this new area sea colour. This is not the same for every file, and some files do not require a specific colour for the sea. It should be easy enough for you to do.
    and I m not sure what does it mean
    Last edited by Milos98; June 21, 2007 at 07:12 AM.
    Regards, Milos98

  5. #5

    Default Re: Resizing map

    good guide to creat map and other with here:

    http://forums.totalwar.org/vb/showthread.php?t=50437

  6. #6
    Milos98's Avatar Semisalis
    Join Date
    Nov 2006
    Location
    Zini da ti kažem
    Posts
    444

    Default Re: Resizing map

    I have done everything, except map_regions.tga.
    I have risize it like this
    image>image size>nearest neighbour> and resize it to the size I want.
    I have resized cities and ports to 1pixle.
    And the game crashes to main menu.

    I dont want to add a new territory I just want to resize the original campaign map; and how can I avoid changing coordinates in the descr_strat (that might be the problem)?

    And what happens if the unit is placed on the water or mountain?
    Is that the reason why it crashes to mm?

    And many other questions for wich I havent got enough time right now



    Need help
    Regards, Milos98

  7. #7
    B. Ward's Avatar ★★★★ RockNRolla ★★★★
    Join Date
    Feb 2007
    Location
    East Coast, United States
    Posts
    4,376

    Default Re: Resizing map

    if you resize the map you're going to have to change all coordinates because they will no longer be the same, there's no way around that

  8. #8
    Milos98's Avatar Semisalis
    Join Date
    Nov 2006
    Location
    Zini da ti kažem
    Posts
    444

    Default Re: Resizing map

    Thanks for help; one question more:
    I started changing coordinates, but Im not sure if that is going to repair the "crashing to menu" problem. Is it true that if the game crashes from new campaign menu to main menu; the problem is in descr_strat?
    Regards, Milos98

  9. #9
    B. Ward's Avatar ★★★★ RockNRolla ★★★★
    Join Date
    Feb 2007
    Location
    East Coast, United States
    Posts
    4,376

    Default Re: Resizing map

    yes, that's usually the case. if anything is wrong in the descr_strat file, i'll send you back to the main menu. and the error log will usually tell you what's incorrect like can't create settlement, or can't place character here, blah blah blah

  10. #10
    Milos98's Avatar Semisalis
    Join Date
    Nov 2006
    Location
    Zini da ti kažem
    Posts
    444

    Default Re: Resizing map

    Thnx for help.
    I have done everything I can, spent a lot more than 9 hours (why did noone tell me that there are coordintars to change in campaign script and descr events? ).
    So much work and time for nothing...I always get the same error,
    and I decided to give up..(temporarily)

    PS: Why does my error log hate me?
    Regards, Milos98

  11. #11

    Default Re: Resizing map

    are you using photoshop to edit your map?

  12. #12
    Milos98's Avatar Semisalis
    Join Date
    Nov 2006
    Location
    Zini da ti kažem
    Posts
    444

    Default Re: Resizing map

    are you using photoshop to edit your map?
    Yes, cs3.
    Last edited by Milos98; June 20, 2007 at 03:25 AM.
    Regards, Milos98

  13. #13

    Default Re: Resizing map

    Hi Milos,

    I have also recently resized my map, so I thought I put in a few notes:
    - wrong coordinates in the descr_strat.txt (i.e characters on the sea or mountains) won't let your game crash, you just can't move those characters. So don't bother with the coordinates at the beginning.
    - be careful that your map_features.tga has no square consisting of 4 pixels.
    This will let the game crash without any message in the system.log.
    You may leave the map_features completely black in order to segregate any errors in this file.
    - as bdotward mentioned and as far as I know, you will get an error message for every mistake you make in the descr_strat.txt file.
    - Also to segregate errors, you could delete all ports from the map_regions.tga, because when you've resized the map, you will notice that, when you now compare the map_regions.tga and the map_ground_types (resized to the map_regions' size in PS), many edges are very different.
    When ports are not at the coast of the real campaign map it will let your game crash without an error message (note also that you would have to delete the ports in the descr_strat for cities with ports like venice and lissabon)
    - cities and ports must be only one pixel, of course.

    I hope this helps you somehow...
    Last edited by King Kong; June 20, 2007 at 01:31 PM.

    Winner of 'Favorite M2TW Mod' and 'Favorite M2TW Modder' Award 2007 & 2008

  14. #14
    Milos98's Avatar Semisalis
    Join Date
    Nov 2006
    Location
    Zini da ti kažem
    Posts
    444

    Default Re: Resizing map

    Thanks for help, Im starting it all over again, I didnt know that the game will work with map features all black, but Im not suprised. One more thing; map trade routes-how big must the line be? Can I leave it black? Im deleting ports at the moment...
    Ok-post updated:
    Finaly I figured the log file error, and here is my log file:
    22:38:31.406 [system.rpt] [always] CPU: SSE2
    22:38:31.406 [system.rpt] [always] ==== system log start, build date: Dec 5 2006 version development ===
    22:38:31.406 [system.io] [always] mounted pack packs/data_0.pack
    22:38:31.406 [system.io] [always] mounted pack packs/data_1.pack
    22:38:31.406 [system.io] [always] mounted pack packs/data_2.pack
    22:38:31.406 [system.io] [always] mounted pack packs/data_3.pack
    22:38:31.421 [system.io] [always] mounted pack packs/data_4.pack
    22:38:31.421 [system.io] [always] mounted pack packs/localized.pack
    22:39:10.015 [script.err] [error] Script Error in the war on balkans/data/world/maps/base/descr_sounds_music_types.txt, at line 1, column 1
    The music_types script parser has broken - unknown token 'bos'
    22:39:10.015 [script.err] [error] Script Error in the war on balkans/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 162, column 67
    you have chosen an invalid tile(208, 268) for Robert (england)
    22:39:10.015 [script.err] [error] Script Error in the war on balkans/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 170, column 63
    you have chosen an invalid tile(222, 302) for Cecilia (england)
    22:39:10.015 [script.err] [error] Script Error in the war on balkans/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 173, column 72
    you have chosen an invalid tile(218, 316) for Rufus (england)
    22:39:10.015 [script.err] [error] Script Error in the war on balkans/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 182, column 59
    you have chosen an invalid tile(214, 310) for Arthur (england)
    22:39:10.015 [script.err] [error] Script Error in the war on balkans/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 192, column 14
    couldn't find William's character_record
    22:39:10.015 [script.err] [error] Script Error in the war on balkans/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 195, column 1
    The character record Prince Rufus is set as faction heir but is not in the family tree.
    22:39:10.015 [script.err] [error] Script Error in the war on balkans/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 195, column 1
    The character record Cecilia is neither married, nor has a father. This could mess up the family tree. She needs to be defined as a relative
    22:39:10.015 [script.err] [error] Script Error in the war on balkans/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 195, column 1
    The character record Matilda is neither married, nor has a father and will be ommited from the game. She needs to be defined as a relative
    22:39:10.015 [script.err] [error] Script Error in the war on balkans/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 195, column 1
    The child character record Henry has no father and will be ommited from the game. THey need to be defined as a relative
    22:39:10.031 [script.err] [error] Script Error in the war on balkans/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 328, column 72
    you have chosen an invalid tile(210, 208) for Louis (france)
    22:39:10.031 [script.err] [error] Script Error in the war on balkans/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 339, column 77
    you have chosen an invalid tile(238, 266) for Raoulet Poitevin (france)
    22:39:10.031 [script.err] [error] Script Error in the war on balkans/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 572, column 76
    you have chosen an invalid tile(286, 240) for Otto von Kassel (hre)
    22:39:10.031 [script.err] [error] Script Error in the war on balkans/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 581, column 72
    you have chosen an invalid tile(264, 252) for Henry (hre)
    22:39:10.031 [script.err] [error] Script Error in the war on balkans/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 694, column 62
    you have chosen an invalid tile(162, 184) for Teresa (spain)
    22:39:10.031 [script.err] [error] Script Error in the war on balkans/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 697, column 63
    you have chosen an invalid tile(172, 178) for Pedro Descriua (spain)
    22:39:10.031 [script.err] [error] Script Error in the war on balkans/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 700, column 67
    you have chosen an invalid tile(166, 176) for Vaasco (spain)
    22:39:10.031 [script.err] [error] Script Error in the war on balkans/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 709, column 74
    you have chosen an invalid tile(148, 208) for Rodrigo (spain)
    22:39:10.031 [script.err] [error] Script Error in the war on balkans/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 832, column 76
    you have chosen an invalid tile(404, 114) for Cristiano Selvo (venice)
    22:39:10.031 [script.err] [error] Script Error in the war on balkans/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 841, column 66
    you have chosen an invalid tile(288, 218) for Guido Batlle (venice)
    22:39:10.031 [script.err] [error] Script Error in the war on balkans/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 853, column 64
    you have chosen an invalid tile(296, 214) for Paolo Nesti (venice)
    22:39:10.046 [script.err] [error] Script Error in the war on balkans/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 958, column 74
    you have chosen an invalid tile(314, 164) for Roger (sicily)
    22:39:10.046 [script.err] [error] Script Error in the war on balkans/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 969, column 72
    you have chosen an invalid tile(300, 140) for Simon (sicily)
    22:39:10.046 [script.err] [error] Script Error in the war on balkans/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 979, column 65
    you have chosen an invalid tile(326, 176) for Rino Benoldi (sicily)
    22:39:10.046 [script.err] [error] Script Error in the war on balkans/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 997, column 68
    you have chosen an invalid tile(294, 136) for Alberto (sicily)
    22:39:10.046 [script.err] [error] Script Error in the war on balkans/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 1089, column 81
    you have chosen an invalid tile(266, 208) for Bernardo Rossi (milan)
    22:39:10.046 [script.err] [error] Script Error in the war on balkans/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 1105, column 68
    you have chosen an invalid tile(276, 218) for Frolio Carcano (milan)
    22:39:10.046 [script.err] [error] Script Error in the war on balkans/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 1108, column 63
    you have chosen an invalid tile(262, 210) for Chimenti Bossi (milan)
    22:39:10.046 [script.err] [error] Script Error in the war on balkans/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 1111, column 70
    you have chosen an invalid tile(276, 107) for Lerino Matarrese (milan)
    22:39:10.046 [script.err] [error] Script Error in the war on balkans/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 1117, column 65
    you have chosen an invalid tile(266, 204) for Adelmo Galli (milan)
    22:39:10.046 [script.err] [error] Script Error in the war on balkans/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 1122, column 67
    you have chosen an invalid tile(268, 202) for Vico Deganello (milan)
    22:39:10.046 [script.err] [error] Script Error in the war on balkans/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 1182, column 84
    Character 'Malcolm Canmore' is placed on an invalid tile.

    Its wierd couse I dont even know who are these guys!?!
    Last edited by Milos98; June 20, 2007 at 03:45 PM.
    Regards, Milos98

  15. #15
    Milos98's Avatar Semisalis
    Join Date
    Nov 2006
    Location
    Zini da ti kažem
    Posts
    444

    Default Re: Resizing map

    I have cleared up the problems with characters.
    Why is my log file showing only one problem at the time?
    at this moment its showing
    10:21:58.343 [system.rpt] [always] CPU: SSE2
    10:21:58.343 [system.rpt] [always] ==== system log start, build date: Dec 5 2006 version development ===
    10:21:58.359 [system.io] [always] mounted pack packs/data_0.pack
    10:21:58.359 [system.io] [always] mounted pack packs/data_1.pack
    10:21:58.359 [system.io] [always] mounted pack packs/data_2.pack
    10:21:58.359 [system.io] [always] mounted pack packs/data_3.pack
    10:21:58.359 [system.io] [always] mounted pack packs/data_4.pack
    10:21:58.359 [system.io] [always] mounted pack packs/localized.pack
    10:22:28.375 [script.err] [error] Script Error in the war on balkans/data/world/maps/base/descr_sounds_music_types.txt, at line 1, column 1
    The music_types script parser has broken - unknown token 'bos'
    10:22:28.406 [script.err] [error] Script Error in the war on balkans/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 144, column 1
    You have chosen an invalid tile(309, 168) for the settlement of Prizren
    And every time I change the coordinates it shows another settlement, I have changed coordinates for Rennes, Metz, Constantinople...
    Does anyone know how can I make my log file show all the mistakes?
    I have to run the game each time I change coordinates and delete map.rwm.
    And how do I know wich is line 144? ( Im just curious...)


    +UPDATED-
    +I think I made some progress; I needed to change coordinates of some cities, and I had to delete all the england characters.
    +The map is HUGE!
    -Now I have a problem; there arent any factions except england and rebels in the game ???!!! If I want to play other campaigns there appears unspecified error. How can I add them?

    Last edited by Milos98; June 21, 2007 at 07:05 AM.
    Regards, Milos98

  16. #16
    WImPyTjeH's Avatar Wimpy of the Sore Ass
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    628

    Default Re: Resizing map

    Quote Originally Posted by Milos98 View Post
    -Now I have a problem; there arent any factions except england and rebels in the game ???!!! If I want to play other campaigns there appears unspecified error. How can I add them?
    What did you do to the descr_strat ?

    W


  17. #17
    Milos98's Avatar Semisalis
    Join Date
    Nov 2006
    Location
    Zini da ti kažem
    Posts
    444

    Default Re: Resizing map

    I deleted all the resources, deleted some characters, all the ports,...
    here is a copy
    Regards, Milos98

  18. #18
    WImPyTjeH's Avatar Wimpy of the Sore Ass
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    628

    Default Re: Resizing map

    Quote Originally Posted by Milos98 View Post
    I deleted all the resources, deleted some characters, all the ports,...
    here is a copy
    Strange, I looked in it and England is the only faction without a family tree and it's the only faction that works -> which should be the other way around actually.

    Try to give France 1 character (the faction leader) and remove its family tree.

    It's just a simple guess, no guarantee

    W


  19. #19
    Milos98's Avatar Semisalis
    Join Date
    Nov 2006
    Location
    Zini da ti kažem
    Posts
    444

    Default Re: Resizing map

    I guess its not that, tried it a million times. Anyway thnx for support.

    -UPDATED-
    Becouse of your post WImPyTjeH, I deleted french units and characters, and done that a couple of times and it worked, now there are france england and rebels.

    How can I reveal the campaign map?
    Last edited by Milos98; June 22, 2007 at 02:07 AM.
    Regards, Milos98

  20. #20
    WImPyTjeH's Avatar Wimpy of the Sore Ass
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    628

    Default Re: Resizing map

    Quote Originally Posted by Milos98 View Post
    How can I reveal the campaign map?
    Revealing in what way ?

    W


Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •