Skip to content
caixa edited this page Nov 10, 2026 · 1 revision

ReCoF commands

Every console command, setting (cvar) and launch option that ReCoF adds to Cry of Fear, by topic, with what each one does. Local notes, not part of the repository.

How to use them

  • Console: press ~ and type the name and a value, for example rc_speedometer 1. Typing a name alone shows its current value.
  • Saved or not: most client settings (HUD, crosshair, video, performance) are saved in cryoffear\config.cfg and stay from one start to the next. Server settings (gameplay and movement: rc_retail_gameplay, rc_bhopcap, rc_ducktap, rc_infinite_stamina, rc_door_skip, rc_hlmovement) and rc_autojump and rc_prof go back to their default at every start.
  • To keep the ones that are not saved: put them in cryoffear\userconfig.cfg (the engine runs it after config.cfg at every start), or choose them in the ReCoF Launcher's options, or add them to the launch line as +rc_hlmovement 1.
  • Launch options (the ones that start with -) go on the launch line: in the ReCoF Launcher's options, or in EXTRA in Play ReCoF.bat.
  • Binds: any command can go on a key, for example bind DEL "map c_nightmare;rc_timer_reset;rc_timer_start".
  • New and not tested in game yet: borderless window and rc_vidmode, settings that apply at once, the end statistics, crash and hang reports.

Gameplay and fixes

  • rc_retail_gameplay (server, default 0). ReCoF fixes balance bugs of the original game: damage, health, AI and collision work as the developers meant. 1 puts every one of those fixes back to the original behavior at once. It covers: the saw crazy's hit timer, the crazy bitch's weapon cases, the co-op door moving monsters back to their spawn, invulnerability while climbing a ladder, Twitcher 4 and the Faceless using their own difficulty values, the suicider's head explosion position, monster eye height, monster turn speed at high frame rates, small monsters stepping through thin walls and closed doors, and scripted scenes ending with a monster inside a wall.
  • rc_door_skip (server, default 0). 1 skips the transition of the doors that take you to the other side: no fade to black, no 2 second wait; the door sounds and music changes still play. For fun only: a run with it is not comparable to a normal run. Co-op doors are unchanged.
  • rc_infinite_stamina (server, default 0). 1 gives infinite stamina, like RebuiltSimon's option. The stamina bar still shows.
  • god, noclip, notarget, fly (need sv_cheats 1). They work again, and noclip and god mode stay on (the original game turned them back off right away), as RebuiltSimon allowed. With sv_cheats 0 they do nothing. They do nothing in co-op.
  • rc_endstats (client, default 1). The statistics and grade at the end of the game: a click before they have fully appeared is ignored (in the original an early click skipped them or froze them half visible), and a dark backdrop sits behind them so they can be read over the bright ending. 0 is the original behavior.
  • rc_print_score (command). Prints the end of game statistics and grade in the console: shots, accuracy, syringes, saves, weapons, damage, distance, time, kills by melee and by firearms, difficulty, ending and grade. It only works once the game has ended (from the end credits or statistics on, and in the menu after them), never during a game.

Movement

  • rc_hlmovement (server, default 0). 1 gives Half-Life 1 movement as the original WON version played: running at 320, no sprint, jumping costs no stamina, no limp, no slowdowns from stamina or diagonals, Half-Life ladders (no climb animation, weapons usable on ladders), no dodge, no fall over on hard landings, no Cry of Fear camera bobbing. Turning it on also sets rc_bhopcap 0, rc_ducktap 1 and rc_autojump 1 (and turning it off sets them back); each can be changed by hand afterwards. The top left corner shows "HL movement" while it is on. A separate speedrun category.
  • rc_bhopcap (server, default 1). The bunny hop speed cap of Half-Life. 0 removes it. A separate category if used.
  • rc_ducktap (server, default 0). 1 brings back Half-Life's ducktap, which Cry of Fear removed.
  • +rc_ducktap (key command). While held on the ground, it presses duck every other frame, like RebuiltSimon's +rs_ducktap. It only lifts you where ducktap exists (rc_ducktap 1 or rc_hlmovement 1). Use it as bind ALT +rc_ducktap.
  • rc_autojump (client, default 0, not saved). 1 releases jump in the air for you, so holding jump jumps again as soon as you land.
  • rc_ducktap_priority (client, default 1). With 1, holding +rc_ducktap pauses autojump.
  • rc_jump_priority (client, default 0). With 1, holding jump pauses +rc_ducktap.
  • rc_rawinput (client, default 2). Raw mouse input, so Windows mouse acceleration no longer applies and the game stops forcing "enhance pointer precision". 2 reads the mouse on a thread of its own, as RInput does (the most exact). 1 reads it on the game window once a frame. 0 is the original mouse. If the real RInput is injected, ReCoF leaves the mouse to it.

