DoD Weapon Jam (v3.0)
Author diamond-optic
Author email -email-
Author website -link-
Description DoD Weapon Jam
- Version 3.0
- 07.22.2009
- diamond-optic

Credits:

- Wilson [29th ID] (pdata offsets as well as a ton of other help)


Information:

- Weapons will randomly jam and the client will have to press
their use key to clear the chamber (or reload depending on setting)

- Sometimes clearing the chamber fails, requiring multiple attempts
- Chance of weapon jamming permanently
- Specific weapon stays jammed even after dropping it
- Enable/Disable losing 1 round in the clip when clearing the chamber
- Weapons will not jam on a full clip (so you dont spawn with a jammed weapon)

- Server List: -link-


Commands:

dod_weaponjam_force //Force a clients weapon to jam
//Enter a trailing 1 for perm jam


CVARs:

SETTING_MSGSTYLE 3 //Message Style Setting
//1 = HUD Messages
//2 = Chat Messages
//3 = Both HUD & Chat Messages

SETTING_CHANCE 1200 //Chance of weapon jamming for each shot (1 in ### chance)

SETTING_RELOAD 1 //Reloading clears jammed weapons (on(1)/off(0))
SETTING_AMMO 1 //Clearing chamber subtracts 1 round of ammo (on(1)/off(0))

SETTING_PERM 50 //Chance of weapon jam to be permanent (0 = no perm jam)
SETTING_FAIL 4 //Chance of clearing chamber failing (0 = always clears 1st time, 1 in ### chance)

SETTING_MAXPLAYERS 32 //Set to the number of slots your server has


Change Log:

- 07.23.07 - Version 1.0
    Initial Release

- 09.12.07 - Version 1.1
    Adjusted default jam chances just slightly
    Stopped 'jammed' sounds from playing after round end
    Added CVAR to control message style
    Fixed jam sound from overlapping itself

- 01.29.08 - Version 2.0
    Huge Rewrite, too many changes to list

- 07.22.09 - Version 3.0
    Added command to force someones weapon to jam
    Changed prethink forward over to HamSandwich
    Removed CVAR to enable/disable jamming, just dont load the plugin instead
    Changed CVARs to compiler defines
    Bots will now get jams
    Changed some default values
    Decreased weapon ent search radius to stop affecting of guns on the ground
    Improved some if statements
    Removed 'Full Precache' ability as it doesnt seem to be an issue
    Various other code improvements
Filesize 16.32 kB
Date Wednesday, July 22, 2009 - 07:46PM
Downloads 851
Download
Download DoD Weapon Jam (v3.0)


You must be logged in to make comments on this site.
Please log in, or if you are not registered click here to signup




2005-2006
2006-2007
2007-2008
2008-2012
2013-2014
2014-2016
2016-2024
team cdrive
AvaMods 0.x
AvaMods 1.x
AvaMods 2.x
AvaMods 3.o
AvaMods 4.o
AvaMods 5.o

team cdrive   AvaMods

www.AvaMods.com