User:Pinsplash/Datamaps: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(condensed)
(i forgot the CS games!)
Line 9: Line 9:
*[https://cdn.discordapp.com/attachments/434089157875466242/479264786106810369/tf2datamap.zip Team Fortress 2] July 18, 2018
*[https://cdn.discordapp.com/attachments/434089157875466242/479264786106810369/tf2datamap.zip Team Fortress 2] July 18, 2018
*[https://cdn.discordapp.com/attachments/434089157875466242/469237400716050442/13spdatamap.txt 2013 SDK] July 18, 2018 (Multiplayer and Singleplayer are identical, by datamaps.)
*[https://cdn.discordapp.com/attachments/434089157875466242/469237400716050442/13spdatamap.txt 2013 SDK] July 18, 2018 (Multiplayer and Singleplayer are identical, by datamaps.)
*[https://drive.google.com/open?id=14ng2Ux1wo9973mHwL5HUPHK23gMyrfMN Counter-Strike: Source] July 7, 2014
*[https://drive.google.com/open?id=1bYHfw-sQtRpFz-SbrgQZ_B1xLxsYZ0Q6 Counter-Strike: Global Offensive] December 27, 2017


====What are datamaps?====
Datamaps list every statically-defined (so, almost all) [[keyvalues]], [[inputs]], and [[outputs]] for every entity that the engine has access to. Anything with a datadesc. [[Flags]] are done in a rather different fashion, so some flag-related variables may be included for entities, but flags themselves work solely from the {{ent|spawnflags}} keyvalue. <code>spawnflags</code> is then used internally to do the functions of flags.
Datamaps are text files that list every statically-defined (so, almost all) [[keyvalues]], [[inputs]], and [[outputs]] for every entity. [[Flags]] are done in a rather different fashion, so some flag-related variables may be included for entities, but flags themselves work solely from the {{ent|spawnflags}} keyvalue. <code>spawnflags</code> is then used internally to do the functions of flags.

Revision as of 11:23, 5 October 2018

Retrieved with the sm_dump_datamaps command from SourceMod.

Datamaps list every statically-defined (so, almost all) keyvalues, inputs, and outputs for every entity that the engine has access to. Anything with a datadesc. Flags are done in a rather different fashion, so some flag-related variables may be included for entities, but flags themselves work solely from the spawnflags keyvalue. spawnflags is then used internally to do the functions of flags.