HUD and speedrun tools

Speedometer and HUD numbers (as RebuiltSimon)

  • rc_speedometer (client, default 0). 1 shows your horizontal speed in HUD digits near the bottom of the screen.
  • rc_speedometer_jump (default 1). Also shows the speed at your last jump, under the speed.
  • rc_speedometer_3d (default 0). 1 counts vertical speed too.
  • rc_speedometer_pos (default ".5 .9") and rc_speedometer_jump_pos (default ".5 .95"). Where the two numbers go, as fractions of the screen: "x y", 0 0 is the top left, 1 1 the bottom right.
  • rc_speedometer_color (default "255 255 255"). The color of all the HUD numbers, as "red green blue" from 0 to 255.
  • rc_hud_health and rc_hud_stamina (default 0). 1 shows Simon's health or stamina in HUD digits; rc_hud_health_pos (".02 .73") and rc_hud_stamina_pos (".07 .73") place them.
  • rc_hud_centered (default 1). 1 centers each number on its position; 0 starts it there.

Information panel (as RebuiltSimon)

  • rc_info (client, default 0). 1 shows a panel at the top right: ReCoF vX.X.X, Simon's health, stamina and speed, and a clock with the time since Windows started (a clock a recording cannot hide).
  • rc_info_offset (default 4). How many lines down the panel starts.
  • rc_info_color (default "255 255 255"). The text color.
  • rc_info_background (default 1) and rc_info_background_color (default "20 20 20 160", the last number is the opacity). The dark box behind the panel.
  • rc_info_stats (default 1). The Simon Info block; rc_info_health, rc_info_stamina and rc_info_speed (default 1) turn each of its lines on or off.
  • rc_info_ttl (default 0.1). How long each line stays after its last update, in seconds.

Run timer

  • rc_hud_timer (client, default 0). 1 shows the run time at the left edge of the screen, as MM:SS:MS, and from an hour on as HH:MM:SS:MS. It counts what the LiveSplit autosplitter counts: real time without pauses, loads, menus and the cutscenes that take control away.
  • rc_hud_timer_pos (default "0 .5") and rc_hud_timer_color (default "255 255 255"). Where it goes and its color.
  • rc_timer_auto (default 1). 1 starts the timer with a new game, resets it when a campaign starts again, and stops it at the endings, as the autosplitter does. 0 leaves it to the commands below.
  • rc_timer_start, rc_timer_stop, rc_timer_reset (commands). Work the timer by hand, as BunnymodXT's bxt_timer_*: start from zero after a reset (or go on after a stop), stop, and back to zero. Example: bind DEL "map c_nightmare;rc_timer_reset;rc_timer_start".
  • The ReCoF Autosplitter for LiveSplit (private for now) takes LiveSplit's Game Time from this timer.

Crosshair

  • rc_crosshair (client, default 1). 0 hides the red Cry of Fear crosshair and keeps the ammo display (cl_crosshair 0 hides both).

  • rc_cross (client, default 0). 1 shows a custom crosshair like BunnymodXT's bxt_cross, set by:

    • rc_cross_color ("0 255 0") and rc_cross_alpha (255, from 0 clear to 255 solid);
    • rc_cross_thickness (2), rc_cross_size (10) and rc_cross_gap (3): the lines, in pixels;
    • rc_cross_top_line, rc_cross_bottom_line, rc_cross_left_line, rc_cross_right_line (1): each line on or off;
    • rc_cross_dot_size (0) and rc_cross_dot_color (empty: the line color): a square dot in the middle;
    • rc_cross_circle_radius (0): a circle;
    • rc_cross_outline (0): a black outline of that width.

    It hides where the Cry of Fear crosshair does (cutscenes, iron sights, scopes).

Weapon model

  • rc_viewmodel_fov (client, default 0). The field of view of the weapon in your hands; 0 uses the normal one (up to 170).
  • rc_viewmodel_ofs_forward, rc_viewmodel_ofs_right, rc_viewmodel_ofs_up (default 0). Move the weapon model, in units. Iron sights ease the offsets out so the sights stay centered.

