Jump to content
Sign in to follow this  
tpw

Mouse Wheel View Distance (MWVD)

Recommended Posts

very nice mod, however i noticed it won´t work when reloading a save game. i tried it in a scenario mission i after i reloaded the savegame, i realized the mod was not working anymore. i do not know if this is related to the mission i was playing (custom scenario) or to the mod. anyways, this mod is very very good and pretty handy. any updates soon? cheers

PS: sorry for the bad english

Edited by lolipoyi

Share this post


Link to post
Share on other sites
New version 1.02 with 1 sec hint window is now up. I'll do the configurable keys next.

Dude! Great job once again works a treat! :bounce3:

Share this post


Link to post
Share on other sites
Dude! Great job once again works a treat! :bounce3:

Thanks bro. I'm working on 1.03 which should persist a little better.

Share this post


Link to post
Share on other sites

I guess CTRL+ALT has ome special function when in Commanding mode, cos i am playing Badlands, and i can see the hint window but i can't change the view distance.

Share this post


Link to post
Share on other sites
I guess CTRL+ALT has ome special function when in Commanding mode, cos i am playing Badlands, and i can see the hint window but i can't change the view distance.

Sorry about that. I've never used commanding mode so it never came up in testing. I'll have a look into it.

Share this post


Link to post
Share on other sites
very nice mod, however i noticed it won´t work when reloading a save game. i tried it in a scenario mission i after i reloaded the savegame, i realized the mod was not working anymore

tpw

please replace displayAddEventHandler with CBA_fnc_addDisplayHandler, it saves EHs after loading.

mouse_wheel_view_distance.sqf.patch

--- 0mouse_wheel_view_distance.sqf	2012-03-19 23:55:31.000000000 +0400
+++ mouse_wheel_view_distance.sqf	2012-03-19 23:55:24.000000000 +0400
@@ -18,7 +18,7 @@
};
};

-(findDisplay 46) displayAddEventHandler ["keyDown", "_this call functionName_keyDown"];
+_nul = ["keyDown", "_this call functionName_keyDown"] call CBA_fnc_addDisplayHandler;
functionName_keyDown = 
{
private["_ctrl","_alt"];
@@ -29,7 +29,7 @@
mwvd_ctrl_alt;
};

-(findDisplay 46) displayAddEventHandler ["keyup", "_this call functionName_keyup"];
+_nul = ["keyup", "_this call functionName_keyup"] call CBA_fnc_addDisplayHandler;
functionName_keyup = 
{
mwvd_ctrl_alt = false;
@@ -37,7 +37,7 @@
};


-(findDisplay 46) displayAddEventHandler ["MouseZChanged", "_this call functionName_mwheel"];
+_nul = ["MouseZChanged", "_this call functionName_mwheel"] call CBA_fnc_addDisplayHandler;
functionName_mwheel = 
{
private["_state"];

And I think "Extended_EventHandlers" should be added to requiredAddons[].

Share this post


Link to post
Share on other sites

Thanks dystopian1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×