Results 1 to 1 of 1

Thread: KTM error with my new map

  1. #1

    Default KTM error with my new map

    EDIT: Sorted after endless tinkering. I think there was a problem caused by some files in the base folder also existing in the imperial_campaign folder, which I only edited in the former. But I changed a lot before it eventually worked so I'm not 100% sure on that.

    I've been making changes to the Chivalry Total War mod, and tried to make a slightly smaller campaign map, which would start a bit further north and end a bit less far east, in line with the original MTW game.

    Unfortunately, I am getting a KTM (Kick-back to menu) when I click the 'Start Campaign' button.

    I changes most of the files in the base and imperial_campaign folder. My map is very bare - it has just four regions, no rivers or such features, but I did keep climates and heights (since I was copy/pasting most of the original Chivalry map).

    If I added just two factions (England and France) along with the rebels to the map and only had those factions listed at the top of descr_strat, I would get this error upon exiting the game:



    I thought that was odd, so I added all the other factions from Chivalry Total War as non_playable in descr_strat, but otherwise they were not present in the file. Having deleted my map.rwm, I tried again and this time I still got a KTM when hitting 'Start Campaign', but I got a different error message upon exiting the game:



    This is equally odd, since York is not one of the four regions that I left in the game. Those I left were East_Anglia, Normandie, Novgorod, and Misr.

    So, I tried deleting the entries in the imperial_campaign_regions_and_settlement_names.txt file in the text folder, and deleted map.rwm. I tried again, but this time I got a CTD upon clicking only the 'Main Campaign' option, I didn't even get to the faction selection screen.

    I am a bit confused as to where I am going wrong. I have looked at this page - Campaign Map Not Loading: RTW

    Interestingly, is says this:


    Spoiler Alert, click show to read: 
    Code:
        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.
    
            Pixels on map_regions.tga of a colour that do not belong to any region colour specified in descr_regions.txt - watch out for merged colours when editing map_regions.tga as that is usual cause.
    
        If settlement is named and line xxx is it's listing in descr_strat.txt:
    
            Settlement is actually placed on invalid terrain. This may include being over river location, over impassable forest, or mountain ground types, or being over area marked as sea in map_heights.tga. The last includes areas of 'land' which are true black RGB 0,0,0 as the game takes them as sea unless a map_heights.hgt is created.
            Settlement's black pixel isn't RGB 0,0,0.


    Now, my error message seems to be somewhere in between the two that it addresses. Like the first error message mentioned on that page, the line my error message refers me to is at the bottom of my descr_strat file. However, unlike the first error message on that page, my settlement name is specified. And like their second error message, my settlement is named, however, unlike it, it does not have a listing in descr_strat (since it only exists in the text files).

    This is my descr_regions file:

    Code:
    Spoiler Alert, click show to read: 
    ; Chivalry TW ; Regions List, DaVinci ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; East_Anglia ; ok London britons Anglo_Saxons 130 70 66 slaves 5 5 christianity 90 pagan 10 Normandie ; ok Rouen britons Anglo_Saxons 240 120 60 slaves 5 5 christianity 80 pagan 20 Novgorod ; ok Novgorod britons Anglo_Saxons 160 160 40 slaves 5 5 christianity 85 pagan 15 Misr ; ok Al-Qahira britons Anglo_Saxons 130 186 17 slaves 5 4 islam 90 christianity 8 pagan 2
    This is my descr_strat:

    Code:
    Spoiler Alert, click show to read: 
    ; ChivTW, Starting Strat-Map, DaVinci ; Campaign-name: "The Rise of the Knighthood" ; v1.0 ;--------------------------------------------- campaign barbarian_invasion ; options bi playable gauls britons end unlockable end nonplayable germans romans_scipii romans_senate carthage dacia numidia spain scythia parthia pontus armenia greek_cities macedon egypt romans_julii romans_brutii seleucid thrace slave end start_date 1072 summer end_date 1222 summer marian_reforms_disabled gladiator_uprising_disabled night_battles_enabled brigand_spawn_value 1000 pirate_spawn_value 1000 ; #################################################################### ; ######### >>> Start of landmarks section <<< ; #################################################################### ; none ; #################################################################### ; ######### >>> Start of resources section <<< ; #################################################################### ; Updated beta resources (gems etc.) by Genghis. ; DaVinci, some changed ; #################################################################### ; ######### >>> Start of factions section <<< ; #################################################################### ; --------------------------------------------------------- ; ######### >>> England <<< ######### ; --------------------------------------------------------- faction britons, sailor smith denari 10000 settlement { level city region East_Anglia year_founded 0 population 6500 plan_set default_set faction_creator britons building { type core_building governors_palace } building { type defenses stone_wall } } ; City: London ; Region: East_Anglia ; -------------------- character William of_Normandy, named character, leader, age 45, , x 56, y 128 traits Christian 1 ancillaries familyseal army unit early kings cavalry c exp 2 armour 0 weapon_lvl 0 unit norman cavalry exp 1 armour 0 weapon_lvl 0 unit norman mercenaries exp 1 armour 0 weapon_lvl 0 unit norman mercenaries exp 1 armour 0 weapon_lvl 0 unit archers exp 0 armour 0 weapon_lvl 0 ; City: France5C ; Region: Normandy ; -------------------- character Robert of_Normandy, named character, age 17, , x 57, y 117 traits Christian 1 ancillaries familyseal army unit early kings cavalry c exp 1 armour 0 weapon_lvl 0 unit norman cavalry exp 1 armour 0 weapon_lvl 0 unit norman mercenaries exp 1 armour 0 weapon_lvl 0 unit norman mercenaries exp 1 armour 0 weapon_lvl 0 unit archers exp 0 armour 0 weapon_lvl 0 ; outside London character Rufus of_Normandy, named character, heir, age 16, , x 56, y 129 traits Christian 1 ancillaries familyseal army unit early kings cavalry c exp 1 armour 0 weapon_lvl 0 character Walter Becket, diplomat, age 33, , x 57, y 117 ; City: ScottDownC ; Region: ScottDown ; -------------------- character Richard deVere, general, age 23, , x 53, y 147 traits Christian 1 army unit early kings cavalry c exp 1 armour 0 weapon_lvl 0 unit norman mercenaries exp 1 armour 0 weapon_lvl 0 ; City: LondonupC ; Region: Londonup ; -------------------- character George deBeauchamp, general, age 29, , x 53, y 136 traits Christian 1 army unit early kings cavalry c exp 1 armour 0 weapon_lvl 0 unit norman mercenaries exp 1 armour 0 weapon_lvl 0 ; City: Canterbury ; Region: Kent ; -------------------- character Roger Bourchier, general, age 40, , x 58, y 126 traits Christian 1 army unit early kings cavalry c exp 1 armour 0 weapon_lvl 0 unit norman mercenaries exp 1 armour 0 weapon_lvl 0 ; City: Winchester ; Region: Wessex ; -------------------- character Henry Montfort, general, age 35, , x 47, y 126 traits Christian 1 army unit early kings cavalry c exp 1 armour 0 weapon_lvl 0 unit norman mercenaries exp 1 armour 0 weapon_lvl 0 character_record Matilda, female, age 40, alive, never_a_leader character_record Henry of_Normandy, male, age 3, alive, never_a_leader relative William of_Normandy, Matilda, Robert of_Normandy, Rufus of_Normandy, Henry of_Normandy, end ; --------------------------------------------------------- ; ######### >>> France <<< ######### ; --------------------------------------------------------- faction gauls, balanced smith denari 9000 settlement { level city region Normandie year_founded 0 population 8500 plan_set default_set faction_creator gauls building { type core_building governors_palace } building { type defenses stone_wall } } ; City: France4C ; Region: France4 ; -------------------- ; dies per script character R0bert Capet, named character, age 100, , x 48, y 101 traits Christian 1 ancillaries familyseal army unit early kings cavalry c exp 1 armour 0 weapon_lvl 0 ; dies per script character Henri Capet, named character, age 64, , x 49, y 102 traits Christian 1 ancillaries familyseal army unit early kings cavalry c exp 1 armour 0 weapon_lvl 0 character Philippe Capet, named character, leader, age 19, , x 60, y 112 traits Christian 1 ancillaries familyseal army unit early kings cavalry c exp 1 armour 0 weapon_lvl 0 unit militia spearmen exp 0 armour 0 weapon_lvl 0 unit archers exp 0 armour 0 weapon_lvl 0 character Hugues Capet, named character, heir, age 17, , x 46, y 108 traits Christian 1 ancillaries familyseal army unit early kings cavalry c exp 1 armour 0 weapon_lvl 0 unit militia spearmen exp 0 armour 0 weapon_lvl 0 unit archers exp 0 armour 0 weapon_lvl 0 character Robert Capet, named character, age 61, , x 65, y 112 traits Christian 1 ancillaries familyseal army unit early kings cavalry c exp 1 armour 0 weapon_lvl 0 unit militia spearmen exp 0 armour 0 weapon_lvl 0 character Eudes Capet, named character, age 59, , x 47, y 103 traits Christian 1 ancillaries familyseal army unit early kings cavalry c exp 1 armour 0 weapon_lvl 0 unit militia spearmen exp 0 armour 0 weapon_lvl 0 character Bernard deBlois, general, age 28, , x 59, y 94 traits Christian 1 ancillaries familyseal army unit early kings cavalry c exp 1 armour 0 weapon_lvl 0 unit militia spearmen exp 0 armour 0 weapon_lvl 0 unit militia spearmen exp 0 armour 0 weapon_lvl 0 unit archers exp 0 armour 0 weapon_lvl 0 character_record Constance, female, age 86, dead, never_a_leader character_record Matilda, female, age 38, alive, never_a_leader character_record Berthe, female, age 17, alive, never_a_leader character_record Louis Capet, male, age 1, alive, never_a_leader relative R0bert Capet, Constance, Henri Capet, Robert Capet, Eudes Capet, end relative Henri Capet, Matilda, Philippe Capet, Hugues Capet, end relative Philippe Capet, Berthe, Louis Capet, end ; --------------------------------------------------------- ; ######### >>> Slave <<< ######### ; --------------------------------------------------------- faction slave, balanced napoleon denari 999999 settlement { level town region Novgorod year_founded 0 population 1600 plan_set default_set faction_creator gauls building { type core_building governors_house } building { type defenses wooden_pallisade } } settlement { level town region Misr year_founded 0 population 1600 plan_set default_set faction_creator gauls building { type core_building governors_house } building { type defenses wooden_pallisade } } ; #################################################################### ; ######### >>> Start of diplomacy section <<< ; #################################################################### ;DS_ALLIED = 0 ;DS_SUSPICIOUS = 100 ;DS_NEUTRAL = 200 ;DS_HOSTILE = 400 ;DS_AT_WAR = 600 ;NEW: From AlexTW =-600 ( does allow pretty stabile alliances, for a while ;) ) ;------------------------------Campaign-Start-Relations---------------------------------------- ;--------------------------------Independent nations------------------------------------------- core_attitudes slave, 600 britons, gauls ;--------------------------------England---------------------------------------------------------- core_attitudes britons, 600 slave core_attitudes britons, 300 gauls ;------------------------------France------------------------------------------------------------- core_attitudes gauls, 600 slave core_attitudes gauls, 0 britons ;--------------------------------End Core_attitudes----------------------------------------------- ; Diplomatic start-status: ; Campaign start-script: script chivalry_startup_script.txt ; End of file
    This is descr_mercenaries:

    Code:
    Spoiler Alert, click show to read: 
    ; Chivalry TW, "Free" Mercs ;--------------------------- ;leave blank
    This is descr_win_conditions:

    Code:
    Spoiler Alert, click show to read: 
    ; Chiv Win Cons - DaVinci ; RK campaign ;----------------------------------------------------------------------------------------------------------------- britons ; England start 6 hold_regions East_Anglia Normandie take_regions 3 ;----------------------------------------------------------------------------------------------------------------- gauls ; France start 5 hold_regions East_Anglia Normandie take_regions 3 ;----------------------------------------------------------------------------------------------------------------- ;slave ; Independent Nations start 97 ;hold_regions East_Anglia Normandie ;take_regions 3
    I realise the characters on descr_strat will be misplaced (since I have not changed their coordinates since moving the map north), but in M2TW, a character would appear starting on water or mountains without a crash, so I guess RTW is the same. I didn't want to mess with the family tree.

    So, any ideas based on all that?
    Last edited by Caledonian Rhyfelwyr; August 12, 2014 at 12:01 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •