Page 1 of 1

Hide mouse cursor (for making screens/videos)

Posted: Wed Jul 02, 2014 9:44 pm
by Deamon
Here is how I completely remove the mouse cursor from the game, so I can make screenshots/movies without it getting in the way! The Q-lock is handy, but you can't move the camera! This way, you can ;)

primary.ZAD\Data_Core\Content\UI\definitions\lube\pointer\mouse.lol

Paste this in there (replace all):

Code: Select all

module((...), lube.seeall)
function defaults()
end
function initialise(_ARG_0_, _ARG_1_, _ARG_2_)
  _ARG_0_:create_graphic():set_image(image.cursor)
  _ARG_0_:create_graphic():set_visible(false)
end
function on_controller_change(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_)
  if not properties.ignore_controller_changes then
    if _ARG_3_ == "controller" then
      ui:hide_pointer()
    else
      ui:hide_pointer()
    end
  end
end
Please mind: you can only control the menus with the keyboard and controller this way! In action replay mode, you can't click the on screen buttons! You can still use the mouse to look around and move, and the keyboard/controller controls to control the action.

I have made this tweak into an easy to use zMODz ZAD file, just put it in your C:R ZAD folder.

zMODz_NoMouse.zad