From e941c1acea219579892970cc32528d218693e255 Mon Sep 17 00:00:00 2001 From: rumblefrog Date: Tue, 10 Mar 2020 16:20:08 -0400 Subject: [PATCH] Update Black Mesa gamedata (#1208) --- gamedata/core.games/common.games.txt | 6 +- gamedata/sdkhooks.games/game.bms.txt | 190 ++++++++++++++++----------- gamedata/sdktools.games/game.bms.txt | 92 ++++++------- 3 files changed, 159 insertions(+), 129 deletions(-) diff --git a/gamedata/core.games/common.games.txt b/gamedata/core.games/common.games.txt index 270993aa..6e4b3169 100644 --- a/gamedata/core.games/common.games.txt +++ b/gamedata/core.games/common.games.txt @@ -125,9 +125,9 @@ { "GetDataDescMap" { - "windows" "12" - "linux" "13" - "mac" "13" + "windows" "13" + "linux" "14" + "mac" "14" } } } diff --git a/gamedata/sdkhooks.games/game.bms.txt b/gamedata/sdkhooks.games/game.bms.txt index 00881294..68c6d7c4 100644 --- a/gamedata/sdkhooks.games/game.bms.txt +++ b/gamedata/sdkhooks.games/game.bms.txt @@ -4,126 +4,156 @@ { "Offsets" { - "Blocked" + "CanBeAutobalanced" { - "windows" "110" - "linux" "111" - "mac" "111" + "windows" "504" + "linux" "506" + "mac" "506" } - "EndTouch" + "GetMaxHealth" { - "windows" "108" - "linux" "109" - "mac" "109" + "windows" "127" + "linux" "128" + "mac" "128" } - "FireBullets" + "GroundEntChanged" { - "windows" "121" - "linux" "122" - "mac" "122" + "windows" "189" + "linux" "191" + "mac" "191" } - "OnTakeDamage" + "Reload" { - "windows" "67" - "linux" "68" - "mac" "68" + "windows" "290" + "linux" "291" + "mac" "291" } - "OnTakeDamage_Alive" - { - "windows" "291" - "linux" "292" - "mac" "292" - } - "PreThink" - { - "windows" "353" - "linux" "354" - "mac" "354" - } - "PostThink" - { - "windows" "354" - "linux" "355" - "mac" "355" - } - "SetTransmit" - { - "windows" "21" - "linux" "22" - "mac" "22" - } - "ShouldCollide" - { - "windows" "17" - "linux" "18" - "mac" "18" - } - "Spawn" - { - "windows" "23" - "linux" "24" - "mac" "24" - } - "StartTouch" + "Use" { "windows" "106" "linux" "107" "mac" "107" } - "Think" + "Blocked" { - "windows" "49" - "linux" "50" - "mac" "50" + "windows" "111" + "linux" "112" + "mac" "112" } - "Touch" + "EndTouch" + { + "windows" "109" + "linux" "110" + "mac" "110" + } + "FireBullets" + { + "windows" "122" + "linux" "123" + "mac" "123" + } + "OnTakeDamage" + { + "windows" "68" + "linux" "69" + "mac" "69" + } + "OnTakeDamage_Alive" + { + "windows" "292" + "linux" "293" + "mac" "293" + } + "PreThink" + { + "windows" "354" + "linux" "355" + "mac" "355" + } + "PostThink" + { + "windows" "355" + "linux" "356" + "mac" "356" + } + "SetTransmit" + { + "windows" "22" + "linux" "23" + "mac" "23" + } + "ShouldCollide" + { + "windows" "18" + "linux" "19" + "mac" "19" + } + "Spawn" + { + "windows" "24" + "linux" "25" + "mac" "25" + } + "StartTouch" { "windows" "107" "linux" "108" "mac" "108" } + "Think" + { + "windows" "50" + "linux" "51" + "mac" "51" + } + "Touch" + { + "windows" "108" + "linux" "109" + "mac" "109" + } "TraceAttack" { - "windows" "65" - "linux" "66" - "mac" "66" + "windows" "66" + "linux" "67" + "mac" "67" } "VPhysicsUpdate" { - "windows" "167" - "linux" "168" - "mac" "168" + "windows" "168" + "linux" "169" + "mac" "169" } "Weapon_CanSwitchTo" { - "windows" "285" - "linux" "286" - "mac" "286" + "windows" "286" + "linux" "287" + "mac" "287" } "Weapon_CanUse" - { - "windows" "279" - "linux" "280" - "mac" "280" - } - "Weapon_Drop" - { - "windows" "282" - "linux" "283" - "mac" "283" - } - "Weapon_Equip" { "windows" "280" "linux" "281" "mac" "281" } - "Weapon_Switch" + "Weapon_Drop" { "windows" "283" "linux" "284" "mac" "284" } + "Weapon_Equip" + { + "windows" "281" + "linux" "282" + "mac" "282" + } + "Weapon_Switch" + { + "windows" "284" + "linux" "285" + "mac" "285" + } } } diff --git a/gamedata/sdktools.games/game.bms.txt b/gamedata/sdktools.games/game.bms.txt index b40174ea..fbe1d7c3 100644 --- a/gamedata/sdktools.games/game.bms.txt +++ b/gamedata/sdktools.games/game.bms.txt @@ -101,93 +101,93 @@ { "GiveNamedItem" { - "windows" "423" - "linux" "424" - "mac" "424" + "windows" "422" + "linux" "423" + "mac" "423" } "RemovePlayerItem" { - "windows" "289" - "linux" "290" - "mac" "290" + "windows" "290" + "linux" "291" + "mac" "291" } "Weapon_GetSlot" { - "windows" "287" - "linux" "288" - "mac" "288" + "windows" "288" + "linux" "289" + "mac" "289" } "Ignite" { - "windows" "226" - "linux" "227" - "mac" "227" + "windows" "227" + "linux" "228" + "mac" "228" } "Extinguish" { - "windows" "230" - "linux" "231" - "mac" "231" + "windows" "231" + "linux" "232" + "mac" "232" } "Teleport" { - "windows" "117" - "linux" "118" - "mac" "118" + "windows" "118" + "linux" "119" + "mac" "119" } "CommitSuicide" { - "windows" "463" - "linux" "463" - "mac" "463" + "windows" "464" + "linux" "464" + "mac" "464" } "GetVelocity" { - "windows" "150" - "linux" "151" - "mac" "151" + "windows" "151" + "linux" "152" + "mac" "152" } "EyeAngles" { - "windows" "140" - "linux" "141" - "mac" "141" + "windows" "141" + "linux" "142" + "mac" "142" } "SetEntityModel" { - "windows" "25" - "linux" "26" - "mac" "26" + "windows" "26" + "linux" "27" + "mac" "27" } "AcceptInput" { - "windows" "38" - "linux" "39" - "mac" "39" + "windows" "39" + "linux" "40" + "mac" "40" } "WeaponEquip" { - "windows" "280" - "linux" "281" - "mac" "281" + "windows" "281" + "linux" "282" + "mac" "282" } "Activate" { - "windows" "35" - "linux" "36" - "mac" "36" + "windows" "36" + "linux" "37" + "mac" "37" } "PlayerRunCmd" { - "windows" "442" - "linux" "443" - "mac" "443" + "windows" "443" + "linux" "444" + "mac" "444" } "GiveAmmo" { - "windows" "271" - "linux" "272" - "mac" "272" + "windows" "272" + "linux" "273" + "mac" "273" } } @@ -197,4 +197,4 @@ "GameRulesDataTable" "blackmesa_mp_gamerules_data" } } -} +} \ No newline at end of file