gamedata/sm-tf2.games.txt
author Nicholas Hastings <skamonkey@gmail.com>
Thu Mar 18 11:35:05 2010 -0400 (2010-03-18)
changeset 2939 3d62874b9071
parent 2880 5629d502e8fb
child 2943 1bbdb33fee53
permissions -rw-r--r--
Added 4 new natives to TF2 ext. (bug 4166, r=pred)
Added natives for Regenerate, add/remove condition, and SetPlayerPowerPlay. Also updated TF2 test plugin.
     1 /**
     2  * Do not edit this file.  Any changes will be overwritten by the gamedata
     3  * updater or by upgrading your SourceMod install.
     4  *
     5  * To override data in this file, create a subdirectory named "custom" and
     6  * place your own gamedata file(s) inside of it.  Such files will be parsed
     7  * after SM's own.
     8  *
     9  * For more information, see http://wiki.alliedmods.net/Gamedata_Updating_(SourceMod)
    10  */
    11 
    12 "Games"
    13 {
    14 	"tf"
    15 	{
    16 		"Signatures"
    17 		{
    18 			"Burn"
    19 			{
    20 				"library"	"server"
    21 				"windows"	"\x56\x8B\xF1\x8B\x8E\x2A\x2A\x00\x00\x8B\x01\x8B\x90\x2A\x2A\x00\x00\xFF\xD2\x84\xC0"
    22 				"linux"		"@_ZN15CTFPlayerShared4BurnEP9CTFPlayerP13CTFWeaponBase"
    23 			}
    24 			"RemoveDisguise"
    25 			{
    26 				"library"	"server"
    27 				"windows"	"\x51\x56\x8B\xF1\x8B\x2A\x2A\x2A\x2A\x2A\x57\x8B\x2A\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x3B\xF8"
    28 				"linux"		"@_ZN15CTFPlayerShared14RemoveDisguiseEv"
    29 			}
    30 			"Disguise"
    31 			{
    32 				"library"	"server"
    33 				"windows"	"\x56\x8B\xF1\x8B\x8E\x2A\x2A\x00\x00\xE8\x2A\x2A\x2A\x2A\x8B\x8E\x2A\x2A\x00\x00\x8B\x89\x2A\x2A\x00\x00"
    34 				"linux"		"@_ZN15CTFPlayerShared8DisguiseEii"
    35 			}
    36 			"CalcCritical"
    37 			{
    38 				"library"	"server"
    39 				"linux"		"@_ZN13CTFWeaponBase26CalcIsAttackCriticalHelperEv"
    40 				"windows"	"\x83\xEC\x08\x53\x56\x6A\x00"
    41 			}
    42 			"CalcCriticalMelee"
    43 			{
    44 				"library"	"server"
    45 				"linux"		"@_ZN18CTFWeaponBaseMelee26CalcIsAttackCriticalHelperEv"
    46 				"windows"	"\x83\xEC\x08\x53\x57\x8B\xF9\xE8\x2A\x2A\x2A\x2A\x8B\xD8"
    47 			}
    48 			"CalcCriticalBow"
    49 			{
    50 				"library"	"server"
    51 				"linux"		"@_ZN14CTFCompoundBow26CalcIsAttackCriticalHelperEv"
    52 				"windows"	"\xE8\x2A\x2A\x2A\x2A\x85\xC0\x74\x14\x6A\x0B"
    53 			}
    54 			"Regenerate"
    55 			{
    56 				"library"	"server"
    57 				"windows"	"\x83\xEC\x08\xD9\xE8\x53\x55\xD9\x2A\x2A\x2A\x56\x8B\xF1\x8B\x06\x8B\x90"
    58 				"linux"		"@_ZN9CTFPlayer10RegenerateEv"
    59 			}
    60 			"AddCondition"
    61 			{
    62 				"library"	"server"
    63 				"windows"	"\x56\x57\x8B\x7C\x2A\x2A\x8B\xF1\x8B\xCF\xBA\x01\x00\x00\x00\xD3\xE2\x8D\x46\x2A\x8D\x4C\x2A\x2A\x51\x0B\x10"
    64 				"linux"		"@_ZN15CTFPlayerShared7AddCondEif"	
    65 			}
    66 			"RemoveCondition"
    67 			{
    68 				"library"	"server"
    69 				"windows"	"\x56\x57\x8B\x7C\x2A\x2A\x8B\xF1\x8B\xCF\xBA\x01\x00\x00\x00\xD3\xE2\x8D\x46\x2A\x8D\x4C\x2A\x2A\x51\xF7\xD2"
    70 				"linux"		"@_ZN15CTFPlayerShared10RemoveCondEi"	
    71 			}
    72 			"SetPowerplayEnabled"
    73 			{
    74 				"library"	"server"
    75 				"windows"	"\x80\x7C\x2A\x2A\x2A\x56\x8B\xF1\x74\x2A\xA1\x2A\x2A\x2A\x2A\xD9\x2A\x2A\x57"
    76 				"linux"		"@_ZN9CTFPlayer19SetPowerplayEnabledEb"
    77 			}
    78 		}
    79 		"Offsets"
    80 		{
    81 			"ForceRespawn"
    82 			{
    83 				"windows"	"312"
    84 				"linux"		"313"
    85 			}
    86 		}
    87 	}
    88 }