Prototype/AmbientSound: Difference between revisions
Jump to navigation
Jump to search
(Converted to SMW format) |
(→Mandatory properties: 1.1 "menu-track" type) |
||
Line 24: | Line 24: | ||
* "interlude" | * "interlude" | ||
* "late-game" | * "late-game" | ||
* "menu-track" | |||
== Optional properties == | == Optional properties == |
Revision as of 15:37, 25 March 2021
Template:Prototype parent This prototype is used to make sound, while playing the game. This includes the in-game's music, composed by Daniel James Taylor.
Mandatory properties
Template:Prototype property Specification of the type of the prototype. Must be "ambient-sound".
Template:Prototype property Unique textual identification of the prototype.
Template:Prototype property The sound file and volume.
Template:Prototype property This lets the game know in what instances the audio file is played.
The following types are recognized:
- "early-game"
- "main-track"
- "interlude"
- "late-game"
- "menu-track"
Optional properties
Example
{ type = "ambient-sound", name = "world-ambience-4", track_type = "interlude", sound = { filename = "__base__/sound/ambient/world-ambience-4.ogg", volume = 1.2 } },