#Mod music addon for the game "WVM" / KoGa3# #---------------------general Mod audio settings---------------------# define persistent.KoGa3main_menu_music = True init 999 python: config.has_music = True #---------------------Jukebox/QuickMusic playing time conversion---------------------# default soundis = False default p_koga3= None init python: def convert_float_into_time(t): i, f = divmod(t, 1) i = int(i) m, s = divmod(i, 60) h, m = divmod(m, 60) return "{:02}:{:02}".format(m, s) #---------------------new audio channel for the game---------------------# not used / KoGa3 init python: renpy.music.register_channel("music1", mixer="voice") #---------------------setting default audio volumes to 0.5---------------------# init python: config.default_music_volume = 0.5 config.default_sfx_volume = 0.5 config.default_voice_volume = 0.5 if persistent.KoGa3main_menu_music is True: config.main_menu_music = "music/calm-and-happy.mp3" else: config.main_menu_music = "" renpy.music.stop(channel=u'music', fadeout=None) # needed for jukebox player def convert_float_into_time(t): i, f = divmod(t, 1) i = int(i) m, s = divmod(i, 60) h, m = divmod(m, 60) return "{:02}:{:02}".format(m, s) # new audio channel for the game #not used for this game renpy.music.register_channel("music1", mixer="voice") renpy.music.register_channel("sound1", mixer="sfx") renpy.music.register_channel("sound2", mixer="sfx") #---------------------Quick Music check for main Mod---------------------# label KoGa3QuickMusicAddonCheck: return #---------------------Quick Music playlists---------------------# init python: # Step 1. Create a MusicRoom instance. KoGa3MR_All1 = MusicRoom(channel=u'music', fadeout=0.2) # Step 2. Add music files. KoGa3MR_All1.add("music/calm-and-happy.mp3", always_unlocked=True) #main menu titel KoGa3MR_All1.add("music/positive-advertising.mp3", always_unlocked=True) KoGa3MR_All1.add("music/Technology.mp3", always_unlocked=True) KoGa3MR_All1.add("music/Upbeat Inspiring Corporate.mp3", always_unlocked=True) KoGa3MR_All1.add("music/Corporate-Documentary.mp3", always_unlocked=True) #new with 0.9.5.1a KoGa3MR_All1.add("music/Ambient Piano.mp3", always_unlocked=True) KoGa3MR_All1.add("music/AK-Wanderlust_cut2.mp3", always_unlocked=True) KoGa3MR_All1.add("music/Nomyn - Escape.mp3", always_unlocked=True) KoGa3MR_All1.add("music/Past.mp3", always_unlocked=True) #new with 0.9.5.1a KoGa3MR_All1.add("music/Tropical Vibe.mp3", always_unlocked=True) KoGa3MR_All1.add("music/Fantasy Corporation.mp3", always_unlocked=True) KoGa3MR_All1.add("music/Drive.mp3", always_unlocked=True) KoGa3MR_All1.add("music/Quickly.mp3", always_unlocked=True) #new with 0.9.5.1a KoGa3MR_All1.add("music/Background Music for Docus.mp3", always_unlocked=True) KoGa3MR_All1.add("music/Serious.mp3", always_unlocked=True) KoGa3MR_All1.add("music/Deep Thoughts.mp3", always_unlocked=True) KoGa3MR_All1.add("music/Depth.mp3", always_unlocked=True) #new with 0.9.5.1a KoGa3MR_All1.add("music/Ear Candy.mp3", always_unlocked=True) KoGa3MR_All1.add("music/trizone.mp3", always_unlocked=True) KoGa3MR_All1.add("music/No Time To Lose.mp3", always_unlocked=True) KoGa3MR_All1.add("music/Upbeat Rock.mp3", always_unlocked=True) #new with 0.9.5.1a KoGa3MR_All1.add("music/Pulse_cut.mp3", always_unlocked=True) KoGa3MR_All1.add("music/Dreams-of-vain.mp3", always_unlocked=True) KoGa3MR_All1.add("music/Exploration.mp3", always_unlocked=True) KoGa3MR_All1.add("music/Cinematic Thriller.mp3", always_unlocked=True) #new with 0.9.5.1a KoGa3MR_All1.add("music/Nomyn - Elsewhere.mp3", always_unlocked=True) KoGa3MR_All1.add("music/Groove Grove.mp3", always_unlocked=True) KoGa3MR_All1.add("music/Erotic Lounge.mp3", always_unlocked=True) KoGa3MR_All1.add("music/Scientistication.mp3", always_unlocked=True) #new with 0.9.5.1a # Step 1. Create a MusicRoom instance. KoGa3MR_Balanced1 = MusicRoom(channel=u'music', fadeout=0.2) # Step 2. Add music files. KoGa3MR_Balanced1.add("music/positive-advertising.mp3", always_unlocked=True) KoGa3MR_Balanced1.add("music/Technology.mp3", always_unlocked=True) KoGa3MR_Balanced1.add("music/Upbeat Inspiring Corporate.mp3", always_unlocked=True) KoGa3MR_Balanced1.add("music/Corporate-Documentary.mp3", always_unlocked=True) #new with 0.9.5.1a # Step 1. Create a MusicRoom instance. KoGa3MR_Relaxing1 = MusicRoom(channel=u'music', fadeout=0.2) # Step 2. Add music files. KoGa3MR_Relaxing1.add("music/Ambient Piano.mp3", always_unlocked=True) KoGa3MR_Relaxing1.add("music/AK-Wanderlust_cut2.mp3", always_unlocked=True) KoGa3MR_Relaxing1.add("music/Nomyn - Escape.mp3", always_unlocked=True) KoGa3MR_Relaxing1.add("music/Past.mp3", always_unlocked=True) #new with 0.9.5.1a # Step 1. Create a MusicRoom instance. KoGa3MR_Happy1 = MusicRoom(channel=u'music', fadeout=0.2) # Step 2. Add music files. KoGa3MR_Happy1.add("music/Tropical Vibe.mp3", always_unlocked=True) KoGa3MR_Happy1.add("music/Fantasy Corporation.mp3", always_unlocked=True) KoGa3MR_Happy1.add("music/Drive.mp3", always_unlocked=True) KoGa3MR_Happy1.add("music/Quickly.mp3", always_unlocked=True) #new with 0.9.5.1a # Step 1. Create a MusicRoom instance. KoGa3MR_Sad1 = MusicRoom(channel=u'music', fadeout=0.2) # Step 2. Add music files. KoGa3MR_Sad1.add("music/Background Music for Docus.mp3", always_unlocked=True) KoGa3MR_Sad1.add("music/Serious.mp3", always_unlocked=True) KoGa3MR_Sad1.add("music/Deep Thoughts.mp3", always_unlocked=True) KoGa3MR_Sad1.add("music/Depth.mp3", always_unlocked=True) #new with 0.9.5.1a # Step 1. Create a MusicRoom instance. KoGa3MR_Energetic1 = MusicRoom(channel=u'music', fadeout=0.2) # Step 2. Add music files. KoGa3MR_Energetic1.add("music/Ear Candy.mp3", always_unlocked=True) KoGa3MR_Energetic1.add("music/trizone.mp3", always_unlocked=True) KoGa3MR_Energetic1.add("music/No Time To Lose.mp3", always_unlocked=True) KoGa3MR_Energetic1.add("music/Upbeat Rock.mp3", always_unlocked=True) #new with 0.9.5.1a # Step 1. Create a MusicRoom instance. KoGa3MR_Thrilling1 = MusicRoom(channel=u'music', fadeout=0.2) # Step 2. Add music files. KoGa3MR_Thrilling1.add("music/Pulse_cut.mp3", always_unlocked=True) KoGa3MR_Thrilling1.add("music/Dreams-of-vain.mp3", always_unlocked=True) KoGa3MR_Thrilling1.add("music/Exploration.mp3", always_unlocked=True) KoGa3MR_Thrilling1.add("music/Cinematic Thriller.mp3", always_unlocked=True) #new with 0.9.5.1a # Step 1. Create a MusicRoom instance. KoGa3MR_Erotic1 = MusicRoom(channel=u'music', fadeout=0.2) # Step 2. Add music files. KoGa3MR_Erotic1.add("music/Nomyn - Elsewhere.mp3", always_unlocked=True) KoGa3MR_Erotic1.add("music/Groove Grove.mp3", always_unlocked=True) KoGa3MR_Erotic1.add("music/Erotic Lounge.mp3", always_unlocked=True) KoGa3MR_Erotic1.add("music/Scientistication.mp3", always_unlocked=True) #new with 0.9.5.1a #---------------------Quick Music Player - icon---------------------# screen KoGa3QuickMusic(): imagebutton: xpos 4 yalign 0.0 idle "music/KoGa3QuickMusic.png" hover "music/KoGa3QuickMusic_Hover.png" #action Call("KoGa3SetAudio") action [ SetVariable ("KoGa3ModMenuButtonPressed", True), Hide ("KoGa3ScreenCheat"), Hide ("KoGa3QuickMusic1"), Show("KoGa3QuickMusicMenu") ] if isinstance(renpy.music.is_playing(channel='music'), int): if renpy.music.get_pos(channel='music'): hovered Hide ("KoGa3ScreenCheat"), Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") else: hovered Hide ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") #---------------------Quick Music Player - small---------------------# screen KoGa3QuickMusic1(): imagebutton: xpos 64 ypos 5 idle "music/KoGa3_ButtonTransparent.png" hover "music/KoGa3_ButtonTransparent.png" action NullAction() hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") imagebutton: xpos 90 ypos 5 idle "music/KoGa3_Pause.png" hover "music/KoGa3_Pause_Hover.png" #action Call("KoGa3SetAudio") action PauseAudio('music', value="toggle") hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") imagebutton: xpos 0 ypos 75 idle "music/KoGa3QuickMusicBack.png" #hover "music/KoGa3QuickMusicBack.png" action NullAction() vbox: xpos 0 ypos 64 spacing -11 textbutton ("{color=#c4aead}──────────{/color}"): text_style "KoGa3_QuickMusic1_button_text" action NullAction() hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") textbutton ("Balanced 1 "): text_style "KoGa3_QuickMusic1_button_text" action [ KoGa3MR_Balanced1.Play("music/positive-advertising.mp3") ] hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") textbutton ("Balanced 2 "): text_style "KoGa3_QuickMusic1_button_text" action [ KoGa3MR_Balanced1.Play("music/Technology.mp3") ] hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") textbutton ("Balanced 3 "): text_style "KoGa3_QuickMusic1_button_text" action [ KoGa3MR_Balanced1.Play("music/Upbeat Inspiring Corporate.mp3") ] hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") textbutton ("Balanced 4 "): text_style "KoGa3_QuickMusic1_button_text" action [ KoGa3MR_Balanced1.Play("music/Corporate-Documentary.mp3") ] #new with 0.9.5.1a hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") textbutton ("Relaxing 1 "): text_style "KoGa3_QuickMusic1_button_text" action [ KoGa3MR_Relaxing1.Play("music/Ambient Piano.mp3") ] hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") textbutton ("Relaxing 2 "): text_style "KoGa3_QuickMusic1_button_text" action [ KoGa3MR_Relaxing1.Play("music/AK-Wanderlust_cut2.mp3") ] hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") textbutton ("Relaxing 3 "): text_style "KoGa3_QuickMusic1_button_text" action [ KoGa3MR_Relaxing1.Play("music/Nomyn - Escape.mp3") ] hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") textbutton ("Relaxing 4 "): text_style "KoGa3_QuickMusic1_button_text" action [ KoGa3MR_Relaxing1.Play("music/Past.mp3") ] #new with 0.9.5.1a hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") textbutton ("Happy 1 "): text_style "KoGa3_QuickMusic1_button_text" action [ KoGa3MR_Happy1.Play("music/Tropical Vibe.mp3") ] hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") textbutton ("Happy 2 "): text_style "KoGa3_QuickMusic1_button_text" action [ KoGa3MR_Happy1.Play("music/Fantasy Corporation.mp3") ] hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") textbutton ("Happy 3 "): text_style "KoGa3_QuickMusic1_button_text" action [ KoGa3MR_Happy1.Play("music/Drive.mp3") ] hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") textbutton ("Happy 4 "): text_style "KoGa3_QuickMusic1_button_text" action [ KoGa3MR_Happy1.Play("music/Quickly.mp3") ] #new with 0.9.5.1a hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") textbutton ("Sad 1 "): text_style "KoGa3_QuickMusic1_button_text" action [ KoGa3MR_Sad1.Play("music/Background Music for Docus.mp3") ] hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") textbutton ("Sad 2 "): text_style "KoGa3_QuickMusic1_button_text" action [ KoGa3MR_Sad1.Play("music/Serious.mp3") ] hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") textbutton ("Sad 3 "): text_style "KoGa3_QuickMusic1_button_text" action [ KoGa3MR_Sad1.Play("music/Deep Thoughts.mp3") ] hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") textbutton ("Sad 4 "): text_style "KoGa3_QuickMusic1_button_text" action [ KoGa3MR_Sad1.Play("music/Depth.mp3") ] #new with 0.9.5.1a hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") textbutton ("Energetic 1 "): text_style "KoGa3_QuickMusic1_button_text" action [ KoGa3MR_Energetic1.Play("music/Ear Candy.mp3") ] hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") textbutton ("Energetic 2 "): text_style "KoGa3_QuickMusic1_button_text" action [ KoGa3MR_Energetic1.Play("music/trizone.mp3") ] hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") textbutton ("Energetic 3 "): text_style "KoGa3_QuickMusic1_button_text" action [ KoGa3MR_Energetic1.Play("music/No Time To Lose.mp3") ] hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") textbutton ("Energetic 4 "): text_style "KoGa3_QuickMusic1_button_text" action [ KoGa3MR_Energetic1.Play("music/Upbeat Rock.mp3") ] #new with 0.9.5.1a hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") textbutton ("Thrilling 1 "): text_style "KoGa3_QuickMusic1_button_text" action [ KoGa3MR_Thrilling1.Play("music/Pulse_cut.mp3") ] hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") textbutton ("Thrilling 2 "): text_style "KoGa3_QuickMusic1_button_text" action [ KoGa3MR_Thrilling1.Play("music/Dreams-of-vain.mp3") ] hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") textbutton ("Thrilling 3 "): text_style "KoGa3_QuickMusic1_button_text" action [ KoGa3MR_Thrilling1.Play("music/Exploration.mp3") ] hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") textbutton ("Thrilling 4 "): text_style "KoGa3_QuickMusic1_button_text" action [ KoGa3MR_Thrilling1.Play("music/Cinematic Thriller.mp3") ] #new with 0.9.5.1a hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") textbutton ("Erotic 1 "): text_style "KoGa3_QuickMusic1_button_text" action [ KoGa3MR_Erotic1.Play("music/Nomyn - Elsewhere.mp3") ] hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") textbutton ("Erotic 2 "): text_style "KoGa3_QuickMusic1_button_text" action [ KoGa3MR_Erotic1.Play("music/Groove Grove.mp3") ] hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") textbutton ("Erotic 3 "): text_style "KoGa3_QuickMusic1_button_text" action [ KoGa3MR_Erotic1.Play("music/Erotic Lounge.mp3") ] hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") textbutton ("Erotic 4 "): text_style "KoGa3_QuickMusic1_button_text" action [ KoGa3MR_Erotic1.Play("music/Scientistication.mp3") ] #new with 0.9.5.1a hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") textbutton ("--play all-- "): text_style "KoGa3_QuickMusic1_button_text" action [ KoGa3MR_All1.Play("music/calm-and-happy.mp3") ] hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") textbutton ("{color=#c4aead}──────────{/color}"): text_style "KoGa3_QuickMusic1_button_text" action NullAction() hovered Show ("KoGa3QuickMusic1") unhovered Hide ("KoGa3QuickMusic1") #---------------------Quick Music Player - standard---------------------# screen KoGa3QuickMusicMenu: add "/KoGa3MenuBack.png" modal True vbox: xalign 0.5 #yalign 0.5 spacing -8 textbutton (""): text_style "KoGa3_1_button_text" sensitive False action NullAction() hbox: #text "{color=#ffffff}=============== QuickMusic ===============" textbutton _("━━━━━━━━━━━━━━━━━━━ QuickMusic ━━━━━━━━━━━━━━━━━━"): text_style "KoGa3_1_button_text" sensitive False action NullAction() hbox: #spacing 85 textbutton ("Music tracks:"): text_style "KoGa3_1a_button_text" sensitive False action NullAction() if KoGa3QuickMusicButton is 1: textbutton (" a-f "): text_style "KoGa3_1a_button_text" selected True action NullAction() else: textbutton (" a-f "): text_style "KoGa3_1a_button_text" selected False action [ SetVariable("KoGa3QuickMusicButton", 1) ] if KoGa3QuickMusicButton is 2: textbutton (" / g-z "): text_style "KoGa3_1a_button_text" selected True action NullAction() else: textbutton (" / g-z "): text_style "KoGa3_1a_button_text" selected False action [ SetVariable("KoGa3QuickMusicButton", 2) ] textbutton (" "): text_style "KoGa3_1a_button_text" sensitive False action NullAction() textbutton ("Music tracks:"): text_style "KoGa3_1a_button_text" sensitive False action NullAction() if KoGa3QuickMusicButton is 3: textbutton (" Mood"): text_style "KoGa3_1a_button_text" selected True action NullAction() else: textbutton (" Mood"): text_style "KoGa3_1a_button_text" selected False action [ SetVariable("KoGa3QuickMusicButton", 3) ] textbutton ("────────────────────────────────────────────────"): text_style "KoGa3_1_button_text" sensitive False action NullAction() #game tracks a-f if KoGa3QuickMusicButton is 1: vbox: spacing -8 textbutton ("AK-Wanderlust_cut2 (Relaxing 2)"): text_style "KoGa3_1a_button_text" #sensitive True action [ KoGa3MR_All1.Play("music/AK-Wanderlust_cut2.mp3") ] textbutton ("Ambient Piano.mp3 (Relaxing 1)"): text_style "KoGa3_1a_button_text" #sensitive True action [ KoGa3MR_All1.Play("music/Ambient Piano.mp3") ] textbutton ("Background Music for Docus.mp3 (Sad 1)"): text_style "KoGa3_1a_button_text" #sensitive True action [ KoGa3MR_All1.Play("music/Background Music for Docus.mp3") ] textbutton ("calm-and-happy.mp3 (main menu theme)"): text_style "KoGa3_1a_button_text" #sensitive True action [ KoGa3MR_All1.Play("music/calm-and-happy.mp3") ] textbutton ("Cinematic Thriller.mp3 (Thrilling 4)"): text_style "KoGa3_1a_button_text" #sensitive True action [ KoGa3MR_All1.Play("music/Cinematic Thriller.mp3") ] #new with 0.9.5.1a textbutton ("Corporate-Documentary.mp3 (Balanced 4)"): text_style "KoGa3_1a_button_text" #sensitive True action [ KoGa3MR_All1.Play("music/Corporate-Documentary.mp3") ] #new with 0.9.5.1a textbutton ("Deep Thoughts.mp3 (Sad 3)"): text_style "KoGa3_1a_button_text" #sensitive True action [ KoGa3MR_All1.Play("music/Deep Thoughts.mp3") ] textbutton ("Depth.mp3 (Sad 4)"): text_style "KoGa3_1a_button_text" #sensitive True action [ KoGa3MR_All1.Play("music/Depth.mp3") ] #new with 0.9.5.1a textbutton ("Dreams-of-vain.mp3 (Thrilling 2)"): text_style "KoGa3_1a_button_text" #sensitive True action [ KoGa3MR_All1.Play("music/Dreams-of-vain.mp3") ] textbutton ("Drive.mp3 (Happy 3)"): text_style "KoGa3_1a_button_text" #sensitive True action [ KoGa3MR_All1.Play("music/Drive.mp3") ] textbutton ("Ear Candy.mp3 (Energetic 1)"): text_style "KoGa3_1a_button_text" #sensitive True action [ KoGa3MR_All1.Play("music/Ear Candy.mp3") ] textbutton ("Erotic Lounge.mp3 (Erotic 3)"): text_style "KoGa3_1a_button_text" #sensitive True action [ KoGa3MR_All1.Play("music/Erotic Lounge.mp3") ] textbutton ("Exploration.mp3 (Thrilling 3)"): text_style "KoGa3_1a_button_text" #sensitive True action [ KoGa3MR_All1.Play("music/Exploration.mp3") ] textbutton ("Fantasy Corporation.mp3 (Happy 2)"): text_style "KoGa3_1a_button_text" #sensitive True action [ KoGa3MR_All1.Play("music/Fantasy Corporation.mp3") ] #game tracks g-z if KoGa3QuickMusicButton is 2: vbox: spacing -8 textbutton ("Groove Grove.mp3 (Erotic 2)"): text_style "KoGa3_1a_button_text" #sensitive True action [ KoGa3MR_All1.Play("music/Groove Grove.mp3") ] textbutton ("No Time To Lose.mp3 (Energetic 3)"): text_style "KoGa3_1a_button_text" #sensitive True action [ KoGa3MR_All1.Play("music/No Time To Lose.mp3") ] textbutton ("Nomyn - Elsewhere.mp3 (Erotic 1)"): text_style "KoGa3_1a_button_text" #sensitive True action [ KoGa3MR_All1.Play("music/Nomyn - Elsewhere.mp3") ] textbutton ("Nomyn - Escape (Relaxing 3)"): text_style "KoGa3_1a_button_text" #sensitive True action [ KoGa3MR_All1.Play("music/Nomyn - Escape.mp3") ] textbutton ("Past.mp3 (Relaxing 4)"): text_style "KoGa3_1a_button_text" #sensitive True action [ KoGa3MR_All1.Play("music/Past.mp3") ] #new with 0.9.5.1a textbutton ("positive-advertising.mp3 (Balanced 1)"): text_style "KoGa3_1a_button_text" #sensitive True action [ KoGa3MR_All1.Play("music/positive-advertising.mp3") ] textbutton ("Pulse_cut.mp3 (Thrilling 1)"): text_style "KoGa3_1a_button_text" #sensitive True action [ KoGa3MR_All1.Play("music/Pulse_cut.mp3") ] textbutton ("Quickly.mp3 (Happy 4)"): text_style "KoGa3_1a_button_text" #sensitive True action [ KoGa3MR_All1.Play("music/Quickly.mp3") ] #new with 0.9.5.1a textbutton ("Scientistication.mp3 (Erotic 4)"): text_style "KoGa3_1a_button_text" #sensitive True action [ KoGa3MR_All1.Play("music/Scientistication.mp3") ] #new with 0.9.5.1a textbutton ("Serious.mp3 (Sad 2)"): text_style "KoGa3_1a_button_text" #sensitive True action [ KoGa3MR_All1.Play("music/Serious.mp3") ] textbutton ("Technology.mp3 (Balanced 2)"): text_style "KoGa3_1a_button_text" #sensitive True action [ KoGa3MR_All1.Play("music/Technology.mp3") ] textbutton ("trizone.mp3 (Energetic 2)"): text_style "KoGa3_1a_button_text" #sensitive True action [ KoGa3MR_All1.Play("music/trizone.mp3") ] textbutton ("Tropical Vibe.mp3 (Happy 1)"): text_style "KoGa3_1a_button_text" #sensitive True action [ KoGa3MR_All1.Play("music/Tropical Vibe.mp3") ] textbutton ("Upbeat Inspiring Corporate.mp3 (Balanced 3)"): text_style "KoGa3_1a_button_text" #sensitive True action [ KoGa3MR_All1.Play("music/Upbeat Inspiring Corporate.mp3") ] textbutton ("Upbeat Rock.mp3 (Energetic 4)"): text_style "KoGa3_1a_button_text" #sensitive True action [ KoGa3MR_All1.Play("music/Upbeat Rock.mp3") ] #new with 0.9.5.1a #game tracks Mood if KoGa3QuickMusicButton is 3: vbox: xalign 0.5 spacing -2 hbox: hbox: xsize 225 textbutton ("Balanced 1"): text_style "KoGa3_1a_button_text" action [ KoGa3MR_Balanced1.Play("music/positive-advertising.mp3") ] hbox: xsize 225 textbutton ("Balanced 2"): text_style "KoGa3_1a_button_text" action [ KoGa3MR_Balanced1.Play("music/Technology.mp3") ] hbox: xsize 225 textbutton ("Balanced 3"): text_style "KoGa3_1a_button_text" action [ KoGa3MR_Balanced1.Play("music/Upbeat Inspiring Corporate.mp3") ] hbox: #xsize 225 textbutton ("Balanced 4"): text_style "KoGa3_1a_button_text" action [ KoGa3MR_Balanced1.Play("music/Corporate-Documentary.mp3") ] #new with 0.9.5.1a hbox: hbox: xsize 225 textbutton ("Relaxing 1"): text_style "KoGa3_1a_button_text" action [ KoGa3MR_Relaxing1.Play("music/Ambient Piano.mp3") ] hbox: xsize 225 textbutton ("Relaxing 2"): text_style "KoGa3_1a_button_text" action [ KoGa3MR_Relaxing1.Play("music/AK-Wanderlust_cut2.mp3") ] hbox: xsize 225 textbutton ("Relaxing 3"): text_style "KoGa3_1a_button_text" action [ KoGa3MR_Relaxing1.Play("music/Nomyn - Escape.mp3") ] hbox: #xsize 225 textbutton ("Relaxing 4"): text_style "KoGa3_1a_button_text" action [ KoGa3MR_Relaxing1.Play("music/Past.mp3") ] #new with 0.9.5.1a hbox: hbox: xsize 225 textbutton ("Happy 1"): text_style "KoGa3_1a_button_text" action [ KoGa3MR_Happy1.Play("music/Tropical Vibe.mp3") ] hbox: xsize 225 textbutton ("Happy 2"): text_style "KoGa3_1a_button_text" action [ KoGa3MR_Happy1.Play("music/Fantasy Corporation.mp3") ] hbox: xsize 225 textbutton ("Happy 3"): text_style "KoGa3_1a_button_text" action [ KoGa3MR_Happy1.Play("music/Drive.mp3") ] hbox: #xsize 225 textbutton ("Happy 4"): text_style "KoGa3_1a_button_text" action [ KoGa3MR_Happy1.Play("music/Quickly.mp3") ] #new with 0.9.5.1a hbox: hbox: xsize 225 textbutton ("Sad 1"): text_style "KoGa3_1a_button_text" action [ KoGa3MR_Sad1.Play("music/Background Music for Docus.mp3") ] hbox: xsize 225 textbutton ("Sad 2"): text_style "KoGa3_1a_button_text" action [ KoGa3MR_Sad1.Play("music/Serious.mp3") ] hbox: xsize 225 textbutton ("Sad 3"): text_style "KoGa3_1a_button_text" action [ KoGa3MR_Sad1.Play("music/Deep Thoughts.mp3") ] hbox: #xsize 225 textbutton ("Sad 4"): text_style "KoGa3_1a_button_text" action [ KoGa3MR_Sad1.Play("music/Depth.mp3") ] #new with 0.9.5.1a hbox: hbox: xsize 225 textbutton ("Energetic 1"): text_style "KoGa3_1a_button_text" action [ KoGa3MR_Energetic1.Play("music/Ear Candy.mp3") ] hbox: xsize 225 textbutton ("Energetic 2"): text_style "KoGa3_1a_button_text" action [ KoGa3MR_Energetic1.Play("music/trizone.mp3") ] hbox: xsize 225 textbutton ("Energetic 3"): text_style "KoGa3_1a_button_text" action [ KoGa3MR_Energetic1.Play("music/No Time To Lose.mp3") ] hbox: #xsize 225 textbutton ("Energetic 4"): text_style "KoGa3_1a_button_text" action [ KoGa3MR_Energetic1.Play("music/Upbeat Rock.mp3") ] #new with 0.9.5.1a hbox: hbox: xsize 225 textbutton ("Thrilling 1"): text_style "KoGa3_1a_button_text" action [ KoGa3MR_Thrilling1.Play("music/Pulse_cut.mp3") ] hbox: xsize 225 textbutton ("Thrilling 2"): text_style "KoGa3_1a_button_text" action [ KoGa3MR_Thrilling1.Play("music/Dreams-of-vain.mp3") ] hbox: xsize 225 textbutton ("Thrilling 3"): text_style "KoGa3_1a_button_text" action [ KoGa3MR_Thrilling1.Play("music/Exploration.mp3") ] hbox: #xsize 225 textbutton ("Thrilling 4"): text_style "KoGa3_1a_button_text" action [ KoGa3MR_Thrilling1.Play("music/Cinematic Thriller.mp3") ] #new with 0.9.5.1a hbox: hbox: xsize 225 textbutton ("Erotic 1"): text_style "KoGa3_1a_button_text" action [ KoGa3MR_Erotic1.Play("music/Nomyn - Elsewhere.mp3") ] hbox: xsize 225 textbutton ("Erotic 2"): text_style "KoGa3_1a_button_text" action [ KoGa3MR_Erotic1.Play("music/Groove Grove.mp3") ] hbox: xsize 225 textbutton ("Erotic 3"): text_style "KoGa3_1a_button_text" action [ KoGa3MR_Erotic1.Play("music/Erotic Lounge.mp3") ] hbox: #xsize 225 textbutton ("Erotic 4"): text_style "KoGa3_1a_button_text" action [ KoGa3MR_Erotic1.Play("music/Scientistication.mp3") ] #new with 0.9.5.1a textbutton ("────────────────────────────────────────────────"): text_style "KoGa3_1_button_text" sensitive False action NullAction() hbox: spacing 1 timer .1 repeat True action SetScreenVariable("p_koga3",p_koga3) $ KoGa3CurrentMusicName = renpy.music.get_playing(channel='music') if isinstance(renpy.music.is_playing(channel='music'), int): if renpy.music.get_pos(channel='music'): textbutton ("Pause "): text_style "KoGa3_1a_button_text" #selected False #sensitive True action PauseAudio('music', value="toggle") textbutton ("Stop "): text_style "KoGa3_1a_button_text" #selected False #sensitive True action Stop("music") textbutton (" "): text_style "KoGa3_1a_button_text" #selected False sensitive False action NullAction() $ p_koga3= renpy.music.get_pos(channel='music') textbutton " {} / {}".format(convert_float_into_time(renpy.music.get_pos(channel='music')), convert_float_into_time(renpy.music.get_duration(channel='music'))): text_style "KoGa3_1a_button_text" #selected False sensitive False action NullAction() #text " {} / {}".format(convert_float_into_time(renpy.music.get_pos(channel='music')), convert_float_into_time(renpy.music.get_duration(channel='music'))) else: #text "{color=#ffffff}=============== QuickMusic ==============" textbutton ("Pause "): text_style "KoGa3_1a_button_text" #selected False sensitive False action NullAction() textbutton ("Stop "): text_style "KoGa3_1a_button_text" #selected False sensitive False textbutton (" "): text_style "KoGa3_1a_button_text" #selected False sensitive False action NullAction() textbutton (" 00:00 / 00:00"): text_style "KoGa3_1a_button_text" #selected False sensitive False action NullAction() textbutton ("━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"): text_style "KoGa3_1_button_text" sensitive False action NullAction() hbox: spacing 10 textbutton ("Back"): text_style "KoGa3_1_button_text" #selected False #sensitive True action [ SetVariable ("KoGa3ModMenuButtonPressed", False), Hide("KoGa3QuickMusicMenu") ] textbutton (" Mod vol.: "): text_style "KoGa3_1_button_text" #selected False sensitive False action NullAction() if config.has_music: vbox: spacing -100 textbutton (""): text_style "KoGa3_1_button_text" #selected False sensitive False action NullAction() bar: xsize 400 value Preference("music volume") #--------------default audio varaibles--------------# default MusicMenu1 = "/music/calm-and-happy.mp3" default KoGa3QuickMusic = 0 default KoGa3CurrentMusic = MusicMenu1 default KoGa3Jukebox = KoGa3CurrentMusic default KoGa3JukeboxButton = 1 default KoGa3QuickMusicButton = 1 default KoGa3QuickMusicMR = "None"