How to use?
Installation
Eextract archive to your
amxmodx folder on the server (with file overwriting if needed).
Note: Do not enable this module via
addons/amxmodx/configs/modules.ini folder otherwise its can working incorrectly.
Configuration
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 file:
Spoiler
The configuration file has 3 sections:
equipment,
ammo and
block.
[equipment]
Here you can setup startup equipment for players. Syntax:
Example:
Code:
[equipment]
weapon_sporelauncher : 1
ammo_spore : 5
weapon_9mmAR : 1
item_longjump : 1
Players has Spore Launcher with 5 spores, also MP5 and LongJump module on every spawn.
[ammo]
This section can configure spawn amount of ammo for each weapons. Syntax:
Example:
Code:
9mm : 250
uranium : 100
556 : 200
762 : 15
Player has 250 bullets for MP5 and Glock17, 100 uranium for gauss and egon, and also 200 bullets for M249 and 15 for M40A1.Ammo names for default weapons:- 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.
What about custom weapons ammo names? You can found theirs name in source code. Just lookup for following:
Code:
#define WEAPON_PRIMARY_AMMO "rockets_rpg7"
#define WEAPON_SECONDARY_AMMO "" // NULL
We see rocket_rpg7, its ammo name for RPG7 weapon.
[block]
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:
Code:
[block]
weapon_gauss
In
amxmodx/configs/weaponmod/spawnpoints 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 plugin.
In
amxmodx/configs/weaponmod/mods folder you can find weaponmod configuration (offsets,signatures etc.).
Weapons:
Opposing Force:Team Fortress Classic:Unreal Tournament:Counter-Strike Online:Other:
Config Editor:WeaponMod Addon: Spawner Config Editor
FAQ
Q: Where is source code?
A: Here:
https://svn.aghl.ru:8443/svn/HLModules/weaponmod/trunk
Q: How to download those sources?
A: You can do this with any SVN client,
Tortoise SVN for example.
Q: How to install new weapons?
A: This is easy. Lookup for needed gun in upper text, download it and install on your server, like a typical amxx plugin.
Q: Im installed new weapons, but how to spawn them on maps?
A: Use
WeaponMod Spawn Config Editor plugin.
Q: Server crashing with
Host_Error: no precache: models/w_bgrap.mdl error.
A: Update your
Weaponbox Models plugin.
Q: Why bots doesnt using new weapons?
A: Bots using new weapons if they have crowbar in theirs inventory (weapon_crowbar).
Q: Why my server is crashing with
ED_Alloc: No edicts yet error?
A: Do not enable this module via amxmodx\configs\modules.ini.
Q: How can I use it?
A: "You can't." (c) Lev
__________________