From 01c94596a43ebbb1e0528c0e13317378fb216f35 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Wed, 7 Dec 2011 11:54:53 -0500 Subject: [PATCH] Added gamedata support for Adreneline Gamer 2 (bug 5186). --- gamedata/core.games/common.games.txt | 1 + gamedata/core.games/engine.ep2.txt | 1 + gamedata/sdktools.games/engine.ep2.txt | 4 ++ gamedata/sdktools.games/game.ag2.txt | 91 ++++++++++++++++++++++++ gamedata/sdktools.games/master.games.txt | 4 ++ 5 files changed, 101 insertions(+) create mode 100644 gamedata/sdktools.games/game.ag2.txt diff --git a/gamedata/core.games/common.games.txt b/gamedata/core.games/common.games.txt index 82b970ce..03f9b1d5 100644 --- a/gamedata/core.games/common.games.txt +++ b/gamedata/core.games/common.games.txt @@ -216,6 +216,7 @@ "game" "eye" "game" "nucleardawn" "game" "hl2ctf" + "game" "ag2" } "Keys" diff --git a/gamedata/core.games/engine.ep2.txt b/gamedata/core.games/engine.ep2.txt index d230e0cf..a89c72b3 100644 --- a/gamedata/core.games/engine.ep2.txt +++ b/gamedata/core.games/engine.ep2.txt @@ -28,6 +28,7 @@ "game" "fas" "game" "fistful_of_frags" "game" "cspromod" + "game" "ag2" } "Offsets" diff --git a/gamedata/sdktools.games/engine.ep2.txt b/gamedata/sdktools.games/engine.ep2.txt index 8d531d94..f9b98ce5 100644 --- a/gamedata/sdktools.games/engine.ep2.txt +++ b/gamedata/sdktools.games/engine.ep2.txt @@ -26,6 +26,7 @@ "game" "fas" "game" "fistful_of_frags" "game" "cspromod" + "game" "ag2" } "Offsets" @@ -76,6 +77,7 @@ "game" "pvkii" "game" "fistful_of_frags" "game" "cspromod" + "game" "ag2" } "Signatures" @@ -107,6 +109,7 @@ "game" "fas" "game" "fistful_of_frags" "game" "cspromod" + "game" "ag2" } "Offsets" @@ -198,6 +201,7 @@ { "game" "ageofchivalry" "game" "cspromod" + "game" "ag2" } "Signatures" { diff --git a/gamedata/sdktools.games/game.ag2.txt b/gamedata/sdktools.games/game.ag2.txt new file mode 100644 index 00000000..6813043e --- /dev/null +++ b/gamedata/sdktools.games/game.ag2.txt @@ -0,0 +1,91 @@ +/** + * Do not edit this file. Any changes will be overwritten by the gamedata + * updater or by upgrading your SourceMod install. + * + * To override data in this file, create a subdirectory named "custom" and + * place your own gamedata file(s) inside of it. Such files will be parsed + * after SM's own. + * + * For more information, see http://wiki.alliedmods.net/Gamedata_Updating_(SourceMod) + */ + +"Games" +{ + /* Adrenaline Gamer 2 v1.02 */ + "ag2" + { + "Offsets" + { + "GiveNamedItem" + { + "windows" "350" + "linux" "351" + } + "RemovePlayerItem" + { + "windows" "238" + "linux" "239" + } + "Weapon_GetSlot" + { + "windows" "236" + "linux" "237" + } + "Ignite" + { + "windows" "193" + "linux" "194" + } + "Extinguish" + { + "windows" "197" + "linux" "198" + } + "Teleport" + { + "windows" "100" + "linux" "101" + } + "CommitSuicide" + { + "windows" "391" + "linux" "391" + } + "GetVelocity" + { + "windows" "130" + "linux" "131" + } + "EyeAngles" + { + "windows" "122" + "linux" "123" + } + "AcceptInput" + { + "windows" "34" + "linux" "35" + } + "SetEntityModel" + { + "windows" "23" + "linux" "24" + } + "WeaponEquip" + { + "windows" "229" + "linux" "230" + } + "Activate" + { + "windows" "31" + "linux" "32" + } + "PlayerRunCmd" + { + "windows" "370" + "linux" "371" + } + } + } +} diff --git a/gamedata/sdktools.games/master.games.txt b/gamedata/sdktools.games/master.games.txt index 50e96a3a..c1d66dab 100644 --- a/gamedata/sdktools.games/master.games.txt +++ b/gamedata/sdktools.games/master.games.txt @@ -205,4 +205,8 @@ { "game" "hl2ctf" } + "game.ag2.txt" + { + "game" "ag2" + } }