Raised This Month: $ Target: $400
 0% 

Weapon Jams Ver 0.4


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay        Approver:   Hawk552 (427)
The Specialist
BANNED
Join Date: Nov 2006
Old 11-05-2006 , 15:22   Weapon Jams Ver 0.4
Reply With Quote #1

This plugin is made to simulate a real life common problem with weapons , the all to familiar , Weapon Jam. AKA Weapon malfunction. It has a cvar where you can set the ratio of bullets to malfunction ratio. The default is 200( shots per person berfore jamming) . And just like in real life you must clear the chamber before being able to shoot again . Press use to clear the chamber , and when the gun jams an empty weapon sound plays . then when you press use to clear the chamber , a bultpull sound plays . It only jams the weapon you had out. You can switch weapons and back and only the gun you had out will be jammed, till you clear it . Bots will jam the same way , except automatcily clear there chamber.

Bugs : None , this runs perfectly with no run time errors . Alot of testing

Next version will include : Ultimate sound type for jams . Random cvar to generate a completley random jam . And support for TS?


Requires Amxmodx : 1.76b (has to support PCVARS and set_cd)


Cvars :
amx_weapon_jam "1" or "0" | 1 is on 0 is off
amx_jam_ratio "200" how many shots before jam (test it first to find the setting you like)

Use Button : Clears A Jammed Chamber

Modules Required :
<amxmodx>
<fakemeta>


Installation : Install Like Any Other Plugin

Versions :
0.1 - The first release
0.2 - Added pcvars in place of old cvar sytem (Tested And Works)
0.3 - Added Weapon Specific Jam, Only Jammes Gun You Were Holding(so you can switch weps)(Tested And Works)
0.4 - Added Support to Execute Jam On Bots And Clear(Tested And Works)



Tested On Cstrike And Condition Zero
Attached Files
File Type: sma Get Plugin or Get Source (weapon_jam.sma - 3822 views - 4.3 KB)

Last edited by The Specialist; 12-06-2006 at 17:21.
The Specialist is offline
Send a message via AIM to The Specialist
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:52.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode