Results 1 to 7 of 7

Thread: Target building descriptions

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Target building descriptions

    I am making a mod to add a new faction (Titanocene dicarbonyl) to the game, however the mod only loads to the title screen then crashes. When I checked the log.txt I found this error.

    Code:
    11:27:42.515 [data.invalid] [error] Target building description not found:  Titanocene dicarbonyl , town -> wooden_castle[164257120]((null)) -> upgrade
    11:27:42.515 [data.invalid] [error] Target building description not found:  Titanocene dicarbonyl , large_town -> castle[164257120]((null)) -> upgrade
    Does anyone know what is causing this error or how I can fix it?
    4 Seasons (6 Empires battle for supremecy); 3.0 version
    Total War Eras (start at 970, 1080, 1200, 1300, 1400, or 1500); 2.4 version
    Eras Total Conquest (start at 1230, 1346, 1547); 1.2 version

  2. #2
    Relentless Bughunter Senior Member FactionHeir's Avatar
    Join Date
    Dec 2006
    Location
    London, UK
    Posts
    8,115

    Default Re: Target building descriptions

    Check the txt file holding all building descriptions (some enums file) and the stringbin file that is loaded that contains all descriptions. The latter probably not as important as it wouldn't cause a crash unless you edited it by hand and made an error.
    Want gunpowder, mongols, and timurids to appear when YOU do?
    Playing on a different timescale and never get to see the new world or just wanting to change your timescale?
    Click here to read the solution
    Annoyed at laggy battles? Check this thread out for your performance needs
    Got low fps during siege battles in particular? This tutorial is for you
    Want to play M2TW as a Vanilla experience minus many annoying bugs? Get VanillaMod Visit the forum Readme
    Need improved and faster 2H animations? Download this! (included in VanillaMod 0.93)

  3. #3

    Default Re: Target building descriptions

    I've checked the following files:

    data\descr_building_battle.txt & descr_building_battle_enums.txt (neither mention these buildings and they're not faction specific)

    data\export_descr_buildings.txt (my faction is listed under all the 'building convert_to_castle' and 'building convert_to_city' buildings)

    data\export_descr_buildings_enums.txt (my faction's culture is listed here)

    data\text\building_battle.txt (does not mention these buildings and is not faction specific).

    data\text\export_buildings.txt (my faction's culture is listed here)

    Are there any other files concerning buildings.

    Also the error mesage itself is odd since a village, not a town is converted to a wooden castle; though a large town does convert to a castle.
    4 Seasons (6 Empires battle for supremecy); 3.0 version
    Total War Eras (start at 970, 1080, 1200, 1300, 1400, or 1500); 2.4 version
    Eras Total Conquest (start at 1230, 1346, 1547); 1.2 version

  4. #4
    Relentless Bughunter Senior Member FactionHeir's Avatar
    Join Date
    Dec 2006
    Location
    London, UK
    Posts
    8,115

    Default Re: Target building descriptions

    Hmmm why does your text folder have txt files? You need the game to load string.bin files unless you only have the txt files there at the moment to make it autoconvert.

    You are also saying a village is converted to a wooden castle. I think by default that it is converted to a motte and bailey. Have you tried changing that part and seeing whether it still crashes? I read somewhere on TWV before that modifying the convert to castle/city 'buildings' can lead to problems.

    From the looks of the error message, the game is expecting to find an entry in the buildings_enums file for town->wooden castle too
    Last edited by FactionHeir; 06-05-2007 at 18:46.
    Want gunpowder, mongols, and timurids to appear when YOU do?
    Playing on a different timescale and never get to see the new world or just wanting to change your timescale?
    Click here to read the solution
    Annoyed at laggy battles? Check this thread out for your performance needs
    Got low fps during siege battles in particular? This tutorial is for you
    Want to play M2TW as a Vanilla experience minus many annoying bugs? Get VanillaMod Visit the forum Readme
    Need improved and faster 2H animations? Download this! (included in VanillaMod 0.93)

  5. #5

    Default Re: Target building descriptions

    I've never had any problems having text files instead of string.bin files.

    I said that a village converts to a wooden castle because this is how it is described in the buildings_enums file (I'm assuming you mean data\export_descr_buildings_enums.txt), though in the game a Village does become a Motte and Bailey castle. Here are the entries associated with converting a building from the the buildings_enums file (which building they relate to is in brackets).

    village_to_wooden_castle (village to motte and bailey)
    small_town_to_stone_keep (town to wooden castle)
    large_town_to_castle (large town to castle)

    wooden_castle_to_village (motte and bailey to village)
    stone_keep_to_small_town (wooden castle to town)
    castle_to_large_town (castle to large town)
    large_castle_to_city (fortress to city)
    fortress_to_city (citadel to city)

    I have already added my culture's name to all of these (I'm making a new culture). I have not in any other way altered the city to castle conversion entries (except by adding my new culture to them).
    4 Seasons (6 Empires battle for supremecy); 3.0 version
    Total War Eras (start at 970, 1080, 1200, 1300, 1400, or 1500); 2.4 version
    Eras Total Conquest (start at 1230, 1346, 1547); 1.2 version

  6. #6
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Target building descriptions

    I don't think the enums file actually does anything.

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