Half-Life 2 (Windows)
Half-Life 2 |
---|
Developer: Valve
![]() ![]() ![]() |
To do:
|
Half-Life 2 is a game where the right crowbar in the wrong hand will make all the difference in the world.
Contents
Sub-Pages
Development Info |
Prototype Info |
Prerelease Info |
Unused Sounds and Dialogue Galunga? |
Unused Textures LOTS of unused textures, varying from snowy environments to Xbox 360 leftovers. |
Unused Models The wrong men in the right place. |
Unused Text At least seven minutes worth of text that goes unread. |
Debugging Features
Debug Menu
The debug menu can be activated by pressing [Shift+F1], and displays a collection of multiple shortcuts to console commands. You still need sv_cheats 1 for many of these shortcuts to function correctly. The window can be closed by pressing [Shift+F1] again. Closing the window by clicking on the "X" will not disable the overlay, just hide the window.
The debug menu loads its interface from the script file "debugoptions.txt." The file uses the following format:
DebugMenu { "width" "512" "height" "300" "<tab>" // a tab on the debug panel { "<command>" // adds a button that executes a command when clicked { "command" "<command>" // console command to execute } "<toggle>" // checkbox that toggles a cvar between 1 and 0 { "togglecvar" "<cvar>" // cvar to toggle } "<increment>" // button that cycles through options for a cvar { "incrementcvar" "<cvar> 0 5 10 15" // cvar, followed by the numbers to cycle through } } }
The menu also exists in practically all games that use the "Source 1" engine.
Unused Weapons
A number of non-player weapons have varying levels of implementation for player usage.
Alyx's Gun
The pistol used by Alyx (weapon_alyxgun). Can only be obtained by typing give weapon_alyxgun in the console (it must be picked up manually after closing the console, as it spawns on the ground). The worldmodel is used for its viewmodel, and will block the player's vision frequently. The gun can fire in semi and full-auto modes, which can be swapped with "secondary attack" button. Both modes do the same amount of damage (about as much damage as the retail 9mm Pistol), but neither mode has any recoil, and both modes are about as accurate as the pistol. As noted below, there was also evidently a rifle mode planned at some point.
Picking up the gun will have it show up in the 5th pistol category slot. It has one full clip loaded and none in reserve, and the only known way to get more ammo would be to use the givecurrentammo command, which will max out your ammo to 150 (180 including the loaded clip). This can be increased by using the command sk_max_alyxgun #, # being the amount of ammo you want.
Annabelle
Father Grigori's rifle (weapon_annabelle). Can only be obtained by typing give weapon_annabelle in the console. It has a two-bullet tube magazine and shares the .357 Magnum's ammunition. The viewmodel is identical to the retail Shotgun. It does the same amount of damage as the Magnum, but will only reload a single bullet when emptied. Upon reloading manually, console errors reference an incorrect call to the retail Shotgun reload, and the weapon is reloaded instantly at full capacity. Despite sounding and looking like a Shotgun, it fires a single bullet like the revolver, and has zero recoil.
It occupies the same slot as the AR2, and if you select the AR2 (with the 3 key by default), you'll pull out the Annabelle instead. Apart from the console command use weapon_ar2
, this is the only way to reequip it apart from pressing the "last weapon used" key...if it was your last used weapon.
Food Package
The food package (weapon_citizenpackage). Can only be obtained by typing give weapon_citizenpackage in the console. It has no proper viewmodel, instead using its worldmodel, though it lines up decently with how other weapons are held by the player. Comments in the weapon's coding reveal that it's a weapon because NPCs are able to carry weapons, but can not pick up or wield normal objects, so any objects the devs wanted citizens to hold needed to be coded as a "weapon".
// Citizen package. Not really a weapon, just needs to be a visible model for citizens to open.
Two things of note are that its pickup icon reuses the Shotgun's, and that it occupies the same slot as the SMG, but it doesn't have its own selectable slot, meaning that like the Annabelle, you can only reequip it if you press the "last weapon used" key or press 3 on the keyboard and then fire.
Suitcase
A suitcase (weapon_citizensuitcase). Can only be obtained by typing give weapon_citizensuitcase in the console. It has no proper viewmodel, instead using its worldmodel which blocks most of the player's vision, as it's placed almost directly in front of Gordon's face. Like the food package, it was coded as a weapon to allow citizens to carry it around, even going as far to have the exact same comment as the food package in its coding. Also like the food package, it's in the same "slot" as the SMG, but doesn't actually show up in your weapons, and can only be reequiped using the same methods as the food package (pressing 3 will not work if you already have the package).
Interestingly, it seems to use the MP5K icon from the prototype as its pickup icon.
Stunstick
The Stunstick from the Half-Life 2 prototype kept its viewmodel, along with the early suit color. However, there is no way to wield it in the retail, as picking one up gives armor instead. Valve updated and completed this weapon for Half-Life 2: Deathmatch.
To remove the armor pickup: open src/hl2/hl2_player.cpp in the Source SDK and comment or remove the following section:
#ifndef HL2MP if ( pWeapon->ClassMatches( "weapon_stunstick" ) ) { if ( ApplyBattery( 0.5 ) ) UTIL_Remove( pWeapon ); return false; } #endif
Cubemap
A test "weapon" that can be used to test cubemap reflections in maps. This "weapon" consists of 6 spheres, all using different types of reflective materials. It can be spawned via the developer console using impulse 81 or give weapon_cubemap.
Unused Items
Sniper Rounds
The sniper ammo (item_box_sniper_rounds) from the prototype was kept in the final game. It can be spawned using ent_create item_box_sniper_rounds and picked up, but no weapon in the game uses this type of ammo. It also has no physics, but will still produce bullet holes if shot at. The original box texture has been replaced with a pink texture saying "OBSOL33T" (obsolete in "leet speak") in cyan letters. Why it wasn't just removed outright is unknown.
Flare Rounds
Flare rounds (item_box_flare_rounds and item_flare_round) still exist in the final game and can be spawned with ent_create item_box_flare_rounds/item_flare_round, but cannot be picked up due to the FlareRound ammo type having been removed. Like the sniper rounds, neither of these have physics but will produce bullet holes if shot at.
Unused Animations
Alyx's Gun
Alyx's gun has unused animations that show it transforming into a SMG and a rifle. However, no idle animation for these modes exist. In addition, Alyx herself has animations for changing the pistol into a SMG, and the SMG to a rifle, but not back to the pistol or directly to rifle mode.
Used | Unused |
---|---|
Combine Soldiers
- The Combine soldiers possess an unused firing animation for the HMG1 as well as animations for placing and rolling grenades.
Poison Headcrab
The poison headcrab has an unused animation, depicting it spitting something from its mouth, most likely poison. There is no data about the fired projectile or its effect on the player however.
Vortigaunts
Vortigaunts have unused animations for being grabbed by Barnacles, reminiscent of the behaviour of human NPCs in Half-Life. However, these go unused, as they are instantly killed and turned into a ragdoll upon being strangled by one, like all other NPCs. In addition, game files mark such events as "legacy content". They also have animations for using the Tau Cannon. At one point, they were going to dismount it from the Scout Car in Lighthouse Point.
Metrocops/Civil Protection
Metrocops also have an unused animation for being grabbed by barnacles.
Leftover Citizen Animations
Due to how animation files are shared between models, key NPCs like Breen and Alyx have access to all of the regular animations despite only using a few.
Alyx
Click on GIFs to see them animated
smg1_idle. She normally only uses her own gun and a shotgun in Episode One.
Unused Model Features
This needs some investigation. Discuss ideas and findings on the talk page. Specifically: Look at other weapons/models in the Model Viewer and see if they have unused/unseen features or elements. |
SMG Magazine Bone
The model for the SMG contains a magazine bone (ValveBiped.clip) that, as expected, moves the magazine. Despite this, the magazine is never animated during the reload animation in-game, with Gordon instead just smacking the bottom of the clip. Based on the fact this section of the model has been weight painted, it's likely this was meant to be animated at some point, likely being scrapped since you never see that far down when reloading anyway.
"Drivable" APC
At one point, APCs were intended to be controllable by the player, but playtesters ultimately felt it was too slow compared to the buggy, and this function was cut. But there are remnants of this left in the game, as it's actually possible to enter an APC pretty early in the game.
In d1_trainstation_03 (the level where Gordon meets Alyx for the first time), two APCs can be seen driving around on the street, eventually veering off into an alley (there's another APC near the opposite end of the map that can't be interacted with). Using god mode, the player can jump down to the APCs and enter them like any normal vehicle...but the camera will be completely screwed up and the player can neither drive nor exit the vehicle, requiring them to reload a save to get out. The APCs can not be entered before they stop moving, likely due to the quirk of Source requiring a separate NPC (npc_apcdriver) to actually make them move and shoot, so when the APCs are in the alley, this effectively means the NPC has exited the vehicle. Also of note is that the controls for the buggy will show up upon entering it.
Portal RTX
To do: Need to research why exactly the APC is more finished in this version. |
Strangely, the APC can actually be accessed in a slightly more complete state if d1_trainstation_03 is loaded in the 2022 RTX remaster of Portal. You can also boost by holding SHIFT, albeit it is very buggy. This is presumably due to the fact that the version of Portal used in the remaster is based on a different build of the Source engine, where the necessary scripting or required NPC as mentioned above exists, although more research is required to determine the exact reason.
Unused Maps
intro
Unused (intro.bsp) | Final (d1_trainstation_01.bsp) |
---|---|
Loading the map intro.bsp via the console will bring you to a slightly different version of the game's intro. The main differences between the two intros is that there is no title card at the beginning, the Anti-Mass Spectrometer uses a design more faithful to the original Half-Life (also utilising several missing textures), and a view of the railway which was seen during E3 2004 as opposed to the prison near the end of the game. The G-Man also uses his regular model instead of the higher-quality gman_high. Unlike the E3 2004 video however, the G-Man says his "right man in the wrong place" line.
intro.bsp doesn't end due to the respective level change trigger not existing (Unless using cl_view 1 in the console, you can explore them). This ultimately suggests that the intro was originally going to be its own separate map rather than being a part of d1_trainstation_01. This was probably removed to avoid creating another loading screen between the intro and gameplay. A similar approach was attempted and scrapped during Episode One and Two's developments.
Due to hardware limitations, the original Xbox release does use intro.bsp, but it plays the final version's intro used in d1_trainstation_01.bsp.
When this map is loaded as a menu background through the map_background command, it will instead show a rooftop view of City 17, while the music from the start of the Ravenholm chapter plays. There are also blurred preview images intended for this map like other menu backgrounds, which go unused.
d3_c17_02_camera
A slightly different version of d3_c17_02, the starting map of Anticitizen One. The only difference is that the player isn't given the HEV Suit nor weapons in this version.
sdk_shader_examples
A small rectangular room which houses a cube with a weird effect on it. When this map is loaded in Source SDK Base 2013, particles of the missing texture checkerboard appear to the right of the cube, which is also now missing textures.
Platform Differences
- In PC releases, you can use ladders by just walking into them. The orignal Xbox version requires pressing a button however, since it uses a different brush entity ("func_ladder") due to hardware limitations.
- In d2_prison_08, when you fight the Combine with Alyx, the power will eventually be cut off in most versions. This doesn't happen on the original Xbox version.
Original Xbox | Other Versions |
---|---|
![]() |
![]() |
- Some Lambda Locator areas are missing in the original Xbox version.
- Some items such as weapons and ammo crates are highlighted on the original Xbox version.
- All corpses will disappear on the PlayStation 3 version.
- The console releases use proprietary file formats for their files. For example, VTFs/texture files use the .vtfx format in the Xbox 360 version and .xtf in the original Xbox version.
- The console releases run on older versions of Source (Source 2004 for the Xbox and Source 2007 for the Xbox 360 and PlayStation 3).
Revisional Differences
Vortigaunts
With the release of the Orange Box, Valve updated the model and textures for the Vortigaunts.
This image needs to be replaced. Please read the image guidelines for more information. Reason: Replace with PNGs please, and maybe with better poses as well. |
2004/Release | 2007/The Orange Box |
---|---|
![]() |
![]() |
Oddities
Unseen stuff in d1_trainstation_01 and d1_trainstation_06
Through the use of noclip, you can find unseen and unexplorable stuff such as a hidden room and a metrocop in the "A Red Letter Day" chapter, likely a leftover detail from the prototype map.
Rare G-man Easter Egg
The Half-Life series
| |
---|---|
Half-Life & Expansions | |
Windows | Half-Life (Prototypes) • Opposing Force (Prototypes) • Blue Shift • Source |
Dreamcast | Half-Life |
PlayStation 2 | Half-Life |
Half-Life 2 | |
Windows | Half-Life 2 (Prototypes) • Lost Coast • Episode One • Episode Two (Prototypes) • Alyx |
Xbox | Half-Life 2 (Prototypes) |
Arcade | Half-Life 2: Survivor |
Related | |
Windows | Deathmatch Classic • Black Mesa (Prototype) • Hunt Down The Freeman (Prototypes) |
See also | |
Portal • Counter-Strike • Team Fortress • Left 4 Dead |
- Good articles
- Good main articles
- Pages missing developer references
- Games developed by Valve
- Pages missing publisher references
- Games published by Valve
- Games published by Sierra Entertainment
- Windows games
- Mac OS X games
- Linux games
- Pages missing date references
- Games released in 2004
- Games with unused animations
- Games with unused areas
- Games with unused code
- Games with uncompiled source code
- Games with unused graphics
- Games with unused models
- Games with unused cinematics
- Games with unused items
- Games with unused abilities
- Games with unused sounds
- Games with unused text
- Games with debugging functions
- To do
- To investigate
- Images to be replaced
- File templates used outside file namespace
- Half-Life series
Cleanup
Cleanup > File templates used outside file namespace
Cleanup > Files to be replaced > Images to be replaced
Cleanup > Pages missing date references
Cleanup > Pages missing developer references
Cleanup > Pages missing publisher references
Cleanup > To do
Cleanup > To investigate
Games > Games by content > Games with debugging functions
Games > Games by content > Games with uncompiled source code
Games > Games by content > Games with unused abilities
Games > Games by content > Games with unused animations
Games > Games by content > Games with unused areas
Games > Games by content > Games with unused cinematics
Games > Games by content > Games with unused code
Games > Games by content > Games with unused graphics
Games > Games by content > Games with unused items
Games > Games by content > Games with unused models
Games > Games by content > Games with unused sounds
Games > Games by content > Games with unused text
Games > Games by developer > Games developed by Valve
Games > Games by platform > Linux games
Games > Games by platform > Mac OS X games
Games > Games by platform > Windows games
Games > Games by publisher
Games > Games by publisher > Games published by Activision Blizzard > Games published by Activision > Games published by Sierra Entertainment
Games > Games by publisher > Games published by Valve
Games > Games by release date > Games released in 2004
Games > Games by series > Half-Life series
The Cutting Room Floor > Good articles
The Cutting Room Floor > Good articles > Good main articles