I think I've found an error... The mod works fine, but the shock hammer disappears after 10 uses.
Other than that, AWESOME mod!
Open the file weapons.xtbl,
replace the Shock Hammer entry with this:
<Weapon>
<Name>RocketHammer</Name>
<Weapon_Class>bat</Weapon_Class>
<Trigger_Type>single</Trigger_Type>
<Magazine_Size>0</Magazine_Size>
<Range_Max>2</Range_Max>
<Damage_Max>
<NPC_Damage>0</NPC_Damage>
<Player_Damage>0</Player_Damage>
</Damage_Max>
<_Editor>
<Category>Entries:weapon_radial:melee</Category>
</_Editor>
<Animation_Group>Sledge</Animation_Group>
<AI_Ideal_Range_Max>2</AI_Ideal_Range_Max>
<Flags>
<Flag>melee can dislodge movers</Flag>
<Flag>not allowed with human shield</Flag>
<Flag>do not hide when sprinting</Flag>
<Flag>use box shape for melee casts</Flag>
<Flag>apply force to live ragdolls</Flag>
<Flag>always wear on back</Flag>
<Flag>left hand</Flag>
<Flag>melee always dislodge</Flag>
<Flag>explosions damage tanks</Flag>
<Flag>bullets damage tanks</Flag>
<Flag>unlimited ammo</Flag>
<Flag>allow offhand grenade</Flag>
</Flags>
<melee_damage_to_anchored_scaler>0.2</melee_damage_to_anchored_scaler>
<Category>WPNCAT_MELEE</Category>
<Time_Management>
<Refire_Delay>0</Refire_Delay>
<min>0</min>
<max>0</max>
</Time_Management>
<Inv_Slot>melee</Inv_Slot>
<Ammo>Fire</Ammo>
<Ammo_per_Shot>1</Ammo_per_Shot>
<Audio>
<Hit_Wall_Sound>IMP_METAL_HIT</Hit_Wall_Sound>
<Spinning_Snd_Pitch_End>1</Spinning_Snd_Pitch_End>
<Weapon_Model>ROCKETHAMMER</Weapon_Model>
<looping>False</looping>
<Sound_Radius>8</Sound_Radius>
<alt_looping>False</alt_looping>
<Soundbank_Name>Wep_RocketHammer</Soundbank_Name>
</Audio>
<Constant_Effects>
<Constant_Effect>
<Effect>VFX_DeckerSwordTrail</Effect>
<Weapon_Prop_Point>vfx1</Weapon_Prop_Point>
<Condition>during melee swing</Condition>
</Constant_Effect>
<Constant_Effect>
<Effect>VFX_Electric_Body2</Effect>
<Weapon_Prop_Point>vfx1</Weapon_Prop_Point>
<Condition></Condition>
</Constant_Effect>
</Constant_Effects>
<Melee_Damage_Overrides>
<NPC>200</NPC>
<Player>500</Player>
<Online>350</Online>
</Melee_Damage_Overrides>
<Alt_Trigger_Type>single</Alt_Trigger_Type>
<Strafe_Angles>Default</Strafe_Angles>
<AI_Ideal_Range_Min>5.0</AI_Ideal_Range_Min>
<Ragdoll_Force_Shoot>400</Ragdoll_Force_Shoot>
<Effect_Situations/>
<Max_Melee_Impacts>-1</Max_Melee_Impacts>
<Ammo_Regeneration>0.0</Ammo_Regeneration>
<Melee_Attack_Info>RocketHammer</Melee_Attack_Info>
<Riot_Shield_Damage_Multiplier>1.0</Riot_Shield_Damage_Multiplier>
<Diversion_Kill_Multiplier>1.0</Diversion_Kill_Multiplier>
<Blood_Decal_Scale>1.0</Blood_Decal_Scale>
<Camera_Info>
<Player_Hit_Camera_Shake>bullet_hit</Player_Hit_Camera_Shake>
<Player_Hit_Camera_Shake_Intensity>0.5</Player_Hit_Camera_Shake_Intensity>
</Camera_Info>
<NPC_Explosion>DeckersSwordhammer-NPC</NPC_Explosion>
<NPC_Alt_Explosion>DeckersSwordhammer-NPC</NPC_Alt_Explosion>
</Weapon>
You will have unlimited use of shock attack and you wil even be able to damage tanks with the shock. note that the swing won't do any damage to tanks.