Skip to content

AdamRichard21st/PackedModels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

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.

Features

  • Uses only a single .mdl file to render all weapons p_*.mdl and w_*.mdl.
  • Makes it able to reduce precache count by 58.

Disclaimer

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.

How to install

First and foremost, your server must to have amxmodx 1.8.3 or above installed & running.

  • Copy packed_models.amxx to $cstrike/addons/amxmodx/plugins folder in your server.
  • Add packed_models.amxx line to your plugins.ini file located at $cstrike/addons/amxmodx/configs folder.
  • Copy weapons.mdl to $cstrike/models folder in your server.

read more

Compiling options

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 rendered
false - 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.

Want to help?

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.

About

[AmxModX] Packs all weapons p_ and w_ models into a single mdl file.

Resources

License

Stars

4 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages