Allow players to mute shellmap background music

This commit is contained in:
Ivaylo Draganov
2020-01-31 18:41:18 +02:00
committed by Paul Chote
parent 28f7604172
commit 3e2022a3dd
9 changed files with 51 additions and 2 deletions

View File

@@ -311,6 +311,13 @@ Container@SETTINGS_PANEL:
Height: 20
Font: Regular
Text: Mute Sound
Checkbox@MUTE_BACKGROUND_MUSIC:
X: 15
Y: 103
Width: 200
Height: 20
Font: Regular
Text: Mute Background Music
Label@SOUND_LABEL:
X: PARENT_RIGHT - WIDTH - 270
Y: 40

View File

@@ -32,4 +32,5 @@ Rules:
-CrateSpawner:
MusicPlaylist:
BackgroundMusic: map1
AllowMuteBackgroundMusic: true
DisableWorldSounds: true

View File

@@ -322,6 +322,13 @@ Background@SETTINGS_PANEL:
Height: 20
Font: Regular
Text: Mute Sound
Checkbox@MUTE_BACKGROUND_MUSIC:
X: 15
Y: 103
Width: 200
Height: 20
Font: Regular
Text: Mute Background Music
Label@SOUND_LABEL:
X: PARENT_RIGHT - WIDTH - 270
Y: 40

View File

@@ -13,6 +13,7 @@ World:
Maximum: 3
MusicPlaylist:
BackgroundMusic: options
AllowMuteBackgroundMusic: true
DisableWorldSounds: true
LuaScript:
Scripts: d2k-shellmap.lua

View File

@@ -10,6 +10,7 @@ World:
-MPStartLocations:
MusicPlaylist:
BackgroundMusic: intro
AllowMuteBackgroundMusic: true
DisableWorldSounds: true
ResourceType@ore:
ValuePerUnit: 0

View File

@@ -13,6 +13,7 @@ World:
MusicPlaylist:
BackgroundMusic: intro
DisableWorldSounds: true
AllowMuteBackgroundMusic: true
GlobalLightingPaletteEffect:
Blue: 0.7
Ambient: 0.7