Code:
//****************************************************************************
// PROPERTIES TABLE
//****************************************************************************
//
// The current maxium of items is 256. This is due the information being saved
// on a fixed array, but guess it's quite a lot.
//
// You can't use valve models, they'll look cruddy, probably even turn all hats invisible
// If you try, you're a loser.
//
// "model": self-explanatory. models/whatever/pants.mdl, for example.
//
// "flags":
// +-----------------------+------------------------------------------------------+
// | FLAGS | DESCRIPTION |
// +-----------------------+------------------------------------------------------+
// | USER_DEFAULT | Sets the wearable as default for common users |
// | ADMIN_DEFAULT | Sets the wearable as the admin default |
// | ADMIN_ONLY | This hat is wearable only by admins |
// | HIDDEN | Item won't be shown on the list, but will be usable |
// | | through commands. |
// | INVISIBLE | Model isn't rendered. |
// | NO_ANIM | Model doesn't use class animations, and rotates |
// | | with player view yaw. |
// | REMOVE_VALVE | Hides any hats the player is wearing |
// | HIDE_WEAPONS | Unused in 1.0.0! Will eventually hide the |
// | | player's weapons |
// +------------------------------------------------------------------------------+
//
// "bodygroups": Fairly self-explanatory, probably useless and probably won't work right
// | HIDE_SCOUT_HAT
// | HIDE_SCOUT_HEADPHONES
// | HIDE_SCOUT_FEET
// | HIDE_SCOUT_DOGTAGS
// | SHOW_SOLDIER_ROCKET
// | HIDE_SOLDIER_HELMET
// | HIDE_SOLDIER_GRENADES
// | HIDE_PYRO_HEAD
// | HIDE_PYRO_GRENADES
// | SHOW_DEMO_SMILE //his sticky note
// | HIDE_DEMO_FEET
// | HIDE_HEAVY_HANDS
// | HIDE_ENGINEER_HELMET
// | SHOW_ENGINEER_ROBOTARM
// | HIDE_MEDIC_BACKPACK
// | SHOW_SNIPER_ARROWS
// | HIDE_SNIPER_HAT
// | SHOW_SNIPER_DARTS
// | SHOW_SPY_MASK
// "classes":
// +---------------------+---------------------+---------------------+
// | CLASS | CLASS | CLASS |
// +---------------------+---------------------+---------------------+
// | SCOUT | SNIPER | SOLDIER |
// | DEMOMAN | MEDIC | HEAVY |
// | PYRO | SPY | ENGINEER |
// +---------------------+---------------------+---------------------+
// | ALL |
// +---------------------+
//
// "teams":
// RED, BLU, or ALL
//
// "steamid":
// Put in steamid's separated by spaces to only allow that model to those steamids.
// STEAM_0:1:19100391 is a nice one.
//
//
//****************************************************************************
"Model Management - Item list"
{
"Heavy Model" //EXAMPLE MODEL
{
"model" "models/player/heavy.mdl"
"flags" ""
"bodygroups" "HIDE_HEAVY_FEET"
"classes" "ALL"
"teams" "ALL"
}
"Sniper model" //EXAMPLE MODEL
{
"model" "models/player/Sniper.mdl"
"flags" ""
"bodygroups" ""
"classes" "ALL"
"teams" "ALL"
}
"tron sniper"
{
"model" "models/custom/player/tronsniper/sniper_stock.mdl"
"flags" "ADMIN_ONLY"
"bodygroups" "HIDE_SCOUT_FEET'
"classes" "ALL"
"teams" "ALL"
}
}
There's two sets of brackets, ones for each model, and ones for the entire set. Compare this one to the one you posted and you will see the problem. Keep an eye out for the "{" and "}"'s.