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

From TWC Wiki
Revision as of 09:39, 31 December 2020 by Suppanut (talk | contribs) (Created page with "This file is delegated file from descr_sounds.txt to manage sound events related to historic battle narrations. There is no sound bank specific to historic battle narratio...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This file is delegated file from descr_sounds.txt to manage sound events related to historic battle narrations. There is no sound bank specific to historic battle narration as all of them are customized event which could be play by command from script.

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.


  event { event name } modifiers
      folder { base path }
      {sample name}     modifiers (any of probability, volume etc)
      {sample name} ...
      folder { base path , in case files have different location}
      {sample name}     modifiers (any of probability, volume etc)
      {sample name} ...
  end
 

{sample name} = name of sound sample file (if extension is .wav, extension could be omitted)

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 - (found in M2TW's descr_sounds_advice.txt and never use in vanilla 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 -


Note: Narration subtitle could be assigned by use {sample name} (not included extension .mp3) as entry's item in "data\text\historic_battles_subtitles.txt". Display time of subtitle depend on time length which mp3 files are played.

The end of this file in vanilla M2TW contains....

 source export_descr_sounds_narration.txt

In M2TW, this file only contain sound event for sergeant to trigger in script while all pre-historic battle narrations are delegated export_descr_sounds_narration.txt

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