$keyvalues: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
  $keyvalues
  $keyvalues
* This allows you to add an arbitrary block of keyvalues into the .mdl file.  
* This allows you to add an arbitrary block of keyvalues into the .mdl file.  
* For [[prop_physics]] models, the [[Prop Data]] keyvalues - defining breakable gibs, damage, etc - go here.


* For example:  
* For example:  

Revision as of 06:39, 28 March 2008

$keyvalues
  • This allows you to add an arbitrary block of keyvalues into the .mdl file.
  • For example:
$keyvalues
     {
          "build_points"
          {
               "build_point_0"
               {
                    "valid_objects"
                    {
                         "obj_manned_plasmagun" 1
                         "obj_resourcepump" 1
                         "obj_shieldwall" 1
                    }
               }
          }
     }