Teleglitch: Die More Edition

Upload your cheat tables here (No requests)
Post Reply
User avatar
STN
Founder
Founder
Posts: 3156
Joined: Thu Mar 02, 2017 7:48 pm
Reputation: 527

Teleglitch: Die More Edition

Post by STN » Tue May 09, 2017 9:45 am

Thanks to Shinkansen for his table, I used some of his injection points and
offsets in his super gun script to help find some gun values. Check out his
table (and give him a thumbs up):

http://www.cheatengine.org/forum/viewtopic.php?t=577470

To use this table, enable all the blue scripts, and enable the individual
cheats that you want to use.

health
Sets your health and armor to 100 each frame, and sets player 'invulnerable'
flag.

Gun Ammo Use
Fills your clip each frame

Fast Firing
Removes the firing delay for weapons, hello machine-shotgun

One Hit Kill
Uses 999999 as gun damage instead of the real damage of your gun


There are other scripts with locations for player location and inventory
if you want to investigate them, and showing you pointers for health, current
gun and location.


Change log:

Version 2 I added a check for the health code to make sure it was referencing
the player so it shouldn't affect turrets or bosses anymore. I also removed
the hotkeys. I know F6 stops monsters if you have the editor enabled and
the others might do something too.

---------------------------- NOTES ---------------------------------
In addition, the lua scripts for the game are in the game directory, for instance mine are in: O:\Games\Steam\steamapps\common\TeleglitchDME\lua

So if you edit the function GetMaxItemsInStack(itemtype) in the cfunctions.lua file to be this you will be able to stack even weapons to 99:



Code:
function GetMaxItemsInStack(itemtype)
if not itemtable[itemtype] then return 1 end
if not itemtable[itemtype].stack then return 1 end
return 99
--return itemtable[itemtype].stack
end


In the "settings.lua" file in the main game directory there is an "editorenabled" value that you can change to 'true', then you can hit 'F1' in game and get a console where you can run lua commands. One is "health (1)" which will enable health .

You can also use player.GetPlayer():GiveItem("powerlegs") for instance to give yourself a powerlegs. You can edit levelgenerator.lua to do this every time you start a level if you want. I did just that for "detector2" (the EM detector) also.

Made by jgoemat
Attachments
Teleglitch.CT
(59.93 KiB) Downloaded 166 times
For site updates, follow FRF's official Twitter, Facebook

Post Reply

Who is online

Users browsing this forum: awpmybae, Baidu [Spider], engelkie, Google Adsense [Bot], impulsa, krul, Memiomy, rampant_uterus, shawnxtx, SunBeam