You are here

[Tweak] Hide mouse cursor (for making screens/videos)

Deamon's picture
Cunning Stunt Licker
Kickstarter Backer
Posts: 306
[Tweak] Hide mouse cursor (for making screens/videos)
#1 Submitted: Wed, 16/04/2014 - 08:35

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):

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.

Edited by: shane on 01/07/2015 - 16:33

Carmageddon UNlimited Team For all your wrecking needs!
"All prey keep left. Fellow raptors keep up."
TDR2000 MAX-Pack A community add-on pack.

Deamon's picture
Cunning Stunt Licker
Kickstarter Backer
Posts: 306
Submitted: Sat, 03/05/2014 - 15:44

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

Carmageddon UNlimited Team For all your wrecking needs!
"All prey keep left. Fellow raptors keep up."
TDR2000 MAX-Pack A community add-on pack.

randomness