2009-06-29, 15:00
Any mods or suggestions on how to prevent the menu on the home screen from moving when you press up and down?
sentinel41 Wrote:Any mods or suggestions on how to prevent the menu on the home screen from moving when you press up and down?Yes it can be done easily, if you download Cf2009 mod pack it comes with that.
g00fy1 Wrote:@Paul:
Here's the lock menu bar mod with a setting in Settings -> Customize -> Advanced -> Home:
In Includes_MainMenu.xml find this:
Code:<include name="PushForSub">
<ondown>Skin.SetBool(lowermainmenu)</ondown>
<onup>Skin.Reset(lowermainmenu)</onup>
</include>
<include name="DownForSub">
<onup>Skin.Reset(lowermainmenu)</onup>
<ondown>351</ondown>
</include>
Paste this under that:
Code:<!-- MOD: Lock Menu Bar -->
<include name="DownForSub2">
<onup>300</onup>
<ondown>351</ondown>
</include>
<!-- END MOD: Lock Menu Bar -->
Also in Includes_MainMenu.xml find this:
Code:<include condition="!Skin.HasSetting(onetouch)">DownForSub</include>
<include condition="Skin.HasSetting(onetouch)">PushForSub</include>
And replace that with this:
Code:<!-- MOD: Lock Menu Bar -->
<!-- Old code
<include condition="!Skin.HasSetting(onetouch)">DownForSub</include>
<include condition="Skin.HasSetting(onetouch)">PushForSub</include>
-->
<include condition="!Skin.HasSetting(onetouch) + !Skin.HasSetting(HomeMenuBarAnimation)">DownForSub2</include>
<include condition="!Skin.HasSetting(onetouch) + Skin.HasSetting(HomeMenuBarAnimation)">DownForSub</include>
<include condition="Skin.HasSetting(onetouch) + Skin.HasSetting(HomeMenuBarAnimation)">PushForSub</include>
<!-- END MOD: Lock Menu Bar -->
In Includes_Submenu.xml find this:
Code:<control type="button" id="352">
<onfocus>Skin.SetBool(lowermainmenu)</onfocus>
<onfocus>SetFocus(300)</onfocus>
</control>
Replace that with this this:
Code:<!-- MOD: Lock Menu Bar -->
<!-- Old code
<control type="button" id="352">
<onfocus>Skin.SetBool(lowermainmenu)</onfocus>
<onfocus>SetFocus(300)</onfocus>
</control>
-->
<control type="button" id="352">
<visible>Skin.HasSetting(HomeMenuBarAnimation)</visible>
<onfocus>Skin.SetBool(lowermainmenu)</onfocus>
<onfocus>SetFocus(300)</onfocus>
</control>
<!-- END MOD: Lock Menu Bar -->
Let me know if you have any problems with it.
sentinel41 Wrote:Thanks, I'll repost the code here in case anyone else is looking for it.Have you tried it yet? this mod is allway's the first mod i install into every version of auriga and it's a must in my oppinion and it should be added to the Github