Types/Sound: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Added page.)
(No difference)

Revision as of 16:04, 17 July 2017

Basics

This type is used to produce sound from in-game entities, ambient sound, and music.

Properties

filename

Type: Types/FileName

Used to let the game know what audio file you want it to use.

volume

Type: Types/unsigned

Decides how loud the audio is.

Example

   {
     filename = "__base__/sound/ambient/world-ambience-3.ogg",
     volume = 1.2
   }