- added radiomenu support for insurgency
authorDavid Anderson <dvander@alliedmods.net>
Sun Jul 08 02:59:08 2007 +0000 (2007-07-08)
changeset 105678c16f695f24
parent 1055 7f329c30caec
child 1057 de136462a416
- added radiomenu support for insurgency
- added dod, dystopia, hl2mp, and insurgency support to sdktools
gamedata/core.games.txt
gamedata/sdktools.games.txt
     1.1 --- a/gamedata/core.games.txt	Sun Jul 08 01:36:16 2007 +0000
     1.2 +++ b/gamedata/core.games.txt	Sun Jul 08 02:59:08 2007 +0000
     1.3 @@ -37,4 +37,12 @@
     1.4  			"HudRadioMenuMsg"		"ShowMenu"
     1.5  		}
     1.6  	}
     1.7 +
     1.8 +	"insurgency"
     1.9 +	{
    1.10 +		"Keys"
    1.11 +		{
    1.12 +			"HudRadioMenuMsg"		"ShowMenu"
    1.13 +		}
    1.14 +	}
    1.15  }
     2.1 --- a/gamedata/sdktools.games.txt	Sun Jul 08 01:36:16 2007 +0000
     2.2 +++ b/gamedata/sdktools.games.txt	Sun Jul 08 02:59:08 2007 +0000
     2.3 @@ -1,48 +1,6 @@
     2.4  "Games"
     2.5  {
     2.6 -	"#default"
     2.7 -	{
     2.8 -		"#supported"
     2.9 -		{
    2.10 -			"game"		"cstrike"
    2.11 -		}
    2.12 -		
    2.13 -		"Offsets"
    2.14 -		{
    2.15 -			"GiveNamedItem"
    2.16 -			{
    2.17 -				"windows"	"329"
    2.18 -				"linux"		"330"
    2.19 -			}
    2.20 -			"RemovePlayerItem"
    2.21 -			{
    2.22 -				"windows"	"226"
    2.23 -				"linux"		"227"
    2.24 -			}
    2.25 -			"Weapon_GetSlot"
    2.26 -			{
    2.27 -				"windows"	"224"
    2.28 -				"linux"		"225"
    2.29 -			}
    2.30 -			"Ignite"
    2.31 -			{
    2.32 -				"windows"	"188"
    2.33 -				"linux"		"189"
    2.34 -			}
    2.35 -			"Extinguish"
    2.36 -			{
    2.37 -				"windows"	"189"
    2.38 -				"linux"		"190"
    2.39 -			}
    2.40 -			"Teleport"
    2.41 -			{
    2.42 -				"windows"	"98"
    2.43 -				"linux"		"99"
    2.44 -			}
    2.45 -		}
    2.46 -	}
    2.47 -
    2.48 -	/* Temp Entities Section */
    2.49 +	/* General Temp Entities */
    2.50  	"#default"
    2.51  	{
    2.52  		"#supported"
    2.53 @@ -50,6 +8,8 @@
    2.54  			"game"		"cstrike"
    2.55  			"game"		"dod"
    2.56  			"game"		"hl2mp"
    2.57 +			"game"		"insurgency"
    2.58 +			"game"		"dystopia_v1"
    2.59  		}
    2.60  
    2.61  		"Offsets"
    2.62 @@ -87,4 +47,175 @@
    2.63  			}
    2.64  		}
    2.65  	}
    2.66 +
    2.67 +	/* HL2MP */
    2.68 +	"hl2mp"
    2.69 +	{
    2.70 +		"Offsets"
    2.71 +		{
    2.72 +			"GiveNamedItem"
    2.73 +			{
    2.74 +				"windows"	"327"
    2.75 +				"linux"		"328"
    2.76 +			}
    2.77 +			"RemovePlayerItem"
    2.78 +			{
    2.79 +				"windows"	"225"
    2.80 +				"linux"		"226"
    2.81 +			}
    2.82 +			"Weapon_GetSlot"
    2.83 +			{
    2.84 +				"windows"	"223"
    2.85 +				"linux"		"224"
    2.86 +			}
    2.87 +			"Ignite"
    2.88 +			{
    2.89 +				"windows"	"187"
    2.90 +				"linux"		"188"
    2.91 +			}
    2.92 +			"Extinguish"
    2.93 +			{
    2.94 +				"windows"	"188"
    2.95 +				"linux"		"189"
    2.96 +			}
    2.97 +			"Teleport"
    2.98 +			{
    2.99 +				"windows"	"97"
   2.100 +				"linux"		"98"
   2.101 +			}
   2.102 +		}
   2.103 +	}
   2.104 +
   2.105 +	/* Counter-Strike: Source */
   2.106 +	"cstrike"
   2.107 +	{
   2.108 +		"Offsets"
   2.109 +		{
   2.110 +			"GiveNamedItem"
   2.111 +			{
   2.112 +				"windows"	"329"
   2.113 +				"linux"		"330"
   2.114 +			}
   2.115 +			"RemovePlayerItem"
   2.116 +			{
   2.117 +				"windows"	"226"
   2.118 +				"linux"		"227"
   2.119 +			}
   2.120 +			"Weapon_GetSlot"
   2.121 +			{
   2.122 +				"windows"	"224"
   2.123 +				"linux"		"225"
   2.124 +			}
   2.125 +			"Ignite"
   2.126 +			{
   2.127 +				"windows"	"188"
   2.128 +				"linux"		"189"
   2.129 +			}
   2.130 +			"Extinguish"
   2.131 +			{
   2.132 +				"windows"	"189"
   2.133 +				"linux"		"190"
   2.134 +			}
   2.135 +			"Teleport"
   2.136 +			{
   2.137 +				"windows"	"98"
   2.138 +				"linux"		"99"
   2.139 +			}
   2.140 +		}
   2.141 +	}
   2.142 +
   2.143 +	/* Day of Defeat */
   2.144 +	"dod"
   2.145 +	{
   2.146 +		"Offsets"
   2.147 +		{
   2.148 +			"GiveNamedItem"
   2.149 +			{
   2.150 +				"windows"	"328"
   2.151 +				"linux"		"330"
   2.152 +			}
   2.153 +			"RemovePlayerItem"
   2.154 +			{
   2.155 +				"windows"	"226"
   2.156 +				"linux"		"227"
   2.157 +			}
   2.158 +			"Weapon_GetSlot"
   2.159 +			{
   2.160 +				"windows"	"224"
   2.161 +				"linux"		"225"
   2.162 +			}
   2.163 +			"Ignite"
   2.164 +			{
   2.165 +				"windows"	"188"
   2.166 +				"linux"		"189"
   2.167 +			}
   2.168 +			"Extinguish"
   2.169 +			{
   2.170 +				"windows"	"189"
   2.171 +				"linux"		"190"
   2.172 +			}
   2.173 +			"Teleport"
   2.174 +			{
   2.175 +				"windows"	"98"
   2.176 +				"linux"		"99"
   2.177 +			}
   2.178 +		}
   2.179 +	}
   2.180 +
   2.181 +	/* Insurgency */
   2.182 +	"insurgency"
   2.183 +	{
   2.184 +		"Offsets"
   2.185 +		{
   2.186 +			/* CBasePlayer */
   2.187 +			"Ignite"
   2.188 +			{
   2.189 +				"windows"	"174"
   2.190 +				"linux"		"175"
   2.191 +			}
   2.192 +			"Extinguish"
   2.193 +			{
   2.194 +				"windows"	"175"
   2.195 +				"linux"		"176"
   2.196 +			}
   2.197 +			"Teleport"
   2.198 +			{
   2.199 +				"windows"	"90"
   2.200 +				"linux"		"91"
   2.201 +			}
   2.202 +
   2.203 +			/* Temp Entities */
   2.204 +			"s_pTempEntities"
   2.205 +			{
   2.206 +				"linux"		"28"
   2.207 +			}
   2.208 +		}
   2.209 +	}
   2.210 +
   2.211 +	/* Dsytopia */
   2.212 +	"dystopia_v1"
   2.213 +	{
   2.214 +
   2.215 +		"Offsets"
   2.216 +		{
   2.217 +			/* Offset into CBaseTempEntity constructor.
   2.218 +			 * On Windows Dsytopia is heavily inlined; we use the function 
   2.219 +			 * surrounding "aCouldnTFindTem" in IDA instead.
   2.220 +			 */
   2.221 +			"s_pTempEntities"
   2.222 +			{
   2.223 +				"windows"	"70"
   2.224 +				"linux"		"29"
   2.225 +			}
   2.226 +		}
   2.227 +
   2.228 +		"Signatures"
   2.229 +		{
   2.230 +			"CBaseTempEntity"
   2.231 +			{
   2.232 +				"library"	"server"
   2.233 +				"windows"	"\x81\xEC\x84\x00\x00\x00\x56\x8B\xF1\x8B\x46\x6C\x57\x8D\x7E\x6C\x8D\x4C\x24\x08\x83\xC8\x20\x51\x89\x44\x24\x0C\xE8\x2A\x2A\x2A"
   2.234 +			}
   2.235 +		}
   2.236 +	}
   2.237  }