From 29680bda2934eae7c1b2df4f5d5f05d141dd6257 Mon Sep 17 00:00:00 2001 From: naoei Date: Sat, 13 Nov 2021 12:00:30 -0500 Subject: [PATCH 1/2] Lower slider path division level --- osu.Game.Rulesets.Tau/Beatmaps/TauBeatmapConverter.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/osu.Game.Rulesets.Tau/Beatmaps/TauBeatmapConverter.cs b/osu.Game.Rulesets.Tau/Beatmaps/TauBeatmapConverter.cs index b6ff5e37..99a8f80f 100644 --- a/osu.Game.Rulesets.Tau/Beatmaps/TauBeatmapConverter.cs +++ b/osu.Game.Rulesets.Tau/Beatmaps/TauBeatmapConverter.cs @@ -19,6 +19,7 @@ public class TauBeatmapConverter : BeatmapConverter public bool CanConvertToSliders = true; public bool CanConvertToHardBeats = true; + public int SliderDivisionLevel = 4; public TauBeatmapConverter(IBeatmap beatmap, Ruleset ruleset) : base(beatmap, ruleset) @@ -38,7 +39,7 @@ protected override IEnumerable ConvertHitObject(HitObject original if (!CanConvertToSliders) goto default; - if (pathData.Duration < IBeatmapDifficultyInfo.DifficultyRange(Beatmap.BeatmapInfo.BaseDifficulty.ApproachRate, 1800, 1200, 450) / 2) + if (pathData.Duration < IBeatmapDifficultyInfo.DifficultyRange(Beatmap.BeatmapInfo.BaseDifficulty.ApproachRate, 1800, 1200, 450) / SliderDivisionLevel) goto default; var nodes = new List(); From 498f11a89c3515d2cc4cafbfdc7cd700288d2081 Mon Sep 17 00:00:00 2001 From: naoei Date: Sat, 13 Nov 2021 12:00:42 -0500 Subject: [PATCH 2/2] Add option to revert back in Lite mod --- osu.Game.Rulesets.Tau/Mods/TauModLite.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/osu.Game.Rulesets.Tau/Mods/TauModLite.cs b/osu.Game.Rulesets.Tau/Mods/TauModLite.cs index 6608cc1a..09f74468 100644 --- a/osu.Game.Rulesets.Tau/Mods/TauModLite.cs +++ b/osu.Game.Rulesets.Tau/Mods/TauModLite.cs @@ -4,6 +4,7 @@ using osu.Game.Configuration; using osu.Game.Rulesets.Mods; using osu.Game.Rulesets.Tau.Beatmaps; +using osu.Game.Screens.Edit; namespace osu.Game.Rulesets.Tau.Mods { @@ -22,12 +23,19 @@ public class TauModLite : Mod, IApplicableToBeatmapConverter [SettingSource("No hard beats conversion", "Completely disables hard beats altogether.")] public Bindable ToggleHardBeats { get; } = new Bindable(true); + [SettingSource("Slider division level", "The minimum slider length divisor.")] + public BindableBeatDivisor SlidersDivisionLevel { get; } = new BindableBeatDivisor + { + Default = 2 + }; + public void ApplyToBeatmapConverter(IBeatmapConverter beatmapConverter) { var converter = (TauBeatmapConverter)beatmapConverter; converter.CanConvertToSliders = !ToggleSliders.Value; converter.CanConvertToHardBeats = !ToggleHardBeats.Value; + converter.SliderDivisionLevel = SlidersDivisionLevel.Value; } } }