Everlasting Summer is game with very good music and it has workshop on Steam, so people can create their own stories based on the game, using .rpy file and 'registering' custom music and images there. Link to game: http://store.steampowered.com/app/331470
And I found the guide about 'musical' trip - where guy just wrote which tracks we should listen to. I thought that it's very interesting, but having to click the tracks in Music Room/Box is well... too distracting if i'm playing some other game or doing something else.
Therefore, I tried to make mod, which would play the tracks one by one. (Alas, I could make one file with all music being there, but it would be another ~100-150 mb download and hdd usage for players).
I know that while using "music" channel, I have to add "noloop" in order to play music once. If I use music file in "sound" channel, it will play once.
I remember finding code that was supposed to play tracks one by one, but it didn't worked.
Code: Select all
play music ["file1.ogg", "file2.ogg"] noloop
Code: Select all
queue music [ "a.ogg", "b.ogg" ]
I tried different possibilities but mostly I get this kind error:play music music_list["everlasting_summer"]
Code: Select all
While running game code:
File "game/feel-the-trip-music-mod.rpy", line 93, in script
queue music (music_list["a_promise_from_distant_days"]; music_list["blow_with_the_fires"]) noloop
File "renpy/common/000statements.rpy", line 166, in execute_queue_music
eval(p["file"]),
SyntaxError: invalid syntax (game/feel-the-trip-music-mod.rpy, line 93)
#2 I tried also to make random-music option, but the code I found on this forum doesn't work - it gives error of not being able to find file...
Code: Select all
$ tune = renpy.random.choice( file1.ogg, file2.ogg, file3.ogg )
$ renpy.music.play (tune, channel="music", if_changed=True)