Skip to content

oCZoneMusic

Quick Infos

Type: Virtual Object
Format Name: ZenGin Archive
File Extension: .ZEN
Class Name: oCZoneMusic
Version Identifiers:
— Gothic I: 0
— Gothic II: 0
ZenKit Class: VZoneMusic
Sources:
spacerhilfedatei.sph
gothic-library.ru

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.

Tip

If the suffix _NCI or _NCO is added to the end of the zone name, it snows instead of rains in the zone.

Properties

enabled

Whether the music zone is enabled when loading the level. When disabled, no music will be played in the zone.
TRUE — Enable the music zone when loading the level. FALSE — 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.

  • 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.