BSP Initialization

From Valve Developer Community
Revision as of 13:59, 8 July 2006 by Sword (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

All entities from the map are spawned and initialized from the MapEntity_ParseAllEntities function within mapentities.cpp located in src/dlls directory, with the pMapData string containing all the relevant entity info. The MapEntity_ParseEntity function takes care of actually spawning an entity and setting up its keyvalues etc.

This text was taken from a post in the VERC Network Forums, you can see the thread here