View Full Version : Crash in Battle when adding region.
Ignoramus
07-19-2010, 03:11
Hello guys,
I just added Cornwall as a province to MTWII and everything works fine in the campaign. But whenever a fight a siege battle at Exeter, the capital, I get a CTD as soon as the battle loads. There is a large black patch under the assaulting army and then in suddenly CTD's.
Can anyone please help me? I've experimented by placing the settlement in many locations on the map, so I don't think it could be due to placing the settlement on an invalid tile.
Soul Reaver
07-20-2010, 16:20
Starting in the World\Maps\Base Folder have you done this?
added the region to descr_regions.txt and deleted the map_rwm
Cornwall_Province
Penzance
england
English_Rebels
184 22 72 (this denotes the colour of the region)
tin, atlantic, explorers_guild, woodsmens_guild
5
3
religions { catholic 90 orthodox 0 islam 0 pagan 5 heretic 5 }
Added the Cornwall_Province to descr_sounds_music_types.txt.
music_type northern_european
; england faction (see world\maps\base\descr_regions.txt)
regions Dublin_Province York_Province Caernarvon_Province Nottingham_Province London_Province Cornwall_Province
Added the province to map_regions.tga. (convert to bmp and edit in Microsoft Paint and use the pencil tool, make sure you do not colour any of the sea.)
In the Campaign\Imperial_Campaign.
Added the province to descr_strat.
settlement
{
level village
region Cornwall_Province
year_founded 0
population 800
plan_set default_set
faction_creator england
}
Add an army to the province, you can do this later when you have the proper co-ordinates
;Penzance
character sub_faction england, Paul Awood, general, male, age 31, x 90, y 145
army
unit Peasants exp 1 armour 0 weapon_lvl 0
unit Spear Militia exp 0 armour 0 weapon_lvl 0
unit Archer Militia exp 0 armour 0 weapon_lvl 0
unit Peasants exp 1 armour 0 weapon_lvl 0
unit Peasant Archers exp 0 armour 0 weapon_lvl 0
Added the province to descr_mercenaries.
pool England_Wales
regions London_Province Nottingham_Province York_Province Caernarvon_Province Cornwall_Province
Added the province to Data\Text imperial_campaign_regions_and_settlement_names.txt and deleted the strings.bin.
{Penzance}Penzance
{Cornwall_Province}Cornwall Region
If you have done all that you have a good chance of making it work.
PS this added province works in my game, good luck.
If you can't get it to work go here for a detailed explanation.
http://www.twcenter.net/forums/showthread.php?t=73660
vBulletin® v3.7.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.