With this module you can write some plugins, that add new types of weapon and ammo to Half-Life.
Create new weapon by your self. You need only a basic knowledge of the AMXX scripting. Its easy.
AMXX Dev Team - for great scripting engine. Arkshine - for support and helping . 6a6kin - for AntiJos module source code. GordonFreeman - for help with testing. Koshak - for support and testing. Lev - for constant support. noo00oob - idea. Valve - for awesome game Half-Life and SDK.
Item spawning from ini file. [addons/amxmodx/configs/weaponmod/]
Some offsets for natives.
Fixed:
Wrong model size for items. ("unable pickup" problem)
0.5
Added:
Addtional offsets, where you can store your data.
Code:
Offset_iuser1,
Offset_iuser2,
Offset_iuser3,
Offset_iuser4,
Offset_fuser1,
Offset_fuser2,
Offset_fuser3,
Offset_fuser4
// you can also use this offsets for custom entities ("info_target")
New natives:
Code:
/**
* Get player's ammo inventory.
*
* @param iPlayer Player id.
* @param szAmmoName Ammo type. ("9mm", "uranium", "MY_AMMO" etc..)
*
* @return Amount of given ammo. (integer)
*/
native wpnmod_get_player_ammo(const iPlayer, const szAmmoName[]);
/**
* Set player's ammo inventory.
*
* @param iPlayer Player id.
* @param szAmmoName Ammo type. ("9mm", "uranium", "MY_AMMO" etc..)
* @param iAmount Ammo amount.
*/
native wpnmod_set_player_ammo(const iPlayer, const szAmmoName[], const iAmount);
Now you can use wpnmod_set_think for custom entities created through "info_target" method.
New hook - Fwd_Wpn_AddToPlayer.
0.6
Added:
Linux support.
Natives:
wpnmod_set_touch
wpnmod_clear_multi_damage
wpnmod_apply_multi_damage
"give" command support.
beams.inc include.
Fixed:
Teamplay bug.
"mp_weaponstay" bug, now works fine.
0.7
Added:
Support for following mods:
Opposing Force
Adrenaline Gamer
Adrenaline Gamer Mini
Configuration system.
Full 1nd view spectator support.
Automatic redirection employed slots for guns.
Option for blocking standart weapons and ammobox and replace them with new.
Weapon limit increased to 17 (with full standart weapon blocking this value is increasing to 31).
Added equipment manager that allows you too manage startup weapons and ammo for players from spawn.
New hook: Fwd_Wpn_AddToPlayer2
Natives:
wpnmod_decal_trace
wpnmod_get_damage_decal
wpnmod_set_anim_ext
wpnmod_get_anim_ext
wpnmod_get_weapon_info
wpnmod_get_ammobox_info
wpnmod_get_weapon_count
wpnmod_get_ammobox_count
wpnmod_explode_entity
wpnmod_fire_timed_grenade
wpnmod_fire_contact_grenade
wpnmod_radius_damage2
Fixed:
Fixed 31 indexed weapon registration.
"give" command now work correctly with "sv_cheats 0"
0.8
Added:
Refactoring and some code tweaks.
Added support for latest server build.
New hook: Fwd_Wpn_ItemPostFrame.
New natives:
wpnmod_trace_texture
wpnmod_get_offset_cbase
wpnmod_set_offset_cbase
Now you can reset think/touch forward for wpnmod_set_[think/touch] natives.
Custom nades with high velocity now apply more damage for victims, like as defaults.
Updated beams.inc include to 1.2 version.
Added equipment manager that allows you too manage startup weapons and ammo for players from spawn.
Fixed:
Incorrect parsing of vtable signatures in configs.
Fixed wpnmod_get_weapon_info native.
Last edited by GordonFreeman (RU); 06-03-2014 at 22:45.