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.

Descr sounds.txt

From TWC Wiki
Jump to navigationJump to search
RTW Modding Index

M2TW Modding Index



This file is header of all files in descr_sounds_*.txt. Most of its contents has been distributed to its subsidiary through "include" command at the bottom of the file. So what currently left in this file are mostly setting preference in detail of sounds for the engine which would be using as default value unless subsidiary files declared modifier for their own use.

In-Depth Audio Setting

Here are list of setting inside this file along with vanilla setting of this file in both RTW and M2TW.

 required_samples_cutoff 2

will limit load that many samples of the sound banks could be loaded at the same time.

 rolloff_factor 0.4   ; Vanilla RTW setting
 rolloff_factor 1.0   ; Vanilla M2TW setting
 
 doppler_factor 2.0   ; RTW setting
 doppler_factor 0.5   ; M2TW setting

This setting is based on DirectSound driver, see "Minimum and Maximum Distances" page in DirectSound help.

rollof_factor by default is 1.0f

 stratmap_rolloff_factor 3

This setting is based on DirectSound driver, see "Minimum and Maximum Distances" page in DirectSound help.

strat map rollof_factor by default is 1.0f

 volume_cutoff .10   ; RTW setting
 volume_cutoff .01   ; M2TW setting

default maxdist percentage. This is the percentage of the volume at which the sound is turned off.

 priority_floor -1000.0

priority floor (priority units)

 pitch_offset .2

pitch offset for water, wind and rain sounds

 ducking_on          1       ; 0- off, 1 - on
 ducking_fade_in     1       ; in seconds
 ducking_fade_out    1       ; in seconds
 ducking_amount      -30     ; in volume units   ; RTW setting
 ducking_amount      -40     ; in volume units   ; M2TW setting

Audio ducking control

 cam_cull_radius_unit    100.0f;

M2TW only, Camera culling sphere radius for event triggering of units, default = 10.0f

 cam_cull_radius_engine  2000.0f;

M2TW only, Camera culling sphere radius for event triggering of siege engines, default = 10.0f

Environment Audio Extension Setting

This part is sound setting for sound card

 EAX:
     global
         parameter   "Mute at maximum"       0
 
     terrain grass_short, grass_long, scrub_dense
         room        ENVIRONMENT_GENERIC
 
     terrain sand, rock
         room        ENVIRONMENT_GENERIC
 
     terrain forest_dense
         room        ENVIRONMENT_GENERIC
 
     terrain swamp
         room        ENVIRONMENT_GENERIC
 
     terrain mud
         room        ENVIRONMENT_GENERIC
 
     terrain mud_road
         room        ENVIRONMENT_GENERIC
 
     terrain stone_road
         room        ENVIRONMENT_GENERIC
 
     terrain water
         room        ENVIRONMENT_GENERIC
 
     terrain ice
         room        ENVIRONMENT_GENERIC
 
     terrain snow
         room        ENVIRONMENT_GENERIC
 
     terrain wood
         room        ENVIRONMENT_GENERIC
 
     terrain dirt
         room        ENVIRONMENT_GENERIC
 
     city
     level town, large_town, city, large_city, huge_city              ; village, 
     provider "Creative Labs EAX 3 (TM)", "Creative Labs EAX 2 (TM)"    ; RTW setting
     provider "Creative Labs EAX 4 (TM)", "Creative Labs EAX 3 (TM)", "Creative Labs EAX 2 (TM)"    ; M2TW setting
         room        ENVIRONMENT_ALLEY
         parameter   "EAX effect volume"     1.0    ; RTW setting
         parameter   "EAX effect volume"     .8    ; M2TW setting
     
     provider "Miles Fast 2D Positional Audio"
         room        ENVIRONMENT_ALLEY
 
  ;;;;;  smaller christmas tree forest    ; RTW setting
  ;;;;;  small forest    ; M2TW setting
     forest
     climates sandy_desert, swamp, sub_arctic, semi_arid, temperate_grassland_fertile, temperate_grassland_infertile    ; RTW setting
     climates tropical, semi_arid, steppe, highland ; sandy_desert,     ; M2TW setting
     provider "Miles Fast 2D Positional Audio"
         room        ENVIRONMENT_FOREST
         parameter   "EAX effect volume"     .6    ; RTW setting
         parameter   "EAX effect volume"     .2    ; M2TW setting
     provider "Creative Labs EAX 3 (TM)", "Creative Labs EAX 2 (TM)"    ; RTW setting
     provider "Creative Labs EAX 4 (TM)", "Creative Labs EAX 3 (TM)", "Creative Labs EAX 2 (TM)"    ; M2TW setting
         room        ENVIRONMENT_FOREST
         parameter   "EAX effect volume"     .6    ; RTW setting
         parameter   "EAX effect volume"     .2    ; M2TW setting
     
 ;;;;  big large tree forest 
 ;;;;  large  forest 
    forest
     climates temperate_forest_open, temperate_forest_deep, alpine    ; RTW setting
     climates temperate_deciduous_forest, temperate_coniferous_forest, alpine    ; M2TW setting
     provider "Miles Fast 2D Positional Audio"
         room        ENVIRONMENT_FOREST
         parameter   "EAX effect volume"     1.0    ; RTW setting
         parameter   "EAX effect volume"     .6    ; M2TW setting
     provider "Creative Labs EAX 3 (TM)", "Creative Labs EAX 2 (TM)"    ; RTW setting
     provider "Creative Labs EAX 4 (TM)", "Creative Labs EAX 3 (TM)", "Creative Labs EAX 2 (TM)"    ; M2TW setting
         room        ENVIRONMENT_FOREST
         parameter   "EAX effect volume"     1.0    ; RTW setting
         parameter   "EAX effect volume"     .6    ; M2TW setting
 
     frontend
         master_room ENVIRONMENT_FOREST
         parameter   "EAX effect volume"     1.0    ; RTW setting
         parameter   "EAX effect volume"     .6    ; M2TW setting
     
     campaign
         master_room ENVIRONMENT_FOREST
         parameter   "EAX effect volume"     1.0    ; RTW setting
         parameter   "EAX effect volume"     .6    ; M2TW setting
         end

