Probably should have asked in the modding forum, but anyway, how do I enable this
'Hide Campaign' checkbox.
into retrofit mod ?
I tried comparing the files from retrofit and CCM 2 but I couldn't find any relevant files to enable it it retrofit.
:hmmm:
Edit:
Anyway, here's what I've already did.
1- Copy _M2_Grand_Campaign_PANELS from CCM2/data/menu to retrofit/data/menu
2- Copy ; from CCM2/data/text/menu_english.txt to retrofit/data/text/menu_english.txt to
{UI_GAME_INFO_HIDE_CAMPAIGN}Hide campaign map under fog of war
{UI_GAME_OPTIONS_HIDE_CAMPAIGN}Hide Campaign
3- Add ; to retrofit/data/menu/mtw2.Int file
Code:
</UI piece>
<UI piece>hide_campaign
<identifier>UIP_HIDE_CAMPAIGN_BUTTON</identifier>
<Parameters>
<x>818</x>
<y>670</y>
<width>32</width>
<height>32</height>
<tool_tip_id>UI_GAME_INFO_HIDE_CAMPAIGN</tool_tip_id>
<locked>false</locked>
</Parameters>
<object_data></object_data>
<object_id>empty_toggle_button</object_id>
</UI piece>
<UI piece>hide_campaign_text
<identifier>UIP_STATIC_TEXT</identifier>
<Parameters>
<x>847</x>
<y>676</y>
<width>173</width>
<height>21</height>
<UI text>UI_GAME_OPTIONS_HIDE_CAMPAIGN
<font_id>verdana_sml</font_id>
<align>left</align>
</UI text>
<locked>false</locked>
</Parameters>
<object_data></object_data>
<object_id>empty_art</object_id>
</UI piece>
<UI piece>grand_campaign_Strengths
<identifier>UIP_STATIC_TEXT</identifier>
<Parameters>
<x>782</x>
<y>227</y>
<width>190</width>
<height>26</height>
<UI text>UI_CUSTOM_BATTLE_STRENGTHS
<font_id>verdana_med</font_id>
<align>centre</align>
</UI text>
<locked>false</locked>
</Parameters>
<object_data></object_data>
<object_id>empty_art</object_id>
4- What else should I do ?