Results 1 to 6 of 6

Thread: New map not working - Stringtable error.

  1. #1

    Default New map not working - Stringtable error.

    I made a new map, just to see if I could make a very simple one work. It's a 50 by 50 square with some water around it, with two regions: Ay and Bee. The cities are First and Second, respectively.

    Someone, PLEASE tell me what's wrong with this.



    It says that it "can't find region name "Ay" in descr_regions.txt, line 7, in the stringtable".

    descr_regions_and_settlement_name_lookup.txt:
    Code:
    Ay
    First
    Bee
    Second
    descr_regions.txt:
    Code:
    Ay
    	First
    	carthage
    	Libyans
    	41 233 73
    	none
    	5
    	5
    Bee
    	Second
    	greek_cities
    	Libyans
    	191 143 209
    	none
    	5
    	5
    descr_strat.txt:
    Code:
    settlement
    {
    	level city
    	region Ay
    
    	year_founded 0
    	population 6500
    	settlement_tax 51
    	plan_set default_set
    	faction_creator carthage
    	building
    	{
    		type core_building governors_palace
    	}
    	building
    	{
    		type equestrian stables
    	}
    	building
    	{
    		type defenses stone_wall
    	}
    	building
    	{
    		type barracks militia_barracks
    	}
    	building
    	{
    		type port_buildings port
    	}
    	building
    	{
    		type market market
    	}
    	building
    	{
    		type temple_of_justice temple_of_justice_temple
    	}
    	building
    	{
    		type hinterland_farms farms
    	}
    	building
    	{
    		type hinterland_roads roads
    	}
    }
    
    faction	greek_cities, comfortable caesar
    denari	5000
    settlement
    {
    	level city
    	region Bee
    
    	year_founded 0
    	population 6000
    	settlement_tax 51
    	plan_set default_set
    	faction_creator greek_cities
    	building
    	{
    		type core_building governors_palace
    	}
    	building
    	{
    		type barracks militia_barracks
    	}
    	building
    	{
    		type temple_of_victory temple_of_victory_temple
    	}
    	building
    	{
    		type hinterland_farms farms
    	}
    	building
    	{
    		type hinterland_roads roads
    	}
    	building
    	{
    		type defenses stone_wall
    	}
    }
    my_campaign_regions_and_settlement_names.txt:
    Code:
    {Ay} Ay
    {First} First
    {Bee} 	Bee
    {Second} 	Second
    Last edited by SSJVegetaTrunks; 11-26-2008 at 19:28.

  2. #2

    Default Re: New map not working - Stringtable error.

    Tried adding the last block of code into the imperial_campaign_regions_and_settlement_names.txt and putting it in your modfolder as well (if you're working inside one)?

    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: New map not working - Stringtable error.

    Nah, I'm not using a modfolder. I'm just editing together a Provincial Campaign.

    Perhaps the game can't recognize that that file is for my Provincial Campaign? I don't know...

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

    Default Re: New map not working - Stringtable error.

    Did you change the campaign name at the top of descr_strat?

    -Trait/Ancillary/Building Editor

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

  5. #5

    Default Re: New map not working - Stringtable error.

    Code:
    ; campaign file.
    
    campaign		my_campaign
    playable
    	greek_cities
    	carthage
    end
    unlockable
    end
    nonplayable
    	slave
    end
    
    
    start_date	-264 summer
    end_date	14 summer
    
    brigand_spawn_value 10
    pirate_spawn_value 28
    I believe that's right.

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

    Default Re: New map not working - Stringtable error.

    the most usual problem with this is the
    ...._regions_and_settlement_names.txt
    file

    there is a save type / format problem that means if you try and make a new file that looks like old one - or sometimes add bits to old one it doesn't recognise them.

    as Aradan said work from old 'imperial_campaign_regions_and_settlement_names.txt'
    make a copy of it and re-name it to what you want, then either change the ** bits within the existing
    {**} **
    format or copy and paste a chunk of those existing bits to the bottom of the file and then change the text within the ** in that area.... (it doesn't matter if you have more regions in that file than exist in the campaign)

    I've never figured out why it does that but have had problems lots of times when trying to type in:
    {new_thing} new thing

    at the bottom or in a new file, unless I do the copy and paste of existing sections into old file.
    Not used mods before? Looking for something small and fun?!
    Download the:

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