Scroll Wheel for View Levels Mod

Please post here for questions and discussion about general game modding

Moderator: Jason Petho

Post Reply
User avatar
junk2drive
Posts: 12856
Joined: Thu Jun 27, 2002 7:27 am
Location: Arizona West Coast

Scroll Wheel for View Levels Mod

Post by junk2drive »

If you have ever wanted to use your mouse scroll wheel to change the view level up or down here is what you need.

A program called AutoHotkey.

http://www.autohotkey.com/

Read the instructions on how to install it. After you install it you should be able to right click your desktop and see New > AutoHotkey Script

Select that and name it JTCSscroll or something that you will recognize. Then right click and select Edit Script. Copy and paste this below what is already there. Then select save from the File dropdown menu and close the file.

number := 0

WheelUp::

number := Mod(number + 1, 6)
Sleep, 500
if number = 1
Send,{1}
,{Sleep, 500}
else if number = 2
Send,{2}
,{Sleep, 500}
else if number = 3
Send,{3}
,{Sleep, 500}
else if number = 4
Send,{4}
,{Sleep, 500}
else if number = 5
Send,{5}
,{Sleep, 500}


Return

WheelDown::

number := Mod(number + 5, 6)
Sleep, 500
if number = 1
Send,{1}
,{Sleep, 500}
else if number = 2
Send,{2}
,{Sleep, 500}
else if number = 3
Send,{3}
,{Sleep, 500}
else if number = 4
Send,{4}
,{Sleep, 500}
else if number = 5
Send,{5}
,{Sleep, 500}


Return

Escape::
ExitApp

To run the script, right click the desktop icon and select Run Script. There will be an icon on your task bar. Play the game and you may scroll up or down through the number 1-5 views. It will rollover so that after 5 it will go to 1. There is a 0 between 5 and 1 so that there is a non-action if you accidentally roll the wheel.

To exit the script, press Esc or right click the task bar icon and select exit.

Enjoy
Conflict of Heroes "Most games are like checkers or chess and some have dice and cards involved too. This game plays like checkers but you think like chess and the dice and cards can change everything in real time."
Post Reply

Return to “Mods and Scenarios”