Question on SoundPath
Posted: Wed Mar 27, 2019 6:04 pm
Just trying to play some sounds. I don't understand the documentation on SoundPath:
"It can be either the name of a sound prototype defined in the data or a path in the form "type/name". Supported types are."
Where are these sounds defined in the data? Where are the sound prototypes? I also don't know what "types" there are. I know its something like:
game.players[1].play_sound({path="SoundPath"})
I just don't understand how to know where these files are. I am trying to play this sound:
"Factorio\data\base\sound\programmable-speaker\bass-01.ogg"
Thank you in advance.
"It can be either the name of a sound prototype defined in the data or a path in the form "type/name". Supported types are."
Where are these sounds defined in the data? Where are the sound prototypes? I also don't know what "types" there are. I know its something like:
game.players[1].play_sound({path="SoundPath"})
I just don't understand how to know where these files are. I am trying to play this sound:
"Factorio\data\base\sound\programmable-speaker\bass-01.ogg"
Thank you in advance.