Half-Life recently received a big update to celebrate its 25th birthday, but a significant bug remained. In a famous scripted sequence during which a long, green tentacle busts through a window and drags away a scientist, the scientist and the tentacle would be mis-aligned, making it look like the scientist floated out of the window of his own volition.
Not anymore. After over twenty years, Valve programmer Ben Burbank has fixed the bug - and explained how he did it.
First off, when I first played Half-Life in 1998 and 1999, this bug didn't exist. The leading theory is that it was introduced by the Win32 API with Windows 2000. As Burbank explains over on Mastodon, on "computers running at least Windows 2000 or newer", you'd see the mis-alignment.
"We wanted to fix this for the 25th Anniversary Update but other stuff took priority pre-ship," writes Burbank.
In coming to fix it after the fact, there were apparently three options for how to do so. Do it via fixing the code, which Burbank says would be "plausible but would definitely require re-testing every other scripted sequence thoroughly, and may not even fix it"; "Change the animations that play (doable)"; or, "change the map so the timing works."
"We chose to change the map for a few reasons. If we fixed the sequence so that the scientist timing worked out, a player could still stand in the doorway and shoot the scientist, interrupting the sequence, and then he would play his animation in an insane way. So we wanted to change how the sequence was triggered to be uninterruptible," writes Burbank.
"That said, recompiling the map was creating a bunch of changes in the resulting bsp (remember, these maps were last compiled on a Windows 95/98 computer!).
"Any .bsp
Read more on rockpapershotgun.com