CSB Weapon Models

v1.0.0 0 pobrań Daemon666 Ostatnia aktualizacja: Jul 14, 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.

Instalacja

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

Cvary

CVARDefaultDescription
csb_wmodels_enabled 1 Enable or disable custom weapon models globally.

Komendy

CommandAccessDescription
say /wmodels Toggle custom weapon models for yourself.

Lista zmian — v1.0.0

1.0.0 - Initial release.
Wersje →
Współtwórcy: Daemon666 ✦
Oryginalny autor: Emp` (Weapon Model Replacement) Licencja: GPL-3.0

Ocena

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Pobierz .sma
Pliki:
csb_weapon_models.sma main 4.5 KB

Wymagania

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Opcjonalne
ReAPI Opcjonalne
Metamod Metamod / Metamod-r
Moduły fakemeta
Znane konflikty Any other view-model replacement plugin - run only one.
Wróć do Pluginów