zCVobSound¶
Quick Infos
Type: Virtual Object
Format Name: ZenGin Archive
File Extension: .ZEN
Class Name: zCVobSound
Version Identifiers:
— Gothic I: 12289
— Gothic II: 12289
ZenKit Class: VSound
Sources:
— spacerhilfedatei.sph
— gothic-library.ru
Emits a sound defined by a script instance in a given radius. The sound playback can be activated by sending an
OnTrigger
event to the VObject and sending an OnUntrigger
event disables the sound playback.
- zCVob
- zCZone
- zCVobSound
- Sound
- sndVolume = 100
- sndMode = LOOPING
- sndRandDelay = 5
- sndRandDelayVar = 2
- sndStartOn = TRUE
- sndAmbient3D = FALSE
- sndObstruction = FALSE
- sndConeAngle = 0
- sndVolType = SPHERE
- sndRadius = 1200
- sndName = ""
- Sound
- zCVob
- zCZone
- zCVobSound
- Sound
- sndVolume = 100
- sndMode = LOOPING
- sndRandDelay = 5
- sndRandDelayVar = 2
- sndStartOn = TRUE
- sndAmbient3D = FALSE
- sndObstruction = FALSE
- sndConeAngle = 0
- sndVolType = SPHERE
- sndRadius = 1200
- sndName = ""
- Sound
- zCVob
- zCZone
- zCVobSound
- Sound
- sndVolume = 100
- sndMode = LOOPING
- sndRandDelay = 5
- sndRandDelayVar = 2
- sndStartOn = TRUE
- sndAmbient3D = FALSE
- sndObstruction = FALSE
- sndConeAngle = 0
- sndVolType = SPHERE
- sndRadius = 1200
- sndName = ""
- soundIsRunning = FALSE
- soundAllowedToRun = FALSE
- Sound
- zCVob
- zCZone
- zCVobSound
- Sound
- sndVolume = 100
- sndMode = LOOPING
- sndRandDelay = 5
- sndRandDelayVar = 2
- sndStartOn = TRUE
- sndAmbient3D = FALSE
- sndObstruction = FALSE
- sndConeAngle = 0
- sndVolType = SPHERE
- sndRadius = 1200
- sndName = ""
- soundIsRunning = FALSE
- soundAllowedToRun = FALSE
- Sound
Properties¶
sndVolume
¶
- The volume of the sound effect in percent (0-100).
sndMode
¶
-
Determines how the sound effect is played.
LOOPING
— The sound effect is repeated endlesslyONCE
— The sound plays onceRANDOM
— The sound effect is repeated endlessly with a random delay between repetitions
sndRandDelay
¶
-
The average delay between repetitions in seconds if
sndMode
isRANDOM
.Warning
Only relevant if
sndMode
isRANDOM
.
sndRandDelayVar
¶
-
The maximum deviation of the random delay between repetitions if
sndMode
isRANDOM
. The resulting delay will be a value betweensndRandDelay
±sndRandDelayVar
.Warning
Only relevant if
sndMode
isRANDOM
.
sndStartOn
¶
-
Whether to start the sound when loading the world.
TRUE
— Start the sound when the world is loadedFALSE
— Only start the sound in response to anOnTrigger
event
sndAmbient3D
¶
- Determines whether the sound is an omnidirectional ambient sound. It will change volume depending on the distance
to this VObject, but it won't sound as if this VObject is emitting the effect.
TRUE
— Emit an ambient sound effect.FALSE
— Emit a directional sound effect.
sndObstruction
¶
- Whether to dampen the sound when there is no direct path from the VObject to the listener.
TRUE
— The sound is dampened by obstructions.FALSE
— The sound is not dampened.
sndConeAngle
¶
- When set to a value other than
0
, determines a cone in front of the VObject in which the sound can be heard. To listeners outside of that cone, the sound is not heard. Only values between0
and360
are valid.
sndVolType
¶
-
Determines the type of volume used to check whether the sound can be heard.
SV_SPHERE
— The sound the be heard in a sphere around this VObject.SV_ELLIPSOID
— The sound can be heard within an ellipsoid defined by the VObject's bounding box.
sndRadius
¶
- The radius in which the sound can be heard.
sndName
¶
- The name of the script instance describing the sound.
soundIsRunning
¶
-
Unknown.
Warning
This property is only available in saved games.
soundAllowedToRun
¶
-
Unknown.
Warning
This property is only available in saved games.