Speedrunning
ReCoF keeps every technique runners use, and adds a timer, an autosplitter and practice tools.
ReCoF is built so that it does not take away anything runners rely on. A fix that would touch a technique keeps the original behavior available behind an option.
Note
Before you submit a run played on ReCoF, check the rules of the leaderboard you submit to. Options that change the game, such as
rc_door_skiporrc_bhopcap 0, make a run not comparable with runs on the original game.
What is kept#
- The 100 fps cap and low fps binds such as
fps_max 4for the sewer wall skip. - Bunny hopping under the Half-Life cap, dodge jumps, crouch jumps and air strafing.
- Using objects through walls, using NPCs to trigger entities, the Water Glitch and the Lake Skip, the phone skip in chapter 5.
- The console commands of the speedrun guide:
cl_fastcredits,cl_fovmultiplier,cl_showfps,developer 1, theinventoryuseandpadlockrotatebinds. - Practice saves: the save format and the
SAVEfolder are unchanged, and saves from the original game load.
Why 100 fps#
The engine counts the time of each frame in whole milliseconds and drops the rest. At 100 fps a frame is exactly 10 ms and nothing is lost; at 60 fps a frame of 16.67 ms counts as 16, so movement runs about 4% slow, and the physics also change with the length of a frame. Above 100 the game runs in slow motion. Keep fps_max at 100, the default.
Timer and autosplitter#
- In-game timer:
rc_hud_timer 1shows the run's time at the left edge of the screen. It counts what the LiveSplit script counts: real time without pauses, loads, menus and the cutscenes that take control away. It starts and resets by hand, withrc_timer_startandrc_timer_reset(for examplebind DEL "map c_nightmare;rc_timer_reset;rc_timer_start"), and stops by itself at the endings the script splits on. - LiveSplit: use the ReCoF Autosplitter. The published Cry of Fear autosplitter reads memory addresses that only match the original game.
Movement and HUD options#
Built into ReCoF, so no external tool has to patch the game:
| Option | What it does |
|---|---|
rc_bhopcap |
0 removes the bunny hop speed cap (a separate category) |
rc_ducktap |
1 brings back the Half-Life ducktap that Cry of Fear removed |
+rc_ducktap, rc_autojump |
input aids: ducktap while held, jump while held |
rc_infinite_stamina |
stamina never runs out |
rc_speedometer |
your speed on screen, with the speed of each jump |
rc_info |
an information panel with position, speed, health and stamina |
rc_hud_health, rc_hud_stamina |
health and stamina as numbers |
Warning
Do not load RebuiltSimon with ReCoF. Its hl.dll patch only fits the original files and lands on other code in ReCoF's. Everything runners use from it is built in: the panel, the HUD numbers, ducktap, autojump, the bunny hop cap and raw input.
Practice commands#
With sv_cheats 1, BunnymodXT's practice commands with rc_ in place of bxt_, for routing:
| Command | What it does |
|---|---|
rc_ch_set_pos <x> <y> <z> |
moves you to a position |
rc_ch_get_pos |
prints your position and view, and a line that puts them back |
rc_ch_set_vel <vx> <vy> <vz> |
sets your velocity |
rc_ch_set_health <health> |
sets your health |
rc_ch_give <name> [count] |
gives a weapon, ammo or an item, for example rc_ch_give weapon_glock |
god, noclip, notarget |
as in Half-Life; god mode and noclip stay on while sv_cheats is 1 |
The full list, with every option and its details, is in docs/speedrun.md on GitHub.