From 27d062df4737c213903f4f202b76a8ecf744257f Mon Sep 17 00:00:00 2001 From: LysiX Date: Sat, 9 Mar 2024 13:12:25 -0800 Subject: [PATCH] rb4 TRUE preset --- _ark/dx/ui/dx_overshell_macros.dta | 55 ++++++++++++++++++++++++++++++ _ark/ui/eng/locale_updates.dta | 1 + _ark/ui/overshell_track.dta | 14 +++++++- 3 files changed, 69 insertions(+), 1 deletion(-) diff --git a/_ark/dx/ui/dx_overshell_macros.dta b/_ark/dx/ui/dx_overshell_macros.dta index a19b5cc8..4270c79b 100644 --- a/_ark/dx/ui/dx_overshell_macros.dta +++ b/_ark/dx/ui/dx_overshell_macros.dta @@ -282,6 +282,61 @@ {set $fctype ring} ) +#define SET_RB4_TRUE_TEXTURE_PRESET +( + {set $sustains "rb2"} + {set $nogemdividers TRUE} + {set $voxhwcustomtexture TRUE} + {set $voxhw rb3} + {set $gemcustomtexture TRUE} + {set $gem rb4} + {set $smashercustomtexture TRUE} + {set $smasher rb4} + {set $smasherbracket TRUE} + {set $voxarrowcustomtexture TRUE} + {set $voxarrow rb2dx} + {set $voxnotescustomtexture TRUE} + {set $voxnotes rb2dx} + {set $voxodcustomtexture TRUE} + {set $voxod rb2} + {set $scorecustomtexture TRUE} + {set $scoretex rb4} + {set $soloboxcustomtexture TRUE} + {set $solobox rb4} + {set $starscustomtexture TRUE} + {set $stars rb4} + {set $fontcustomtexture TRUE} + {set $font rb4} + {set $odbarcustomtexture TRUE} + {set $odbar rb4} + {set $railscustomtexture TRUE} + {set $rails rb4} + {set $flamescustomtexture TRUE} + {set $flames rb4} + {set $multiringcustomtexture TRUE} + {set $multiring rb4} + {set $highwaycustomtexture TRUE} + {set $highwaygtr _rb4_true} + {set $highwaybass _rb4_true} + {set $highwaydrum _rb4_true} + {set $streakcustomtexture TRUE} + {set $streakgtr rb4_true} + {set $streakbass rb4_true} + {set $streakdrum rb4_true} + {set $spotlightgtrcustomtexture TRUE} + {set $spotlightgtr rb4_true} + {set $spotlightbasscustomtexture TRUE} + {set $spotlightbass rb4_true} + {set $spotlightdrumcustomtexture TRUE} + {set $spotlightdrum rb4_true} + {set $hwalpha_needs_reset TRUE} + {set $hwalpha off} + {set $hwstrk TRUE} + {set $nohwwarn TRUE} + {set $railwarn TRUE} + {set $fctype ring} +) + #define SET_FNFESTIVAL_TEXTURE_PRESET ( {set $sustains "rb2"} diff --git a/_ark/ui/eng/locale_updates.dta b/_ark/ui/eng/locale_updates.dta index 0f07f2e2..affa5796 100644 --- a/_ark/ui/eng/locale_updates.dta +++ b/_ark/ui/eng/locale_updates.dta @@ -1145,6 +1145,7 @@ (os_rb2prst_reset "Rock Band 2") (os_rb3prst "Rock Band 3") (os_rb4prst "Rock Band 4") +(os_rb4truprst "RB4 (True Port)") (os_fnfestivalprst "Fortnite Festival") (os_lrbprst "LEGO Rock Band") (os_tbrbprst "Beatles Rock Band") diff --git a/_ark/ui/overshell_track.dta b/_ark/ui/overshell_track.dta index ae8b6091..8a60e32c 100644 --- a/_ark/ui/overshell_track.dta +++ b/_ark/ui/overshell_track.dta @@ -88,7 +88,7 @@ #endif (focus sel_section.lst) (enter - {sel_section.lst set_data (os_tex os_rb2dxprst os_rb2prst os_rb1prst os_rb3prst os_rb4prst os_fnfestivalprst os_lrbprst os_tbrbprst)} + {sel_section.lst set_data (os_tex os_rb2dxprst os_rb2prst os_rb1prst os_rb3prst os_rb4truprst os_rb4prst os_fnfestivalprst os_lrbprst os_tbrbprst)} {title.lbl set_localized {localize os_trkpreset}} {full_selection.mesh set_showing FALSE} {set $os_in_transition FALSE} @@ -225,6 +225,18 @@ } SET_RB4_TRACK_ANGLE ) + (os_rb4truprst + {if_else $texrunonce + {do + SET_RB4_TRUE_TEXTURE_PRESET + } + {do + {set $dx_queue_stock_track FALSE} + SET_RB4_TRUE_TEXTURE_PRESET + } + } + SET_RB4_TRACK_ANGLE + ) (os_fnfestivalprst {if_else $texrunonce {do