Skip to main content

Time, Doctor Freeman? Bullet-time in Half Life 2

Slowing time, or bullet time, doesn't make Half Life 2 too easy for me, as I'm not a very good player. I often wished time was used as a mechanic, given the science fiction themes.


There's a well known cheat to simply slow down time, but I wanted bullet time to be combined with visual and audio cues.


Implementation

Find the folder where your installation of Half Life 2 stores its configuration files. On my PC it's:
D:\Games\Steam\steamapps\common\Half-Life 2\hl2\cfg
In that folder, create the file 'bullettime.cfg'

Open bullettime.cfg with notepad, and copy the following in:
// Bullet Time Script

// alternative values for r_screenoverlay:
// effects/water_warp01, effects/strider_bulge_dudv, effects/tp_refract, effects/flicker_256

// alternative values for play:
// ambient\levels\citadel\citadel_ambient_scream_loop1.wav, ambient\creatures\leech_bites_loop1.wav, ambient\fire\fire_small_loop1.wav

alias "bullettimeON" "sv_cheats 1; host_timescale 0.1; play ambient\fire\fire_small_loop1.wav; soundfade 75 100; r_screenoverlay effects/flicker_256"
alias "bullettimeOFF" "host_timescale 1; r_screenoverlay 0; stopsound; -speed; sv_cheats 0;"

alias "+bullettime" "bullettimeON"
alias "-bullettime" "bullettimeOFF"

bind "MWHEELDOWN" "bullettimeON"
bind "MWHEELUP" "bullettimeOFF"
bind "MOUSE3" "+bullettime"
Launch Half-Life 2, and open the developer console with '~'.

Enter the command:
exec bullettime
If it autocompletes, you're doing it right.

Notes

  • The script turns cheats on and off automatically. Any enemy killed in bullet time will not be counted towards achievements. That said, I would not use bullet time on my first play through.
  • As you may see, bullet time is bound to the mouse wheel as both a switch and a button. Scroll down to turn on, scroll up to turn off. Alternatively, press the wheel button for as long as you want bullet time.
  • Enemies seem to be invulnerable while reloading.
  • Change how bullet time sounds and looks by editing bullettime.cfg and substituting alternatives for the r_screenoverlay and play commands.

Sources

Comments

Popular posts from this blog

Transcode to PSP using Handbrake

Source: Handbrake 0.9.9.5530 64-bit edition Target: (Phat) Playstation Portable PSP-1000 , System Software: 6.60 Many internet articles on how to transcode video to PSP using Handbrake have not worked for me. Even the most helpful are incomplete. I hope this post will help fill in the blanks. There is no longer any PSP preset for Handbrake, but from what I can gather, the preset had only limited success as the x264 encoder would change syntax and settings between versions. Other presets that may have worked before, like 'iPod' and 'Apple-Universal' now do not. Here is what worked for me, step by step:

Scatterbox - build an Android Tor Socks Proxy Server

Cloak your location and create a firewall bypass device with a smartphone. 🕵Uses the Tor network . Does not require root. 1 - from Google Play, download and install: Orbot Orweb browser Socks Server Ultimate (Optional)

Firefox History Statistics - Extracting from Places.sqlite

If you want to take a look at Firefox surfing activity, the about:me add-on is a good start. However, it presents only one view of data and is thus limited in its ability to present more detailed statistics. We will view that data in a different program. So let's first extract it from the browsing history stored in the Places.sqlite file into a CSV file using a Firefox add-on. Step 1 - Locate and copy Places.sqlite to a working location On Windows machines, Places.sqlite is found in a directory similar to: C:\Users\User1\AppData\Roaming\Mozilla\Firefox\Profiles\ .default\places.sqlite Copy the file to another location. The database will be locked while using Firefox, and the SQLite plugin we will use to open it.