PWEM (Panda's Weapon Editor Mod)
PWEM is an open-source weapon editor specifically designed for the Modern Warfare: Cubed modification. This tool allows you to customize and modify existing weapons from Modern Warfare Cubed — a free open-source fork based on Vic's Modern Warfare.
How the Mod Works
After installation, PWEM automatically creates a new config/mwc/pwem folder in the game directory where all your custom weapon settings will be stored. Each weapon gets its own .json file that can be freely edited according to your preferences.
Weapon Parameter Configuration
Let's examine an example configuration file for AACHoneyBadger:
{
"stats": {
"damage": 5.4,
"fireRate": 0.8,
"recoil": 3.0,
"gravity": 0.0118,
"zoom": 0.9,
"group": "RIFLES"
},
"shooting": {
"single": true,
"burst": 0,
"auto": true
},
"sound": {
"shoot": "aac_honeybadger",
"silencedShoot": "aac_honeybadger",
"reload": "honeybadger_reload",
"unload": "honeybadger_unload",
"endOfShootSound": "gun_click",
"inspect": "m4a1_inspection",
"draw": "m4_draw"
}
}
Main Characteristics
- damage — determines damage dealt
- fireRate — regulates rate of fire
- recoil — weapon recoil settings
- gravity — gravity effect on bullet trajectory (higher value means stronger effect)
- zoom — zoom level when aiming
- group — weapon category displayed in tooltips
Firing Modes
- single — single shots
- burst — burst fire (0 to disable)
- auto — automatic fire
Sound Effects
- shoot — shooting sound
- silencedShoot — silenced shooting sound
- reload — reloading
- unload — unloading
- endOfShootSound — sound when magazine is empty
- inspect — weapon inspection
- draw — weapon drawing
Client and Server Compatibility
The mod works on both client and server. This means you can install it on a server, and players will be able to connect without needing to install the mod on their clients. However, for correct display of custom weapon characteristics, ensure that the config/mwc/pwem folder is available to all clients.