Half-Life: Opposing Force

From PCGamingWiki, the wiki about fixing PC games
Half-Life: Opposing Force
Half-Life: Opposing Force cover
Developers
Gearbox Software
Valve Corporation
Publishers
1999-2005 Sierra On-Line
2005-present Valve Corporation
Engines
GoldSrc
Release dates
Windows November 10, 1999
macOS (OS X) March 30, 2013
Linux March 30, 2013
Taxonomy
Modes Singleplayer, Multiplayer
Pacing Real-time
Perspectives First-person
Controls Direct control
Genres FPS
Art styles Realistic
Themes Sci-fi, North America
Series Half-Life
Half-Life: Opposing Force on HowLongToBeat
Half-Life: Opposing Force on IGDB
Half-Life: Opposing Force guide on StrategyWiki
Half-Life: Opposing Force on MobyGames
Half-Life: Opposing Force on Wikipedia
Half-Life mods and fangames (series)
Half-Life 1998
Sven Co-op (unofficial mod) 1999
Half-Life: Opposing Force 1999
Half-Life: Blue Shift 2001
Codename: Gordon 2004
Half-Life: Source 2004
Half-Life 2 2004
Half-Life 2: Deathmatch 2004
Half-Life 2: Lost Coast 2005
Half-Life Deathmatch: Source 2006
Half-Life 2: Episode One 2006
Half-Life 2: Episode Two 2007
Portal (series)
Half-Life: Decay (unofficial port) 2008
Black Mesa (unofficial remake) 2020
Half-Life: Alyx 2020

Warnings

The macOS (OS X) version of this game does not work on macOS Catalina (version 10.15) or later due to the removal of support for 32-bit-only apps.

Half-Life: Opposing Force is a singleplayer and multiplayer first-person FPS game in the Half-Life series.

Key points

As of July 2013, among other fixes, Opposing Force was updated with SteamPipe integration, with its original soundtrack added back in-game.[1]

General information

GitHub Issue Tracker for Half-Life: Opposing Force and other GoldSrc-based games
Steam Community Discussions

Availability[edit]

Source DRM Notes Keys OS
Retail
Disc check (requires the CD/DVD in the drive to play)
CD key
SafeDisc DRM[Note 1]. After an update, the disc only required to play CD music.
Icon overlay.png
Windows
Retail
Icon overlay.png
Half-Life 1 Anthology.
Windows
Steam
Icon overlay.png
Windows
macOS (OS X)
Linux
SafeDisc retail DRM does not work on Windows Vista and later (see above for affected versions).
Demo
All non-Steam releases can be redeemed on Steam.

Essential improvements[edit]

Official retail patches[edit]

These are not needed for the Steam version as that already contains the latest version.

An archive of all official patches for Half-Life and its expansions can be found here

Higher definition models[edit]

The High Definition Pack[4] was created by Gearbox and first released alongside with Blue Shift on June 12, 2001. It was released for free on Steam on August 30, 2005, with a fixed version released a year later. This pack replaces most weapon and player/enemy models with higher polygon versions, substantially altering the style of some of them in the process. The option to enable the pack in-game is in the options menu, and the game must be restarted for it to take effect.

For other options follow this guide.

Remade WON Menu[edit]

Opposing Force's main menu, among other parts, was heavily changed with the game's transition from the WON (World Opponent Network) system to Steam. A mod was released by Reddit user HowardHeyman. It restores the look of the original Opposing Force menus, but without text subtitles, animated backgrounds, nor various options windows to keep within the Source Engine's assumed limits. The mod also adds main menu music from Opposing Force's own soundtrack. An alternate download link can be found here, on GameBanana.

The menu also adds the "Custom Game" feature that was present in the WON version, where the player could select from an in-game menu to switch mods in-game. This feature is disabled by default in the Steam release, as Half-Life doesn't have true native support to allow run time switching, and, according to Alfred, the engineering effort to fix the function is better spent elsewhere.[5]

Menus are 4:3 by default and cannot be stretched to fullscreen. In-game is untouched.

Enabling developer mode[edit]

Enabling developer mode will allow use of in-game cheats and various console commands.
Turn on developer mode[citation needed]

Use the developer 1 in console.

Notes

The developer console can be opened by pressing ~ (Note you may have to turn it on in the in-game settings). You can use the console command sv_cheats 1 to allow the usage of console commands such as god and noclip. Note that you might have to reload a save-game or do it at the main menu after enabling cheat-mode for certain commands to work.

Game data[edit]

Configuration file(s) location[edit]

