Reckless Endangerment Mod

First-off, this is just a weapons mod for multiplayer death match. The mods are stuff I got off the net whilst learning how to make mods. Most of the stuff is just copy and paste and I don’t really know (did not study it) how the rest of the code works.
Get the latest file here

Version 3.0

1
Read Version 2.9
2
Changes from 2.9
_Cosmetic
__Fire Select
__No slection. Fire Select not implemented for this weapon.
__Single / Normal fire.
__Rapid fire.
__Automatic.
__Double Barrel Fire.
__Long throw.
__Spin-up.
__Vampire.
__Homing.
__Fire and Forget.
__Bullet Select
__Standard Ammunition.
__Neurotoxin Filled Ammunition.
__Napalm Filled Ammunition.
__Liquid Nitrogen Filled Ammunition.
__10K Volts Charged Ammunition.
__High Velocity Ammunition.
__Venom Filled Ammunition.
__VX Filled Ammunition.
__Poison Filled Ammunition.
__Not So Depleted Uranium Ammunition.
__Acid Filled Ammunition.
__Contact Grenade Ammunition.
__Snark Drop Ammunition.
__Cluster Ammunition.
__Freeze Grenade.
__Sunburst Ammunition.
__Bouncing Betty
__Landmine.
__Booby Trap.
__Nuke.
__Flying Snarks.
__Refried Bean Fed Snarks.
__Viper Snarks.
__Narrow Beam.
__Claymore.
__Tungstan Arrows.
__Hornets.

Version 2.9

1
Read Version 2.8
2
Changes from 2.8
_Bullet Selection (changed)
__Tungsten ArrowsONLY crossbow. Fixed the ricochet effect, it works well, now.

Version 2.8

1
Read Version 2.7
2
Changes from 2.7
_Bullet Selection (changed)
__ClaymoreONLY tripmine. Will fire a contact grenade, not shotgun shell.
__NukeBug fixed. Attacker will now get the frag for the kill. Plus all nuke display shockwave effect.
_Reckless Endangerment: (changed) (20 sec long)
__ZeroAdded some friction (50%) and player will be pushed (x,y) if standing still.

Version 2.7

1
Read Version 2.6
2
Changes from 2.6
_Bullet Selection (changed)
__Hornets ShellsONLY Shotgun and RPG. Shotgun will fire 9 hornet per shell, RPG will fire hornets while rocket is in flight.

Version 2.6

1
Read Version 2.5
2
Changes from 2.5
_Bullet Selection (changed)
__Hornets ShellsONLY Shotgun. Will fire 9 hornet per shell.
3
Bugs. Looks like the hook was the problem, removed the hook.

Version 2.5

1
Read Version 2.4
2
Changes from 2.4
_Bullet Selection (added)
__Hornets ShellsONLY Shotgun. Will fire 1 hornet per shell.
__Tungsten ArrowsONLY Crossbow. These will richocet off walls. (Not working that well).
3
Bugs (Found in 2.4 and might be in 2.5): HL server crash for some unknown reason. It seems that the hook crash the game.

Version 2.4

1
Read Version 2.3
2
Changes from 2.3
_Added a Reckless overdrive eventOnce per game a siren will go off and one of two overdirves will kick in for a maximum of 10 seconds. A siren will sound again when overdrive is done.
__OverdriveSome weapons have overdrives attached, just fire and see what happens
__ZeroZero gravity and friction. Good Luck.

Version 2.3

1
Read Version 2.2
2
Changes from 2.2
_FixedCrash after killing a player or self.
_Bullet Selection (Same as 2.2, just added)
__Freeze GrenadeONLY Handgrenade.
__Booby TrapONLY Satchel. The Satchel looks like a Weapon box. Tip Place near dead player. Nasty!
_Other
__Hornet GunChange second fire to shoot toads.
__AnimationsAdded animations for some of the bullet types (burn, freeze, poison etc). Hope this works and don't crash the game.
__Smoke TrailJust for fun. It seems that your HEV Suit overheats and gives off a smoke trail -)
3
You need to bind a new key for the Grappling Hook. It is not weapon specific.

Version 2.2

1
Read Version 2.1
2
Changes from 2.1
_Fire Selection
__SilencedRemoved Glock always fire silenced.
__HomingRpg fire mode. Lock on target by aiming at target (other player). Lock will last for 5 seconds after losing aim. Blip sound will sound when locked on target. Other type of blip when losing lock. Missile will hunt target.
__Fire and ForgetRpg fire mode. Fired rocket will try to find it's own target. Targets include tripmines.
_Bullet Selection
__Neurotoxin Filled AmmunitionONLY Glock.
__Napalm Filled AmmunitionONLY Glock.
__Liquid Nitrogen Filled AmmunitionONLY Glock.
__10K Volts Charged AmmunitionONLY Python.
__High Velocity AmmunitionONLY Python.
__Venom Filled AmmunitionONLY Python.
__VX Filled Ammunition ONLY MP5.
__Poison Filled AmmunitionONLY MP5.
__Not So Depleted Uranium AmmunitionONLY MP5.
__Acid Filled AmmunitionONLY Glock, Python and MP5.
__NukeNow available for RPG and Snarks (bean fed). Satchel uses only 1 not 3
_Other
__Auto HealthRemoved.
__HealthWill spawn with 100 health = max health (Normal Half-Life).
__ArmorWill spawn with 0 charge (Normal Half-Life).
__AimWill NOT show target name.

