Red Faction Console Commands: Difference between revisions

From Red Faction Wiki
No edit summary
No edit summary
Line 28: Line 28:
| Browse forward through the console log.
| Browse forward through the console log.
|}
|}
==Available Commands (Full Game)==
==Available Commands==
===Base Game===
===Base Game===
* This table lists console commands available as of the latest official client version (v1.20).
* This table lists console commands available as of the latest official client version (v1.20).

Revision as of 14:28, 27 August 2020

The Red Faction console is accessible from both clients and dedicated servers in every known version of Red Faction (except the International Demo)

Example of the dedicated server console usage

Console Hotkeys

Hotkey Function
[~] Show/hide the console (only applicable for clients).
[TAB] Complete partially-entered command.
[F3] Display most recently entered command.
[Up] Cycle back through recently entered commands.
[Down] Cycle forward through recently entered commands.
[Page Up] Browse back through the console log.
[Page Down] Browse forward through the console log.

Available Commands

Base Game

  • This table lists console commands available as of the latest official client version (v1.20).
Command Syntax Useful in SP Useful for MP Clients Useful for MP Servers Usable via rcon Function
ban [player name] No No Yes Yes Kicks the specified player from the server and adds their IP address to your banlist.txt file.
ban_ip [ip address/range] No No Yes Yes Kicks any players with the specified IP address/range from the server and adds that IP address/range to your banlist.txt file.
info Yes Yes Yes No Displays information such as level name, time, framerate, names of connected clients, client pings, and client IPs (if run on a server).
kick [player name] No No Yes Yes Kicks the specified player from the server. (does not ban them)
level [ .rfl filename] Yes No Yes Yes Changes to the specified level. If run as a client while that not connected to a server, the level will be loaded in single player mode. If run as a server (or via rcon), the server will switch to the level in multiplayer mode.
name [player name] No Yes Yes* No If run as a client, changes the client's name to the specified name. If run as a listen server, changes the client's name to the specified name plus changes the server's name to "[player name]'s game". Spaces and other special characters can be specified via this command by encapsulating the desired name in quotation marks.
rcon_request [rcon password] No Yes No No Requests remote console privileges. Only usable when connected to a dedicated server that has an rcon password configured in dedicated_server.txt. Password is case insensitive (except in Dash Faction v1.3.0+).
quit Yes Yes Yes No Exits the server or client without asking for confirmation.
rate [number or rate preset ] No Yes Yes No Set the server or client network update rate (in bytes/sec).
say [chat message] No Yes Yes No Sends a chat message to everyone in the server from your player name. If run as a dedicated server, chat message is sent from "Server". Spaces and other special characters can be specified via this command by encapsulating the chat message in quotation marks.
team_say [chat message] No Yes No No Sends a chat message to everyone on the same team as you in the server. Only usable in team gamemodes.
team ["red" or "blue"] No Yes No No Swap to the specified team. Only usable in team gamemodes.
simultaneous_ping [integer] No Yes No No Specify number of multiplayer servers to query simultaneously.
dump_tga Yes Yes No No Toggle between .tga & .jpg format for screenshots (when you press the [Print Screen] key).
help Yes Yes Yes No Display list of available commands.
? Yes Yes Yes No Alias for help.
man Yes Yes Yes No Alias for help.
kill Yes Yes No No Kill yourself.
rcon [rcon command] No Yes* No No Prefix for issuing remote console commands to a dedicated server to which you've already authenticated via rcon_request.
vivalahelvig Yes No No No Toggle god mode. (Undocumented)
bighugmug Yes No No No Give player all weapons and ammo. (Undocumented)
heehoo Yes No No No Toggle player movemode between flying and walking. (Undocumented)
camera1 Yes No No No Set camera mode to first person (default). (Undocumented)
camera2 Yes No No No Set camera mode to free camera. (Undocumented)
camera3 Yes No No No Set camera mode to third person. (Undocumented)

Dash Faction

  • This table lists new console commands introduced in Dash Faction. Note that all commands listed above under Base Game are also still usable in Dash Faction.
