Difference between revisions of "Export VnVs.txt"
(New page: '''Export VnVs.txt''' contains all the text which is displayed in the game for the Trait Levels which are defined in export_descr_character_traits.txt. If a trait level does not have ...) |
m (removed Category:RTW Modding; added Category:RTW Text Editing & Scripting using HotCat) |
||
(12 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | ''' | + | {{RTW Modding Logo}} |
+ | {{DISPLAYTITLE:export_VnVs.txt}} | ||
+ | '''export_VnVs.txt''' contains all the text which is displayed in the game for the Trait Levels which are defined in [[export_descr_character_traits.txt]]. | ||
If a trait level does not have it's description set up properly in this file the game will CTD when you attempt to view a character with that trait! | If a trait level does not have it's description set up properly in this file the game will CTD when you attempt to view a character with that trait! | ||
+ | |||
+ | M2TW has a [[export_vnvs.txt.strings.bin]] file instead of this which contains similar content in a different format. | ||
==Format== | ==Format== | ||
Line 7: | Line 11: | ||
{Level_Name} Good Commander | {Level_Name} Good Commander | ||
− | { | + | {Level_Name_desc} |
This man is a born leader who inspires ..... | This man is a born leader who inspires ..... | ||
− | { | + | {Level_Name_gain_desc} |
+ | This popular commander has become a serious danger to opposing troops! | ||
+ | |||
+ | {Level_Name_loss_desc} | ||
This popular commander has become a serious danger to his own troops! | This popular commander has become a serious danger to his own troops! | ||
− | { | + | {Level_Name_epithet_desc} the Glorious |
− | { | + | {Level_Name_effects_desc} |
-3 Command, +6 Morale for all troops on the battlefield | -3 Command, +6 Morale for all troops on the battlefield | ||
===Explanation=== | ===Explanation=== | ||
The Level_Name must be the same as the actual name given to the trait '''level''' in [[Export_descr_character_traits.txt]], not the overall trait name, that is not used in this file. | The Level_Name must be the same as the actual name given to the trait '''level''' in [[Export_descr_character_traits.txt]], not the overall trait name, that is not used in this file. | ||
− | + | Every entry must be written exactly as they are in [[Export_descr_character_traits.txt]] for that trait, so if that file 'misspells' something, eg. Level_Naem_desc or uses Level_name_desc with a lower case letter or adds a letter Level_Name_effects_descr, so must this file, or else hello desktop..... | |
− | The gain_desc and epithet_desc are not used for all traits, only those where the character should gain an addition to his visible name, or where a message is sent to the player when a certain trait is gained. If they are present in [[Export_descr_character_traits.txt]] for the particular trait level they MUST be in this file as well. | + | The gain_desc, loss_desc and epithet_desc are not used for all traits, only those where the character should gain an addition to his visible name, or where a message is sent to the player when a certain trait is gained. If they are present in [[Export_descr_character_traits.txt]] for the particular trait level they MUST be in this file as well. |
===Notes=== | ===Notes=== | ||
Line 29: | Line 36: | ||
The effects_desc will show up in game as the effect that the trait has - it is intended to tie up with the actual effect of the trait but as it is added manually might not actually do so. | The effects_desc will show up in game as the effect that the trait has - it is intended to tie up with the actual effect of the trait but as it is added manually might not actually do so. | ||
− | [[ | + | The file must be saved in unicode format, saving it as an ascii format file will cause a CTD. |
− | [[Category: | + | |
+ | ==Medieval II Information== | ||
+ | The equivalent to this file in M2TW is [[export_vnvs.txt.strings.bin]] that can be converted to a text file equivalent for editing, see [[strings.bin]] files | ||
+ | |||
+ | [[Category:RTW Text Editing & Scripting]] | ||
[[Category:RTW Files]] | [[Category:RTW Files]] |
Latest revision as of 11:41, 16 March 2021
export_VnVs.txt contains all the text which is displayed in the game for the Trait Levels which are defined in export_descr_character_traits.txt.
If a trait level does not have it's description set up properly in this file the game will CTD when you attempt to view a character with that trait!
M2TW has a export_vnvs.txt.strings.bin file instead of this which contains similar content in a different format.
Format
{Level_Name} Good Commander {Level_Name_desc} This man is a born leader who inspires ..... {Level_Name_gain_desc} This popular commander has become a serious danger to opposing troops! {Level_Name_loss_desc} This popular commander has become a serious danger to his own troops! {Level_Name_epithet_desc} the Glorious {Level_Name_effects_desc} -3 Command, +6 Morale for all troops on the battlefield
Explanation
The Level_Name must be the same as the actual name given to the trait level in Export_descr_character_traits.txt, not the overall trait name, that is not used in this file.
Every entry must be written exactly as they are in Export_descr_character_traits.txt for that trait, so if that file 'misspells' something, eg. Level_Naem_desc or uses Level_name_desc with a lower case letter or adds a letter Level_Name_effects_descr, so must this file, or else hello desktop.....
The gain_desc, loss_desc and epithet_desc are not used for all traits, only those where the character should gain an addition to his visible name, or where a message is sent to the player when a certain trait is gained. If they are present in Export_descr_character_traits.txt for the particular trait level they MUST be in this file as well.
Notes
Use tab and not space after the closing } or your text will be offset in the game.
The effects_desc will show up in game as the effect that the trait has - it is intended to tie up with the actual effect of the trait but as it is added manually might not actually do so.
The file must be saved in unicode format, saving it as an ascii format file will cause a CTD.
Medieval II Information
The equivalent to this file in M2TW is export_vnvs.txt.strings.bin that can be converted to a text file equivalent for editing, see strings.bin files