Hide mouse cursor (for making screens/videos)

Stainless got their baby back, threw it at us in 2015 and hit consoles in 2016!

Moderator: coffeycup

Post Reply
User avatar
Deamon
hit n run
Posts: 110
Joined: Sun Aug 21, 2005 4:01 pm

Hide mouse cursor (for making screens/videos)

Post by Deamon » Wed Jul 02, 2014 9:44 pm

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

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 3 guests