Skip to content

Commit

Permalink
ace
Browse files Browse the repository at this point in the history
  • Loading branch information
LlysiX committed Jan 6, 2024
1 parent a6d9704 commit 63fc07c
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 2 deletions.
8 changes: 7 additions & 1 deletion _ark/config/long_cheats.dta
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,10 @@
{do
{set $modifier_exit {ui current_screen}}
{synth play button_error}
{ui push_screen overshell_main_screen}}})
{ui push_screen overshell_main_screen}}})
((G_ORANGE G_ORANGE G_ORANGE G_ORANGE)
{if {== {ui current_screen} overshell_main_screen}
{set $debug_mode {! $debug_mode}}
{overshell_main_panel lst_reset}
}
)
5 changes: 5 additions & 0 deletions _ark/dx/ui/dx_init.dta
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,11 @@
{modifier_mgr activate_modifier mod_flashbang}
}
}
{if {== {elem $entry 0} {basename debug_mode}}
{set $debug_mode
{elem {find $entry debug_mode} 1}
}
}
{if {== {elem $entry 0} {basename load_custom_settings}}
{set $loadcustomsettings
{elem {find $entry load_custom_settings} 1}
Expand Down
1 change: 1 addition & 0 deletions _ark/ui/eng/locale_updates.dta
Original file line number Diff line number Diff line change
Expand Up @@ -1028,6 +1028,7 @@
(options_audio
"audio settings")
;overshell
(os_ace "Run ace.dta")
(os_clr "Colors")
(os_spd "Set Speeds")
(os_sys "System Settings")
Expand Down
11 changes: 10 additions & 1 deletion _ark/ui/overshell.dta
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#define OS_MAIN_DATA
({if_else $debug_mode (os_ace os_mod #ifndef HX_EE os_sys #endif os_spd os_trkset #ifndef HX_EE os_cam #endif)
(os_mod #ifndef HX_EE os_sys #endif os_spd os_trkset #ifndef HX_EE os_cam #endif)}
)
{new
UIPanel
overshell_main_panel
Expand All @@ -8,7 +12,7 @@
#endif
(focus sel_section.lst)
(enter
{sel_section.lst set_data (os_mod #ifndef HX_EE os_sys #endif os_spd os_trkset #ifndef HX_EE os_cam #endif)}
{$this lst_reset}
{title.lbl set_localized {localize os_dxsettings}}
{full_selection.mesh set_showing FALSE}
{unless $os_first_entry
Expand All @@ -22,9 +26,14 @@
}
OS_OPEN_ANIM
)
(lst_reset
{sel_section.lst set_data OS_MAIN_DATA})
(exit)
(SELECT_MSG
{switch {$component selected_sym}
(os_ace
{run #ifdef HX_XBOX "GAME:/ace.dta" #else "GD:/dev_hdd0/game/BLUS30147/USRDIR/ace.dta" #endif}
)
(os_sys
{os_change_screen overshell_system}
)
Expand Down

0 comments on commit 63fc07c

Please sign in to comment.