$keyvalues
Jump to navigation
Jump to search
Embeds an arbitrary block of keyvalues into the .mdl file. prop_data keyvalues are the most common, as they define various properties of Valve's prop_* entities, but there is no limit on what other KVs a mod's programmer might add support for.
Examples
$keyvalues
{
prop_data
{
base Wooden.Small
dmg.bullets 0
explosive_damage 100
explosive_radius 100
}
}
$keyvalues
{
// This is an example KV. It won't be recognised by any of Valve's games!
// (If you were being picky, you might point out that this ought to be a localised string...)
hud_name "Rubber chicken with a pulley in the middle"
// Of course, we can still include other KVs that ARE read by stock code.
prop_data
{
(...)
}
}