Skip to content

Commit

Permalink
option to disable overdrive (and practice od)
Browse files Browse the repository at this point in the history
  • Loading branch information
LlysiX committed May 2, 2024
1 parent 035ad3a commit 4175135
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _ark/ps4/config/gamemodes.dta
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{$gamemode get_int max_players }1 })
(use_quickplay_leaderboards TRUE)
(use_brutal_leaderboards FALSE)
(allow_overdrive_phrases TRUE)
(allow_overdrive_phrases {! {file_exists "nood.dta"}})
(allow_drum_fills TRUE)
(can_lose TRUE)
(num_strikes 0)
Expand Down Expand Up @@ -97,7 +97,7 @@
(game_screen frame_rate_game_screen)
(allow_input_performance_mode FALSE))
(practice
(allow_overdrive_phrases TRUE)
(allow_overdrive_phrases {file_exists "practiceod.dta"})
(can_lose FALSE)
(quarantine FALSE)
(enable_overdrive TRUE)
Expand Down
24 changes: 24 additions & 0 deletions _ark/ps4/dx/overshell/dx_states.dta
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@
{if_else $nomiss "No Miss Sounds: ON" "No Miss Sounds: OFF"}
{if_else $crowdmeter "No Crowd Meter: ON" "No Crowd Meter: OFF"}
{if_else $noui "No HUD: ON" "No HUD: OFF"}
{if_else $nood "No OD: ON" "No OD: OFF"}
{if_else $practiceod "OD in Practice: ON" "OD in Practice: OFF"}
)
}
)
Expand Down Expand Up @@ -136,6 +138,28 @@
{$this show_state kState_RB4DXDelayedEffectWarn}
{$this trigger_select_effects }
)
(("No OD: ON" "No OD: OFF")
{set $nood {! $nood}}
{if_else $nood
{do
{write_file "data:/GoldHEN/RB4DX/nood.dta" $dx_write_nul}
}
{file_delete "data:/GoldHEN/RB4DX/nood.dta"}
}
{$this show_state kState_RB4DXDelayedEffectWarn}
{$this trigger_select_effects }
)
(("OD in Practice: ON" "OD in Practice: OFF")
{set $practiceod {! $practiceod}}
{if_else $practiceod
{do
{write_file "data:/GoldHEN/RB4DX/practiceod.dta" $dx_write_nul}
}
{file_delete "data:/GoldHEN/RB4DX/practiceod.dta"}
}
{$this show_state kState_RB4DXDelayedEffectWarn}
{$this trigger_select_effects }
)
(("No Crowd Meter: ON" "No Crowd Meter: OFF")
{set $crowdmeter {! $crowdmeter}}
{if_else $crowdmeter
Expand Down
2 changes: 2 additions & 0 deletions _ark/ps4/dx/ui/dx_init.dta
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
{set $dx_write_nul {array ()}}
{set $speedmod 100}
{set $dx_initialized TRUE}
{set $nood {file_exists "nood.dta"}}
{set $practiceod {file_exists "practiceod.dta"}}
{set $blackbg {file_exists "blackbg.dta"}}
{set $nomiss {file_exists "nomiss.dta"}}
{set $crowdmeter {file_exists "data:/GoldHEN/RB4DX/ps4/ui/game/crowd_meter.entity_ps4"}}
Expand Down

0 comments on commit 4175135

Please sign in to comment.