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

Linux client library
Windows client library
Full mod package
Experimental build
Github source

Installation

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

  1. Download the OpenAG package.
  2. Unpack the archive contents 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


General

  • agrecord [name] - Records a demo with a unique filename that consists of the date, time, map and name (optional).
  • 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.
  • 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.

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.

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.

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. 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_gap - Crosshair gap size.
  • cl_cross_size - Controls the size/length of the crosshair.
  • cl_cross_thickness - Controls the thickness of the crosshair.

Version History (Changelog) #back to top

                                     April 26th, 2017 
                                    - Added cl_scores.
                                    - Added a speedometer (hud_speedometer).
                                    - Made the GL crosshairs draw even when hud_draw is disabled.
								
                                    February 9th, 2017
                                    - Added packet loss indicator to the scoreboard.
                                    - Added the timeout HUD element.
                                    - Added overtime support to the timer HUD element.
                                    - Added the sudden death HUD element.
                                    - Added the GL crosshair.
                                    - Removed the "Press DUCK for Spectator Menu" message.
                                    - Fixed the spectator colors in the scoreboard.
                                    - Fixed the ladder movement lag while ducked.
                                    - Fixed the append spam on demo playback.
                                    - Fixed some crashes on malformed team name.

                                    August 19th, 2016
                                    - Added the CTF HUD elements and sounds.
                                    - Fixed teams in the scoreboard not updating properly.

                                    August 11th, 2016
                                    - Added cl_autowepswitch.
                                    - Added clientside autojump, which is enabled by default. Just hold +jump. It can be disabled with by setting the cl_autojump CVar to 0.
                                    - Added zpecial and _zpecial which work just like you would expect.
                                    - Added the append command as an alternative to special. This one is kind of tricky to explain, but basically append <something> puts something into the end of the command buffer (just like special puts _special into the end of the command buffer). If that helps, zpecial is just an alias for append _zpecial.

                                    July 2nd, 2016
                                    - Added the hud_color CVar.
                                    - Added realnames support: loadauthid and unloadauthid commands.
                                    - Made the voice status HUD display the name without the color tags.
                                    - Made the countdown HUD disappear after a short while. This fixes it being stuck if agabort is issued during the agstart countdown.
                                    - Added cl_forcemodel. It's awesome, go check it out. It can "find" players by name, by Steam ID, by User ID, and when finding by name it can find by name with color tags, by name without color tags, and by matching the name partially (so you don't have to specify the full name, just any of its substrings), and if multiple names match it displays all of them so you can choose which one you want.

                                    June 23th, 2016
                                    - Added the cl_forceteammodel command.
                                    - Added the SteamID display to the scoreboard.
                                    - Added the hud_saytext_sound CVar to control whether a sound plays when there is a new message in the chat. Defaults to 0 (no sound).

                                    June 19th 2016
                                    - Initial release.