Command Syntax Required Dash Version Useful in SP Useful for MP Clients Useful for MP Servers Usable via rcon Function
maxfps [integer] 0.6.0+ Yes Yes Yes No Sets maximal FPS limit. Allowed range is 10 - 240. Higher or lower values will be clamped.
hud 0.6.0+ Yes Yes No No Toggle HUD visibility.
unban_last 0.6.0+ No No Yes Yes Remove most recently banned player from the ban list.
spectate [player name] 1.2.0+* No Yes No No If a player is specified, start spectate mode from that player's perspective. In Dash 1.4.1+, entering this command without a specified player starts free camera spectate mode instead.
inputmode 1.2.0+ Yes Yes No No Toggle between RF default and DirectInput mouse input modes.
ms [decimal value] 1.0.0+ Yes Yes No No Set mouse sensitivity to the specified decimal value. Entering this command without a specified value displays the current value.
vli 1.0.0+ Yes Yes No No Toggle volumetric lighting.
findmap [search string] 1.2.0+ Yes Yes Yes No Search locally-installed levels and return all filenames that contain the specified search string.
levelsounds [decimal value] 1.0.0+ Yes Yes No No Set the volume for in-level sounds (such as ambient sounds) to the specified decimal value. Entering this command without a specified value displays the current value.
map [ .rfl filename] 1.3.0+ Yes No Yes Yes Alias for level.
levelsp [ .rfl filename] 0.6.0 - 1.3.0 Yes No No No Load the specified level in single player mode. Deprecated as of Dash 1.3.0 as the level command now performs the same function when not connected to a server.
findlevel [search string] 1.3.0+ Yes Yes Yes No Alias for findmap.
show_enemy_bullets 1.3.0+ Yes Yes No No Toggle visibility of bullet impact effects for shots fired by opponents.
debug [debug type] 1.3.0+ Yes No No No Toggle display of built-in debug features. Entering "help debug" displays full list of available types. The types are: thruster, light, light2, push_climb_reg, geo_reg, glass, mover, ignite, movemode, perf, perfbar, waypoint, network, particlestats, weapon, event, trigger, objrender, roomstats, trans, room, portal, lightmap, and nolightmap. Additional debug type show_invisible_faces is available in Dash 1.4.0+.
playercount 1.3.0+ No Yes Yes No Display number of currently connected clients.
clients_count 1.3.0+ No Yes Yes No Alias for playercount.
fullscreen 1.3.0+ Yes Yes No No Switch client to fullscreen mode.
windowed 1.3.0+ Yes Yes No No Switch client to windowed mode.
map_ext 1.4.0+ No No Yes Yes Extend the time limit for the current map/round by 5 minutes.
skip_cutscene_bind [control name] 1.4.1+ Yes No No No Specify the existing control name (ie. jump, crouch, etc.) for skipping cutscenes in single player. Defaults to Multiplayer Stats (TAB).
map_rest 1.4.0+ No No Yes Yes Restart the current round on the same map.
map_next 1.4.0+ No No Yes Yes End the current round and load the next map in the server rotation.
map_prev 1.4.0+ No No Yes Yes End the current round and load the previous map in the server rotation.
kill_limit [integer] 1.4.0+ No No Yes Yes Sets the frag limit for the server (win condition in DM and TDM gamemodes).
time_limit [integer] 1.4.0+ No No Yes Yes Sets the time limit for the server in minutes (endgame condition in all gamemodes).
capture_limit [integer] 1.4.0+ No No Yes Yes Sets the flag capture limit for the server (win condition in CTF gamemode).
geomod_limit [integer] 1.4.0+ No No Yes Yes Sets the maximum amount of geomod craters per map/round on the server. Maximum allowed value is 128.
bighud 1.5.0+ Yes Yes No No Toggle larger HUD (intended for high resolutions).
reticle_scale [decimal value] 1.5.0+ Yes Yes No No Set reticle scale. Entering this command without a specified value displays the current value.
damage_screen_flash 1.5.0+ Yes Yes No No Toggle the visible red screen flash when you take damage.
download_level [ .rfl filename] 1.5.0+ Yes Yes Yes Yes Query the FactionFiles.com database for a map with the specified .rfl filename. If found, download and install it.
nearest_texture_filtering 1.5.0+ Yes Yes No No Toggle between nearest neighbor texture filtering and RF default texture filtering.
antialiasing 1.5.0+ Yes Yes No No Toggle whether antialiasing is enabled or disabled.
mesh_static_lighting 1.5.0+ Yes Yes No No Toggle whether static lighting for meshes (clutter, pickups, etc.) is enabled or disabled.
linear_pitch 1.5.0+ Yes Yes No No Toggle whether linear pitch curve for vertical mouse movement is enabled or disabled.
swap_assault_rifle_controls 1.5.0+ Yes Yes No No Toggle assault rifle controls between stock (primary = burst; secondary = auto) or inverted (primary = auto; secondary = burst).
detail_textures 1.5.0+ Yes Yes No No Toggle whether detail textures are enabled or disabled.
difficulty [value] 1.5.0+ Yes No No No Set (single player) game difficulty. Available values are easy, medium, hard, and impossible.
frameratetest 1.5.0+ Yes No No No Perform a framerate test.
kick_all 1.5.0+ No No Yes Yes Kicks all connected clients from the server.
level_info 1.5.0+ Yes Yes Yes No Display basic info on currently loaded level.
verify_level 1.5.0+ Yes Yes Yes No Verify and display additional information on currently loaded level.
system_info 1.5.0+ Yes Yes Yes No Display information about your system.
sound 1.5.0+ Yes Yes No No Toggle whether sound is enabled or disabled.
timedemo 1.5.0+ Yes No No No Perform a time demo test.
trilinear_filtering 1.3.0+ Yes Yes No No Toggles between trilinear and bilinear filtering.

