Decals/Models Lister v0.2 [development]

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

Decals/Models Lister v0.2 [development]

Post by greenie »

DESCRIPTION
This plugin is for developers: outputs decals/models index/name list
Note: should be compiled locally

MODS
Currently supported mods:
Counter-Strike (cs) - by default
Half-Life (hl)
To switch from one mod to another change #include decals/cs below
Example: #include decals/hl
Note: if you want support for other mod, provide me $moddir/decals.wad file

MODULES
fakemeta

COMMANDS
dml_decals [name] [index]
dml_decals - outputs full decal index/name list
dml_decals "{ammo" - outputs decal index of the given decal name
Note: only part of name can be specified (case insensitive)
dml_decals _ 137 - outputs decal name of the given decal index
Note: mod-specific decals list required for that command
dml_models [name] [index]
dml_models - outputs full model index/name list
dml_models "models/w_hegrenade.mdl" - outputs model index of the given model name
Note: only part of name can be specified (case insensitive)
dml_models _ 92 - outputs model name of the given model index
Note: mod-specific decals/models list not required for that command
Note: commands access level can be changed below (default: ADMIN_ALL)

CVARS
dml_log_on <0|1>
dml_log_on 1 - output will be directed to the server console and log file
dml_log_on 0 - output will be directed to the server console only
Notes:
CVAR default value can be changed below (default: "0")
log filenames can be changed below (default: "decals.log", "models.log")

VERSIONS
0.2 expanded commands functionality
"dml_models" command is safe now
few other improvements
0.1 first release
get plugin
get source
.zip
images.rar
Post Reply

Return to “Technical/Development”