The console is an in-game tool in Redguard that gives you access to various commands. Among other things, these allow you to set flags which control the progress of the story, modify attributes of objects, add and remove items, and fast travel to various places. The console can be opened in-game or on the main menu using the F12 key. Use the up and down keys, as well as the page up and page down keys, to view the console's command history.
The most useful commands, which correspond to the actions mentioned above, are setflag
, object
, item
, and load
. All commands have a shortcut which can be used in place of the full name, and several require a subcommand to specify a more precise action, such as item add
and item drop
.
Useful CombinationsEdit
Toggle CollisionEdit
object player object attr attr_reserved_collide=0 (Disable) object attr attr_reserved_collide=15 (Enable)
This toggles collision for Cyrus, similar to the command tcl in other games. The main downside is that you can only walk horizontally; there is no way to increase or decrease vertical position without using the command at a different altitude. Also, jumping will freeze you in place until you disable the command.
Lock Object PositionEdit
(Select an object) object attr attr_stop_x_move=1 object attr attr_stop_z_move=1 object attr attr_stop_y_rotate=1 (Use 0s instead to allow movement again)
This sequence of commands locks an object, usually an NPC or creature, at their current position. If you use the last command, rotation will be disabled as well. Locking the object's position can be useful for taking screenshots; it is not a very effective method of cheating. The best way to find an object to select is through the object closest
command.
CommandsEdit
Command | Shortcut | Subcommand | Notes |
---|---|---|---|
commands | ? | Shows all of the commands in this table, along with their shortcuts | |
show | sh | memory | Displays information about memory usage |
world | |||
video | |||
objects | |||
player | |||
xngine | |||
ai | |||
3d | |||
library | |||
registry | |||
machine | |||
manager | |||
sound | |||
group <group number> | |||
user <user-group number> | |||
active | |||
grid [<grid number>all] | |||
all | |||
remap | |||
marker [flats] | |||
get | g | ||
set | s | ||
getflag | gf | ||
setflag | sf | ||
console | con | clear | Clears all text in the console. This will cause any text entered afterward to be invisible, so avoid this command. |
write | Writes the current console output to a file called CONSOLE.LOG in the main Redguard directory | ||
font | No effect | ||
shadow | Toggles on and off a shadow effect on console text, though this makes it harder to read. Default is off. | ||
save | Saves the current console preferences, in particular color and paper background, to a file called REDGUARD.CPF in the main Redguard directory. They will be used the next time you run the game, unless you delete the file. | ||
col0 (edit color) | Cycles through 16 different colors for input text and the console information at the top. Default is 0 (black). | ||
col1 (report color) | Cycles through 16 different colors for output text. Default is 13 (green). | ||
col2 (on screen color) | Appears to have no effect. Default is 9 (magenta). | ||
col3 (paper color) | Cycles through 16 different colors for the console information at the top, if console paper is toggled off. Default is 0 (black). |
||
hex, ? | |||
limit, ? | |||
paper | Toggles on and off a high resolution paper background. Default is on. | ||
show | Displays information about the console: version, font, shadow, edit color, report color, screen color, paper color, hex lines, paper, clear color, and screen limit | ||
lpt | page | ||
all | |||
object | o | select | |
master <master number to select> | |||
search <ai script to search for> | Lists the objects in the current world with an ai script matching <ai script to search for> , or all objects if this parameter is left blank. Each entry shows the object's name if it has one, id, address, and ai script. The number of objects found is reported at the bottom. |
||
general | Lists general variable values for the selected object | ||
quick | Lists some of the more important variables from object general in a condensed format |
||
coord | Same as object quick , but with only the position and angle variables |
||
monitor | |||
matrix | |||
locals | Lists local variable values for the selected object | ||
locations | |||
strings | |||
script | |||
family | |||
zap <amount> | |||
<address to select> | Selects the object at the specified address | ||
"<name of object>" | Selects the object with the given name | ||
player | Selects Cyrus as the current object | ||
attr | Lists all of the attribute values for the selected object | ||
attr name = value | If name is a defined attribute of the selected object, sets the attribute's value to value |
||
goto | Moves Cyrus to the selected object | ||
die | |||
combat | Lists combat variables for the selected object, if it is combat capable | ||
vcollide | |||
closest | Selects the object closest to the camera | ||
hex | x | ||
recover | r | ||
break | b | Exits the game | |
load | l | load MAP NUMBER[, MARKER][, ANGLE]
Loads the map with id Use the |
|
poke | p | ||
logplayer | pl | off | |
console | |||
screen | |||
logmonitor | ml | off | |
console | |||
screen | |||
setmarker | sm | ||
getmarker | gm | ||
setnetmark | snm | ||
getnetmark | gnm | ||
openputnode | op | ||
saveputnode | sp | ||
closeputnode | cp | ||
rope | rp | ||
restart | rs | video | |
xngine | |||
test | t | ||
test2 | t2 | ||
test3 | t3 | ||
item | i | show[, <id>] | Displays information about the item with the given ID, or all items if no ID is provided. Most of this data comes from ITEM.INI. |
player | Displays information for all items in your inventory, in the same format as show |
||
add, <id> | Adds the specified item to your inventory. Unfortunately, there is no way to add multiple items at a time. | ||
sub, <id> | Removes one instance of the specified item from your inventory | ||
drop, <id>, <amount> | Removes the given amount of the specified item from your inventory | ||
getmapmarker | gmm | getmapmarker[, MARKER]
Same as |
|
playerdist | pd | Calculates the distance between the selected object and the player | |
cameradist | cd | Calculates the distance between the selected object and the camera | |
walk | w | ||
render | rd | on | |
off | |||
node | n | ||
scene | sn | ||
script | sc | log | |
disable [<script name>] | |||
block | |||
fxlightflag | lf | ||
fxsavelights | sl | ||
fxtexturelist | fxl | ||
fxshowtexture | fxsh | ||
fxgolight | fxgl | ||
fxselect | fxsel | ||
fxeditred | fxer | ||
fxeditgreen | fxeg | ||
fxeditblue | fxeb | ||
fxeditradius | fxerad | ||
fxsunangle | sang | ||
fxsunskew | sskew | ||
fxsunscale | sscale | ||
fxsunred | sred | ||
fxsungreen | sgre | ||
fxsunblue | sblu | ||
fxsunbrightness | sbri | ||
fxsunimgred | sired | Changes the red color value of the sun | |
fxsunimggreen | sigre | Changes the green color value of the sun | |
fxsunimgblue | siblu | Changes the blue color value of the sun | |
fxskyscale | skysc | ||
fxskylevel | skyl | ||
fxskyspeed | skysp | Changes the speed of the clouds in the sky | |
fxfogred | fred | ||
fxfoggreen | fgre | ||
fxfogblue | fblu | ||
fxambientred | ared | ||
fxambientgreen | agre | ||
fxambientblue | ablu | ||
fxwaveamp | wamp | ||
fxwavespeed | wsp | ||
fxwavefreq | wfrq | ||
fxlightmove | fxlm | ||
fxincstep | fxis | ||
fxmanualx | fxmx | ||
fxmanualy | fxmy | ||
fxmanualz | fxmz | ||
fxscriptname | fxsn | ||
pvotreeinfo | pvoi | ||
pvoaddpatch | pvoa | ||
pvodeletepatch | pvod | ||
pvoonoff | pvo | ||
pvopatchsave | pvos | ||
pvotreeload | pvol | ||
delay | dl |
Map MarkersEdit
All of the map markers in the game are listed below. Use the load
command and any map ID and marker combination to quickly travel to various locations. An asterisk (*) indicates that the location is used for a cutscene.
|
|
BugsEdit
- The console often runs out of memory after so many commands, causing the game to freeze. ?