You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been looking for core.sound_play() to play newly added OGG files in the mod directory. I've been tried to make a command to play the OGG music, it plays existing OGG files, but not newly added ones I had copied without reloading the game.
Solutions
Make the core.sound_play() be able to play newly added OGG files.
Alternatives
Nothing else.
Additional context
Perhaps, if there's a way to do this happen, there might be an idea to create music player node, with dynamically added OGG sound in the mod directory.
The text was updated successfully, but these errors were encountered:
This is already possible with dynamic media. You just have to inform Luanti of the new media files yourself (you could hook that up to inotify or something if you're fine with your mod having to be trusted).
Problem
I've been looking for
core.sound_play()
to play newly added OGG files in the mod directory. I've been tried to make a command to play the OGG music, it plays existing OGG files, but not newly added ones I had copied without reloading the game.Solutions
Make the
core.sound_play()
be able to play newly added OGG files.Alternatives
Nothing else.
Additional context
Perhaps, if there's a way to do this happen, there might be an idea to create music player node, with dynamically added OGG sound in the mod directory.
The text was updated successfully, but these errors were encountered: