CSB Weapon Models

v1.0.0 10 изтегляния Daemon666 Последна актуализация: Jul 15, 2026

Replaces view and world weapon models from a simple ini file, applied on CurWeapon, with a per-player toggle back to default models.

CSB Weapon Models swaps the view (v_) and world (p_) models of any weapon for your own, driven by a plain ini file. Models are precached at map start; on every CurWeapon the plugin writes the custom model into pev_viewmodel2 / pev_weaponmodel2. Players who prefer the stock look can turn it off for themselves with /wmodels.

Configuration

Create addons/amxmodx/configs/csb_weapon_models.ini with one weapon per line:

ak47 models/csb/v_ak47.mdl models/csb/p_ak47.mdl
awp  models/csb/v_awp.mdl  models/csb/p_awp.mdl
knife models/csb/v_knife.mdl models/csb/p_knife.mdl

Accepted names: knife, usp, glock, deagle, p228, elite, fiveseven, m4a1, ak47, awp, scout, aug, sg552, galil, famas, m3, xm1014, mp5, tmp, mac10, ump45, p90, m249, sg550, g3sg1. Only entries whose model files exist are precached.

Features

  • ini-driven, no recompile to change models.
  • View and world models both supported per weapon.
  • Per-player /wmodels toggle back to the default models.
  • Missing files are logged and skipped, never crashing the server.

Installation

  1. Enable the fakemeta module in modules.ini (default on).
  2. Put your .mdl files where the ini points and add them to your fastdl.
  3. Compile, copy csb_weapon_models.amxx into plugins/, add it to plugins.ini, change map.

Inspired by the classic "Weapon Model Replacement" by Emp`; independent GPL re-implementation.

Инсталация

1. Ensure the fakemeta module is enabled in modules.ini
2. Create addons/amxmodx/configs/csb_weapon_models.ini (see the description)
3. Upload your .mdl files and add them to fastdl
4. Put csb_weapon_models.amxx in plugins/, add to plugins.ini, change map

Cvar-и

CVARDefaultDescription
csb_wmodels_enabled 1 Enable or disable custom weapon models globally.

Команди

CommandAccessDescription
say /wmodels Toggle custom weapon models for yourself.

Списък с промени — v1.0.0

1.0.0 - Initial release.
Версии →
Сътрудници: Daemon666 ✦
Оригинален автор: Emp` (Weapon Model Replacement) Лиценз: GPL-3.0

Оценка

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Изтегли .sma
Файлове:
csb_weapon_models.sma main 4.5 KB

Изисквания

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Незадължително
ReAPI Незадължително
Metamod Metamod / Metamod-r
Модули fakemeta
Известни конфликти Any other view-model replacement plugin - run only one.
Обратно към плъгините