Added gamedata support for No More Room in Hell (bug 5162).
Added gamedata support for No More Room in Hell (
bug 5162).
1.1 --- a/gamedata/core.games/common.games.txt Wed Dec 07 12:13:52 2011 -0500
1.2 +++ b/gamedata/core.games/common.games.txt Wed Dec 07 20:17:34 2011 -0500
1.3 @@ -217,6 +217,7 @@
1.4 "game" "nucleardawn"
1.5 "game" "hl2ctf"
1.6 "game" "ag2"
1.7 + "game" "nmrih"
1.8 }
1.9
1.10 "Keys"
2.1 --- a/gamedata/core.games/engine.ep2.txt Wed Dec 07 12:13:52 2011 -0500
2.2 +++ b/gamedata/core.games/engine.ep2.txt Wed Dec 07 20:17:34 2011 -0500
2.3 @@ -29,6 +29,7 @@
2.4 "game" "fistful_of_frags"
2.5 "game" "cspromod"
2.6 "game" "ag2"
2.7 + "game" "nmrih"
2.8 }
2.9
2.10 "Offsets"
3.1 --- a/gamedata/sdktools.games/engine.ep2.txt Wed Dec 07 12:13:52 2011 -0500
3.2 +++ b/gamedata/sdktools.games/engine.ep2.txt Wed Dec 07 20:17:34 2011 -0500
3.3 @@ -110,6 +110,7 @@
3.4 "game" "fistful_of_frags"
3.5 "game" "cspromod"
3.6 "game" "ag2"
3.7 + "game" "nmrih"
3.8 }
3.9
3.10 "Offsets"
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
4.2 +++ b/gamedata/sdktools.games/game.nmrih.txt Wed Dec 07 20:17:34 2011 -0500
4.3 @@ -0,0 +1,137 @@
4.4 +/**
4.5 + * Do not edit this file. Any changes will be overwritten by the gamedata
4.6 + * updater or by upgrading your SourceMod install.
4.7 + *
4.8 + * To override data in this file, create a subdirectory named "custom" and
4.9 + * place your own gamedata file(s) inside of it. Such files will be parsed
4.10 + * after SM's own.
4.11 + *
4.12 + * For more information, see http://wiki.alliedmods.net/Gamedata_Updating_(SourceMod)
4.13 + */
4.14 +
4.15 +"Games"
4.16 +{
4.17 + /* No More Room in Hell 1.02 */
4.18 + "nmrih"
4.19 + {
4.20 + "Offsets"
4.21 + {
4.22 + "GiveNamedItem"
4.23 + {
4.24 + "windows" "361"
4.25 + "linux" "362"
4.26 + }
4.27 + "RemovePlayerItem"
4.28 + {
4.29 + "windows" "240"
4.30 + "linux" "241"
4.31 + }
4.32 + "Weapon_GetSlot"
4.33 + {
4.34 + "windows" "238"
4.35 + "linux" "239"
4.36 + }
4.37 + "Ignite"
4.38 + {
4.39 + "windows" "195"
4.40 + "linux" "196"
4.41 + }
4.42 + "Extinguish"
4.43 + {
4.44 + "windows" "199"
4.45 + "linux" "200"
4.46 + }
4.47 + "Teleport"
4.48 + {
4.49 + "windows" "102"
4.50 + "linux" "103"
4.51 + }
4.52 + "CommitSuicide"
4.53 + {
4.54 + "windows" "402"
4.55 + "linux" "402"
4.56 + }
4.57 + "GetVelocity"
4.58 + {
4.59 + "windows" "132"
4.60 + "linux" "133"
4.61 + }
4.62 + "EyeAngles"
4.63 + {
4.64 + "windows" "124"
4.65 + "linux" "125"
4.66 + }
4.67 + "AcceptInput"
4.68 + {
4.69 + "windows" "34"
4.70 + "linux" "35"
4.71 + }
4.72 + "SetEntityModel"
4.73 + {
4.74 + "windows" "23"
4.75 + "linux" "24"
4.76 + }
4.77 + "WeaponEquip"
4.78 + {
4.79 + "windows" "231"
4.80 + "linux" "232"
4.81 + }
4.82 + "Activate"
4.83 + {
4.84 + "windows" "31"
4.85 + "linux" "32"
4.86 + }
4.87 + "PlayerRunCmd"
4.88 + {
4.89 + "windows" "381"
4.90 + "linux" "382"
4.91 + }
4.92 +
4.93 + /* Offset into CBaseTempEntity constructor (vs2010 moved it!) */
4.94 + "s_pTempEntities"
4.95 + {
4.96 + "windows" "19"
4.97 + }
4.98 + "GetTEName"
4.99 + {
4.100 + "windows" "4"
4.101 + "linux" "4"
4.102 + }
4.103 + "GetTENext"
4.104 + {
4.105 + "windows" "8"
4.106 + "linux" "8"
4.107 + }
4.108 + "TE_GetServerClass"
4.109 + {
4.110 + "windows" "0"
4.111 + "linux" "0"
4.112 + }
4.113 + }
4.114 + "Signatures"
4.115 + {
4.116 + "CBaseTempEntity"
4.117 + {
4.118 + "library" "server"
4.119 + "windows" "\x55\x8B\xEC\x8B\xC1\x8B\x2A\x2A\xC7\x2A\x2A\x2A\x2A\x2A\x89\x2A\x2A\x8B\x15\x2A\x2A\x2A\x2A\x89"
4.120 + }
4.121 + "s_pTempEntities"
4.122 + {
4.123 + "library" "server"
4.124 + "linux" "@_ZN15CBaseTempEntity15s_pTempEntitiesE"
4.125 + }
4.126 + "FindEntityByClassname"
4.127 + {
4.128 + "library" "server"
4.129 + "windows" "\x55\x8B\xEC\x53\x56\x8B\xF1\x8B\x2A\x2A\x57\x85\xC9\x74\x2A\x8B\x01\x8B\x50\x2A\xFF\xD2\x8B\x00\x25\x2A\x2A\x2A\x2A\x40\x03\xC0\x8B\x3C\xC6\xEB\x2A\x8B\xBE\x2A\x2A\x2A\x2A\x85\xFF\x74"
4.130 + "linux" "@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc"
4.131 + }
4.132 + "FireOutput"
4.133 + {
4.134 + "library" "server"
4.135 + "windows" "\x55\x8B\xEC\x81\xEC\x2A\x2A\x2A\x2A\x53\x56\x8B\x2A\x2A\x57\x89"
4.136 + "linux" "@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f"
4.137 + }
4.138 + }
4.139 + }
4.140 +}
5.1 --- a/gamedata/sdktools.games/master.games.txt Wed Dec 07 12:13:52 2011 -0500
5.2 +++ b/gamedata/sdktools.games/master.games.txt Wed Dec 07 20:17:34 2011 -0500
5.3 @@ -209,4 +209,8 @@
5.4 {
5.5 "game" "ag2"
5.6 }
5.7 + "game.nmrih.txt"
5.8 + {
5.9 + "game" "nmrih"
5.10 + }
5.11 }