PDA

View Full Version : Strange Descr_Strat Bug... Need Help



we51ey2
11-14-2006, 19:22
Ok, I have added a new map to MTW2 along with a new campaign folder, I have fixed all the bugs in the system.log, repeat repeat repeat till I reached this bug.

18:19:12.656 [script.err] [error] Script Error in data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 215, column 1
You have chosen an invalid tile(0, 0) for the settlement of


And here is the descr_strat:

faction_relationships england, at_war_with slave
faction_relationships france, at_war_with slave

faction_relationships slave, at_war_with england, france
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; >>>> start of regions section <<<<
;
;
;
;
;
<-----this is line 215.


Any help would be greatly appreciaited, I have been trying to work it out for a few days now with no success.

alpaca
11-14-2006, 20:44
Can you post a bit more before and after that line?

we51ey2
11-14-2006, 20:51
well there is nothing after that line, that is the end of the descr_strat.

but before:

settlement
{
level large_town
region Nottingham_Province

year_founded 0
population 3800
plan_set default_set
faction_creator france
building
{
type core_building wooden_wall
}
building
{
type barracks town_guard
}
building
{
type temple_catholic small_church
}
building
{
type city_hall town_hall
}
building
{
type market corn_exchange
}
building
{
type hinterland_roads roads
}
}
character sub_faction moors, Kicham, general, male, age 20, x 202, y 102
army
unit Nubian Archers exp 1 armour 0 weapon_lvl 0
unit Nubian Archers exp 0 armour 0 weapon_lvl 0
unit Sudanese Javelinmen exp 1 armour 0 weapon_lvl 0
unit Nubian Spearmen exp 0 armour 0 weapon_lvl 0
unit Tuareg Camel Spearmens exp 1 armour 0 weapon_lvl 0
unit Sudanese Tribesmen exp 0 armour 0 weapon_lvl 0


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; >>>> start of diplomacy section <<<<

faction_standings england, -0.2 france
faction_standings france, -0.2 england


faction_relationships england, at_war_with slave
faction_relationships france, at_war_with slave

faction_relationships slave, at_war_with england, france
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; >>>> start of regions section <<<<
;
;
;
;
;
<----215

alpaca
11-14-2006, 20:59
Maybe you have a province that you didn't assign a settlement to?

we51ey2
11-14-2006, 21:46
ok i have the map working now, there was a little island that was the wrong colour, about 4 pixels of island, also the sea is a slightly different shade on mtw2 maps than rtw maps, just for the record