gamedata/core.games/common.games.txt
author Asher Baker <asherkin@gmail.com>
Wed Aug 22 23:23:31 2012 +0100 (2012-08-22)
changeset 3623 3fd87cb487f8
parent 3614 d67b465a1e8d
child 3857 3fd1717664b3
permissions -rw-r--r--
Updated cstrike gamedata.
     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 	"#default"
    15 	{
    16 		"Offsets"
    17 		{
    18 			"m_lifeState"
    19 			{
    20 				"class"			"CBasePlayer"
    21 				"prop"			"m_lifeState"
    22 			}
    23 		}
    24 	}
    25 	
    26 	/* Send properties and datamaps used by stocks in entity_prop_stocks.inc */
    27 	"#default"
    28 	{
    29 		"Keys"
    30 		{
    31 			"m_fFlags"			"m_fFlags"
    32 			"m_MoveType"		"m_MoveType"
    33 			"m_nRenderMode"		"m_nRenderMode"
    34 			"m_nRenderFX"		"m_nRenderFX"
    35 			"m_clrRender"		"m_clrRender"
    36 			"m_flGravity"		"m_flGravity"
    37 			"m_iHealth"			"m_iHealth"
    38 			"m_nButtons"		"m_nButtons"
    39 		}
    40 	}
    41 	
    42 	/* Original engine specifics */
    43 	"#default"
    44 	{
    45 		"#supported"
    46 		{
    47 			"engine"			"original"
    48 		}
    49 		
    50 		"Offsets"
    51 		{
    52 			"GetDataDescMap"
    53 			{
    54 				"windows"		"13"
    55 				"linux"			"14"
    56 			}
    57 		}
    58 	}
    59 	
    60 	/* Dark Messiah engine specifics */
    61 	"#default"
    62 	{
    63 		"#supported"
    64 		{
    65 			"engine"			"darkmessiah"
    66 		}
    67 		
    68 		"Keys"
    69 		{
    70 			"m_iHealth"			"m_fHealth"
    71 			"HintTextPreByte"	"yes"
    72 			"ChatSayText"		"yes"
    73 		}
    74 		
    75 		"Offsets"
    76 		{
    77 			"GetDataDescMap"
    78 			{
    79 				"windows"		"12"
    80 			}
    81 		}
    82 	}
    83 	
    84 	/* OB/L4D engine specifics */
    85 	"#default"
    86 	{
    87 		"#supported"
    88 		{
    89 			"engine"			"orangebox"
    90 			"engine"			"bloodygoodtime"
    91 			"engine"			"eye"
    92 			"engine"			"orangebox_valve"
    93 			"engine"			"css"
    94 			"engine"			"left4dead"
    95 			"engine"			"left4dead2"
    96 			"engine"			"alienswarm"
    97 			"engine"			"csgo"
    98 		}
    99 		
   100 		"Offsets"
   101 		{
   102 			"GetDataDescMap"
   103 			{
   104 				"windows"		"11"
   105 				"linux"			"12"
   106 				"mac"			"12"
   107 			}
   108 		}
   109 	}
   110 	
   111 	/* The Ship is completely different */
   112 	"ship"
   113 	{
   114 		"Offsets"
   115 		{
   116 			"GetDataDescMap"
   117 			{
   118 				"windows"		"18"
   119 				"linux"			"19"
   120 			}
   121 		}
   122 	}
   123 
   124 	/* Which games support ShowMenu? */
   125 	"#default"
   126 	{
   127 		"#supported"
   128 		{
   129 			"game"					"cstrike"
   130 			"game"					"dod"
   131 			"game"					"sourceforts"
   132 			"game"					"insurgency"
   133 			"game"					"tf"
   134 			"game"					"pvkii"
   135 			"game"					"diprip"
   136 			"game"					"synergy"
   137 			"game"					"left4dead"
   138 			"game"					"left4dead2"
   139 			"game"					"obsidian"
   140 			"game"					"empires"
   141 			"game"					"gesource"
   142 			"game"					"NeotokyoSource"
   143 			"game"					"bg2"
   144 			"game"					"cspromod"
   145 			"game"					"FortressForever"
   146 			"game"					"zps"
   147 			"game"					"gesource"
   148 			"game"					"RnLBeta"
   149 			"game"					"fas"
   150 			"game"					"fistful_of_frags"
   151 			"game"					"dinodday"
   152 			"game"					"esmod"
   153 			"game"					"nucleardawn"
   154 			"game"					"csgo"
   155 		}
   156 
   157 		"Keys"
   158 		{
   159 			"HudRadioMenuMsg"		"ShowMenu"
   160 		}
   161 	}
   162 	
   163 	/* Which games need a radio menu timeout? */
   164 	"#default"
   165 	{
   166 		"#supported"
   167 		{
   168 			"game"					"tf"
   169 			"game"					"synergy"
   170 			"game"					"dod"
   171 			"game"					"empires"
   172 			"game"					"NeotokyoSource"
   173 			"game"					"bg2"
   174 			"game"					"cspromod"
   175 			"game"					"pvkii"
   176 			"game"					"FortressForever"
   177 			"game"					"zps"
   178 			"game"					"gesource"
   179 			"game"					"obsidian"
   180 			"game"					"cstrike"
   181 			"game"					"RnLBeta"
   182 			"game"					"fistful_of_frags"
   183 			"game"					"dinodday"
   184 			"game"					"nucleardawn"
   185 			"game"					"csgo"
   186 		}
   187 		
   188 		"Keys"
   189 		{
   190 			"RadioMenuTimeout"		"4"
   191 		}
   192 	}
   193 	
   194 	/**
   195 	 * Which games support HudMsg?
   196 	 */
   197 	"#default"
   198 	{
   199 		"#supported"
   200 		{
   201 			"game"					"hl2mp"
   202 			"game"					"sourceforts"
   203 			"game"					"tf"
   204 			"game"					"ageofchivalry"
   205 			"game"					"obsidian"
   206 			"game"					"zombie_master"
   207 			"game"					"bg2"
   208  			"game"					"insurgency"
   209 			"game"					"cspromod"
   210 			"game"					"pvkii"
   211 			"game"					"zps"
   212 			"game"					"gesource"
   213 			"game"					"RnLBeta"
   214 			"game"					"fas"
   215 			"game"					"fistful_of_frags"
   216 			"game"					"swarm"
   217 			"game"					"dinodday"
   218 			"game"					"esmod"
   219 			"game"					"ios"
   220 			"game"					"eye"
   221 			"game"					"nucleardawn"
   222 			"game"					"hl2ctf"
   223 			"game"					"ag2"
   224 			"game"					"nmrih"
   225 		}
   226 		
   227 		"Keys"
   228 		{
   229 			"HudTextMsg"			"HudMsg"
   230 		}
   231 	}
   232 
   233 	"#default"
   234 	{
   235 		"#supported"
   236 		{
   237 			"game"		"cstrike"
   238 			"game"		"csgo"
   239 		}
   240 		
   241 		"Keys"
   242 		{
   243 			"GameExtension"		"game.cstrike"
   244 		}
   245 	}
   246 
   247 	"tf"
   248 	{
   249 		"Keys"
   250 		{
   251 			"GameExtension"			"game.tf2"
   252 		}
   253 	}
   254 	"insurgency"
   255 	{
   256 		"Keys"
   257 		{
   258 			"ChatSayText"			"yes"
   259 		}
   260 	}
   261 	
   262 	"csgo"
   263 	{
   264 		"Keys"
   265 		{
   266 			"RadioMenuMaxPageItems"	"9"
   267 		}
   268 	}
   269 }