Initial commit: vip-custom-models plugin with documentation and config
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
"VIP_CustomModels"
|
||||
{
|
||||
"Models"
|
||||
{
|
||||
// Пример: модель для CT, доступна всем VIP (groups = "*")
|
||||
"agent_ct_01"
|
||||
{
|
||||
"name" "FBI Agent"
|
||||
// Путь к .mdl (от корня игрового сервера)
|
||||
"model" "models/player/custom/fbi_agent.mdl"
|
||||
// Путь к .mdl рук. Оставить пустым — будут стандартные руки
|
||||
"arms" "models/weapons/ct_arms_fbi_custom.mdl"
|
||||
// Команда: T, CT или ANY
|
||||
"team" "CT"
|
||||
// VIP-группы через ";" или "*" для всех VIP
|
||||
"groups" "*"
|
||||
// Список файлов для скачивания клиентами (через ";")
|
||||
"downloads" "models/player/custom/fbi_agent.mdl;models/player/custom/fbi_agent.vvd;models/player/custom/fbi_agent.dx90.vtx"
|
||||
}
|
||||
|
||||
// Пример: модель для T, только группы VIP и PREMIUM
|
||||
"agent_t_01"
|
||||
{
|
||||
"name" "Elite Crew"
|
||||
"model" "models/player/custom/elite_crew.mdl"
|
||||
"arms" ""
|
||||
"team" "T"
|
||||
"groups" "VIP;PREMIUM"
|
||||
// Блочный формат downloads (альтернатива строке через ";")
|
||||
"downloads"
|
||||
{
|
||||
"1" "models/player/custom/elite_crew.mdl"
|
||||
"2" "models/player/custom/elite_crew.vvd"
|
||||
"3" "models/player/custom/elite_crew.dx90.vtx"
|
||||
}
|
||||
}
|
||||
|
||||
// Пример: модель для обеих сторон
|
||||
"agent_any_01"
|
||||
{
|
||||
"name" "Arcane Operative"
|
||||
"model" "models/player/custom/arcane_op.mdl"
|
||||
"arms" "models/weapons/arcane_arms.mdl"
|
||||
"team" "ANY"
|
||||
"groups" "PREMIUM"
|
||||
"downloads" "models/player/custom/arcane_op.mdl;models/player/custom/arcane_op.vvd;models/player/custom/arcane_op.dx90.vtx;models/weapons/arcane_arms.mdl;models/weapons/arcane_arms.vvd"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user