List of used music types

 music_types_enum { music_type } { music_type } ..... { music_type }

All of music_type which defined in descr_sounds_music_types.txt must also add to the list in this part in order to be used in descr_sound_music.txt.

Inclusion Part

At the bottom of this file contain list of files which are subsidiary which this file delegated its own content to. Those files could be rearranged and reorganized or even create new files for the list to modder's preference.

 include descr_sounds_accents.txt    ; M2TW only
 include descr_sounds_music.txt
 include descr_sounds_interface.txt
 include descr_sounds_stratmap.txt
 include descr_sounds_stratmap_anims.txt    ; RTW only
 include descr_sounds_stratmap_voice.txt
 include descr_sounds_units.txt
 include descr_sounds_units_ambient.txt    ; This file only listed here in M2TW, in RTW it listed in descr_sounds_units.txt
 include descr_sounds_units_idle.txt    ; This file only listed here in M2TW, in RTW it listed in descr_sounds_units.txt
 include descr_sounds_units_march.txt    ; This file only listed here in M2TW, in RTW it listed in descr_sounds_units.txt
 include descr_sounds_units_run.txt    ; This file only listed here in M2TW, in RTW it listed in descr_sounds_units.txt
 include descr_sounds_units_charge.txt    ; This file only listed here in M2TW, in RTW it listed in descr_sounds_units.txt
 include descr_sounds_units_fight.txt    ; This file only listed here in M2TW, in RTW it listed in descr_sounds_units.txt
 include descr_sounds_units_fire.txt    ; This file only listed here in M2TW, in RTW it listed in descr_sounds_units.txt
 include descr_sounds_units_anims.txt    ; This file only listed here in M2TW, in RTW it listed in descr_sounds_units.txt
 include descr_sounds_units_voice.txt    ; This file only listed here in M2TW, in RTW it listed in descr_sounds_units.txt
 include descr_sounds_units_reform.txt    ; This file only listed here in M2TW, in RTW it listed in descr_sounds_units.txt
 include descr_sounds_units_collide.txt    ; This file only listed here in M2TW, in RTW it listed in descr_sounds_units.txt
 include descr_sounds_units_taunt.txt    ; This file only listed here in M2TW, in RTW it listed in descr_sounds_units.txt
 include descr_sounds_units_retreat.txt    ; This file only listed here in M2TW, in RTW it listed in descr_sounds_units.txt
 include descr_sounds_units_confirm.txt    ; This file only listed here in M2TW, in RTW it listed in descr_sounds_units.txt
 include descr_sounds_units_celebrate.txt    ; This file only listed here in M2TW, in RTW it listed in descr_sounds_units.txt
 include descr_sounds_weapons.txt
 include descr_sounds_structures.txt
 include descr_sounds_enviro.txt
 include descr_sounds_engine.txt
 include descr_sounds_events.txt
 include descr_sounds_advice.txt
 include descr_sounds_prebattle.txt
 include descr_sounds_battle_events.txt
 include descr_sounds_narration.txt
 include descr_sounds_generic.txt    ; M2TW only
YOU can help us improve this Wiki! ~ Look for ways to help and editing advice. ~ If you need further advice, please post here.