From 8401ca326973366d0773f5bb6d399295bd9fdc5f Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Sat, 22 Apr 2017 10:31:41 -0400 Subject: [PATCH] Add gamedata for Alien Swarm: Reactive Drop. --- gamedata/core.games/common.games.txt | 1 + gamedata/sdkhooks.games/game.reactivedrop.txt | 100 +++++++++++++++ gamedata/sdkhooks.games/master.games.txt | 4 + gamedata/sdktools.games/game.reactivedrop.txt | 120 ++++++++++++++++++ gamedata/sdktools.games/master.games.txt | 4 + tools/buildbot/PackageScript | 2 + 6 files changed, 231 insertions(+) create mode 100644 gamedata/sdkhooks.games/game.reactivedrop.txt create mode 100644 gamedata/sdktools.games/game.reactivedrop.txt diff --git a/gamedata/core.games/common.games.txt b/gamedata/core.games/common.games.txt index e16ad16d..c30984e1 100644 --- a/gamedata/core.games/common.games.txt +++ b/gamedata/core.games/common.games.txt @@ -269,6 +269,7 @@ "game" "bms" "game" "KreedzClimbing" "game" "csgo" + "game" "reactivedrop" } "Keys" diff --git a/gamedata/sdkhooks.games/game.reactivedrop.txt b/gamedata/sdkhooks.games/game.reactivedrop.txt new file mode 100644 index 00000000..18c49e5e --- /dev/null +++ b/gamedata/sdkhooks.games/game.reactivedrop.txt @@ -0,0 +1,100 @@ +"Games" +{ + "#default" + { + "Offsets" + { + "EndTouch" + { + "windows" "102" + } + "FireBullets" + { + "windows" "115" + } + "GetMaxHealth" + { + "windows" "119" + } + "OnTakeDamage" + { + "windows" "66" + } + "PreThink" + { + "windows" "347" + } + "PostThink" + { + "windows" "348" + } + "SetTransmit" + { + "windows" "22" + } + "ShouldCollide" + { + "windows" "17" + } + "Spawn" + { + "windows" "24" + } + "StartTouch" + { + "windows" "100" + } + "Think" + { + "windows" "50" + } + "Touch" + { + "windows" "101" + } + "TraceAttack" + { + "windows" "64" + } + "Use" + { + "windows" "99" + } + "VPhysicsUpdate" + { + "windows" "160" + } + "Weapon_CanSwitchTo" + { + "windows" "283" + } + "Weapon_CanUse" + { + "windows" "277" + } + "Weapon_Drop" + { + "windows" "280" + } + "Weapon_Equip" + { + "windows" "278" + } + "Weapon_Switch" + { + "windows" "281" + } + } + } + + "#default" + { + "Offsets" + { + "EntityListeners" + { + "windows" "131108" + } + } + } +} diff --git a/gamedata/sdkhooks.games/master.games.txt b/gamedata/sdkhooks.games/master.games.txt index 800f6adc..aa66daca 100644 --- a/gamedata/sdkhooks.games/master.games.txt +++ b/gamedata/sdkhooks.games/master.games.txt @@ -194,4 +194,8 @@ { "game" "doi" } + "game.reactivedrop.txt" + { + "game" "reactivedrop" + } } diff --git a/gamedata/sdktools.games/game.reactivedrop.txt b/gamedata/sdktools.games/game.reactivedrop.txt new file mode 100644 index 00000000..e0ee1591 --- /dev/null +++ b/gamedata/sdktools.games/game.reactivedrop.txt @@ -0,0 +1,120 @@ +"Games" +{ + /* Alien Swarm: Reactive Drop */ + + /* General Temp Entities */ + "#default" + { + "Offsets" + { + /* Offset into CBaseTempEntity constructor */ + "s_pTempEntities" + { + "windows" "16" + } + } + + "Signatures" + { + "CBaseTempEntity" + { + "library" "server" + "windows" "\x55\x8B\xEC\x8B\x45\x08\x89\x41\x04\xC7\x01" + } + } + } + + /* CGlobalEntityList */ + "#default" + { + "Signatures" + { + /* Functions in CGlobalEntityList */ + "FindEntityByClassname" + { + "library" "server" + "windows" "\x55\x8B\xEC\x53\x56\x8B\xF1\x8B\x4D\x08\x57\x85\xC9\x74\x2A\x8B\x01\xFF\x50\x08\x8B\x00\x83\xF8\xFF\x75\x2A\xB8\xFF\x1F\x00\x00\x40\x03\xC0\x8B\x34\xC6\xEB\x2A\x0F\xB7\xC0\x40\x03\xC0\x8B\x34\xC6\xEB\x2A\x8B\xB6\x04\x00\x02\x00\x85\xF6\x74\x2A\x8B\x5D\x0C\x8B\x3E\x85\xFF\x75\x2A\x68\x2A\x2A\x2A\x2A\xFF\x15\x2A\x2A\x2A\x2A\x83\xC4\x04\xEB\x2A\x39\x5F\x5C" + } + } + } + + /* EntityFactoryDictionary function */ + "#default" + { + "Signatures" + { + "EntityFactory" + { + "library" "server" + "windows" "\xA1\x2A\x2A\x2A\x2A\xA8\x01\x75\x2A\x83\xC8\x01\xB9\x2A\x2A\x2A\x2A\xA3\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" + } + } + } + + /* CBaseEntityOutput::FireOutput */ + "#default" + { + "#supported" + { + "game" "swarm" + "game" "dinodday" + } + "Signatures" + { + "FireOutput" + { + "library" "server" + "windows" "\x55\x8B\xEC\x81\xEC\x20\x01\x00\x00\x53\x8B\xC1" + } + } + } + + "#default" + { + "Offsets" + { + "Ignite" + { + "windows" "219" + } + "Extinguish" + { + "windows" "222" + } + "Teleport" + { + "windows" "111" + } + "GetVelocity" + { + "windows" "144" + } + "EyeAngles" + { + "windows" "135" + } + "AcceptInput" + { + "windows" "39" + } + "SetEntityModel" + { + "windows" "26" + } + "Activate" + { + "windows" "36" + } + "PlayerRunCmd" + { + "windows" "442" + } + } + + "Keys" + { + "GameRulesProxy" "CAlienSwarmProxy" + "GameRulesDataTable" "asw_gamerules_data" + } + } +} \ No newline at end of file diff --git a/gamedata/sdktools.games/master.games.txt b/gamedata/sdktools.games/master.games.txt index 73819f17..ab5cc248 100644 --- a/gamedata/sdktools.games/master.games.txt +++ b/gamedata/sdktools.games/master.games.txt @@ -254,4 +254,8 @@ { "game" "doi" } + "game.reactivedrop.txt" + { + "game" "reactivedrop" + } } diff --git a/tools/buildbot/PackageScript b/tools/buildbot/PackageScript index 623e7b78..cae5e317 100644 --- a/tools/buildbot/PackageScript +++ b/tools/buildbot/PackageScript @@ -168,6 +168,7 @@ CopyFiles('gamedata/sdkhooks.games', 'addons/sourcemod/gamedata/sdkhooks.games', 'game.nmrih.txt', 'game.nucleardawn.txt', 'game.pvkii.txt', + 'game.reactivedrop.txt', 'game.sgtls.txt', 'game.sourceforts.txt', 'game.synergy.txt', @@ -223,6 +224,7 @@ CopyFiles('gamedata/sdktools.games', 'addons/sourcemod/gamedata/sdktools.games', 'game.nucleardawn.txt', 'game.obsidian.txt', 'game.pvkii.txt', + 'game.reactivedrop.txt', 'game.rnlbeta.txt', 'game.ship.txt', 'game.sourceforts.txt',