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 descr sounds prebattle.txt

From TWC Wiki
Revision as of 01:42, 4 January 2011 by Meneth (talk | contribs) (Quick-adding category "Modding" (using HotCat))
Jump to navigationJump to search

Export_descr_sounds_prebattle is a file that keeps track of what a general will say before a battle according to his traits and the relationship his faction has with the enemy they are abou to face. I will take this line by line, and walk you through each part. The first part of the text document looks like this:

BANK: prebattle_speech cultures Roman element VNV_OPENING VnV BadCommander 1 event folder data/sounds/Voice/Human/Localized/Pre_Battle_Speech Roman_Intro_01_1.mp3 end

  • The first line you must not mod. It is an essential ine, telling your computer what to extract the speeches from.
  • The second line states what culture the speaker is from, and this affects the speeches the leader will say. For example, a barbarian leader will speak of blood, and a greek leader will speak of glory and Alexander.

A list of every prebattle speech appears in the text file prebattle_speeches_subtitles.

  • The third line sets the stage for the trait. Every trait has its own speech.
  • The fourth line states the trait that the speaker has.
  • The last few line contain the directory to where the speeches will come from, in another text file.

PART TWO Part two of the text file looks like this: element ENEMY_ID relationship Hates romans_julii event folder data/sounds/Voice/Human/Localized/Pre_Battle_Speech Roman_Enemy_01_1.mp3

  • Part two contains the speech according to the relationship between the two factions that meet on the battlefield.
  • The relationships are hates and neutral. Remember that the relationship term must have its first letter capitalized. Hence Hates, Neutral.
  • The last part is the same as the last part in part one, containing the file directory for the speech, which has been pre-recorded.
  • This part goes through with every faction in turn.

PART THREE Part three looks like this:

element ENEMY_ALLIES

relationship Hates romans_julii event folder data/sounds/Voice/Human/Localized/Pre_Battle_Speech Roman_Enemy_Allies_01_1.mp3

  • Part Three is essentially the same as part two, but contains the speeches if th eenemy has allies on the field with them, and what relationship the allies have with the player's faction.

PART FOUR element ALLIES present romans_julii event folder data/sounds/Voice/Human/Localized/Pre_Battle_Speech Roman_Player_Allies_01_1.mp3 Roman_Player_Allies_01_2.mp3

  • The same as the previous two parts, but with the player having allies on their side. Of course, the player will like their allies.

PART FIVE element STRATEGIC_SITUATION situation DEFENDING_A_MAJOR_CITY event folder data/sounds/Voice/Human/Localized/Pre_Battle_Speech Roman_Situation_1_1.mp3 Roman_Situation_1_2.mp3 Roman_Situation_1_3.mp3

  • Part Five comes into play at a strategic battle, like at a crossroads, or defending a major city.

A key battle, an important battle for the player's faction, or even a last stand for the faction or its allies.

PART SIX

element BATTLE_TYPE type FIELD_ATTACK event folder data/sounds/Voice/Human/Localized/Pre_Battle_Speech Roman_Type_01_1.mp3 Roman_Type_01_2.mp3 Roman_Type_01_3.mp3

  • The speech depends on whether you are attacking or defending on the field, city, ambush, etc.

PART SEVEN

element BATTLE_NUMBERS odds HOPELESSLY_OUTNUMBER_THEM event folder data/sounds/Voice/Human/Localized/Pre_Battle_Speech Roman_Odds_1_01_1.mp3 Roman_Odds_1_01_2.mp3 Roman_Odds_1_01_3.mp3

  • Part Seven classifies the speeches according to the numbers on each faction,hence being hopelessly outnumbered, or hopelessly outnumbering them.

PART EIGHT

element BATTLE_STRENGTHS odds WE_OUTNUMBER_BUT_THEM_STRONGER event folder data/sounds/Voice/Human/Localized/Pre_Battle_Speech Roman_Odds_2_01_1.mp3 Roman_Odds_2_01_2.mp3 Roman_Odds_2_01_3.mp3

  • Numbers are not the only factor. If one side has better troops, the speeches will show it.

PART NINE

element BATTLE_TERRAIN condition DEFENDING_HILLS event folder data/sounds/Voice/Human/Localized/Pre_Battle_Speech Roman_Terrain_01_1.mp3 Roman_Terrain_01_2.mp3 Roman_Terrain_01_3.mp3

  • Concerning Battle Terrain
  • These speeches will be said when there is rouh or distinguishing terrain on the battlefield, such as hills, rivers, and forests.

PART TEN

element TROOP_COMPARISON condition THEY_LOTS_OF_CAVALRY_1 event folder data/sounds/Voice/Human/Localized/Pre_Battle_Speech Roman_Troops_01_1.mp3 Roman_Troops_01_2.mp3 Roman_Troops_01_3.mp3

  • Concerning the Types of Troops
  • If one side has more cavalry, or more archers, it will reflect here.

PART ELEVEN

element PREVIOUS_RECORD condition NOT_FOUGHT_THEM_BEFORE event folder data/sounds/Voice/Human/Localized/Pre_Battle_Speech Roman_Record_01_1.mp3 Roman_Record_01_2.mp3 Roman_Record_01_3.mp3

  • Concerning the record of fights against this faction.
  • If a general has fought these men before and won, he will say so. If he has lost, he will say that today he will win.

PART TWELVE

element VNV_MID VnV Anger 1 event folder data/sounds/Voice/Human/Localized/Pre_Battle_Speech Roman_Comments_01_1.mp3

  • Back to traits

PART THIRTEEN

element OMENS omen FANTASTIC event folder data/sounds/Voice/Human/Localized/Pre_Battle_Speech Roman_Omens_01_1.mp3 Roman_Omens_01_2.mp3 Roman_Omens_01_3.mp3

  • Concerning the omens that were taken before the battle.
  • This will reflect in the speeches as either a good omen, like eagles circling the camp, or a bad omen such as a storm.

PART FOURTEEN

element REINFORCEMENTS_NEAR reinforcement NEAR_SOON event folder data/sounds/Voice/Human/Localized/Pre_Battle_Speech Roman_Reinf_01_1.mp3 Roman_Reinf_01_2.mp3 Roman_Reinf_01_3.mp3

  • Concerning reinforcements from the same faction as the player and will take part in the battle.

PART FIFTEEN

element VNV_END VnV GoodSiegeAttacker 1 event folder data/sounds/Voice/Human/Localized/Pre_Battle_Speech Roman_Extro_01_1.mp3

  • Concerning the end of a speech according to traits the general has.

PART SIXTEEN

element ONE_LINER event folder data/sounds/Voice/Human/Localized/Pre_Battle_Speech Roman_One_Liner_001.mp3 Roman_One_Liner_002.mp3 Roman_One_Liner_003.mp3

  • Concerning One-Liners
  • One-liners are one or two line speeches that rouse the men!
  • It starts with Roman speeches, but goes through each voice type, greek, barbarian, arab, etc.

MODDING THE FILE Before you mod this file, which is basically a table of contents for the other speech files. There is one file which contains voice recordings of the speeches. One must record their own voices in mp3 format if they wish to have their own speech in the battle. Also, one must type their speech into the text file, prebattle_speeches_subtitles. I hope this will be helpful.

YOU can help us improve this Wiki! ~ Look for ways to help and editing advice. ~ If you need further advice, please post here.