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.

Difference between revisions of "Descr sounds music types.txt"

From TWC Wiki
Jump to navigationJump to search
 
Line 13: Line 13:
 
   factions { list of faction as defined in [[descr_sm_factions.txt]] }
 
   factions { list of faction as defined in [[descr_sm_factions.txt]] }
  
'''Note''' All music_type which using in this file must also add to the list of "music_types_enum" in descr_sounds.txt in order to be used in [[descr_sounds_music.txt]].
+
'''Note:''' All music_type which using in this file must also add to the list of "music_types_enum" in descr_sounds.txt in order to be used in [[descr_sounds_music.txt]].
  
 
[[Category: M2TW Modding]]
 
[[Category: M2TW Modding]]

Latest revision as of 03:46, 3 January 2021

This file is for defining music types as play on campaign. This file has to be in the same folder as descr_regions.txt.

Music in M2TW is different from RTW in that instead of given music based on culture of faction player played, M2TW would play music based on area on the map under some conditions and play music based on faction player played in some conditions.

Structure of this file working like this....

 music_type { defined_music_type, name it yourself as it would be use in descr_sounds_music.txt }
  	regions { list of region names as defined in descr_regions.txt } (this line could be using more than once)
 	factions { list of faction as defined in descr_sm_factions.txt }
 ...
 music_type { defined_music_type, name it yourself as it would be use in descr_sounds_music.txt }
  	regions { list of region names as defined in descr_regions.txt } (this line could be using more than once)
 	factions { list of faction as defined in descr_sm_factions.txt }

Note: All music_type which using in this file must also add to the list of "music_types_enum" in descr_sounds.txt in order to be used in descr_sounds_music.txt.