oCZoneMusic
Quick Infos
Class Name: oCZoneMusic
Version Identifiers:
β Gothic I: 0
β Gothic II: 0
Sources:
β spacerhilfedatei.sph
β gothic-library.ru
β zk.gothickit.dev
A VObject which defines the music to be played within its bounding box. Music zones may overlap; if they do, their priority
property determines which music zone should be used. The camera object is used to test which music zone applies. If no music zone applies the music defined in the optional oCZoneMusicDefault
is used.
The name of the music theme to be played is defined by the vobName
. Notice that end of the name is taken as a C_MUSICTHEME prefix. For example zone OLDCAMP_OC
will play theme starting with OC_
.
Tip
If the suffix _NCI
or _NCO
is added to the end of the zone name, it snows instead of rains in the zone.
Class members
- zCVob
- zCZone
- oCZoneMusic
- enabled = TRUE
- priority = 0
- ellipsoid = FALSE
- reverbLevel = 0
- volumeLevel = 100
- loop = TRUE
- zCVob
- zCZone
- oCZoneMusic
- enabled = TRUE
- priority = 0
- ellipsoid = FALSE
- reverbLevel = 0
- volumeLevel = 100
- loop = TRUE
- zCVob
- zCZone
- oCZoneMusic
- enabled = TRUE
- priority = 0
- ellipsoid = FALSE
- reverbLevel = 0
- volumeLevel = 100
- loop = TRUE
- local_enabled = FALSE
- dayEntranceDone = FALSE
- nightEntranceDone = FALSE
- zCVob
- zCZone
- oCZoneMusic
- enabled = TRUE
- priority = 0
- ellipsoid = FALSE
- reverbLevel = 0
- volumeLevel = 100
- loop = TRUE
- local_enabled = FALSE
- dayEntranceDone = FALSE
- nightEntranceDone = FALSE
Class member overview
enabled
Whether the music zone is enabled when loading the level. When disabled, no music will be played in the zone.
Accepted values:
TRUE
β Enable the music zone when loading the levelFALSE
β The not enable the zone
priority
The priority of the music zone if two zones overlap. A higher number means a higher priority. 0
is the lowest possible priority.
Warning
Only relevant if two zCZoneMusic
zones overlap.
ellipsoid
Determines the shape of the zone.
Accepted values:
TRUE
β The zone forms an ellipsoid within the bounding box.FALSE
β The zone exactly mirrors the bounding box.
reverbLevel
Unclear.
volumeLevel
Unclear.
loop
Unclear.
local_enabled
Unknown.
Warning
This property is only available in saved games.
dayEntranceDone
Unknown.
Warning
This property is only available in saved games.
nightEntranceDone
Unknown.
Warning
This property is only available in saved games.