Results 1 to 9 of 9

Thread: Creating a brand new map

  1. #1

    Default Creating a brand new map

    As the title says, I'm on my way to creating a completely new map, just to learn the basics. Being new to map modding I'm having both alot of fun and alot of trouble succeeding. The newest error I've encountered is the following:

    Symptom: KTM's with message on exit: 'Script error in .../descr_strat.txt, at line xxx, column x. You have chosen an invalid tile(0,0)for the settlement of
    If line xxx is the bottom of the descr_strat file and the settlement name is not specified. Line xxx is indeed at the bottom of descr_strat.

    As far as I can tell, I don't have any non-specified pixel colours. All I've got is 21 regions, sea and settlements, totaling 23 unique colours according to Irfanview.

    The cause doesn't seem to be the one stated as the most common, and being a novice at this I have no idea on how to proceed. A hint at what to look at would be great, if anyone has a clue.

  2. #2

    Default Re: Creating a brand new map

    You should have 24 colours: 21 regions, 1 for sea, 1 for settlements and 1 for ports. Unless you don't have any ports.

    Norman Invasion - The fate of England lies in your hands...

    Viking Invasion II - Unite Britain in the best TW campaign ever!

    Gods and Fighting Men: Total War - Enter the Mists of Myth in Ancient Ireland

  3. #3

    Default Re: Creating a brand new map

    Ye, I haven't added any ports, I'm just trying to actually get a map to work at this point, no matter how simple.

  4. #4
    Bassist, God and Modder Member Thor the Bassist's Avatar
    Join Date
    Jan 2008
    Location
    Yorkshire, England
    Posts
    213

    Default Re: Creating a brand new map

    Just a silly guess but is there a closing bracket missing in the script because it could be expecting an unnamed settlement placed with no co-ordinates so settlement name "" co-ordinates "(0,0)". Try adding a } to the end of the script. This has happened a couple of times to me as well as getting too many closing brackets.

    Just a thought.

    Building for the Future of METW

  5. #5

    Default Re: Creating a brand new map

    This doesn't seem to be the case.

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

    Default Re: Creating a brand new map

    as you've only got 21 regions try going through checking you actually have the exact correct colour for each - compared against the RGB colour listed in descr_regions file. Look out for having same colour copied twice in the text file....

    Also check your city colour is pure black 0,0,0, and that your sea region colour is the same as one of the colours used on the vanilla map. If you used a different blue for that it might be thinking its a land not sea region....
    Last edited by Makanyane; 02-25-2008 at 10:09.
    Not used mods before? Looking for something small and fun?!
    Download the:

  7. #7

    Default Re: Creating a brand new map

    The sea was the problem, I actually got the campaign to load. Big thanks!

    A minor issue now is that for some reason the family members of certain factions have switched places. For example, the greek faction leader is, according to descr_strat, at 21, 41, but he is actually standing at 20, 21, which is where the egyptian faction leader should be. The egyptian leader is in fact located at 21, 41. The same has happened with other factions/characters too, although not all. What might be the cause of that?

  8. #8
    Notepad user Member Red Spot's Avatar
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    491

    Default Re: Creating a brand new map

    Just guessing here; did you get co-ords in Photoshop ?? ...

    The game flips one of the axes, what y is in Photshop isnt y in the game, flip your map over in PS so top is bottem and you can take the co-ords in PS ..


    G

  9. #9

    Default Re: Creating a brand new map

    Yes, that seems to be the cause. Thanks

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