This little
first-time-feature script is able to hide & unhide the entire stratmap user interface by simply pressing the "
SCROLL_LOCK key" whilst ingame on the stratmap.
I've initally created this nice script only, to make better campaign-map screenshots for our mod. But i think some people out there would appreciate, to add this little feature in their game, also to increase the overall visibility on the stratmap, so i decided to make it public.
But if anybody would like to use this inedited feature in a
public mod, it would be only sane, to leave a little note and/or credit, maybe in favour to our RAE-mod, or the RAE-team (see signature), coz our mod is still in development and this script its a inherent part of it!
______________________________
Add the following little piece of lines to your
campaign_script.txt located in ...
X:\Games\Medieval II TotalWar\mods\your-mod\data\world\maps\campaign\imperial_campaign\
Code:
declare_counter ui_showing
monitor_event ShortcutTriggered ShortcutTriggered object_manager hide_gui
wait 0.1
if I_CompareCounter ui_showing = 0
hide_ui
disable_movie_view
set_counter ui_showing 2
end_if
if I_CompareCounter ui_showing = 1
show_ui
set_counter ui_showing 0
end_if
if I_CompareCounter ui_showing = 2
set_counter ui_showing 1
end_if
end_monitor
Not savegame compatible!