is there any cheat codes?

Discuss the game Trespasser here!

Moderators: TresCom Support Team, TresCom Board Managers

Post Reply
ilovepizza1234
Dinosaur egg
Dinosaur egg
Posts: 3
Joined: Wed Feb 01, 2023 8:33 pm

is there any cheat codes?

Post by ilovepizza1234 »

cheat codes like infinite health, infinite ammo, fly etc.
User avatar
Rebel
-=TresCom Developer=-
-=TresCom Developer=-
Posts: 6123
Joined: Sun Nov 10, 2002 10:26 pm
Location: That country nobody likes (you know the one)
Contact:

Re: is there any cheat codes?

Post by Rebel »

invul, dinos, bones, tele 0, 0, 0 (coords) and several others that I can't even recall at the moment. They don't all work, even in C.E. unless you're playing in developer mode. Welcome, btw.
I haven't used them in ages, and I'm a tired to boot so don't take what I wrote for the cheats as entirely accurate.
User avatar
Nick3069
Albertosaurus
Albertosaurus
Posts: 2361
Joined: Wed May 16, 2007 10:32 pm
Location: Ontario, Canada

Re: is there any cheat codes?

Post by Nick3069 »

The list of cheats for the retail game and the demo can be found here:
https://www.trescom.org/tips-tricks/cheats/

Yes, the cheats you mentioned exist:
invul = infinite health
woo = infinite ammo
fly = fly

As Rebel said, some of the cheats may or may not work depending on the version of the game. The invul cheat in particular is problematic. If I remember correctly it is disabled in the demo, retail release and CE, but is re-enabled in the official patch and ATX. (CE also has the option to re-enable it.)
The fly cheat is only available with ATX or CE, but CE requires some setting up; you need to add the following line to Trespasser.ini:

Code: Select all

[Debug]
LogDevInfo=99
I wish we had a complete list of all the ATX cheats and the CE cheats.

Edit: I was able to extract the the list of ATX cheats from the DLL file:

Code: Select all

MAP		= Displays a map of the level in the corner of the screen. Map BMP of the level must exist to work.
TIME		= Displays elapsed time
RESET		= ?
CANIMAL		= ?
KILL		= ?
MDINO		= ?
MSEL		= ?
HEALDINO	= ?
CLOAK 		= Invisible to dinosaurs.
FAC		= More detailed version of LOC
FLY		= Gives the ability to fly and pass through objects. See FLYTELE.
KILLALL		= ?
TELEDINO	= ?
REC		= Turns on/off video screen capture mode.
PLAYERHEALTH	= Displays player health.
FPS		= Displays Frames Per Second.
SUPERHP		= Sets HP to over 2 million.
NORMALHP	= Sets HP to 100.
SHOWDD		= Displays Draw Distance.
LOAD		= Loads a level's SCN file.
BUFSIZE		= Displays buffer infomation.
OBJ		= ?
FOLLOWDINO	= ?
THIRDP		= Turns on/off third person mode.
AIM		= Turn on/off red dot/laser for guns.
OBJN		= ?
OBJF		= ?
CDINO		= ?
GSPD		= Displays game speed.
LINST		= ?
COUTP		= ?
COUTPCNT	= ?
FLYTELE		= Turns off fly mode but remain at the current location.
OBJAIM		= ? 
HUD		= Show/hides the Heads Up Display.
TRACES		= ?
USEOBJ		= ? (related to OBJ)
SUICIDE		= Kills player
CPBCNT		= ?
TOGGLERAIN	= Turns rain on/off?
PLG		= ?
CH		= ?
TN		= ?
TEST		= ?
TEST2		= ?
DUMP		= ?
Edit2: CE cheats:

Code: Select all

MEMLOG		= output some current memory usage statistics to the "trespasser.log" file
FLY		= Same as FLY from ATX.
RESKY		= reloads the sky.
DEBUGZ		= toggles Z-buffer testing when drawing wireframe debug visuals (like "BONES")
SHEARDIST	= same as the "MaxShearTestDist" option in "trespasser.ini"
CACHEDIST	= same as the "CacheMinDist" option in "trespasser.ini"
Last edited by Nick3069 on Thu Feb 02, 2023 9:03 am, edited 1 time in total.
User avatar
Hilwo
Dilophosaurus
Dilophosaurus
Posts: 2644
Joined: Mon Nov 11, 2002 7:06 pm

Re: is there any cheat codes?

Post by Hilwo »

There's also a level select. At the main menu, press and hold Control + Shift + Q, then press and release W.

be.scn - Level 1 Beach
jr.scn - Level 2 Jungle Road
ij.scn - Level 3 Industrial Jungle
IT.scn - Level 4 InGen Town
lab.scn - Level 5 InGen Lab
as.scn - Level 6 Ascent Part 1
as2.scn - Level 7 Ascent Part 2
sum.scn - Level 8 Summit
TestScene.scn
TestScnNght.scn

