diff --git a/_ark/dx/locale/dx_locale_updates.dta b/_ark/dx/locale/dx_locale_updates.dta index c1fd4d7967..fbce40ee65 100644 --- a/_ark/dx/locale/dx_locale_updates.dta +++ b/_ark/dx/locale/dx_locale_updates.dta @@ -168,6 +168,8 @@ (overshell_postproc "Post Processing") (os_postfx_on "[Disable All]") (os_postfx_off "[Enable All]") +(os_force_high_lod_on "HD Characters: ON") +(os_force_high_lod_off "HD Characters: OFF") (os_camera_shake_on "Camera Shake: ON") (os_camera_shake_off "Camera Shake: OFF") (os_camera_blur_on "Depth of Field: ON") diff --git a/_ark/dx/overshell/dx_cam_states.dta b/_ark/dx/overshell/dx_cam_states.dta index bd764f8e6d..57030f6b5e 100644 --- a/_ark/dx/overshell/dx_cam_states.dta +++ b/_ark/dx/overshell/dx_cam_states.dta @@ -106,6 +106,7 @@ {push_back $options {if_else $dx_camera_shake os_camera_shake_on os_camera_shake_off}} {push_back $options {if_else $dx_camera_blur os_camera_blur_on os_camera_blur_off}} {push_back $options {if_else $dx_noise os_noise_on os_noise_off}} + {push_back $options {if_else $dx_force_lod os_force_high_lod_on os_force_high_lod_off}} {dx_state_setup dxState_PostFX FALSE} } ) @@ -143,6 +144,21 @@ {set $previous_state dxState_PostFX} {$this show_state kState_PostFXWarn} ) + ((os_force_high_lod_on os_force_high_lod_off) + {set $dx_force_lod {! $dx_force_lod}} + {if $dx_force_lod + {set $post_proc_needs_reset TRUE} + } + {dx_postfx_setter} + {if_else $dx_force_lod + {set $dx_tracked_changed os_force_high_lod_on} + {set $dx_tracked_changed os_force_high_lod_off} + } + {dx_state_pos_tracker} + DX_POST_FX_DATA + {set $previous_state kState_PostFXWarn} + {$this show_state kState_PostFXWarn} + ) ((os_camera_blur_on os_camera_blur_off) {set $dx_camera_blur {! $dx_camera_blur}} {if $dx_camera_blur diff --git a/_ark/dx/overshell/dx_states.dta b/_ark/dx/overshell/dx_states.dta index 9ccba5fc17..bb5c4ff21c 100644 --- a/_ark/dx/overshell/dx_states.dta +++ b/_ark/dx/overshell/dx_states.dta @@ -356,7 +356,6 @@ {push_back $options print_objects} {push_back $options print_platform} {push_back $options {if_else $dx_time_remain_dbg os_time_remain_dbg_on os_time_remain_dbg_off}} - {push_back $options {if_else $dx_force_lod os_force_high_lod_on os_force_high_lod_off}} {dx_state_setup dxState_DebugSettings FALSE} } @@ -471,20 +470,6 @@ DX_DEBUG_DATA {set $previous_state dxState_DebugSettings} ) - ((os_force_high_lod_on os_force_high_lod_off) - {set $dx_force_lod {! $dx_force_lod}} - {if $dx_force_lod - {set $post_proc_needs_reset TRUE} - } - {dx_postfx_setter} - {if_else $dx_force_lod - {set $dx_tracked_changed os_force_high_lod_on} - {set $dx_tracked_changed os_force_high_lod_off} - } - {dx_state_pos_tracker} - DX_DEBUG_DATA - {set $previous_state dxState_DebugSettings} - ) (os_dx_swap_gender_off {$this show_state dxState_SwapGenderWarn} ) diff --git a/_ark/dx/ui/dx_camera_funcs.dta b/_ark/dx/ui/dx_camera_funcs.dta index 9296aa3dcb..d2f77f7daf 100644 --- a/_ark/dx/ui/dx_camera_funcs.dta +++ b/_ark/dx/ui/dx_camera_funcs.dta @@ -68,11 +68,14 @@ } } {if $dx_force_lod - ;i dont know if this even works {$dx_this_var iterate WorldDir $wd {$wd iterate BandCamShot $bcs - {$bcs set force_lod 1} - {$bcs set self_shadow 1} + {do + ($dx_num_targets {$bcs size (targets)}) + {foreach_int $i 0 $dx_num_targets + {$bcs set (targets $i force_lod) kLOD0} + } + } } } }