System Location
Windows <path-to-game>\Half-Life\gearbox\[Note 2]
macOS (OS X) <path-to-game>/Half-Life/gearbox/
Linux <path-to-game>/Half-Life/gearbox/
*.cfg store the configuration.
This game does not follow the XDG Base Directory Specification on Linux.

Save game data location[edit]

System Location
Windows <path-to-game>\Half-Life\gearbox\SAVE\[Note 2]
macOS (OS X) <path-to-game>/Half-Life/gearbox/SAVE/
Linux <path-to-game>/Half-Life/gearbox/SAVE/

Save game cloud syncing[edit]

System Native Notes
Steam Cloud

Video[edit]

In-game video settings.
In-game video settings.

Graphics feature State Notes
Widescreen resolution
Need to adjust FOV accordingly so first person view doesn't seem cropped.
Multi-monitor
Ultra-widescreen
Need to adjust FOV accordingly so first person view doesn't seem cropped.
4K Ultra HD
UI both in-game and menu become too small.
Field of view (FOV)
See Field of view (FOV)
Windowed
Borderless fullscreen windowed
See Borderless fullscreen windowed.
Anisotropic filtering (AF)
Steam version comes with anisotropic filtering turned on by default. Default is set to 16 samples. Lower-end systems might have it set lower by default. Can be customized with gl_ansio command (i.e. gl_ansio 16 means 16 samples anisotropic filtering).
Anti-aliasing (AA)
Steam version comes with 4x MSAA turned on by default. Lower-end system might have it turned off by default. Can be overridden from graphics card control panel. You can use -nomsaa command line argument to force anti-aliasing off. Enhanceable to SGSSAA on Nvidia systems.
Vertical sync (Vsync)
60 FPS
120+ FPS
See High frame rate.
High dynamic range display (HDR)
See the glossary page for potential alternatives.

Field of view (FOV)[edit]

When running at widescreen-resolutions adjusting the FOV is probably necessary.
Field of view[citation needed]
  1. While in game, open the console (~).
  2. Type default_fov 106.270273206 and press Enter.

Borderless fullscreen windowed[edit]

-window -noborder[citation needed]
  1. Find Half-Life: Opposing Force in your Steam Library
  2. Right-click the game name
  3. Select Properties
  4. Select Set Launch Options...
  5. Input -window -noborder
  6. Press OK
  7. Launch the game

High frame rate[edit]

Game is capped at 72 FPS (without Vsync) by default.
Set FPS limit[citation needed]
  1. Go to the configuration file(s) location.
  2. Create a new file called userconfig.cfg
  3. Add in the following lines:
fps_max "<desired FPS value>"
fps_override 1
  • The fps_override 1 command disables GoldSrc's arbitrary 100 FPS limit.

4. Save the file and launch the game.

5. Disable Vsync in-game.

Notes

Doing this will break rope physics in the game, allowing you to climb them but not swing. Swinging is sometimes necessary to progress and the fps cap will have to be turned back on.

OpenGL overbright lighting[edit]

Overbright lighting increases the rendering dynamic range, resulting brighter and more colorful visuals.
Overbright lighting normally only works on the Direct3D and software renderers.[6][7]
Nvidia cards: Enable the GL extension limiter[8]
  1. Download and run Nvidia Profile Inspector.
  2. On the Half Life profile, set Extension limit to On. Apply changes.
  3. Go to <path-to-game>.
  4. Create a file called autoexec.cfg.
  5. Add new line gl_overbright "1".
  6. Save the file.

Notes

Doing this will disable multi-texturing, which has the side-effect of disabling detail textures, which may effect the appearance of other games and mods that share hl1.exe, including Counter-Strike: Condition Zero and Day of Defeat.
Doing this disables the Steam version's built-in MSAA. On the Half Life profile, change Antialiasing - Mode to Override any application setting and Antialiasing - Setting to the desired level of antialiasing (such as 4x [4x Multisampling] for a vanilla look, or 32xS [Combined: 2x2 SS + 8x MS] for maximum antialiasing).

Input[edit]

In-game key map settings.
In-game key map settings.
In-game mouse/joystick settings.
In-game mouse/joystick settings.

Audio[edit]

In-game audio settings.
In-game audio settings.

Audio feature State Notes
Separate volume controls
Surround sound
Use MetaAudio plugin with Steam version.
Subtitles
Closed captions
Mute on focus lost
Red Book CD audio
Replaced with MP3 playback in the transition to SteamPipe.

Localizations

