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
Движок ReHLDS HLDS
ReGameDLL Необязательно
ReAPI Необязательно
Metamod Metamod / Metamod-r
Модули fakemeta
Известные конфликты Any other view-model replacement plugin - run only one.
Назад к плагинам