How to use?
Eextract archive to your amxmodx
folder on the server (with file overwriting if needed).
: Do not enable this module via addons/amxmodx/configs/modules.ini
folder otherwise its can working incorrectly.
All configuration files are in amxmodx/configs/weaponmod
folder. Main configuration file is weaponmod.ini
. In main file you can set weapon and ammo blocking (stripping)
, and also set startup equipment on spawn. You can preset any configs for certain maps. Exp. crossfire map configuration file must have following name: weaponmod-crossfire.ini
Detailed description about weaponmod.ini
The configuration file has 3 sections: equipment
Here you can setup startup equipment for players. Syntax:
Players has Spore Launcher with 5 spores, also MP5 and LongJump module on every spawn.
weapon_sporelauncher : 1
ammo_spore : 5
weapon_9mmAR : 1
item_longjump : 1
This section can configure spawn amount of ammo for each weapons. Syntax:
Player has 250 bullets for MP5 and Glock17, 100 uranium for gauss and egon, and also 200 bullets for M249 and 15 for M40A1.
9mm : 250
uranium : 100
556 : 200
762 : 15
Ammo names for default weapons:What about custom weapons ammo names? You can found theirs name in source code. Just lookup for following:
- 357 - python .357 revolver.
- 9mm - Glock17, Mp5.
- ARgrenades - MP5 assault grenades.
- bolts - crossbow.
- buckshot - shotgun.
- Hand Grenade - hang grenades.
- Hornets - hornetgun.
- uranium - tau cannon, egon.
- rockets - RPG.
- Satchel Charge - Satchels.
- Snarks - Snarks.
- Trip Mine - Trap Mines.
We see rocket_rpg7, its ammo name for RPG7 weapon.
#define WEAPON_PRIMARY_AMMO "rockets_rpg7"
#define WEAPON_SECONDARY_AMMO "" // NULL
In this section you can block/remove default weapons and ammo in HL. This means that any weapons in this section will be removed from the game and we cant use them. Any remove default weapon increasing weaponmod weapons limit. Exp. we can remove tau cannon and replace this with RPG-7:
folder you can find configuration for weapon and ammo spawning on the maps. You can easy add any weapons/ammo to the map with WeaponMod Spawner Config Editor
folder you can find weaponmod configuration (offsets,signatures etc.).
Opposing Force:Team Fortress Classic:Unreal Tournament:Counter-Strike Online:Other:
WeaponMod Addon: Spawner Config EditorFAQ
: Where is source code?
: Here: https://svn.aghl.ru:8443/svn/HLModules/weaponmod/trunk
: How to download those sources?
: You can do this with any SVN client, Tortoise SVN
: How to install new weapons?
: This is easy. Lookup for needed gun in upper text, download it and install on your server, like a typical amxx plugin.
: Im installed new weapons, but how to spawn them on maps?
: Use WeaponMod Spawn Config
: Server crashing with Host_Error: no precache: models/w_bgrap.md
: Update your Weaponbox Models
: Why bots doesnt using new weapons?
: Bots using new weapons if they have crowbar in theirs inventory (weapon_crowbar).
: Why my server is crashing with ED_Alloc: No edicts yet
: Do not enable this module via amxmodx\configs\modules.ini.
Q: How can I use it?
A: "You can't." (c) Lev