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:
integerNo description
- distanceMin 🔗
Type:
integerNo description
- event 🔗
Type:
stringNo description
- file 🔗
Type:
stringNo description
- pitch 🔗
Type:
floatNo description
- reverbFactor 🔗
Type:
floatNo description
- reverbMaxRange 🔗
Type:
floatNo description
- stopImmediate 🔗
Type:
AnyNo description
- volume 🔗
Type:
floatNo description