Mouse wheel map to action for the camera

Topics regarding Scripting with Reality Factory
Post Reply
Veleran
Posts: 891
Joined: Mon Aug 22, 2005 10:22 am
Location: Greece

Mouse wheel map to action for the camera

Post by Veleran » Sun Jan 29, 2012 1:36 pm

Is it possible find the mapping for the mouse wheel zoom in and out to us eit in a script?
Right now i have the camera at a steady distance and have also thought to add a fixed camea attached to a pawn that is rotated like my isometric camera is now and each time you roll the mouse wheel up the pawn moves towards the player 32 texels and
when you roll down the pawn moves away from the player 32 texels.
If there is a corresponding key mapping for the wheel and it can be done,do i have to add a separate order for each movement to limit the zoom in and out to 4 moves of 32 texels
which is total +128 max zoom and -128 max zoom?

The 128 texels is temporary i have nt tested how much i want to zoom in yet but i could fix that if you give ideas of the script structure like how many orders is best to use and if i have to switch to low level which i dont know to do yet.

User avatar
QuestOfDreams
Site Admin
Posts: 1520
Joined: Sun Jul 03, 2005 11:12 pm
Location: Austria
Contact:

Re: Mouse wheel map to action for the camera

Post by QuestOfDreams » Wed Feb 08, 2012 2:09 pm

Mouse wheel functionality is not supported, sorry.

Post Reply