TRX/docs/tr2/COMMANDS.md

104 lines
2.9 KiB
Markdown
Raw Normal View History

2024-10-02 09:33:35 +02:00
# Commands
TR2X introduces a developer console, by default accessible with the <kbd>/</kbd> key.
Currently supported commands:
- `/pos`
Retrieves precise information about Lara's coordinates. Knowledge is power!
- `/tp {room_number}`
`/tp {x} {y} {z}`
Instant travel! Teleports Lara into a random spot within the specified room or the specified X,Y,Z coordinates.
- `/hp`
`/hp {health}`
Sets Lara's health points to the specified value. Tougher trials await!
- `/heal`
Tough day, Lara? Heals our girl back to full health.
- `/flip`
`/flip off`
`/flip on`
Switches the global flipmap on or off, turning the reality around you on its head.
2024-10-02 09:33:35 +02:00
- `/flood`
`/drain`
2025-03-13 20:49:55 +01:00
- `/flood {room_num}`
`/drain {room_num}`
Floods or drains the chosen room at will. For when drowning is preferable to puzzles!
2024-10-02 09:33:35 +02:00
- `/give {item_name}`
`/give {num} {item_name}`
`/give all`
`/give guns`
`/give keys`
Gives Lara an item. Try `/give guns` to arm her to the teeth, and `/give keys` to get her all important puzzle items. Ain't nobody got time for searching!
- `/kill`
`/kill all`
`/kill {enemy_type}`
Tired of rats, spiders, tigers, Italian mafia and literally every living thing trying to spoil your adventure? This command instantly disposes of the nearest enemy, or kills them all at once.
- `/fly`
Turns on the fly cheat. Why even walk?
- `/cheats on`
`/cheats off`
Enables or disables cheat keys. It's not like disabling them will make this console any less of a cheat.
- `/wireframe on`
`/wireframe off`
Enables or disables the wireframe mode. Enter the debugging realm!
2024-10-02 09:33:35 +02:00
- `/endlevel`
Ends the current level. Ideal for speedruns.
- `/level {num}`
`/level {name}`
`/play {num}`
`/play {name}`
2025-03-11 22:52:59 +01:00
Plays the specified level. `/play 0` plays the gym level if it's available regular levels always start with number 1.
2024-10-02 09:33:35 +02:00
2025-02-02 18:38:33 +01:00
- `/cut {num}`
`/cutscene {num}`
2025-03-11 22:52:59 +01:00
Plays the specified cutscene, starting at 1.
2025-02-02 18:38:33 +01:00
2025-02-02 19:06:07 +01:00
- `/gym`
`/home`
Plays Lara's Home, if available. Alias of `/play 0`.
2024-10-02 09:33:35 +02:00
- `/load {slot_num}`
Loads the specified savegame slot.
- `/save {slot_num}`
Saves the game to the specified savegame slot.
- `/demo`
2024-12-28 16:33:12 +01:00
`/demo {num}`
2025-03-11 22:52:59 +01:00
Starts the specified demo, starting at 1. If no number is chosen, the demos will cycle.
2024-10-02 09:33:35 +02:00
- `/title`
Exits the game to main screen.
- `/exit`
Closes the game.
2024-11-03 01:28:51 +01:00
- `/speed`
- `/speed {num}`
Retrieves or sets current game speed.
2025-02-22 17:42:01 +01:00
- `/fps`
- `/fps {num}`
Retrieves or sets current frames per second.
2025-01-01 21:11:14 +01:00
- `/set {option}`
- `/set {option} {value}`
Retrieves or assigns a new value to the given configuration option. Some options need a game re-launch to apply. The option names use `-` rather than `_`.
2025-02-02 23:37:25 +01:00
- `/music {track_id}`
Plays a given music track. It uses internal game IDs that for historic reasons don't align with the music folder's file names.
2024-10-02 09:33:35 +02:00
- `/sfx`
- `/sfx {sound}`
Plays a given sound sample.