ambient_generic
< Ru
Jump to navigation
Jump to search
| CAmbientGeneric |

ambient_generic - это точечная энтити, доступно для всех игр на движке
GoldSrc.
Это, по сути, аудиоплеер, который воспроизводит один заданный звук в пределах заданного радиуса внутри карты. Ambient_generics используются для создания звуковых эффектов по всей карте, воспроизводя звук один раз или постоянно повторяя его (зацикливая). ambient_generic использует звук из WAV-файлов, расположенных в директории звуковых файлов игры. Например: Half-Life\valve\sound\barney\hello.wav.
Смотрите также: Зацикливание звука
This page has not been fully translated.
You can help by finishing the translation.
If this page cannot be translated for some reason, or is left untranslated for an extended period of time after this notice is posted, the page should be requested to be deleted.
Also, please make sure the article complies with the alternate languages guide.
You can help by finishing the translation.
If this page cannot be translated for some reason, or is left untranslated for an extended period of time after this notice is posted, the page should be requested to be deleted.
Also, please make sure the article complies with the alternate languages guide.
Ключ-параметры
- Name (targetname) <объект источник>
- The targetname that other entities refer to this entity by, usually via the target, killtarget, and TriggerTarget KVs.
- WAV Name (message) <sound>
-
The file name of the sound to play (relative to the mod/sound folder, i.e.
ambience/techamb1.wav), or a sentence (if prefixed with!, i.e.!HG_ALERT1)).
Prefix the name (not the path![Подтвердить]) with a*if the sound should be streamed (i.e.ambience/*speak2.wav); streamed sounds will not be cached.
- Volume (health) <целое число>
- Число от 1 до 10, соответствующая изменению громкости воспроизведения звука, где 10 - самый громкий, а 1 - почти бесшумный.
- Dynamic Presets (preset) <варианты выбора>
-
- Изменяет звучание с помощью различных эффектов и реверберации.
- 0 : "None"
- 1 : "Huge Machine"
- 2 : "Big Machine"
- 3 : "Machine"
- 4 : "Slow Fade in"
- 5 : "Fade in"
- 6 : "Quick Fade in"
- 7 : "Slow Pulse"
- 8 : "Pulse"
- 9 : "Quick pulse"
- 10 : "Slow Oscillator"
- 11 : "Oscillator"
- 12 : "Quick Oscillator"
- 13 : "Grunge pitch"
- 14 : "Very low pitch"
- 15 : "Low pitch"
- 16 : "High pitch"
- 17 : "Very high pitch"
- 18 : "Screaming pitch"
- 19 : "Oscillate spinup/down"
- 20 : "Pulse spinup/down"
- 21 : "Random pitch"
- 22 : "Random pitch fast"
- 23 : "Incremental spinup"
- 24 : "Alien"
- 25 : "Bizzare"
- 26 : "Planet X"
- 27 : "Haunted"
- Изменяет звучание с помощью различных эффектов и реверберации.
- Start Volume (volstart) <целое число>
- Уровень громкости, с которого начнётся плавное изменение громкости звука, если указано время затихания.
- Fade in time (fadein) <целое число>
- Time to fully fade from start volume to volume.
- Fade out time (fadeout) <целое число>
- Time to fully fade from volume to start volume.
- Pitch (pitch) <целое число>
- Число от 1 до 255, соответствующее изменению тональности звучания. 1 - низкая, 100 - нормальная, 255 - высокая.
- Start Pitch (pitchstart) <целое число>
- The pitch to start a fade in at if fadein time is specified.
- Spin up time (spinup) <целое число>
- The time it takes for each incremental spinup if specified to be used.
- Spin down time (spindown) <целое число>
- The time it takes for each incremental spindown if specified to be used.
- LFO type (lfotype) <целое число>
-
Тип вибраций генератора низкой частоты, который нужно задействовать.
- off (Отключено) Значение по умолчанию.
- square (Меандр) Частота меняется между низкой и высокой.
- tri (Пилообразные импульсы) Резкие переходы.
- random (Случайно)
- LFO rate (lforate) <целое число>
- Частота с которой эффект вибрации повторяется.
- LFO mod pitch (lfomodpitch) <целое число>
-
Влияет на тональность звука или
вибрато. Большие значения увеличивают тональность - у певцов в голосе преобладают низкие частоты, а в звучании сирены - высокие.
- LFO mod vol (lfomodvol) <целое число>
-
Влияет на громкость звука, создавая эффект его "пульсации". Соответственно к
тремоло. At a really high rate, this can make the same effect as talking through fan blades.
- Incremental spinup count (cspinup) <целое число>
- The amount of incremental spinups to do if specified to be used.
Признаки
- 1 : "Play Everywhere"
Важно: This does not disable directionality, only attenuation! To simulate disabled directionality without a custom audio backend, place three or four identical ambient_generic entities in the far corners of the map.
- 2 : "Small Radius"
- 4 : "Medium Radius"
- 8 : "Large Radius"
- 16 : "Start Silent"
- 32 : "Not Toggled"
- Enable this flag for non-looping sounds. Older FGDs (pre-2001) call this flag "Is Not Looped" instead.