Updated HL2DM gamedata.
authorNicholas Hastings <skamonkey@gmail.com>
Wed Sep 18 21:49:36 2013 -0400 (2013-09-18)
changeset 41289ad3e662c811
parent 4127 295e50c3719b
child 4129 81d532b90c86
Updated HL2DM gamedata.
gamedata/sdkhooks.games/engine.ep2v.txt
gamedata/sdktools.games/game.hl2mp.txt
     1.1 --- a/gamedata/sdkhooks.games/engine.ep2v.txt	Mon Sep 16 21:22:49 2013 -0400
     1.2 +++ b/gamedata/sdkhooks.games/engine.ep2v.txt	Wed Sep 18 21:49:36 2013 -0400
     1.3 @@ -1,181 +1,8 @@
     1.4  "Games"
     1.5  {
     1.6 -	// Now this is getting ridiculous
     1.7 -	"#default"
     1.8 +	// tf, hl2mp, and dods are in the same file for legacy reasons
     1.9 +	"tf"
    1.10  	{
    1.11 -		"#supported"
    1.12 -		{
    1.13 -			"game"		"hl2mp"
    1.14 -		}
    1.15 -		
    1.16 -		"Offsets"
    1.17 -		{
    1.18 -			"EndTouch"
    1.19 -			{
    1.20 -				"windows"	"99"
    1.21 -				"linux"		"100"
    1.22 -				"mac"		"100"
    1.23 -			}
    1.24 -			"FireBullets"
    1.25 -			{
    1.26 -				"windows"	"111"
    1.27 -				"linux"		"112"
    1.28 -				"mac"		"112"
    1.29 -			}
    1.30 -			"GetMaxHealth"
    1.31 -			{
    1.32 -				"windows"	"116"
    1.33 -				"linux"		"117"
    1.34 -				"mac"		"117"				
    1.35 -			}
    1.36 -			"GroundEntChanged"
    1.37 -			{
    1.38 -				"windows"	"176"
    1.39 -				"linux"		"177"
    1.40 -				"mac"		"177"
    1.41 -			}
    1.42 -			"OnTakeDamage"
    1.43 -			{
    1.44 -				"windows"	"62"
    1.45 -				"linux"		"63"
    1.46 -				"mac"		"63"
    1.47 -			}
    1.48 -			"PreThink"
    1.49 -			{
    1.50 -				"windows"	"330"
    1.51 -				"linux"		"331"
    1.52 -				"mac"		"331"
    1.53 -			}
    1.54 -			"PostThink"
    1.55 -			{
    1.56 -				"windows"	"331"
    1.57 -				"linux"		"332"
    1.58 -				"mac"		"332"
    1.59 -			}
    1.60 -			"Reload"
    1.61 -			{
    1.62 -				"windows"	"274"
    1.63 -				"linux"		"275"
    1.64 -				"mac"		"275"
    1.65 -			}
    1.66 -			"SetTransmit"
    1.67 -			{
    1.68 -				"windows"	"20"
    1.69 -				"linux"		"21"
    1.70 -				"mac"		"21"
    1.71 -			}
    1.72 -			"ShouldCollide"
    1.73 -			{
    1.74 -				"windows"	"16"
    1.75 -				"linux"		"17"
    1.76 -				"mac"		"17"
    1.77 -			}
    1.78 -			"Spawn"
    1.79 -			{
    1.80 -				"windows"	"22"
    1.81 -				"linux"		"23"
    1.82 -				"mac"		"23"
    1.83 -			}
    1.84 -			"StartTouch"
    1.85 -			{
    1.86 -				"windows"	"97"
    1.87 -				"linux"		"98"
    1.88 -				"mac"		"98"
    1.89 -			}
    1.90 -			"Think"
    1.91 -			{
    1.92 -				"windows"	"47"
    1.93 -				"linux"		"48"
    1.94 -				"mac"		"48"
    1.95 -			}
    1.96 -			"Touch"
    1.97 -			{
    1.98 -				"windows"	"98"
    1.99 -				"linux"		"99"
   1.100 -				"mac"		"99"
   1.101 -			}
   1.102 -			"TraceAttack"
   1.103 -			{
   1.104 -				"windows"	"60"
   1.105 -				"linux"		"61"
   1.106 -				"mac"		"61"
   1.107 -			}
   1.108 -			"Use"
   1.109 -			{
   1.110 -				"windows"	"96"
   1.111 -				"linux"		"97"
   1.112 -				"mac"		"97"
   1.113 -			}
   1.114 -			"VPhysicsUpdate"
   1.115 -			{
   1.116 -				"windows"	"156"
   1.117 -				"linux"		"157"
   1.118 -				"mac"		"157"
   1.119 -			}
   1.120 -			"Weapon_CanSwitchTo"
   1.121 -			{
   1.122 -				"windows"	"264"
   1.123 -				"linux"		"265"
   1.124 -				"mac"		"265"
   1.125 -			}
   1.126 -			"Weapon_CanUse"
   1.127 -			{
   1.128 -				"windows"	"258"
   1.129 -				"linux"		"259"
   1.130 -				"mac"		"259"
   1.131 -			}
   1.132 -			"Weapon_Drop"
   1.133 -			{
   1.134 -				"windows"	"261"
   1.135 -				"linux"		"262"
   1.136 -				"mac"		"262"
   1.137 -			}
   1.138 -			"Weapon_Equip"
   1.139 -			{
   1.140 -				"windows"	"259"
   1.141 -				"linux"		"260"
   1.142 -				"mac"		"260"
   1.143 -			}
   1.144 -			"Weapon_Switch"
   1.145 -			{
   1.146 -				"windows"	"262"
   1.147 -				"linux"		"263"
   1.148 -				"mac"		"263"
   1.149 -			}
   1.150 -			
   1.151 -			
   1.152 -			// no longer used
   1.153 -			"UpdateOnRemove"
   1.154 -			{
   1.155 -				"windows"	"104"
   1.156 -				"linux"		"105"
   1.157 -				"mac"		"105"
   1.158 -			}
   1.159 -			//
   1.160 -		}
   1.161 -		
   1.162 -		"Signatures"
   1.163 -		{
   1.164 -			// no longer used
   1.165 -			"IEntityFactoryDictionary"
   1.166 -			{
   1.167 -				"library"	"server"
   1.168 -				"windows"	"\xB8\x01\x00\x00\x00\x84\x2A\x2A\x2A\x2A\x2A\x75\x1D\x09\x2A\x2A\x2A\x2A\x2A\xB9\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\xC3"
   1.169 -				"linux"		"@_Z23EntityFactoryDictionaryv"
   1.170 -				"mac"		"@_Z23EntityFactoryDictionaryv"
   1.171 -			}
   1.172 -			//
   1.173 -		}
   1.174 -	}
   1.175 -	// Now this is getting ridiculous
   1.176 -	"#default"
   1.177 -	{
   1.178 -		"#supported"
   1.179 -		{
   1.180 -			"game"		"tf"
   1.181 -			"game"		"dod"
   1.182 -		}
   1.183 -		
   1.184  		"Offsets"
   1.185  		{
   1.186  			"EndTouch"
   1.187 @@ -310,46 +137,283 @@
   1.188  				"linux"		"264"
   1.189  				"mac"		"264"
   1.190  			}
   1.191 -			
   1.192 -			
   1.193 -			// no longer used
   1.194 -			"UpdateOnRemove"
   1.195 -			{
   1.196 -				"windows"	"105"
   1.197 -				"linux"		"106"
   1.198 -				"mac"		"106"
   1.199 -			}
   1.200 -			//
   1.201 -		}
   1.202 -		
   1.203 -		"Signatures"
   1.204 -		{
   1.205 -			// no longer used
   1.206 -			"IEntityFactoryDictionary"
   1.207 -			{
   1.208 -				"library"	"server"
   1.209 -				"windows"	"\xB8\x01\x00\x00\x00\x84\x2A\x2A\x2A\x2A\x2A\x75\x1D\x09\x2A\x2A\x2A\x2A\x2A\xB9\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\xC3"
   1.210 -				"linux"		"@_Z23EntityFactoryDictionaryv"
   1.211 -				"mac"		"@_Z23EntityFactoryDictionaryv"
   1.212 -			}
   1.213 -			//
   1.214  		}
   1.215  	}
   1.216  	
   1.217 -	"#default"
   1.218 +	"hl2mp"
   1.219  	{
   1.220 -		"#supported"
   1.221 -		{
   1.222 -			"game"		"cstrike"
   1.223 -		}
   1.224 -		
   1.225  		"Offsets"
   1.226  		{
   1.227 +			"EndTouch"
   1.228 +			{
   1.229 +				"windows"	"100"
   1.230 +				"linux"		"101"
   1.231 +				"mac"		"101"
   1.232 +			}
   1.233 +			"FireBullets"
   1.234 +			{
   1.235 +				"windows"	"112"
   1.236 +				"linux"		"113"
   1.237 +				"mac"		"113"
   1.238 +			}
   1.239 +			"GetMaxHealth"
   1.240 +			{
   1.241 +				"windows"	"117"
   1.242 +				"linux"		"118"
   1.243 +				"mac"		"118"				
   1.244 +			}
   1.245 +			"GroundEntChanged"
   1.246 +			{
   1.247 +				"windows"	"178"
   1.248 +				"linux"		"179"
   1.249 +				"mac"		"179"
   1.250 +			}
   1.251 +			"OnTakeDamage"
   1.252 +			{
   1.253 +				"windows"	"62"
   1.254 +				"linux"		"63"
   1.255 +				"mac"		"63"
   1.256 +			}
   1.257 +			"PreThink"
   1.258 +			{
   1.259 +				"windows"	"331"
   1.260 +				"linux"		"332"
   1.261 +				"mac"		"332"
   1.262 +			}
   1.263 +			"PostThink"
   1.264 +			{
   1.265 +				"windows"	"332"
   1.266 +				"linux"		"333"
   1.267 +				"mac"		"333"
   1.268 +			}
   1.269  			"Reload"
   1.270  			{
   1.271 -				"windows"	"272"
   1.272 -				"linux"		"273"
   1.273 -				"mac"		"273"
   1.274 +				"windows"	"268"
   1.275 +				"linux"		"269"
   1.276 +				"mac"		"269"
   1.277 +			}
   1.278 +			"SetTransmit"
   1.279 +			{
   1.280 +				"windows"	"20"
   1.281 +				"linux"		"21"
   1.282 +				"mac"		"21"
   1.283 +			}
   1.284 +			"ShouldCollide"
   1.285 +			{
   1.286 +				"windows"	"16"
   1.287 +				"linux"		"17"
   1.288 +				"mac"		"17"
   1.289 +			}
   1.290 +			"Spawn"
   1.291 +			{
   1.292 +				"windows"	"22"
   1.293 +				"linux"		"23"
   1.294 +				"mac"		"23"
   1.295 +			}
   1.296 +			"StartTouch"
   1.297 +			{
   1.298 +				"windows"	"98"
   1.299 +				"linux"		"99"
   1.300 +				"mac"		"99"
   1.301 +			}
   1.302 +			"Think"
   1.303 +			{
   1.304 +				"windows"	"47"
   1.305 +				"linux"		"48"
   1.306 +				"mac"		"48"
   1.307 +			}
   1.308 +			"Touch"
   1.309 +			{
   1.310 +				"windows"	"99"
   1.311 +				"linux"		"100"
   1.312 +				"mac"		"100"
   1.313 +			}
   1.314 +			"TraceAttack"
   1.315 +			{
   1.316 +				"windows"	"60"
   1.317 +				"linux"		"61"
   1.318 +				"mac"		"61"
   1.319 +			}
   1.320 +			"Use"
   1.321 +			{
   1.322 +				"windows"	"97"
   1.323 +				"linux"		"98"
   1.324 +				"mac"		"98"
   1.325 +			}
   1.326 +			"VPhysicsUpdate"
   1.327 +			{
   1.328 +				"windows"	"157"
   1.329 +				"linux"		"158"
   1.330 +				"mac"		"158"
   1.331 +			}
   1.332 +			"Weapon_CanSwitchTo"
   1.333 +			{
   1.334 +				"windows"	"265"
   1.335 +				"linux"		"266"
   1.336 +				"mac"		"266"
   1.337 +			}
   1.338 +			"Weapon_CanUse"
   1.339 +			{
   1.340 +				"windows"	"259"
   1.341 +				"linux"		"260"
   1.342 +				"mac"		"260"
   1.343 +			}
   1.344 +			"Weapon_Drop"
   1.345 +			{
   1.346 +				"windows"	"262"
   1.347 +				"linux"		"263"
   1.348 +				"mac"		"263"
   1.349 +			}
   1.350 +			"Weapon_Equip"
   1.351 +			{
   1.352 +				"windows"	"260"
   1.353 +				"linux"		"261"
   1.354 +				"mac"		"261"
   1.355 +			}
   1.356 +			"Weapon_Switch"
   1.357 +			{
   1.358 +				"windows"	"263"
   1.359 +				"linux"		"264"
   1.360 +				"mac"		"264"
   1.361 +			}
   1.362 +		}
   1.363 +	}
   1.364 +	
   1.365 +	"dod"
   1.366 +	{
   1.367 +		"Offsets"
   1.368 +		{
   1.369 +			"EndTouch"
   1.370 +			{
   1.371 +				"windows"	"100"
   1.372 +				"linux"		"101"
   1.373 +				"mac"		"101"
   1.374 +			}
   1.375 +			"FireBullets"
   1.376 +			{
   1.377 +				"windows"	"112"
   1.378 +				"linux"		"113"
   1.379 +				"mac"		"113"
   1.380 +			}
   1.381 +			"GetMaxHealth"
   1.382 +			{
   1.383 +				"windows"	"117"
   1.384 +				"linux"		"118"
   1.385 +				"mac"		"118"				
   1.386 +			}
   1.387 +			"GroundEntChanged"
   1.388 +			{
   1.389 +				"windows"	"178"
   1.390 +				"linux"		"179"
   1.391 +				"mac"		"179"
   1.392 +			}
   1.393 +			"OnTakeDamage"
   1.394 +			{
   1.395 +				"windows"	"62"
   1.396 +				"linux"		"63"
   1.397 +				"mac"		"63"
   1.398 +			}
   1.399 +			"PreThink"
   1.400 +			{
   1.401 +				"windows"	"331"
   1.402 +				"linux"		"332"
   1.403 +				"mac"		"332"
   1.404 +			}
   1.405 +			"PostThink"
   1.406 +			{
   1.407 +				"windows"	"332"
   1.408 +				"linux"		"333"
   1.409 +				"mac"		"333"
   1.410 +			}
   1.411 +			"Reload"
   1.412 +			{
   1.413 +				"windows"	"268"
   1.414 +				"linux"		"269"
   1.415 +				"mac"		"269"
   1.416 +			}
   1.417 +			"SetTransmit"
   1.418 +			{
   1.419 +				"windows"	"20"
   1.420 +				"linux"		"21"
   1.421 +				"mac"		"21"
   1.422 +			}
   1.423 +			"ShouldCollide"
   1.424 +			{
   1.425 +				"windows"	"16"
   1.426 +				"linux"		"17"
   1.427 +				"mac"		"17"
   1.428 +			}
   1.429 +			"Spawn"
   1.430 +			{
   1.431 +				"windows"	"22"
   1.432 +				"linux"		"23"
   1.433 +				"mac"		"23"
   1.434 +			}
   1.435 +			"StartTouch"
   1.436 +			{
   1.437 +				"windows"	"98"
   1.438 +				"linux"		"99"
   1.439 +				"mac"		"99"
   1.440 +			}
   1.441 +			"Think"
   1.442 +			{
   1.443 +				"windows"	"47"
   1.444 +				"linux"		"48"
   1.445 +				"mac"		"48"
   1.446 +			}
   1.447 +			"Touch"
   1.448 +			{
   1.449 +				"windows"	"99"
   1.450 +				"linux"		"100"
   1.451 +				"mac"		"100"
   1.452 +			}
   1.453 +			"TraceAttack"
   1.454 +			{
   1.455 +				"windows"	"60"
   1.456 +				"linux"		"61"
   1.457 +				"mac"		"61"
   1.458 +			}
   1.459 +			"Use"
   1.460 +			{
   1.461 +				"windows"	"97"
   1.462 +				"linux"		"98"
   1.463 +				"mac"		"98"
   1.464 +			}
   1.465 +			"VPhysicsUpdate"
   1.466 +			{
   1.467 +				"windows"	"157"
   1.468 +				"linux"		"158"
   1.469 +				"mac"		"158"
   1.470 +			}
   1.471 +			"Weapon_CanSwitchTo"
   1.472 +			{
   1.473 +				"windows"	"265"
   1.474 +				"linux"		"266"
   1.475 +				"mac"		"266"
   1.476 +			}
   1.477 +			"Weapon_CanUse"
   1.478 +			{
   1.479 +				"windows"	"259"
   1.480 +				"linux"		"260"
   1.481 +				"mac"		"260"
   1.482 +			}
   1.483 +			"Weapon_Drop"
   1.484 +			{
   1.485 +				"windows"	"262"
   1.486 +				"linux"		"263"
   1.487 +				"mac"		"263"
   1.488 +			}
   1.489 +			"Weapon_Equip"
   1.490 +			{
   1.491 +				"windows"	"260"
   1.492 +				"linux"		"261"
   1.493 +				"mac"		"261"
   1.494 +			}
   1.495 +			"Weapon_Switch"
   1.496 +			{
   1.497 +				"windows"	"263"
   1.498 +				"linux"		"264"
   1.499 +				"mac"		"264"
   1.500  			}
   1.501  		}
   1.502  	}
     2.1 --- a/gamedata/sdktools.games/game.hl2mp.txt	Mon Sep 16 21:22:49 2013 -0400
     2.2 +++ b/gamedata/sdktools.games/game.hl2mp.txt	Wed Sep 18 21:49:36 2013 -0400
     2.3 @@ -18,57 +18,57 @@
     2.4  		{
     2.5  			"GiveNamedItem"
     2.6  			{
     2.7 -				"windows"	"398"
     2.8 -				"linux"		"399"
     2.9 -				"mac"		"399"
    2.10 +				"windows"	"399"
    2.11 +				"linux"		"400"
    2.12 +				"mac"		"400"
    2.13  			}
    2.14  			"RemovePlayerItem"
    2.15  			{
    2.16 -				"windows"	"268"
    2.17 -				"linux"		"269"
    2.18 -				"mac"		"269"
    2.19 +				"windows"	"269"
    2.20 +				"linux"		"270"
    2.21 +				"mac"		"270"
    2.22  			}
    2.23  			"Weapon_GetSlot"
    2.24  			{
    2.25 -				"windows"	"266"
    2.26 -				"linux"		"267"
    2.27 -				"mac"		"267"
    2.28 +				"windows"	"267"
    2.29 +				"linux"		"268"
    2.30 +				"mac"		"268"
    2.31  			}
    2.32  			"Ignite"
    2.33  			{
    2.34 -				"windows"	"207"
    2.35 -				"linux"		"208"
    2.36 -				"mac"		"208"
    2.37 +				"windows"	"208"
    2.38 +				"linux"		"209"
    2.39 +				"mac"		"209"
    2.40  			}
    2.41  			"Extinguish"
    2.42  			{
    2.43 -				"windows"	"211"
    2.44 -				"linux"		"212"
    2.45 -				"mac"		"212"
    2.46 +				"windows"	"212"
    2.47 +				"linux"		"213"
    2.48 +				"mac"		"213"
    2.49  			}
    2.50  			"Teleport"
    2.51  			{
    2.52 -				"windows"	"107"
    2.53 -				"linux"		"108"
    2.54 -				"mac"		"108"
    2.55 +				"windows"	"108"
    2.56 +				"linux"		"109"
    2.57 +				"mac"		"109"
    2.58  			}
    2.59  			"CommitSuicide"
    2.60  			{
    2.61 -				"windows"	"437"
    2.62 -				"linux"		"437"
    2.63 -				"mac"		"437"
    2.64 +				"windows"	"438"
    2.65 +				"linux"		"438"
    2.66 +				"mac"		"438"
    2.67  			}
    2.68  			"GetVelocity"
    2.69  			{
    2.70 -				"windows"	"139"
    2.71 -				"linux"		"140"
    2.72 -				"mac"		"140"
    2.73 +				"windows"	"140"
    2.74 +				"linux"		"141"
    2.75 +				"mac"		"141"
    2.76  			}
    2.77  			"EyeAngles"
    2.78  			{
    2.79 -				"windows"	"130"
    2.80 -				"linux"		"131"
    2.81 -				"mac"		"131"
    2.82 +				"windows"	"131"
    2.83 +				"linux"		"132"
    2.84 +				"mac"		"132"
    2.85  			}
    2.86  			"AcceptInput"
    2.87  			{
    2.88 @@ -84,9 +84,9 @@
    2.89  			}
    2.90  			"WeaponEquip"
    2.91  			{
    2.92 -				"windows"	"259"
    2.93 -				"linux"		"260"
    2.94 -				"mac"		"260"
    2.95 +				"windows"	"260"
    2.96 +				"linux"		"261"
    2.97 +				"mac"		"261"
    2.98  			}
    2.99  			"Activate"
   2.100  			{
   2.101 @@ -96,9 +96,9 @@
   2.102  			}
   2.103  			"PlayerRunCmd"
   2.104  			{
   2.105 -				"windows"	"416"
   2.106 -				"linux"		"417"
   2.107 -				"mac"		"417"
   2.108 +				"windows"	"417"
   2.109 +				"linux"		"418"
   2.110 +				"mac"		"418"
   2.111  			}
   2.112  		}
   2.113  	}