Daemon666 / CSB Weapon Models Öffentlich

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 Downloads GPL-3.0 Zuletzt aktualisiert Aug 23, 2026
Daemon666 1.0.0 - Initial release. v1.0.0 Oct 25, 2025 1 Versionen
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.

Installation
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
Cvars
CVARDefaultDescription
csb_wmodels_enabled 1 Enable or disable custom weapon models globally.
Befehle
CommandAccessDescription
say /wmodels Toggle custom weapon models for yourself.
Änderungsprotokoll — v1.0.0
1.0.0 - Initial release.
Versionen →
Bewertung

No ratings yet.

Info
  • Weapons
  • Lizenz: GPL-3.0
  • Daemon666
  • Ursprünglicher Autor: Emp` (Weapon Model Replacement)
Download v1.0.0
Compiled live from the source below — nothing pre-built.
.sma herunterladen
Anforderungen
AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Optional
ReAPI Optional
Metamod Metamod / Metamod-r
Module fakemeta
Bekannte Konflikte Any other view-model replacement plugin - run only one.
Mitwirkende
Zurück zu den Plugins