From e246d14a6b6351d9f3343eabedd48c136fcce421 Mon Sep 17 00:00:00 2001 From: IceMatrix Date: Wed, 7 Jan 2009 03:25:53 -0500 Subject: [PATCH] Added Age of Chivalry offsets (bug 3366). --- gamedata/core.games.txt | 21 +++++++- gamedata/sdktools.games.ep2.txt | 93 +++++++++++++++++++++++++++++++++ 2 files changed, 113 insertions(+), 1 deletion(-) diff --git a/gamedata/core.games.txt b/gamedata/core.games.txt index 50c41a65..b6438822 100644 --- a/gamedata/core.games.txt +++ b/gamedata/core.games.txt @@ -58,6 +58,23 @@ } } + "ageofchivalry" + { + "Keys" + { + "RadioMenuTimeout" "4" + } + + "Offsets" + { + "GetDataDescMap" + { + "windows" "11" + "linux" "12" + } + } + } + /** * Which games support ShowMenu? */ @@ -75,6 +92,7 @@ "game" "diprip" "game" "synergy" "game" "FortressForever" + "game" "ageofchivalry" } "Keys" @@ -93,6 +111,7 @@ "game" "hl2mp" "game" "sourceforts" "game" "tf" + "game" "ageofchivalry" } "Keys" @@ -136,7 +155,7 @@ } } - "synergy" + "synergy" { "Keys" { diff --git a/gamedata/sdktools.games.ep2.txt b/gamedata/sdktools.games.ep2.txt index 7765c897..7b6189f1 100644 --- a/gamedata/sdktools.games.ep2.txt +++ b/gamedata/sdktools.games.ep2.txt @@ -33,6 +33,7 @@ { "game" "dod" "game" "tf" + "game" "ageofchivalry" } "Offsets" @@ -81,6 +82,7 @@ { "game" "dod" "game" "tf" + "game" "ageofchivalry" } "Signatures" @@ -107,6 +109,7 @@ { "game" "dod" "game" "tf" + "game" "ageofchivalry" } "Offsets" @@ -148,6 +151,7 @@ { "game" "dod" "game" "tf" + "game" "ageofchivalry" } "Offsets" @@ -226,6 +230,7 @@ { "game" "dod" "game" "tf" + "game" "ageofchivalry" } "Signatures" { @@ -451,4 +456,92 @@ } } } + + /* Afe of Chivalry */ + "ageofchivalry" + { + "Offsets" + { + "GiveNamedItem" + { + "windows" "351" + "linux" "352" + } + "RemovePlayerItem" + { + "windows" "239" + "linux" "240" + } + "Weapon_GetSlot" + { + "windows" "237" + "linux" "238" + } + "Ignite" + { + "windows" "194" + "linux" "195" + } + "Extinguish" + { + "windows" "198" + "linux" "199" + } + "Teleport" + { + "windows" "101" + "linux" "102" + } + "CommitSuicide" + { + "windows" "389" + "linux" "389" + } + "GetVelocity" + { + "windows" "130" + "linux" "131" + } + "EyeAngles" + { + "windows" "122" + "linux" "123" + } + "AcceptInput" + { + "windows" "34" + "linux" "35" + } + "DispatchKeyValue" + { + "windows" "29" + "linux" "28" + } + "DispatchKeyValueFloat" + { + "windows" "28" + "linux" "29" + } + "DispatchKeyValueVector" + { + "windows" "27" + "linux" "30" + } + "SetEntityModel" + { + "windows" "23" + "linux" "24" + } + "WeaponEquip" + { + "windows" "230" + "linux" "231" + } + "Activate" + { + "windows" "31" + "linux" "32" + } + } + } }