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

From TWC Wiki
Jump to navigationJump to search
(Created page with "This file is delegated file from descr_sounds_units.txt for manage sound bank: "unit_fighting". File's structure has pattern according to below. DEFAULT: modifiers DE...")
 
(category and logo)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
This file is delegated file from [[descr_sounds_units.txt]] for manage sound bank: "unit_fighting".
+
{{RTW M2TW Modding Logo}}<br>
 +
This file is delegated file from [[descr_sounds_units.txt]] for manage sound bank: "unit_confirm".
  
 
File's structure has pattern according to below.
 
File's structure has pattern according to below.
Line 61: Line 62:
 
'''rndvolume X''' -
 
'''rndvolume X''' -
  
   BANK: unit_fighting
+
   BANK: unit_confirm
  
This declare start of sound bank "unit_fighting" which are sound of unit group fighting.
+
This declare start of sound bank "unit_confirm" which are sound of unit group confirm.
  
 
Condition that could using here are either unit or type with pattern below.
 
Condition that could using here are either unit or type with pattern below.
  
   unit { unit_category } { unit_class ; split each entries by "," }
+
   culture { culture_type as defined in [[descr_cultures.txt]] } (using in RTW only)
   type { unit_type ; split each entries by "," }
+
   accent { accent_type as defined in [[descr_sounds_accents.txt]] } (using in M2TW only)
  
 
'''Note:''' Choose only one of them at the time.
 
'''Note:''' Choose only one of them at the time.
  
Available unit_category are the same as in [[export_descr_units.txt]]
+
This would be follow by...
  infantry
 
  cavalry
 
  siege
 
  handler
 
  ship
 
  non_combatant
 
  
Available unit_class are the same as in [[export_descr_units.txt]]
+
   class { unit_voice_type }
   light
 
  heavy
 
  missile
 
  spearmen
 
  
Available unit_type are what defined inside [[export_descr_units.txt]]
+
Available unit_voice_type is as defined and use by [[export_descr_unit.txt]]
  
Event entry follow this pattern.
+
The pattern of format of each set is below...
  
   unit { unit_category } { unit_class ; split each entries by "," }
+
   culture/accent { culture_type/accent_type }
       event lod 3 modifiers
+
    class { unit_voice_type }
 +
       event lod 5 modifiers
 
         folder { base path }
 
         folder { base path }
 
           {sample name}    modifiers (any of probability, volume etc)
 
           {sample name}    modifiers (any of probability, volume etc)
Line 99: Line 91:
 
           {sample name} ...
 
           {sample name} ...
 
       end
 
       end
       event lod 40 modifiers
+
       event lod 10 modifiers
 
         folder { base path }
 
         folder { base path }
 
           {sample name}    modifiers (any of probability, volume etc)
 
           {sample name}    modifiers (any of probability, volume etc)
Line 107: Line 99:
 
           {sample name} ...
 
           {sample name} ...
 
       end
 
       end
       event lod 80 modifiers
+
       event lod 30 modifiers
 
         folder { base path }
 
         folder { base path }
 
           {sample name}    modifiers (any of probability, volume etc)
 
           {sample name}    modifiers (any of probability, volume etc)
Line 115: Line 107:
 
           {sample name} ...
 
           {sample name} ...
 
       end
 
       end
 
+
      .....
Or...
+
   class { unit_voice_type }
 
+
       event lod 5 modifiers
   type { unit_type ; split each entries by "," }
 
       event lod 3 modifiers
 
 
         folder { base path }
 
         folder { base path }
 
           {sample name}    modifiers (any of probability, volume etc)
 
           {sample name}    modifiers (any of probability, volume etc)
Line 127: Line 117:
 
           {sample name} ...
 
           {sample name} ...
 
       end
 
       end
       event lod 40 modifiers
+
       event lod 10 modifiers
 
         folder { base path }
 
         folder { base path }
 
           {sample name}    modifiers (any of probability, volume etc)
 
           {sample name}    modifiers (any of probability, volume etc)
Line 135: Line 125:
 
           {sample name} ...
 
           {sample name} ...
 
       end
 
       end
       event lod 80 modifiers
+
       event lod 30 modifiers
 
         folder { base path }
 
         folder { base path }
 
           {sample name}    modifiers (any of probability, volume etc)
 
           {sample name}    modifiers (any of probability, volume etc)
Line 145: Line 135:
  
 
'''Note:'''  
 
'''Note:'''  
- Method which using "type" is using in vanill RTW (which using for make unit sound based on ethnic of unit) and method which using "unit" is using in vanilla M2TW. But both conditions are valid in both RTW and M2TW.
 
  
- If modder is not worry about losing of some minor sound detail, method as using by M2TW is more efficient and could save some memory usage.
+
- If modder is not worry about losing of some minor sound detail, method as using by M2TW (all culture/accent use the same confirm set) is more efficient and could save some memory usage.
  
- female sound is only define and use in RTW by using condition "type" to female units
+
- female confirm voice in vanilla RTW of all culture are shared the same set and use the same voice as method to organized more efficiently.
  
[[Category: M2TW Modding]]
+
[[Category: M2TW Sound Files]]
[[Category:RTW Modding]]
+
[[Category:RTW Sound Files]]

Latest revision as of 13:21, 13 March 2021

Rome:Total War & Remastered - Modding Index

M2TW Modding Index



This file is delegated file from descr_sounds_units.txt for manage sound bank: "unit_confirm".

File's structure has pattern according to below.

 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 -

 BANK: unit_confirm

This declare start of sound bank "unit_confirm" which are sound of unit group confirm.

Condition that could using here are either unit or type with pattern below.

 culture { culture_type as defined in descr_cultures.txt } (using in RTW only)
 accent { accent_type as defined in descr_sounds_accents.txt } (using in M2TW only)

Note: Choose only one of them at the time.

This would be follow by...

 class { unit_voice_type }

Available unit_voice_type is as defined and use by export_descr_unit.txt

The pattern of format of each set is below...

 culture/accent { culture_type/accent_type }
   class { unit_voice_type }
      event lod 5 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
      event lod 10 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
      event lod 30 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
      .....
 class { unit_voice_type }
      event lod 5 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
      event lod 10 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
      event lod 30 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

Note:

- If modder is not worry about losing of some minor sound detail, method as using by M2TW (all culture/accent use the same confirm set) is more efficient and could save some memory usage.

- female confirm voice in vanilla RTW of all culture are shared the same set and use the same voice as method to organized more efficiently.