Difference between revisions of "Export buildings.txt"
(hmm this needs a lot more explaining) |
m (Text replacement - "http://www.twcenter.net" to "https://www.twcenter.net") |
||
(5 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | {{DISPLAYTITLE:export_buildings.txt}} | ||
+ | == General Information == | ||
'''export_buildings.txt''' contains the text descriptions displayed for all the buildings in the game. | '''export_buildings.txt''' contains the text descriptions displayed for all the buildings in the game. | ||
− | + | Notes: in [[RTW]] and [[BI]] not having a description or title for a building in this file will cause a [[CTD]] without error message when attempting to view the city with the affected building. In M2TW missing descriptions will cause the game to CTD on launch, without error message! | |
minimum requirements for each building tree / level: | minimum requirements for each building tree / level: | ||
Line 15: | Line 17: | ||
{''edb_level_name_culture''_desc_short} some text | {''edb_level_name_culture''_desc_short} some text | ||
+ | |||
+ | edb_tree_name and edb_level_name must match exactly (including upper and lower case letters) the entries in [[export_descr_buildings.txt]] | ||
+ | |||
+ | The | ||
+ | {''edb_level_name_culture''_desc} | ||
+ | {''edb_level_name_culture''_desc_short} | ||
+ | sections are needed for each culture in the game, where it is not expected for that culture to be able to build the building a message such as ''This text should never appear on screen!'' is normally inserted instead of descriptive text. | ||
+ | |||
+ | |||
+ | In addition to giving descriptions by culture more specific descriptions can be added for each culture, see [http://forums.totalwar.org/vb/showthread.php?51377-How-to-add-Building-Descriptions-by-Faction How to add Building Descriptions by Faction] by [[Dol Guldur]]. | ||
+ | |||
+ | Note that there can be duplicate entries in this file, if there are then the description that placed furthest down the file reading from the top is the one that will be used in the game. That can be the cause of some confusion when you think you've changed an entry and it does not appear in the game. | ||
+ | |||
+ | '''WARNING:''' | ||
+ | ;Errors in this file do not cause CTD or error message on loading campaign in RTW or BI. But will cause CTD without message when attempting to view building that doesn't have proper description entry. If the affected building is only available to some factions, or isn't buildable till larger city sizes are reached then that CTD can occur late in game making it difficult to find source. Therefore entries for new buildings must be checked carefully! | ||
+ | |||
+ | == Tools == | ||
+ | |||
+ | [https://www.twcenter.net/forums/showthread.php?624259-TWTECV-TW-Text-Editor-Cleaner-amp-Validator-v1-9-CRITICAL-UPDATE! TWTECV: TW Text Editor, Cleaner & Validator] by Withwnar for M2TW, checks for missing descriptions and can delete unused entries. | ||
[[Category:RTW Files]] | [[Category:RTW Files]] | ||
+ | [[Category:M2TW Files]] |
Latest revision as of 11:49, 10 February 2020
General Information
export_buildings.txt contains the text descriptions displayed for all the buildings in the game.
Notes: in RTW and BI not having a description or title for a building in this file will cause a CTD without error message when attempting to view the city with the affected building. In M2TW missing descriptions will cause the game to CTD on launch, without error message!
minimum requirements for each building tree / level:
{edb_tree_name_name} a title
{edb_level_name} a title
{edb_level_name_desc} some text
{edb_level_name_desc_short} some text
{edb_level_name_culture_desc} some text
{edb_level_name_culture_desc_short} some text
edb_tree_name and edb_level_name must match exactly (including upper and lower case letters) the entries in export_descr_buildings.txt
The {edb_level_name_culture_desc} {edb_level_name_culture_desc_short} sections are needed for each culture in the game, where it is not expected for that culture to be able to build the building a message such as This text should never appear on screen! is normally inserted instead of descriptive text.
In addition to giving descriptions by culture more specific descriptions can be added for each culture, see How to add Building Descriptions by Faction by Dol Guldur.
Note that there can be duplicate entries in this file, if there are then the description that placed furthest down the file reading from the top is the one that will be used in the game. That can be the cause of some confusion when you think you've changed an entry and it does not appear in the game.
WARNING:
- Errors in this file do not cause CTD or error message on loading campaign in RTW or BI. But will cause CTD without message when attempting to view building that doesn't have proper description entry. If the affected building is only available to some factions, or isn't buildable till larger city sizes are reached then that CTD can occur late in game making it difficult to find source. Therefore entries for new buildings must be checked carefully!
Tools
TWTECV: TW Text Editor, Cleaner & Validator by Withwnar for M2TW, checks for missing descriptions and can delete unused entries.