Version 2.1

Ok, You have to bind two new keys before starting the game. These are Fire Selection and Zoom Selection (Defaults Mouse button 3 and Keypad +)
_Fire Selection
__SingleSingle shot / normal HL firing.
__Rapid2x faster than Single. Implemented for Glock, Python, MP5, Shotgun and Cross Bow.
__Auto4X faster than Single. Implemented for Glock, Python, MP5, Shotgun and Cross Bow.
__SilencedSilencer mode. Implemented for Glock, Python and MP5. (Not working)
__VampireAttacker gains health or armor according to the damage inflicted. Implemented for Egon.
_Zoom Selection
__NormalNormal zoom.
__1xZoom in. Implemented for Python, MP5 and Cross Bow.
__2xZoom in (again). Implemented for Python, MP5 and Cross Bow.
__(Note when RPG is in use this will toggle the lazar dot.)
__(Note when Satchel is in use this will throw a Satchel (old secondary fire).)
_Bullet Selection (Secondary fire - Mouse 2)
__NormalNormal bullet / ammo / other types. ALL
__Neurotoxin Filled AmmunitionTarget drops all weapons. ONLY Glock, Python, MP5 and Crossbow
__Napalm Filled AmmunitionBurn damage to target. ONLY Glock, Python, MP5 and Crossbow
__Liquid Nitrogen Filled AmmunitionFreeze damage to target. ONLY Glock, Python, MP5 and Crossbow
__10K Volts Charged AmmunitionShock damage to target. ONLY Glock, Python, MP5 and Crossbow
__High Velocity AmmunitionSonic damage to target. ONLY Glock, Python, MP5 and Crossbow
__Venom Filled AmmunitionSlows target down. ONLY Glock, Python, MP5 and Crossbow
__VX Filled AmmunitionNerve gas. ONLY Glock, Python, MP5 and Crossbow
__Poison Filled AmmunitionPoison. ONLY Glock, Python, MP5 and Crossbow
__Not So Depleted Uranium AmmunitionRadiation damage to target. ONLY Glock, Python, MP5 and Crossbow
__Acid Filled AmmunitionAcid. ONLY Glock, Python, MP5 and Crossbow
__Contact Grenade AmmunitionOld MP5 secondary fire. ONLY MP5
__Snark Drop AmmunitionDrop Snarks (Gogas) as projectile travels. ONLY Cross bow and RPG.
__Homing MissileWill hunt the target. ONLY RPG.
__Cluster AmmunitionExplosion will throw 5 contact grenades in random directions. ONLY RPG and Hand grenade.
__Sunburst AmmunitionTarget will be blinded for 5 seconds. ONLY Gauss.
__Bouncing BettySatchel will bounce up and explode (Proximity area = large). ONLY Satchel.
__LandmineSatchel will explode (Proximity area = small). ONLY Satchel.
__Flying SnarksSnarks (Gogas) will fly rather than crawl. ONLY Snark.
__Refried Bean Fed SnarksRUN! These Snarks were placed on a refried bean diet, explode on impact.
__Viper SnarksPoison Snarks.
__Narrow BeamTripmine set to narrow beam.
__ClaymoreTripmine fires buckshot when exploding.
__NukeNeed 3 Satchels to throw nuke. BE WARNED! These are equipped with proximity fuses..
_Other
__Auto HealthSuite will use battery power to restore health.
__HealthWill spawn with 200 health = max health.
__ArmorWill spawn with 100 charge = max charge.
__CrowbarA blow will cause the target to get velocity in the direction of the blow.
__EgonSecondary attack will turn player invisible. This uses 10 gauss clips / rounds to activate. One armour / battery charge per second is used when activated. When activated, player will become more visible depending on movement speed, thus stand still = invisible, run = ghost image. Will deactivate when player press second fire again or armour / battery charge depleted. When armour / battery charge depleted it actually used 2 charges more (thus -2 not zero which is displayed). Happy sniping!
__AimWill show name of player you are aiming at.
_Weapons Default Settings
__GlockAuto Fire. Normal Bullets.
__CrossbowSingle Fire. Snark Drop Bolts.
__MP5Auto Fire. Normal Bullets.
Enjoy
ScoBra7
scobra@ananzi.co.za
* Got it from Wavelenght?s (http//www.thewavelength.net/oldsite/coding/) coding tutorials.
* Got it from PlanetHalfLife (http//www.planethalflife.com/hlprogramming/tutorials.asp) coding tutorials.
* Thanx Newbie (mwcjanssen@tebenet.nl)
* Thanx killa_kid (apeman91@rogers.com) for update to Newbie's mod.