OpenAG

Open-source Adrenaline Gamer client


Introduction

OpenAG is an open-source client of the Half-Life promod Adrenaline Gamer, completely rewritten from scratch on latest Half-Life SDK. It adds new features, bugfixes and other tweaks over the original mod, while also maintaining the ability to play on all currently existing servers.

Getting Started #back to top

Downloads

Below are all downloads for OpenAG

Windows client library
Linux client library
macOS client library
Full mod package
GitHub source

Installation

You must own Half-Life on Steam in order to play Adrenaline Gamer.

  1. Download the OpenAG package.
  2. Place the ag folder into your Half-Life folder.
  3. Restart Steam.
  4. OpenAG should appear in your Steam games library.

If you previously had Adrenaline Gamer installed, you don't need to download the full package.
A separate client library is available here.
Simply replace the client.dll in Half-Life/ag/cl_dlls folder with the new one and you should have OpenAG installed.

Make a backup of the original AG client.dll in case you need to switch back.

List of commands #back to top

This list may not be completely up-to-date (some new cvars and commands were added that are not listed here).

General

  • agrecord [name] — Records a demo with a unique filename that consists of the date, time, map and name (optional).
  • cl_autorecord — If enabled, automatically records a demo on start of a match (agstart countdown).
  • cl_autostop — If enabled, automatically stops demo recording after match end (3 seconds into the intermission).
  • loadauthid — Displays nicknames from realnames.txt in the scoreboard
  • unloadauthid — Displays normal nicknames in the scoreboard.
  • cl_autojump — If enabled, will jump automatically as soon as you touch the ground while +jump is held.
  • +ducktap — Performs a duck tap automatically as soon as you touch the ground (presses +duck for 1 frame).
  • append <string> — An alternative to special. Appends string to the end of the command buffer, just like _special.
  • zpecial — Alias for append _zpecial. Can be used to replace special in various scripts/aliases.
  • cl_autowepswitch — If enabled, automatically switches to a stronger weapon on pick-up.
  • cl_scores [#] — Displays a mini-scoreboard panel on the screen. The amount value sets how many players or teams are shown.
  • cl_scores_pos "x y" — Controls the position of the mini-scoreboard element.
  • cl_righthand — If enabled, activates the left-handed mode.
  • cl_viewheight_mode — If enabled, adjusts the view height to be correct on older HLSDK servers.
  • cl_viewrollangle — Controls the view roll angle.
  • cl_viewrollspeed — Controls the view roll speed.
  • cl_hidecorpses — If enabled, hides dead player corpses.
  • cl_old_scoreboard [0/1] — If enabled, old style scoreboard is used instead of the VGUI one.
  • cl_old_scoreboard_width [320-screen resolution width] — Changes the base width of the scoreboard, default (and minimum) is 320 on Windows (like in AG 6.6) and 380 on Linux.
  • cl_viewmodel_fov [0-179] — Changes the FOV for the gun viewmodel, the value is based on what the viewmodel would look like with the same default_fov (e.g. 120 is like if default_fov was set to 120). 0 to disable and use default_fov's value.
  • cl_viewmodel_ofs_right [0+] — Offsets the gun viewmodel to the right (or to the left if cl_righthand is set to 1), 0 for no offset.
  • cl_viewmodel_ofs_forward [0+] — Offsets the gun viewmodel forward, 0 for no offset.
  • cl_viewmodel_ofs_up [0+] — Offsets the gun viewmodel upwards, 0 for no offset.

HUD

  • hud_color "R G B" — Color of all HUD elements in RGB format.
  • hud_timer [0/1/2] — Displays an in-game timer. It has two modes: 1 is time remaining, 2 is time elapsed.
  • hud_speedometer [0/1] — Displays a speedometer.
  • hud_speedometer_below_cross [0/1] — Places the speedometer right under your crosshair for better (or not) visibility.
  • cl_draw_deathnotices_always — If enabled, will display the kill feed even when hud_draw is 0. Useful when recording fragmovies.
  • hud_saytext_sound [0/1] — Plays a sound whenever a message is posted in the game's chat. Disabled by default.
  • hud_rainbow [0/1] — Enables Rainbow HUD. Disabled by default.
  • hud_rainbow_sat [0-100] — Controls the saturation of Rainbow HUD color. Default: 100%
  • hud_rainbow_val [0-100] — Controls the brightness of Rainbow HUD color. Default: 100%
  • hud_rainbow_speed "degrees/s" — Controls the angular speed of Rainbow HUD color. Default: 40 degrees/s
  • hud_rainbow_xphase "degrees/px" — Controls the horizontal phase shift of Rainbow HUD color. Default: 0.4 degrees/px
  • hud_rainbow_yphase "degrees/px" — Controls the vertical phase shift of Rainbow HUD color. Default: 0.7 degrees/px

Forcemodel

Forcemodel allows you to override the model of another player/team on the fly. This is especially useful when they are using a model that is hard to see.

  • cl_forcemodel <player> <model> — Overrides the model of the specified player.
    You can also use SteamID or UserID (i.e. #123) instead of the name, but writing only a half of the player's name works too.
  • cl_forcemodel_list — Lists existing model overrides.
  • cl_forcemodel_remove <player> — Removes model override for specified player.

You can also use this set of commands to force models on teams:

  • cl_forceteammodel <team> <model> — Overrides the model of the specified team.
  • cl_forceteammodel_list — Lists existing team model overrides.
  • cl_forceteammodel_remove <team> — Removes model override for specified team.

  • cl_forceteammatemodel <model> — Overrides the models of all players on the same team as you. Use cl_forceteammatemodel "" to reset.
  • cl_forceenemymodel <model> — Overrides the models of all players on other teams. Use cl_forceenemymodel "" to reset.

Custom crosshairs

Custom crosshairs allow you to generate any kind of crosshair you want straight from the console. This eliminates the need of crosshair sprite files, while also making the crosshair look sharp and just the way you like!

  • cl_cross — If 1, a custom crosshair will be drawn.
  • cl_cross_alpha — Crosshair opacity. Value range: 0–255.
  • cl_cross_circle_radius — Controls the radius of the circle that is drawn around the crosshair. Set to 0 to disable it completely.
  • cl_cross_color "R G B" — The color of the crosshair in RGB format. For example: "0 255 128"
  • cl_cross_dot_size — Size of the dot at the center of the crosshair. Set to 0 to disable it completely.
  • cl_cross_dot_color — The color of the crosshair dot in RGB format. If empty, dot is the same color as the rest of the crosshair.
  • cl_cross_gap — Crosshair gap size.
  • cl_cross_size — Controls the size/length of the crosshair.
  • cl_cross_thickness — Controls the thickness of the crosshair.
  • cl_cross_outline — Controls the size of an outline around the crosshair. Set to 0 if you do not wish to have an outline.
  • cl_cross_{top,bottom,left,right}_line — Controls the sizes of the corresponding crosshair lines.

Version History (Changelog) #back to top