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.
:help:
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
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)?
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...
Re: New map not working - Stringtable error.
Did you change the campaign name at the top of descr_strat?
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.
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.:rolleyes5: