From 39e955c41269ea8e448d72b853cbc24c241ce4e7 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Wed, 18 Sep 2013 21:49:36 -0400 Subject: [PATCH] Updated HL2DM gamedata. --- gamedata/sdkhooks.games/engine.ep2v.txt | 478 ++++++++++++++---------- gamedata/sdktools.games/game.hl2mp.txt | 66 ++-- 2 files changed, 304 insertions(+), 240 deletions(-) diff --git a/gamedata/sdkhooks.games/engine.ep2v.txt b/gamedata/sdkhooks.games/engine.ep2v.txt index f5685382..1984f168 100644 --- a/gamedata/sdkhooks.games/engine.ep2v.txt +++ b/gamedata/sdkhooks.games/engine.ep2v.txt @@ -1,181 +1,8 @@ "Games" { - // Now this is getting ridiculous - "#default" + // tf, hl2mp, and dods are in the same file for legacy reasons + "tf" { - "#supported" - { - "game" "hl2mp" - } - - "Offsets" - { - "EndTouch" - { - "windows" "99" - "linux" "100" - "mac" "100" - } - "FireBullets" - { - "windows" "111" - "linux" "112" - "mac" "112" - } - "GetMaxHealth" - { - "windows" "116" - "linux" "117" - "mac" "117" - } - "GroundEntChanged" - { - "windows" "176" - "linux" "177" - "mac" "177" - } - "OnTakeDamage" - { - "windows" "62" - "linux" "63" - "mac" "63" - } - "PreThink" - { - "windows" "330" - "linux" "331" - "mac" "331" - } - "PostThink" - { - "windows" "331" - "linux" "332" - "mac" "332" - } - "Reload" - { - "windows" "274" - "linux" "275" - "mac" "275" - } - "SetTransmit" - { - "windows" "20" - "linux" "21" - "mac" "21" - } - "ShouldCollide" - { - "windows" "16" - "linux" "17" - "mac" "17" - } - "Spawn" - { - "windows" "22" - "linux" "23" - "mac" "23" - } - "StartTouch" - { - "windows" "97" - "linux" "98" - "mac" "98" - } - "Think" - { - "windows" "47" - "linux" "48" - "mac" "48" - } - "Touch" - { - "windows" "98" - "linux" "99" - "mac" "99" - } - "TraceAttack" - { - "windows" "60" - "linux" "61" - "mac" "61" - } - "Use" - { - "windows" "96" - "linux" "97" - "mac" "97" - } - "VPhysicsUpdate" - { - "windows" "156" - "linux" "157" - "mac" "157" - } - "Weapon_CanSwitchTo" - { - "windows" "264" - "linux" "265" - "mac" "265" - } - "Weapon_CanUse" - { - "windows" "258" - "linux" "259" - "mac" "259" - } - "Weapon_Drop" - { - "windows" "261" - "linux" "262" - "mac" "262" - } - "Weapon_Equip" - { - "windows" "259" - "linux" "260" - "mac" "260" - } - "Weapon_Switch" - { - "windows" "262" - "linux" "263" - "mac" "263" - } - - - // no longer used - "UpdateOnRemove" - { - "windows" "104" - "linux" "105" - "mac" "105" - } - // - } - - "Signatures" - { - // no longer used - "IEntityFactoryDictionary" - { - "library" "server" - "windows" "\xB8\x01\x00\x00\x00\x84\x2A\x2A\x2A\x2A\x2A\x75\x1D\x09\x2A\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x68\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x83\xC4\x04\xB8\x2A\x2A\x2A\x2A\xC3" - "linux" "@_Z23EntityFactoryDictionaryv" - "mac" "@_Z23EntityFactoryDictionaryv" - } - // - } - } - // Now this is getting ridiculous - "#default" - { - "#supported" - { - "game" "tf" - "game" "dod" - } - "Offsets" { "EndTouch" @@ -310,46 +137,283 @@ "linux" "264" "mac" "264" } - - - // no longer used - "UpdateOnRemove" - { - "windows" "105" - "linux" "106" - "mac" "106" - } - // - } - - "Signatures" - { - // no longer used - "IEntityFactoryDictionary" - { - "library" "server" - "windows" "\xB8\x01\x00\x00\x00\x84\x2A\x2A\x2A\x2A\x2A\x75\x1D\x09\x2A\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x68\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x83\xC4\x04\xB8\x2A\x2A\x2A\x2A\xC3" - "linux" "@_Z23EntityFactoryDictionaryv" - "mac" "@_Z23EntityFactoryDictionaryv" - } - // } } - "#default" + "hl2mp" { - "#supported" - { - "game" "cstrike" - } - "Offsets" { + "EndTouch" + { + "windows" "100" + "linux" "101" + "mac" "101" + } + "FireBullets" + { + "windows" "112" + "linux" "113" + "mac" "113" + } + "GetMaxHealth" + { + "windows" "117" + "linux" "118" + "mac" "118" + } + "GroundEntChanged" + { + "windows" "178" + "linux" "179" + "mac" "179" + } + "OnTakeDamage" + { + "windows" "62" + "linux" "63" + "mac" "63" + } + "PreThink" + { + "windows" "331" + "linux" "332" + "mac" "332" + } + "PostThink" + { + "windows" "332" + "linux" "333" + "mac" "333" + } "Reload" { - "windows" "272" - "linux" "273" - "mac" "273" + "windows" "268" + "linux" "269" + "mac" "269" + } + "SetTransmit" + { + "windows" "20" + "linux" "21" + "mac" "21" + } + "ShouldCollide" + { + "windows" "16" + "linux" "17" + "mac" "17" + } + "Spawn" + { + "windows" "22" + "linux" "23" + "mac" "23" + } + "StartTouch" + { + "windows" "98" + "linux" "99" + "mac" "99" + } + "Think" + { + "windows" "47" + "linux" "48" + "mac" "48" + } + "Touch" + { + "windows" "99" + "linux" "100" + "mac" "100" + } + "TraceAttack" + { + "windows" "60" + "linux" "61" + "mac" "61" + } + "Use" + { + "windows" "97" + "linux" "98" + "mac" "98" + } + "VPhysicsUpdate" + { + "windows" "157" + "linux" "158" + "mac" "158" + } + "Weapon_CanSwitchTo" + { + "windows" "265" + "linux" "266" + "mac" "266" + } + "Weapon_CanUse" + { + "windows" "259" + "linux" "260" + "mac" "260" + } + "Weapon_Drop" + { + "windows" "262" + "linux" "263" + "mac" "263" + } + "Weapon_Equip" + { + "windows" "260" + "linux" "261" + "mac" "261" + } + "Weapon_Switch" + { + "windows" "263" + "linux" "264" + "mac" "264" + } + } + } + + "dod" + { + "Offsets" + { + "EndTouch" + { + "windows" "100" + "linux" "101" + "mac" "101" + } + "FireBullets" + { + "windows" "112" + "linux" "113" + "mac" "113" + } + "GetMaxHealth" + { + "windows" "117" + "linux" "118" + "mac" "118" + } + "GroundEntChanged" + { + "windows" "178" + "linux" "179" + "mac" "179" + } + "OnTakeDamage" + { + "windows" "62" + "linux" "63" + "mac" "63" + } + "PreThink" + { + "windows" "331" + "linux" "332" + "mac" "332" + } + "PostThink" + { + "windows" "332" + "linux" "333" + "mac" "333" + } + "Reload" + { + "windows" "268" + "linux" "269" + "mac" "269" + } + "SetTransmit" + { + "windows" "20" + "linux" "21" + "mac" "21" + } + "ShouldCollide" + { + "windows" "16" + "linux" "17" + "mac" "17" + } + "Spawn" + { + "windows" "22" + "linux" "23" + "mac" "23" + } + "StartTouch" + { + "windows" "98" + "linux" "99" + "mac" "99" + } + "Think" + { + "windows" "47" + "linux" "48" + "mac" "48" + } + "Touch" + { + "windows" "99" + "linux" "100" + "mac" "100" + } + "TraceAttack" + { + "windows" "60" + "linux" "61" + "mac" "61" + } + "Use" + { + "windows" "97" + "linux" "98" + "mac" "98" + } + "VPhysicsUpdate" + { + "windows" "157" + "linux" "158" + "mac" "158" + } + "Weapon_CanSwitchTo" + { + "windows" "265" + "linux" "266" + "mac" "266" + } + "Weapon_CanUse" + { + "windows" "259" + "linux" "260" + "mac" "260" + } + "Weapon_Drop" + { + "windows" "262" + "linux" "263" + "mac" "263" + } + "Weapon_Equip" + { + "windows" "260" + "linux" "261" + "mac" "261" + } + "Weapon_Switch" + { + "windows" "263" + "linux" "264" + "mac" "264" } } } diff --git a/gamedata/sdktools.games/game.hl2mp.txt b/gamedata/sdktools.games/game.hl2mp.txt index 99a2fd33..2b5dcd0f 100644 --- a/gamedata/sdktools.games/game.hl2mp.txt +++ b/gamedata/sdktools.games/game.hl2mp.txt @@ -18,57 +18,57 @@ { "GiveNamedItem" { - "windows" "398" - "linux" "399" - "mac" "399" + "windows" "399" + "linux" "400" + "mac" "400" } "RemovePlayerItem" { - "windows" "268" - "linux" "269" - "mac" "269" + "windows" "269" + "linux" "270" + "mac" "270" } "Weapon_GetSlot" { - "windows" "266" - "linux" "267" - "mac" "267" + "windows" "267" + "linux" "268" + "mac" "268" } "Ignite" { - "windows" "207" - "linux" "208" - "mac" "208" + "windows" "208" + "linux" "209" + "mac" "209" } "Extinguish" { - "windows" "211" - "linux" "212" - "mac" "212" + "windows" "212" + "linux" "213" + "mac" "213" } "Teleport" { - "windows" "107" - "linux" "108" - "mac" "108" + "windows" "108" + "linux" "109" + "mac" "109" } "CommitSuicide" { - "windows" "437" - "linux" "437" - "mac" "437" + "windows" "438" + "linux" "438" + "mac" "438" } "GetVelocity" { - "windows" "139" - "linux" "140" - "mac" "140" + "windows" "140" + "linux" "141" + "mac" "141" } "EyeAngles" { - "windows" "130" - "linux" "131" - "mac" "131" + "windows" "131" + "linux" "132" + "mac" "132" } "AcceptInput" { @@ -84,9 +84,9 @@ } "WeaponEquip" { - "windows" "259" - "linux" "260" - "mac" "260" + "windows" "260" + "linux" "261" + "mac" "261" } "Activate" { @@ -96,9 +96,9 @@ } "PlayerRunCmd" { - "windows" "416" - "linux" "417" - "mac" "417" + "windows" "417" + "linux" "418" + "mac" "418" } } }