Welcome to the TWC Wiki! You are not logged in. Please log in to the Wiki to vote in polls, change skin preferences, or edit pages. See HERE for details of how to LOG IN.

export_VnVs.txt

From TWC Wiki
Jump to navigationJump to search

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

YOU can help us improve this Wiki! ~ Look for Ways to Help and Things to Do. ~ If you need further advice, please post here.