diff --git a/gamedata/core.games/common.games.txt b/gamedata/core.games/common.games.txt index 407fe10ee..e4ca089fa 100644 --- a/gamedata/core.games/common.games.txt +++ b/gamedata/core.games/common.games.txt @@ -319,6 +319,7 @@ "game" "tf2classic" "game" "pf2" "game" "dystopia" + "game" "treason" } "Keys" diff --git a/gamedata/sdkhooks.games/game.treason.txt b/gamedata/sdkhooks.games/game.treason.txt new file mode 100644 index 000000000..acd07c574 --- /dev/null +++ b/gamedata/sdkhooks.games/game.treason.txt @@ -0,0 +1,93 @@ +"Games" +{ + "treason" + { + "Offsets" + { + "EndTouch" + { + "windows" "104" + } + "FireBullets" + { + "windows" "116" + } + "GroundEntChanged" + { + "windows" "182" + } + "OnTakeDamage" + { + "windows" "62" + } + "OnTakeDamage_Alive" + { + "windows" "277" + } + "PreThink" + { + "windows" "337" + } + "PostThink" + { + "windows" "338" + } + "SetTransmit" + { + "windows" "20" + } + "ShouldCollide" + { + "windows" "16" + } + "Spawn" + { + "windows" "22" + } + "StartTouch" + { + "windows" "102" + } + "Think" + { + "windows" "47" + } + "Touch" + { + "windows" "103" + } + "TraceAttack" + { + "windows" "60" + } + "Use" + { + "windows" "101" + } + "VPhysicsUpdate" + { + "windows" "162" + } + "Weapon_CanSwitchTo" + { + "windows" "271" + } + "Weapon_CanUse" + { + "windows" "265" + } + "Weapon_Drop" + { + "windows" "268" + } + "Weapon_Equip" + { + "windows" "266" + } + "Weapon_Switch" + { + "windows" "269" + } + } + } +} diff --git a/gamedata/sdkhooks.games/master.games.txt b/gamedata/sdkhooks.games/master.games.txt index 20a718d02..46c0f936d 100644 --- a/gamedata/sdkhooks.games/master.games.txt +++ b/gamedata/sdkhooks.games/master.games.txt @@ -223,4 +223,8 @@ { "game" "hl1mp" } + "game.treason.txt" + { + "game" "treason" + } } diff --git a/gamedata/sdktools.games/game.treason.txt b/gamedata/sdktools.games/game.treason.txt new file mode 100644 index 000000000..24f4a3a20 --- /dev/null +++ b/gamedata/sdktools.games/game.treason.txt @@ -0,0 +1,99 @@ +"Games" +{ + "treason" + { + "Keys" + { + "SlapSoundCount" "5" + "SlapSound1" "player/hitmark.wav" + "SlapSound2" "player/hitmark_dart.wav" + "SlapSound3" "player/hitmark_protection.wav" + "SlapSound4" "player/hitmarkhead.wav" + "SlapSound5" "player/hitmarkhead_protection.wav" + + "GameRulesProxy" "CTreasonGameRulesProxy" + "GameRulesDataTable" "treason_gamerules_data" + } + + "Offsets" + { + "SetOwnerEntity" + { + "windows" "17" + } + "GiveNamedItem" + { + "windows" "405" + } + "RemovePlayerItem" + { + "windows" "275" + } + "Weapon_GetSlot" + { + "windows" "273" + } + "Ignite" + { + "windows" "214" + } + "Extinguish" + { + "windows" "218" + } + "Teleport" + { + "windows" "112" + } + "CommitSuicide" + { + "windows" "443" + } + "GetVelocity" + { + "windows" "145" + } + "EyeAngles" + { + "windows" "135" + } + "AcceptInput" + { + "windows" "36" + } + "SetEntityModel" + { + "windows" "24" + } + "WeaponEquip" + { + "windows" "266" + } + "Activate" + { + "windows" "33" + } + "PlayerRunCmd" + { + "windows" "423" + } + "GiveAmmo" + { + "windows" "257" + } + "GetAttachment" + { + "windows" "210" + } + } + + "Signatures" + { + "LookupAttachment" + { + "library" "server" + "windows" "\x55\x8B\xEC\x56\x8B\xF1\x80\xBE\x31\x03\x00\x00\x00\x75\x2A\x83\xBE\x70\x04\x00\x00\x00\x75\x2A\xE8\x2A\x2A\x2A\x2A\x85\xC0\x74\x2A\x8B\xCE\xE8\x2A\x2A\x2A\x2A\x8B\x86\x70\x04\x00\x00\x85\xC0\x74\x2A\x83\x38\x00\x74\x2A\xFF\x75\x08\x50\xE8\x2A\x2A\x2A\x2A\x83\xC4\x08\x40" + } + } + } +} diff --git a/gamedata/sdktools.games/master.games.txt b/gamedata/sdktools.games/master.games.txt index c8a98c11b..7092b9b76 100644 --- a/gamedata/sdktools.games/master.games.txt +++ b/gamedata/sdktools.games/master.games.txt @@ -284,4 +284,8 @@ { "game" "hl1mp" } + "game.treason.txt" + { + "game" "treason" + } }