From 1e4a44221cb4cc115b4d3559ad8af12bf15897fd Mon Sep 17 00:00:00 2001 From: richard Date: Wed, 15 Jul 2009 21:21:15 +0200 Subject: [PATCH] Updated docs with changes in models module. --- .../sourcemod/configs/zr/playerclasses.txt | 2 +- docs/zr_manual.txt | 37 +++++++++++++++---- 2 files changed, 31 insertions(+), 8 deletions(-) diff --git a/cstrike/addons/sourcemod/configs/zr/playerclasses.txt b/cstrike/addons/sourcemod/configs/zr/playerclasses.txt index fc6417f..d75545a 100644 --- a/cstrike/addons/sourcemod/configs/zr/playerclasses.txt +++ b/cstrike/addons/sourcemod/configs/zr/playerclasses.txt @@ -2,7 +2,7 @@ // // Zombie:Reloaded Class configuration // -// Check Class Configuration (3.7) in the manual for detailed info. +// See Class Configuration (3.7) in the manual for detailed info. // // ============================================================================ // diff --git a/docs/zr_manual.txt b/docs/zr_manual.txt index 4955a32..51573ab 100644 --- a/docs/zr_manual.txt +++ b/docs/zr_manual.txt @@ -512,21 +512,44 @@ If not explicit specified in the module documentation, use pre configuration. 3.5 MODEL CONFIGURATION -------------------------- +Note: Work in progress. Some flags explained in this section doesn't exist yet. + The model configuration file is a list of models used on the server. Each line -contains the path including the model name, but not file extensions, like this: +contains the path including the model name, but not the file extension. + +The models listed in this file are also precached when the server starts. +Custom models used, but not listed in this file will cause a "model not +precached" error on the server, so remember to list them in this file. + +In addition certain flags can be added to mark the model as special, such as +only for admins/donators, hidden from random selection or only for mother +zombies. + +Each line is separated into two fields with ";". The last field is optional and +if no flag is specified it's treated as a regular public model. + +Model line syntax: + + [; flag] + +Available flags: + + "adminonly" - Model can only be used by admins. + "donator" - Model can only be used by donators. + "hidden" - Model is not included in random selections. + "motherzombie" - Model can only be used on mother zombies. + +Example usages: models/player/zh/zh_charple001 + models/player/zh/zh_corpse002; adminonly + models/player/zh/zh_zombie003; hidden + models/player/ics/hellknight_red/t_guerilla; motherzombie Put the list of models in: addons/sourcemod/configs/zr/models.txt -The models listed in this file are precached when the server starts. Models -used, but not listed in this file will cause a "model not precached" error on -the server. - -Note that it cannot end with "/". - 3.6 DOWNLOAD LIST --------------------