Edit: Yes, also welcome :)
User avatar
tatu
-=TresCom Website Manager=-
-=TresCom Website Manager=-
Posts: 5088
Joined: Fri Jun 24, 2005 9:40 pm
Antispam: No
Location: Sweden
Contact:

Re: is there any cheat codes?

Post by tatu »

Welcome to TresCom, as previous people have said, there are some cheats.

Nick, all cheats are luckily written in the ATX readme. ;)

Here is a full list of what I know, and additional information:

Code: Select all

Retail

BIONICWOMAN		-			Slows down the entire game.
BONES			-			Enables wireframe mode. This can be helpful for modders to see of physics have scale issues.
DINOS			-			Freezes all dinosaurs. Disabled in patched versions and demo (does not apply to ATX or CE).
GORE 1-3		-			Set the amount of blood shown.
IMOUSE 0-1		-			1 invert the mouse, 0 do not.
INVUL			-			God-mode. Disabled in retail game.
LOC			-			Displays the current location in upper left-hand corner.
SORT BTF		-			Sort the visual layers back to front.
SORT FTB		-			Sort the visual layers front to back.
TELE X, Y, Z		-			Teleports Anne to a positon (use x, y, z coordinates). Cheat seems to be buggy, may or may not work every time.
TNEXT			-			Teleports you to the next “Teleport” trigger, if present in the level. May randomly result in a random death.
WIN			-			Plays the win (win.smk) video.
WOO			-			Unlimited ammo. You must have a gun with ammo in your hand in order to get this cheat to work.


ATX

These are cheats added with the ATX patch. These are exclusive and will not work with the retail game or the CE patch. Cheats listed are for the latest ATX v2.13 BETA and may not work on earlier ATX versions.
For more information about each cheat, see the ATX readme.

AIM			-			Displays a crosshair.
B/N			-			Single-character commands (Type B or N, not both) cycle through the list of active animals in the currently loaded level, to be used with the CANIMAL cheat.
BIONICWOMAN		-			Slows down the game. Modified retail cheat. Will use the custom speed settings from the MatrixTres feature defined in ATXconfig.ini.
BUFSIZE			-			This shows the size (in bytes) of some of ATX's internal buffers.
CANIMAL			-			Displays the currently selected (active) dinosaur from the complete list of CAnimal instances and related information from the current level, if the level has dinosaurs.
CDINO			-			To be used with the CANIMAL cheat. It will select the CAnimal dino instance that is currently closest to the player.
CH			-			Lists all recognized cheats.
CLOAK			-			Makes Anne invisible.
CPBCNT			-			This displays in real-time the total number of current single particles being treated by the engine.
DUMP			-			Collects all text information that ATX is displaying in-game and on-screen at the time of command entry, and saves it to ATX's ATX_LOGFILE.txt.
FLY			-			Fly-mode.
FLYTELE			-			Disables fly-mode and teleports the player to current location.
FOLLOWDINO		-			It will kill all keyboard and mouse input to the player object and allow the camera to follow the CAnimal instance that is currently selected with the other CAnimal cheats.
FPS			-			Displays framerate.
GSPD			-			Displays the current game speed value.
HEALDINO		-			Fully heal the selected CAnimal.
HUD			-			Toggles the HUD.
INVUL			-			God-mode. Restored retail cheat.
KILL			-			Kills the currently selected CAnimal.
LINST			-			Displays info about the current instance from one of Trespasser's internal instance 'trees'.
LOAD (SCN)		-			Loads the specific level. Replace (SCN) with level name.
MAP			-			Displays a 2D map if found.
MDINO			-			Displays all animals within coordinates on the 2D map (if present).
MSEL			-			Displays the currently selected CAnimal instance as a blue cursor on the map.
NORMALHP		-			Resets player's HitPoints and MaxHitPoints values to their original quantities.
OBJ			-			This cheat, when accompanied by one parameter, a memory location in hex format (may be preceeded by “0x” or not) designating the base address of an instance, will give general information about the specified instance. Unless you are debugging or hacking Trespasser, this is generally not useful.
OBJAIM			-			To be used with the AIM cheat. Displays object information of the object being aimed on.
OBJN			-			This works in conjunction with the OBJ cheat, but is generally more useful. It will display the same information, but instead of accepting an address as parameter, it will take an instance's name as found in the level's T-Script.
OBJF			-			This cheat will give camera focus to the object last set by the OBJ or OBJN cheats.
PLAYERHEALTH		-			Displays player's current HitPoints and MaxHitPoints values
PLG			-			Sends the text message/parameter(s) following the “PLG” command to all plugins currently registered with ATX
REC			-			Start or stop video recording.
RESET			-			Resets the play time shown on TIME cheat.
SHOWDD			-			Temporarily shows the current Draw Distance variable's current exact value.
SUICIDE			-			Kills player.
SUPERHP			-			Sets player's HitPoints and MaxHitPoints values to approximately 2 billion.
TRACES			-			This cheat can display a series of cursors on a 2D map activated by the MAP cheat that represent some of the last positions the player has visited in the level.
TELEDINO X, Y, Z	-			This will teleport the currently selected CAnimal to the specified location.
THIRDP			-			Enables 3rd-person camera.
TIME			-			Displays the elapsed time from level start (H:M:S).
TN			-			Teleports Anne to next “Teleport” trigger if present. Same as retail TNEXT cheat.
TOGGLERAIN		-			Toggles experimental rain/snow effect if enabled in ATXconfig.ini.
Active project: Trespasser: Isla Sorna
Status:
BE-PH1: Released
PH2-IT: Pre-released
PL-SUM: In production

