Red Faction Console Commands: Difference between revisions
No edit summary |
No edit summary |
||
Line 236: | Line 236: | ||
| Yes | | Yes | ||
| Alias for '''level'''. | | Alias for '''level'''. | ||
|- | |||
| '''levelsp''' [ [[.rfl]] filename] | |||
| 0.6.0 - 1.3.0 | |||
| Yes | |||
| No | |||
| No | |||
| No | |||
| Old command that originally was used for loading a level specifically 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] | | '''findlevel''' [search string] |
Revision as of 12:48, 27 August 2020
This article is regarding Red Faction
The Red Faction Client Console can be opened in every known version of Red Faction (except the International Demo) by pressing ~ after loading up the game. The Red Faction Dedicated Server Console is the visible window that appears when you start a dedicated server. You can type commands directly into it.
Pressing [Tab] in the console will complete a partially-entered command, pressing [F3] will display the last command entered, and you can cycle through the command history by pressing the [Up] and [Down] arrow keys. You can also browse through the console log history with [Page Up] and [Page Down].
Available Commands (Full Game)
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. |
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. |
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 | Old command that originally was used for loading a level specifically 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, nolightmap, and show_invisible_faces. |
playercount | 1.3.0+ | No | Yes | Yes | No | Display number of currently connected clients. |
fullscreen | 1.3.0+ | Yes | Yes | No | No | Run client in fullscreen mode. |
windowed | 1.3.0+ | Yes | Yes | No | No | Run client in windowed mode. |
Pure Faction Client/Server Console Commands
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.
- ts - Switches between Pure Faction's new scoreboard and the classic scoreboard 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