RETURN TO MAIN SCREEN


 

ALLOW SWITCHING FROM NEXT STREET TO CURRENT STREET:

When you press the street name it will switch from showing the next street to the name of the street you are driving on.  Also when you are not being routed, you can press it to display the current street you are driving on.  Before this mod, it would switch back to the next street after 2 seconds.  Also this mod shows the current street in a different color, so you know which street is being displayed.
BEFORE:
Loading!
AFTER:
Loading!
 


 

 

FILE: ui_hpi_sagan/800_480/ui/navigatemap_800_480.ui

This will change the color of the text when the current street is displayed.


BEFORE:

<layer ui_txt_Current_street z=110>
<TEXT xxx template=xtxt x=164 y=12 z=10 w=470 fontsize=37 font="FtraBd__" glowsize=1 color=#FFFFFF color2=#000000 color3=#000000 align="Center" textmodel_wstr="navigation.current_street">
</layer>

 

AFTER:

<layer ui_txt_Current_street z=110>
;SPECTER MOD - DISPLAY CURRENT STREET IN COCKPIT - change font color
<TEXT xxx template=xtxt x=164 y=12 z=10 w=470 fontsize=37 font="FtraBd__" glowsize=1 color=#FEF1B5 color2=#000000 color3=#000000 align="Center" textmodel_wstr="navigation.current_street">
</layer>

 


 

FILE: ui_hpi_sagan/common/ui/navigatemap.ui

Look for the function "<script sc_ChangeStreet>".  the last 2 lines of this function have the number 200 at the start of the line. That number is a 2 second delay before those commands are executed.  In this case, it will switch from the current street back to the next street after 2 seconds.  by commenting out the last 2 line, it will stay on the street you selected until you select it again. 


BEFORE:

<script sc_ChangeStreet>
ui_txt_next_street.isvisible vTmp
runif vTmp 1 'ui_txt_next_street.hide, ui_txt_Current_street.show'
else_run 'ui_txt_next_street.show, ui_txt_Current_street.hide'
200 ui_txt_next_street.show
200 ui_txt_Current_street.hide
</script>

 

AFTER:

<script sc_ChangeStreet>
ui_txt_next_street.isvisible vTmp
runif vTmp 1 'ui_txt_next_street.hide, ui_txt_Current_street.show'
else_run 'ui_txt_next_street.show, ui_txt_Current_street.hide'
;SPECTER MOD - DISPLAY CURRENT STREET IN COCKPIT (COMMENTED OUT NEXT 2 LINES)
; 200 ui_txt_next_street.show
; 200 ui_txt_Current_street.hide

</script>