Language UI Audio Sub Notes
English
French
German
Italian
Italian audio is only available in the retail version. See here for the Steam version translation.
Russian
An Audio Translation, created by fan from various unofficial voice-overs
Spanish
Retail only. Patch for digital release here.
Korean
Ukrainian
Fan translation by TSF, download.

Network[edit]

In-game multiplayer settings.
In-game multiplayer settings.
For more information, see the "Half-Life Dedicated Server" section of our GoldSrc article.

Multiplayer types

Type Native Players Notes
LAN play
32 Versus
Online play
32 Versus

Connection types

Type Native Notes
Matchmaking
Peer-to-peer
Dedicated
Self-hosting
Direct IP
Open the console (~) and use connect followed by the IP and port.

Ports

Protocol Port(s) and/or port range(s)
UDP 6003, 7002, 27010, 27015, 27025
Universal Plug and Play (UPnP) support status is unknown.

VR support[edit]

Headsets Native Notes
HTC Vive
See VR.
Oculus Rift
See VR.
OSVR
Windows Mixed Reality
See VR.
Devices Native Notes
Tracked motion controllers
Supports Razer Hydra.
See Input for details.
Traditional controller
See Input for details.
Keyboard/Mouse
Novint Falcon
The official game-specific 3D Touch Add On is required.
Play area Native Notes
Seated
Standing
Room-scale

VR[edit]

Install Half-Life-VR Mod[9]
  1. Install Half-Life VR Mod into Half-Life's root.
  2. Take client.dll from the mod and put it in Half-Life: Opposing Force's \Half-Life\gearbox\cl_dlls .
  3. Add -game vr -dev -env -insecure -nomouse -nojoy +sv_lan 1 +sv_maxspeed 125 to Half-Life's launch options
  4. Set opengl32.dll to Read-Only in root directory of Half-Life.
  5. Ingame, make Half-Life windowed
  6. To play, Launch Half-Life and select Change Game in the main Menu, and choose Half Life: Opposing force.

Issues fixed[edit]

Run the game at screen refresh rate[edit]

The Direct3D verison of the game defaults to 60 Hz in fullscreen mode.
Use the -freq <rate> command line argument[10]
Example: -freq 120 forces a 120 Hz refresh rate.

Mouse twitching/stuttering fix[edit]

Enable raw mouse input in settings

Other information[edit]

API[edit]

Technical specs Supported Notes
Direct3D 7 Lost with Linux update.[11]
OpenGL 2.1
Software renderer
Executable 32-bit 64-bit Notes
Windows
macOS (OS X)
[citation needed]
Linux

Middleware[edit]

Middleware Notes
Audio Miles Sound System
Input SDL
Multiplayer WON, Steamworks WON for retail, Steamworks for Steam.

Console commands[edit]

Games running on the GoldSrc engine can utilize GoldSrc Engine Console Commands for various tasks.
The console is enabled by default in GoldSrc games, press ~ to open it.

System requirements[edit]

Windows
Minimum Recommended
Operating system (OS) 95
Processor (CPU) Intel Pentium 133 MHz
System memory (RAM) 24 MB
Hard disk drive (HDD) 4 GB
Video card (GPU) SVGA, high color (16-bit)
16 MB of VRAM
Sound (audio device) Win-compatible soundcard
macOS (OS X)
Minimum
Operating system (OS) Snow Leopard 10.6.3
Processor (CPU) 500 MHz
System memory (RAM) 1 GB
Hard disk drive (HDD) 4 GB
Video card (GPU) Nvidia GeForce 8
ATI Radeon X1600
Intel HD 3000
Linux
Minimum
Operating system (OS) Ubuntu 12.04
Processor (CPU) Intel Dual Core 2.8 GHz
AMD Dual Core 2.8 GHz
System memory (RAM) 1 GB
Hard disk drive (HDD) 4 GB
Video card (GPU) Nvidia GeForce 8600/9600 GT
ATI/AMD Radeon HD 2600/3600
OpenGL 2.1 compatible
Sound (audio device) OpenAL Compatible Sound Card
Other (Graphic Drivers: Nvidia 310, AMD 12.11)

Notes

  1. SafeDisc retail DRM does not work on Windows 10[2] or Windows 11 and is disabled by default on Windows Vista, Windows 7, Windows 8, and Windows 8.1 when the KB3086255 update is installed.[3]
  2. 2.0 2.1 When running this game without elevated privileges (Run as administrator option), write operations against a location below %PROGRAMFILES%, %PROGRAMDATA%, or %WINDIR% might be redirected to %LOCALAPPDATA%\VirtualStore on Windows Vista and later (more details).

References