Pure Faction Client/Server Console Commands

Example of the Pure Faction in-game console in action

Pure Faction has it's own slightly modified console, which shows as a shade of blue in-game. Some extra console commands are enabled in Pure Faction, as seen in the following list:

  • ban <player name> - Kicks the player from the server and adds his IP to your banlist.txt. Only works on servers. +++
  • ban_ip <player IP address or range> - Kicks any players with that IP or range from the server and adds that IP or range to your banlist.txt. Only works on servers
  • info - Displays information such as Level Name, Level Time (DD/HH/MM/SS), framerate, client names, client pings, and client IPs.
  • kick <player name> - Kicks the player from the server. Only works on servers. +++
  • level <level .rfl name> - Changes to the specified map (after the freezetime at the scoreboard). Only works on servers.
  • name <player name> - ONLY works on a Listen Server or Client. Changes the server name to "<player name>'s game" (if listen server) as well as the player's nickname.
  • rcon_request <password> - Request remote console access as a client on a dedicated server. +++
  • quit - Exits the Red Faction server or client.
  • rate <number OR rate preset> - Sets the server's or client's update rate in bytes/sec.
  • say <chat message> - Sends a chat message to everyone in the server as "Server:" if server, or as your player nickname if client.
  • team_say <chat message> - Sends a chat message to everyone on your team. Only works on clients.
  • team <red or blue> - Change to the specified team. Only works on clients.
  • simultaneous_ping <number> - Number of servers to ping at a time. Only works on clients.
  • dump_tga - Changes the format in which screenshots will be written on (toggle between .tga & .jpg) when PrintScreen is pressed. Only works on clients.
  • spectate - Go into spectate mode. Only works when you're dead and haven't spawned yet. Only works on clients. ++
  • ms <number from 0.0 to 1.0> - Sets mouse sensitivity to specified number (as per cent). Only works on clients.
  • togglesound - Toggles between sounds disabled and sounds enabled. Only works clientside
  • togglenetmeter - Toggles display of the net meter. Only works clientside
  • help - Displays list of available console commands.
  • ? - Same as help
  • man - Same as help
  • capture_limit <number> - Changes the flag capture limit in a CTF game. +
  • geo_limit <number> - Changes the amount of geo craters that can be made in a level. +
  • kill_limit <number> - Changes the kill limit in a DM or TeamDM game. +
  • time_limit <number> - Changes the time remaining in the game. +
  • ti - Switches between Pure Faction's new direct-input mouse input and the classic mouse input in Red Faction by default.
  • vpps - Show vpp packfile information.
+ Function can alternatively be performed via dedicated_server.txt or In-Game Editor.
++ Removed in Pure Faction version 2.0 in favour of first person spectate but will be brought back in a future version.
+++ Function can alternatively be performed via Pure Faction's F1 menu.

International Demo

No method of opening a console in the Red Faction International Demo has been found as of early 2008.

Multiplayer Test

There are two extra console commands available in Multiplayer Test. Otherwise, all commands are the same as 1.2.

Extra commands:

  • debug <command> - Parses the entire command entered, displays some variables from it. Largely useless, probably just for a Volition bugtest.
  • multiplayer_cheats - Claims to enable/disable cheating in multiplayer, however the variable is only used in the console code, and does not actually enable/disable any cheats. Useless.

Worldwide Demo

See version 1.2 command list

Version 1.0

See version 1.2 command list

Version 1.1

See version 1.2 command list

Version 1.3 (Unofficial)

See version 1.2 command list

Related Pages