Re: Capturing player stats using cheatengine
Posted: Mon Jun 13, 2022 1:39 pm
Hi, necrobumping this thread to post the full source code of the
Note: This oxp will also make you kind of immune to missiles. As far as I know, a single missile cannot take you out (for strong ships) and whatever damage you have from missiles will get healed the moment an enemy fires laser at you. Not sure about bombs though, as I don't know how ships fare against bombs.
Also, this oxp can be modified to make damage taken halved or quartered instead of full invulnerability. Somebody has to figure that out.
script.js
of my cheat oxp.Code: Select all
this.name = "immunetolaser";
this.author = "hulo";
this.copyright = "(C) hulo";
this.licence = "public domain";
this.description = "Being hit by Laser restores player's foreward and aft shield";
this.version = "1.00";
"use strict";
this.startUp = function()
{
log(this.name, "Initialising OXP " + this.name);
}
this.shipBeingAttacked = function(whom)
{
player.ship.aftShield = player.ship.maxAftShield;
player.ship.forwardShield = player.ship.maxForwardShield;
}
this.shipBeingAttackedByCloaked = function()
{
player.ship.aftShield = player.ship.maxAftShield;
player.ship.forwardShield = player.ship.maxForwardShield;
}
Also, this oxp can be modified to make damage taken halved or quartered instead of full invulnerability. Somebody has to figure that out.