Daemon666 / CSB Weapon Models Public

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

v1.0.0 168 descărcări GPL-3.0 Ultima actualizare Aug 23, 2026
Daemon666 1.0.0 - Initial release. v1.0.0 Oct 25, 2025 1 Versiuni
csb_weapon_models.sma main b32455a 4.5 KB
README.md

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.

Instalare
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-uri
CVARDefaultDescription
csb_wmodels_enabled 1 Enable or disable custom weapon models globally.
Comenzi
CommandAccessDescription
say /wmodels Toggle custom weapon models for yourself.
Jurnal de modificări — v1.0.0
1.0.0 - Initial release.
Versiuni →
Evaluare

No ratings yet.

Despre
Download v1.0.0
Compiled live from the source below — nothing pre-built.
Descarcă .sma
Cerințe
AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Opțional
ReAPI Opțional
Metamod Metamod / Metamod-r
Module fakemeta
Conflicte cunoscute Any other view-model replacement plugin - run only one.
Contribuitori
Înapoi la Pluginuri