mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
Add mod preset for emulating old character sounds
This commit is contained in:
parent
c72fdf1ca9
commit
3403fa4256
@ -20,9 +20,12 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Resources\Mods\Empty.mp3" />
|
||||
<EmbeddedResource Include="Resources\Mods\OldCursor.png" />
|
||||
<EmbeddedResource Include="Resources\Mods\OldDeath.ogg" />
|
||||
<EmbeddedResource Include="Resources\Mods\OldFarCursor.png" />
|
||||
<EmbeddedResource Include="Resources\Mods\OldJump.mp3" />
|
||||
<EmbeddedResource Include="Resources\Mods\OldWalk.mp3" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -907,6 +907,11 @@ namespace Bloxstrap
|
||||
await CheckModPreset(App.Settings.Prop.UseOldDeathSound, @"content\sounds\ouch.ogg", "OldDeath.ogg");
|
||||
await CheckModPreset(App.Settings.Prop.UseOldMouseCursor, @"content\textures\Cursors\KeyboardMouse\ArrowCursor.png", "OldCursor.png");
|
||||
await CheckModPreset(App.Settings.Prop.UseOldMouseCursor, @"content\textures\Cursors\KeyboardMouse\ArrowFarCursor.png", "OldFarCursor.png");
|
||||
await CheckModPreset(App.Settings.Prop.UseOldCharacterSounds, @"content\sounds\action_footsteps_plastic.mp3", "OldWalk.mp3");
|
||||
await CheckModPreset(App.Settings.Prop.UseOldCharacterSounds, @"content\sounds\action_jump.mp3", "OldJump.mp3");
|
||||
await CheckModPreset(App.Settings.Prop.UseOldCharacterSounds, @"content\sounds\action_falling.mp3", "Empty.mp3");
|
||||
await CheckModPreset(App.Settings.Prop.UseOldCharacterSounds, @"content\sounds\action_jump_land.mp3", "Empty.mp3");
|
||||
await CheckModPreset(App.Settings.Prop.UseOldCharacterSounds, @"content\sounds\swim.mp3", "Empty.mp3");
|
||||
await CheckModPreset(App.Settings.Prop.UseDisableAppPatch, @"ExtraContent\places\Mobile.rbxl", "");
|
||||
|
||||
foreach (string file in Directory.GetFiles(modFolder, "*.*", SearchOption.AllDirectories))
|
||||
|
@ -28,6 +28,7 @@ namespace Bloxstrap.Models
|
||||
|
||||
// mod preset configuration
|
||||
public bool UseOldDeathSound { get; set; } = true;
|
||||
public bool UseOldCharacterSounds { get; set; } = false;
|
||||
public bool UseOldMouseCursor { get; set; } = false;
|
||||
public bool UseDisableAppPatch { get; set; } = false;
|
||||
public bool DisableFullscreenOptimizations { get; set; } = false;
|
||||
|
BIN
Bloxstrap/Resources/Mods/Empty.mp3
Normal file
BIN
Bloxstrap/Resources/Mods/Empty.mp3
Normal file
Binary file not shown.
BIN
Bloxstrap/Resources/Mods/OldJump.mp3
Normal file
BIN
Bloxstrap/Resources/Mods/OldJump.mp3
Normal file
Binary file not shown.
BIN
Bloxstrap/Resources/Mods/OldWalk.mp3
Normal file
BIN
Bloxstrap/Resources/Mods/OldWalk.mp3
Normal file
Binary file not shown.
@ -18,6 +18,12 @@ namespace Bloxstrap.ViewModels
|
||||
set => App.Settings.Prop.UseOldDeathSound = value;
|
||||
}
|
||||
|
||||
public bool OldCharacterSoundsEnabled
|
||||
{
|
||||
get => App.Settings.Prop.UseOldCharacterSounds;
|
||||
set => App.Settings.Prop.UseOldCharacterSounds = value;
|
||||
}
|
||||
|
||||
public bool OldMouseCursorEnabled
|
||||
{
|
||||
get => App.Settings.Prop.UseOldMouseCursor;
|
||||
|
@ -63,6 +63,7 @@
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
@ -88,7 +89,17 @@
|
||||
<ui:ToggleSwitch IsChecked="{Binding OldMouseCursorEnabled, Mode=TwoWay}" />
|
||||
</ui:CardControl>
|
||||
|
||||
<ui:CardControl Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" Margin="0,8,0,0" Padding="16,13,16,12">
|
||||
<ui:CardControl Grid.Row="1" Grid.ColumnSpan="2" Margin="0,8,0,0" Padding="16,13,16,12">
|
||||
<ui:CardControl.Header>
|
||||
<StackPanel>
|
||||
<TextBlock FontSize="14" Text="Emulate old character sounds" />
|
||||
<TextBlock Margin="0,2,0,0" FontSize="12" Text="An attempt to roughly bring back the character sounds used prior to 2014." Foreground="{DynamicResource TextFillColorTertiaryBrush}" />
|
||||
</StackPanel>
|
||||
</ui:CardControl.Header>
|
||||
<ui:ToggleSwitch IsChecked="{Binding OldCharacterSoundsEnabled, Mode=TwoWay}" />
|
||||
</ui:CardControl>
|
||||
|
||||
<ui:CardControl Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" Margin="0,8,0,0" Padding="16,13,16,12">
|
||||
<ui:CardControl.Header>
|
||||
<StackPanel>
|
||||
<TextBlock FontSize="14" Text="Disable desktop app" />
|
||||
|
Loading…
Reference in New Issue
Block a user