• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

Need Help Cheats Complications Due To Laptop Hardware

mgtheog.

Landlubber
I recently put build 14 on my laptop after being a long time player on my main desktop but I've run into an issue when trying to use cheats. I use an HP laptop, which means that there isn't an actual physical number pad on it or even a numlock button. HP laptops have an application that serves as an on-screen keyboard but I cannot use this due to the game locking in my mouse and controls and not being able to be pulled back up when I go to my windows home screen. Is there any work around to this, such as going into my save file's character stats or settings and changing my stats and setting god mode to true manually?
 
Does the laptop have function keys which PoTC recognises - for example, F1 to return to main menu, F2 to access the interface menu?

If so, edit "PROGRAM\console.c". Find this line:
Code:
int limit;
Immediately below it, add:
Code:
LAi_SetImmortal(Pchar, true);
Then, in game, press F12 to run "console.c". That should bring up a message on screen "Executed Console", and you should then be immortal. You may need to press F12 again later because some storylines and at least one general sidequest temporarily make the player immortal, then cancel the immortality again later.

Beyond that, given the laptop's limited keyboard, you might want to invest in a cheap USB keyboard - and not just for PoTC! Possibly a mouse too, so you don't need to use the laptop's trackpad for everything.
 
My laptop does have F1 through F12 function keys (I just need to use them with the fn key) and I'll give the code a try. I do have a wireless gaming mouse with extra programmable buttons so I'm good on that end but It's only 3 extra buttons and I'd imagine that I can't program the cheats to those buttons instead of the numpad. I'll let you know how the console.c command line goes later on. Thanks a bunch, mate.
 
Back
Top