From fda282604d3691ad394bba22a9b55338284e20ea Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Thu, 25 Aug 2011 13:20:26 -0400 Subject: [PATCH] Added gamedata support for Nuclear Dawn. --- gamedata/core.games/common.games.txt | 3 + gamedata/core.games/engine.l4d2.txt | 1 + gamedata/sdktools.games/engine.l4d2.txt | 98 +------------------ gamedata/sdktools.games/game.left4dead2.txt | 99 ++++++++++++++++++++ gamedata/sdktools.games/game.nucleardawn.txt | 99 ++++++++++++++++++++ gamedata/sdktools.games/master.games.txt | 8 ++ 6 files changed, 214 insertions(+), 94 deletions(-) create mode 100644 gamedata/sdktools.games/game.left4dead2.txt create mode 100644 gamedata/sdktools.games/game.nucleardawn.txt diff --git a/gamedata/core.games/common.games.txt b/gamedata/core.games/common.games.txt index f5f0689f..b89805cc 100644 --- a/gamedata/core.games/common.games.txt +++ b/gamedata/core.games/common.games.txt @@ -148,6 +148,7 @@ "game" "fistful_of_frags" "game" "dinodday" "game" "esmod" + "game" "nucleardawn" } "Keys" @@ -177,6 +178,7 @@ "game" "RnLBeta" "game" "fistful_of_frags" "game" "dinodday" + "game" "nucleardawn" } "Keys" @@ -212,6 +214,7 @@ "game" "esmod" "game" "ios" "game" "eye" + "game" "nucleardawn" } "Keys" diff --git a/gamedata/core.games/engine.l4d2.txt b/gamedata/core.games/engine.l4d2.txt index e46645b0..59579a3f 100644 --- a/gamedata/core.games/engine.l4d2.txt +++ b/gamedata/core.games/engine.l4d2.txt @@ -17,6 +17,7 @@ "#supported" { "game" "left4dead2" + "game" "nucleardawn" } "Offsets" diff --git a/gamedata/sdktools.games/engine.l4d2.txt b/gamedata/sdktools.games/engine.l4d2.txt index e0add829..61447281 100644 --- a/gamedata/sdktools.games/engine.l4d2.txt +++ b/gamedata/sdktools.games/engine.l4d2.txt @@ -19,8 +19,6 @@ "SlapSoundCount" "2" "SlapSound1" "player/damage1.wav" "SlapSound2" "player/damage2.wav" - - "GameRulesProxy" "CTerrorGameRulesProxy" } } @@ -30,6 +28,7 @@ "#supported" { "game" "left4dead2" + "game" "nucleardawn" } "Offsets" @@ -81,6 +80,7 @@ "#supported" { "game" "left4dead2" + "game" "nucleardawn" } "Signatures" @@ -102,6 +102,7 @@ "#supported" { "game" "left4dead2" + "game" "nucleardawn" } "Offsets" @@ -195,6 +196,7 @@ "#supported" { "game" "left4dead2" + "game" "nucleardawn" } "Signatures" { @@ -242,96 +244,4 @@ } } } - - /* Left 4 Dead */ - "left4dead2" - { - "Offsets" - { - "GiveNamedItem" - { - "windows" "506" - "linux" "507" - "mac" "507" - } - "RemovePlayerItem" - { - "windows" "288" - "linux" "289" - "mac" "289" - } - "Weapon_GetSlot" - { - "windows" "286" - "linux" "287" - "mac" "287" - } - "Ignite" - { - "windows" "221" - "linux" "222" - "mac" "222" - } - "Extinguish" - { - "windows" "224" - "linux" "225" - "mac" "225" - } - "Teleport" - { - "windows" "117" - "linux" "118" - "mac" "118" - } - "CommitSuicide" - { - "windows" "474" - "linux" "474" - "mac" "474" - } - "GetVelocity" - { - "windows" "149" - "linux" "150" - "mac" "150" - } - "EyeAngles" - { - "windows" "140" - "linux" "141" - "mac" "141" - } - "AcceptInput" - { - "windows" "43" - "linux" "44" - "mac" "44" - } - "SetEntityModel" - { - "windows" "26" - "linux" "27" - "mac" "27" - } - "WeaponEquip" - { - "windows" "279" - "linux" "280" - "mac" "280" - } - "Activate" - { - "windows" "35" - "linux" "36" - "mac" "36" - } - "PlayerRunCmd" - { - "windows" "452" - "linux" "453" - "mac" "453" - } - } - } } diff --git a/gamedata/sdktools.games/game.left4dead2.txt b/gamedata/sdktools.games/game.left4dead2.txt new file mode 100644 index 00000000..0a3a2d4e --- /dev/null +++ b/gamedata/sdktools.games/game.left4dead2.txt @@ -0,0 +1,99 @@ +"Games" +{ + /* Left 4 Dead 2 */ + "left4dead2" + { + "Offsets" + { + "GiveNamedItem" + { + "windows" "506" + "linux" "507" + "mac" "507" + } + "RemovePlayerItem" + { + "windows" "288" + "linux" "289" + "mac" "289" + } + "Weapon_GetSlot" + { + "windows" "286" + "linux" "287" + "mac" "287" + } + "Ignite" + { + "windows" "221" + "linux" "222" + "mac" "222" + } + "Extinguish" + { + "windows" "224" + "linux" "225" + "mac" "225" + } + "Teleport" + { + "windows" "117" + "linux" "118" + "mac" "118" + } + "CommitSuicide" + { + "windows" "474" + "linux" "474" + "mac" "474" + } + "GetVelocity" + { + "windows" "149" + "linux" "150" + "mac" "150" + } + "EyeAngles" + { + "windows" "140" + "linux" "141" + "mac" "141" + } + "AcceptInput" + { + "windows" "43" + "linux" "44" + "mac" "44" + } + "SetEntityModel" + { + "windows" "26" + "linux" "27" + "mac" "27" + } + "WeaponEquip" + { + "windows" "279" + "linux" "280" + "mac" "280" + } + "Activate" + { + "windows" "35" + "linux" "36" + "mac" "36" + } + "PlayerRunCmd" + { + "windows" "452" + "linux" "453" + "mac" "453" + } + } + + "Keys" + { + "GameRulesProxy" "CTerrorGameRulesProxy" + } + } +} \ No newline at end of file diff --git a/gamedata/sdktools.games/game.nucleardawn.txt b/gamedata/sdktools.games/game.nucleardawn.txt new file mode 100644 index 00000000..ba51fb76 --- /dev/null +++ b/gamedata/sdktools.games/game.nucleardawn.txt @@ -0,0 +1,99 @@ +"Games" +{ + /* Nuclear Dawn */ + "nucleardawn" + { + "Offsets" + { + "GiveNamedItem" + { + "windows" "441" + "linux" "442" + "mac" "442" + } + "RemovePlayerItem" + { + "windows" "299" + "linux" "300" + "mac" "300" + } + "Weapon_GetSlot" + { + "windows" "297" + "linux" "298" + "mac" "298" + } + "Ignite" + { + "windows" "232" + "linux" "233" + "mac" "233" + } + "Extinguish" + { + "windows" "235" + "linux" "236" + "mac" "236" + } + "Teleport" + { + "windows" "127" + "linux" "128" + "mac" "128" + } + "CommitSuicide" + { + "windows" "486" + "linux" "486" + "mac" "486" + } + "GetVelocity" + { + "windows" "159" + "linux" "160" + "mac" "160" + } + "EyeAngles" + { + "windows" "150" + "linux" "151" + "mac" "151" + } + "AcceptInput" + { + "windows" "43" + "linux" "44" + "mac" "44" + } + "SetEntityModel" + { + "windows" "26" + "linux" "27" + "mac" "27" + } + "WeaponEquip" + { + "windows" "290" + "linux" "291" + "mac" "291" + } + "Activate" + { + "windows" "35" + "linux" "36" + "mac" "36" + } + "PlayerRunCmd" + { + "windows" "464" + "linux" "465" + "mac" "465" + } + } + + "Keys" + { + "GameRulesProxy" "CNuclearDawnRulesProxy" + } + } +} \ No newline at end of file diff --git a/gamedata/sdktools.games/master.games.txt b/gamedata/sdktools.games/master.games.txt index 4affd54e..da9bdc2e 100644 --- a/gamedata/sdktools.games/master.games.txt +++ b/gamedata/sdktools.games/master.games.txt @@ -193,4 +193,12 @@ { "game" "ios" } + "game.left4dead2.txt" + { + "game" "left4dead2" + } + "game.nucleardawn.txt" + { + "game" "nucleardawn" + } }