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 units.txt

From TWC Wiki
Jump to navigationJump to search
Rome:Total War & Remastered - Modding Index

M2TW Modding Index



This file is subsidiary file of descr_sounds.txt. This file function similarly to descr_sounds.txt but mainly as preferenc setting for units' sound. In RTW, this file is also act as primary header file for all sound files in descr_sounds_units_*.txt.

Units Sound Preference Setting

File's structure.

 DEFAULT: modifiers

DEFAULT = setting which declare by this would be using for follow sound events unless specified in event or DEFAULT is declared in the same category again.

List of modifers (X indicated value for setting)

3d - sound has distance/direction modification

1d - sound has no distance/direction modification

Streamed - read from disk instead of embedded file in memory at the game startup

looped - overwrite the parameter in play_tracked_sound

ducking - temporary lowering other sounds (not use in vanilla RTW but could be used in RTW)

retrigger X - delay before retriggering the sound, using for music (X is in second)

minDist X - minimum distance which would hear the sound (X must more than 1.0)

maxDist X - maximum distance which sound would still be heard

priority X - (X = between 0 to 9999)

Volume X - modifier to based sound volume set in the preference (X = between -100 to 0 db)

probability X -

minPitch X -

maxPitch X -

dry_level X - (X = 0 to 1 }

wet_level X - (X = 0 to 1 }

delay X - delay in seconds before next 3d sounds start playing

randomdelay X - delay within seconds before next 3d sounds start playing

probradius X -

fadein X -

fadeout X -

pref X - sound preference setting to be use for events below (X = sfx/speech/music/INTERFACE }

pan X - 2D events only, from 0 (hard-left) to 1.0 (hard-right) 0.5 - default

ignore_pause X -

distancepriority X -

effect_level X -

rndvolume X -

 grid_cell_size 40  ;; (metres) should be divisible by PHYSICAL_GRID::GRID_CELL_SIZE

M2TW ONLY This setting is only appear on M2TW. It is new grid based system. For old grid based system in RTW, see "unit_proximity_distance" below.

 do_unit_anim_switch 0 ;; 0 - off, 1 - on
 
 unit_anim_switch -6     ; RTW setting
 unit_anim_switch 2      ; M2TW setting

unit_anim_switch (metres) - distance from the camera at which animation sounds are replaced with unit sounds.

 unit_proximity_distance 50

RTW ONLY: unit_proximity_distance (metres) - distance between the units when only the largest lod is getting played and the other sound is ignored. This system is for RTW only. For system in M2TW, it setting by "grid_cell_size" above.

 unit_start_delay    .5     ; RTW setting
 unit_start_delay    0      ; M2TW setting

Delay before starting looping sounds of units

 unit_change_delay   .5     ; RTW setting
 unit_change_delay   0      ; M2TW setting

Delay before changing looping sounds of units from one status to another

 unit_collide_threshold 40     ; RTW setting
 unit_collide_threshold 10     ; M2TW setting

The percentage of soldier in a unit to trigger collision sound

 unit_under_attack_delay 60     ; RTW setting
 unit_under_attack_delay 120    ; M2TW setting

Delay before re-triggering "under attack" speech

 unit_warhorns_delay 15

Delay between war horn sounds for each faction (seconds)

 do_unit_idle_probability            1
 unit_idle_probability_scale         3.5
 do_unit_ambient_probability         1
 unit_ambient_probability_scale      3.5

Probability scales are applied as <scale>/<unit size>, more soldiers there are in a unit the lower is the probability.

Inclusion Part (RTW only)

At the bottom of this file contain list of files which are subsidiary which this file delegated its own content to. This section only exist in RTW version. In M2TW, Files in list below would be listed inside descr_sounds.txt.

 include descr_sounds_units_ambient.txt
 include descr_sounds_units_idle.txt
 include descr_sounds_units_march.txt
 include descr_sounds_units_run.txt
 include descr_sounds_units_charge.txt
 include descr_sounds_units_fight.txt
 include descr_sounds_units_fire.txt
 include descr_sounds_units_anims.txt
 include descr_sounds_units_voice.txt
 include descr_sounds_units_reform.txt
 include descr_sounds_units_collide.txt
 include descr_sounds_units_taunt.txt
 include descr_sounds_units_retreat.txt
 include descr_sounds_units_confirm.txt
 include descr_sounds_units_celebrate.txt

Note: export_descr_sounds_units_voice.txt and export_descr_sounds_soldier_voice.txt are not listed here due to they are subsidiary of descr_sounds_units_voice.txt.

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