L L4D2node

VScript

22 script classes, 369 method bindings, 166 constants recovered from the L4D2 game binary.

Script classes

VScript honours C++ inheritance - a subclass object can call its base methods
Class Methods Base Description
AI_Response (AI_ResponseScriptWrapper) 0 none Opaque type representing a return value from the old response system.
CBaseAnimating 24 CBaseEntity Animating models
CBaseCombatCharacter 0 CBaseFlex Base combat characters.
CBaseEntity 53 none Root class of all server-side entities
CBaseFlex 3 CBaseAnimating Animated characters who have vertex flex capability.
CBaseTrigger 3 CBaseEntity Trigger
CDirector 56 none The director
CEntities (CScriptEntityIterator) 11 none !The global list of entities
CEnvEntityMaker 4 CBaseEntity env_entity_maker
CInfoItemPosition 5 CBaseEntity info_item_position
CNavLadder 15 none Navigation ladders class
CNavMesh 20 none The nav mesh
CNetPropManager 23 none !Used to get/set entity network fields
Convars (CScriptConvarAccessor) 4 none !Access to convar functions
CPointScriptTemplate 2 CBaseEntity point_script_template
CPointScriptUseTarget 7 CBaseEntity Script driven player use functionality.
CScriptEntityOutputs 6 none !Used to access entity output data
CScriptResponseCriteria 3 none !Used to get response criteria
CTerrorPlayer 50 CBaseFlex Terror Player!
CTerrorWeapon 10 CBaseAnimating Weapon
Decider (CRuleScriptBridge) 3 none An isolated instance of a rulescript database.
TerrorNavArea 67 none Navigation areas class

Quick start

  • Use the tree on the left to navigate by class. Type to filter.
  • Each class page lists its own bindings plus everything it inherits up the C++ chain.
  • Constants lists every SPAWN_* / ZOMBIE_* / NAV_* value the Director registers into script scope.
  • Recovered statically from the stripped game binary - the script name shown is what you call from Squirrel; the C++ name is noted when it differs.