"...there used to be more benches, but InGen's workers removed them during the evacuation in the name of framerate."
ilovepizza1234
Dinosaur egg
Dinosaur egg
Posts: 3
Joined: Wed Feb 01, 2023 8:33 pm

Re: is there any cheat codes?

Post by ilovepizza1234 »

Nick3069 wrote: Thu Feb 02, 2023 12:30 am The list of cheats for the retail game and the demo can be found here:
https://www.trescom.org/tips-tricks/cheats/

Yes, the cheats you mentioned exist:
invul = infinite health
woo = infinite ammo
fly = fly

As Rebel said, some of the cheats may or may not work depending on the version of the game. The invul cheat in particular is problematic. If I remember correctly it is disabled in the demo, retail release and CE, but is re-enabled in the official patch and ATX. (CE also has the option to re-enable it.)
The fly cheat is only available with ATX or CE, but CE requires some setting up; you need to add the following line to Trespasser.ini:

Code: Select all

[Debug]
LogDevInfo=99
I wish we had a complete list of all the ATX cheats and the CE cheats.

Edit: I was able to extract the the list of ATX cheats from the DLL file:

Code: Select all

MAP		= Displays a map of the level in the corner of the screen. Map BMP of the level must exist to work.
TIME		= Displays elapsed time
RESET		= ?
CANIMAL		= ?
KILL		= ?
MDINO		= ?
MSEL		= ?
HEALDINO	= ?
CLOAK 		= Invisible to dinosaurs.
FAC		= More detailed version of LOC
FLY		= Gives the ability to fly and pass through objects. See FLYTELE.
KILLALL		= ?
TELEDINO	= ?
REC		= Turns on/off video screen capture mode.
PLAYERHEALTH	= Displays player health.
FPS		= Displays Frames Per Second.
SUPERHP		= Sets HP to over 2 million.
NORMALHP	= Sets HP to 100.
SHOWDD		= Displays Draw Distance.
LOAD		= Loads a level's SCN file.
BUFSIZE		= Displays buffer infomation.
OBJ		= ?
FOLLOWDINO	= ?
THIRDP		= Turns on/off third person mode.
AIM		= Turn on/off red dot/laser for guns.
OBJN		= ?
OBJF		= ?
CDINO		= ?
GSPD		= Displays game speed.
LINST		= ?
COUTP		= ?
COUTPCNT	= ?
FLYTELE		= Turns off fly mode but remain at the current location.
OBJAIM		= ? 
HUD		= Show/hides the Heads Up Display.
TRACES		= ?
USEOBJ		= ? (related to OBJ)
SUICIDE		= Kills player
CPBCNT		= ?
TOGGLERAIN	= Turns rain on/off?
PLG		= ?
CH		= ?
TN		= ?
TEST		= ?
TEST2		= ?
DUMP		= ?
Edit2: CE cheats:

Code: Select all

MEMLOG		= output some current memory usage statistics to the "trespasser.log" file
FLY		= Same as FLY from ATX.
RESKY		= reloads the sky.
DEBUGZ		= toggles Z-buffer testing when drawing wireframe debug visuals (like "BONES")
SHEARDIST	= same as the "MaxShearTestDist" option in "trespasser.ini"
CACHEDIST	= same as the "CacheMinDist" option in "trespasser.ini"
thank you very much. Now i can have fun in this game:D
ilovepizza1234
Dinosaur egg
Dinosaur egg
Posts: 3
Joined: Wed Feb 01, 2023 8:33 pm

Re: is there any cheat codes?

Post by ilovepizza1234 »

thank you all guys:)
User avatar
Hilwo
Dilophosaurus
Dilophosaurus
Posts: 2644
Joined: Mon Nov 11, 2002 7:06 pm

Re: is there any cheat codes?

Post by Hilwo »

You're welcome, have fun :)
User avatar
Draconisaurus
T-Rex Killer
T-Rex Killer
Posts: 14048
Joined: Mon Dec 06, 2004 5:21 pm
Antispam: No
Location: Isla Sorna
Contact:

Re: is there any cheat codes?

Post by Draconisaurus »

Welcome ilovepizza, to Trespasser Com. I must admit I am also a fan of pizza.
Post Reply