Difference between revisions of "CBaseFlex"

From Valve Developer Community
Jump to: navigation, search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''Purpose:''' Contains and manages data for prop flex controllers.  
+
'''Purpose:''' CBaseFlex contains and manages data for a model's [[flex controller]]s. The data is not modified, therefore does not take bandwidth for NPCs without faces (i.e. [[npc_combine_s|Combine Soldiers]]).
  
{{warning|It is not advised to leave this class as-is for Co-op mods, since each NPC takes up over 256 bytes of data to update. That amounts to 1 kb for 4 NPCs!}}
 
 
[[Category:Classes]]
 
[[Category:Classes]]

Latest revision as of 18:09, 17 September 2006

Purpose: CBaseFlex contains and manages data for a model's flex controllers. The data is not modified, therefore does not take bandwidth for NPCs without faces (i.e. Combine Soldiers).