Difference between revisions of "Descr sounds units collide.txt"
(Created page with "This file is delegated file from descr_sounds_units.txt for manage sound bank: "unit_charge". File's structure has pattern according to below. DEFAULT: modifiers DEFA...") |
(category and logo) |
||
(3 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: " | + | {{RTW M2TW Modding Logo}}<br> |
+ | This file is delegated file from [[descr_sounds_units.txt]] for manage sound bank: "unit_collide". | ||
File's structure has pattern according to below. | File's structure has pattern according to below. | ||
DEFAULT: modifiers | 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. | 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. | ||
Line 93: | Line 92: | ||
unit { unit_category } { unit_class ; split each entries by "," } | unit { unit_category } { unit_class ; split each entries by "," } | ||
− | event lod | + | event lod 1 modifiers |
folder { base path } | folder { base path } | ||
{sample name} modifiers (any of probability, volume etc) | {sample name} modifiers (any of probability, volume etc) | ||
Line 113: | Line 112: | ||
type { unit_type ; split each entries by "," } | type { unit_type ; split each entries by "," } | ||
− | event modifiers | + | event lod 1 modifiers |
folder { base path } | folder { base path } | ||
{sample name} modifiers (any of probability, volume etc) | {sample name} modifiers (any of probability, volume etc) | ||
Line 130: | Line 129: | ||
end | end | ||
− | [[Category: M2TW | + | [[Category: M2TW Sound Files]] |
− | [[Category:RTW | + | [[Category:RTW Sound Files]] |
Latest revision as of 13:15, 13 March 2021
This file is delegated file from descr_sounds_units.txt for manage sound bank: "unit_collide".
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_collide
This declare start of sound bank "unit_collide" which are sound of unit collide with one another.
Condition that could using here are either unit or type with pattern below.
unit { unit_category } { unit_class ; split each entries by "," } type { unit_type ; split each entries by "," }
Note: Choose only one of them at the time.
Available unit_category are the same as in export_descr_units.txt
infantry cavalry siege handler ship non_combatant
Available unit_class are the same as in export_descr_units.txt
light heavy missile spearmen
Available unit_type are what defined inside export_descr_units.txt
Event entry follow this pattern.
unit { unit_category } { unit_class ; split each entries by "," } event lod 1 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 4 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
Or...
type { unit_type ; split each entries by "," } event lod 1 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 4 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