Script:zoneparam ambiance: Difference between revisions
m (Dscharrer moved page Script:zoneparam to Script:zoneparam ambiance: Only one subcommand) |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
. | {{ScriptCommandPage | ||
|description=change the active zone [[AMB file format|ambiance]] | |||
|parameters= | |||
ambiance path Path of the [[AMB file format|.amb file]] to play, relative to <code>sfx/ambiance</code> and may omit the <code>.amb</code> extension | |||
|intro=Ambiances are an Arx-specific format for background music tracks mixed in real time from individual samples. | |||
[[Zone]]s can have an associated ambiance, which is automatically played when entering the zone. Exiting the zone does not stop the ambiance but entering a different zone with an ambiance fades out the old zone ambiance and fades in the ambiance of the new zone to replace it. The active zone ambiance can also be changed using this command. | |||
Ambiances can also be played manually with the {{Command|ambiance}} command, which does not stop any existing zone or script ambiances, allowing multiple ambiances to be played simultaneously. The {{Command|ambiance|kill}} invocation stops '''all''' ambiances, including the active zone ambiance. | |||
}} |
Latest revision as of 12:37, 17 June 2022
The zoneparam ambiance
script command is used to change the active zone ambiance. Ambiances are an Arx-specific format for background music tracks mixed in real time from individual samples.
Zones can have an associated ambiance, which is automatically played when entering the zone. Exiting the zone does not stop the ambiance but entering a different zone with an ambiance fades out the old zone ambiance and fades in the ambiance of the new zone to replace it. The active zone ambiance can also be changed using this command.
Ambiances can also be played manually with the ambiance
command, which does not stop any existing zone or script ambiances, allowing multiple ambiances to be played simultaneously. The ambiance kill
invocation stops all ambiances, including the active zone ambiance.
Usage
zoneparam ambiance <ambiance>
Context: Ignored
Parameters:
Parameter | Type | Description |
---|---|---|
ambiance |
path |
Path of the .amb file to play, relative to sfx/ambiance and may omit the .amb extension |