Video, sound and settings

  • rc_vsync (client, default 0). Vertical sync: 0 off (least input lag), 1 on (no tearing). Options, Video has it. A vsync forced in the graphics driver's control panel still wins.
  • rc_vidmode <width> <height> <mode> (command; mode 0 full screen, 1 window, 2 borderless window). Changes the resolution and the display mode while the game runs, without restarting it. Options, Video uses it. In a game it saves to the quick slot and loads again, so the HUD keeps its state. Example: rc_vidmode 1920 1080 2.
  • Borderless window: a window without a title bar or borders. At the desktop resolution it covers the screen like full screen without changing the display mode, so alt-tab is instant. Options, Video, or the launch option -noborder.
  • rc_snd_restart (command). Starts the sound device again, so EAX and A3D apply at once. Options, Audio sends it.
  • rc_spray_size (client, default 0). The size of your spray on the wall, in units (the longer side); 0 is one unit per picture pixel, as in Half-Life. Options, Spray sets it and picks the spray from cryoffear\logos. Spray with impulse 201 or the spray key.
  • gl_posteffects (the game's own setting). Now saved between starts.

Performance

All of these are on by default and draw the same picture as the original; 0 gives the original way, to compare.

  • rc_gpumodels (client, default 1). Characters and objects are moved by their bones and lit on the graphics card instead of the processor. The biggest gain: model work went from about 2.4 ms to 0.5 ms a frame in tests.
  • rc_lightshader (client, default 1). Dynamic lights on the world (flashlight, lamps, muzzle flashes, night vision) are drawn through a shader, many surfaces per draw call.
  • rc_worldbatch (client, default 1). World polygons with the same state are drawn together instead of one call each.
  • rc_modelarrays (client, default 1). Model meshes are sent to the driver in one call instead of one per strip.
  • rc_dlightcull (client, default 1). Dynamic lights outside the view are skipped.
  • -rc_aff (launch option). Pins the game to the first processor core, as the original did. Without it Windows places it.
  • -rc_nosleep (launch option). The original frame limiter, which keeps a whole core busy. Without it ReCoF waits in small sleeps and only spins at the end, with the same frame timing.

Developer and diagnostics

  • rc_prof (client, default 0, not saved). Frame profiler at the top left: 1 shows how many milliseconds each part of the frame takes on the processor (view, world, lights, sky, models, effects, water, post effects, HUD, the rest), the frame time, the worst frame, and counters (models, lights, draw calls). 2 adds the graphics card's time for each part.
  • rc_prof_dump (command). Prints the profiler's numbers in the console, to copy them.
  • rc_timer_debug (command). Prints what the run timer sees: map, loading, paused, dead, cutscene, frozen, and its state and time. For when the timer does not count as it should.
  • rc_crashtest 1 and rc_crashtest 2 (command). Crash the game, or make it stop responding, on purpose, to see the crash and hang reports.
  • Crash and hang reports (always on). A crash closes the game with a message box that says what happened and where (Ctrl+C copies the text), and writes a report and a dump in crashes\ next to cof.exe. A game that runs no frame for 30 seconds while its window stopped answering writes the same files and asks whether to close it or keep waiting. Send the .txt (and the .dmp) when reporting a crash.
  • -rc_nocrashhandler (launch option). Turns the crash and hang reports off and leaves crashes to Steam's handler, as in the original.
  • -condebug (launch option, the engine's). Writes the console to qconsole.log next to cof.exe. Play ReCoF.bat uses it; the crash reports include its last lines.
  • developer 1 (the engine's). Lifts the 100 fps cap and shows extra console messages, for example which ladders keep their animation in rc_hlmovement.
  • rc_vidrebuild (internal). Sent by rc_vidmode after a mode change to lay the client's panels out again. Not for use by hand.

Launch options

Option What it does
-novid Skips the two videos before the menu (the engine's own option, listed in the launcher).
-noborder Starts in a borderless window.
-rc_aff Pins the game to the first processor core, as the original did.
-rc_nosleep The original frame limiter that keeps a core busy.
-rc_nocrashhandler No crash and hang reports, Steam's handler as in the original.
-condebug Writes the console to qconsole.log.
+<command> <value> Runs a command at start, for example +rc_hlmovement 1.