clip#

Defines a clip to be used in a sound script, which is a single sound file with properties that determine how it is played in the game.

module yourModule {
  sound yourSound {
    category = Animal,
    loop = true,
    is3D = true,
    clip {
      file = media/sound/RideOfTheValkyries.ogg,
      distanceMin = 20,
      distanceMax = 650,
      reverbFactor = 0.1,
      volume = 0.7,
    }
  }
}

Hierarchy#

Valid Parent Blocks:

ID Properties#

This block should not have an ID.

Parameters#

distanceMax#

Type:

integer

No description

distanceMin#

Type:

integer

No description

event#

Type:

string

No description

file#

Type:

string

No description

pitch#

Type:

float

No description

reverbFactor#

Type:

float

No description

reverbMaxRange#

Type:

float

No description

stopImmediate#

Type:

Any

No description

volume#

Type:

float

No description