First of all, this is an AmxModX plugin for Counter-Strike 1.6 servers only.
This plugin offers a way to pack all weapons p_*.mdl and w_*.mdl into a single file. The main purpose of this is to reduce precache count. Usefull for mods that uses too much resources such as sprites and models.
- Uses only a single
.mdlfile to render all weaponsp_*.mdlandw_*.mdl. - Makes it able to reduce precache count by
58.
Although this is a tool for rendering packed models in order to reduce the precache count, it does not unprecache the models by itself. Make sure to install an unprecache plugin that unprecaches all the p_*.mdl and w_*.mdl that fits better your server.
First and foremost, your server must to have amxmodx 1.8.3 or above installed & running.
- Copy
packed_models.amxxto$cstrike/addons/amxmodx/pluginsfolder in your server. - Add
packed_models.amxxline to yourplugins.inifile located at$cstrike/addons/amxmodx/configsfolder. - Copy
weapons.mdlto$cstrike/modelsfolder in your server.
This plugin contains few compiler directives that can be setted up on packed_models.sma source file.
| Token | Default | Description |
|---|---|---|
C4_BACKPACK_SUPPORT |
true |
Defines if dropped C4 backpack should be rendered from the packed models file. Values:true - packed backpack will be renderedfalse - default backpack will be rendered |
IGNORE_LIST |
{CSW_NONE} |
Lists which items must not be rendered from the packed models file. |
Note: Make sure to recompile the plugin once the compiler directives has been changed.
Feel free to suggest changes or create pull requests to this repository, including source changes or new models alternatives.
In case of new models, please, make sure to include model work files and its MDL files.
All work files of the provided MDL file are available at /studio folder.