AvaMods 5.o Forums (https://forums.avamods.com/)
-   Server / Mod Support (https://forums.avamods.com/server-mod-support/)
-   -   Weapon Jam.. (https://forums.avamods.com/server-mod-support/1494-weapon-jam.html)

BuLLeT January 24th, 2008 05:28 PM

Weapon Jam..
 
What is your take on weapon jam?

If i wanted the game more realistic id go play on a realism server, any way wuts more realistic than respawning and getting a brand new gun and taking the first shot and it jams....

slickridley January 24th, 2008 05:47 PM

i think it is kind of neat actually, sometimes it help get that extra kill in when you're up against a auto when all you got is a rifle

The Punisher January 24th, 2008 05:51 PM

I hate weapon jam.

ucubed January 24th, 2008 06:01 PM

it rarely ever happens to me...maybe once every 100+ kills

diamond-optic January 24th, 2008 06:17 PM

see.. its not supposed to exactly be something you like

and ive never once had it jam as soon as i spawned.. even when i set it to jam every shot i still get the 1st shot off no matter what.. ..same thing with nades, ppl say they have nades jam.. and ive never once been able to get one to jam, and ive tried to do both plenty of times :-\

now there is other problems with it that are much larger then that lol but im working on those

distraction January 24th, 2008 07:50 PM

wow nade jam... Is that like you go to throw it but you jammed your elbow and can't move your arm?

BuLLeT January 24th, 2008 08:50 PM

lol...im just saying i dislike it when it happens to me. just seeing wut others think of it

Trix January 24th, 2008 09:21 PM

Diamond uses it at an excuse when i own his ass

ucubed January 24th, 2008 09:48 PM

nade jam is more like a cramp in your arm and you have to switch arms =P

diamond-optic January 24th, 2008 10:23 PM

Quote:

Originally Posted by Trix (Post 13894)
Diamond uses it at an excuse when i own his ass

which means i say it about 3 times a year

Jonny Automatic January 25th, 2008 12:01 AM

weapon jam makes me cream....

lol DeRock said he dropped his gun, and picked up someone else's perminently jammed gun :D made me crinkle

RageyPoo January 25th, 2008 12:52 AM

Quote:

Originally Posted by BuLLeT (Post 13872)
What is your take on weapon jam?

If i wanted the game more realistic id go play on a realism server, any way wuts more realistic than respawning and getting a brand new gun and taking the first shot and it jams....


Noob?

buck_futter January 25th, 2008 01:31 AM

uhhm its actually gg when an auto jam because then you got no recoil : )

BuLLeT January 25th, 2008 02:17 AM

lol looks like only me and u pun

The Punisher January 25th, 2008 04:20 AM

ehhh whatever....i still hate it. lol

timmy! January 25th, 2008 09:38 AM

I like it :D

RageyPoo January 25th, 2008 11:07 AM

I love it. I've had the gun jam on me around 3 times total. Then again, I don't use automatics very much. More of a one shot type of a person.


Punisher, shut the fuck up. I see it coming.

Jonny Automatic January 25th, 2008 04:12 PM

Quote:

Originally Posted by Raging Homo (Post 13919)
:lol:
Punisher, shut the fuck up. I see it coming.

Pow Right in the kisser ;)

The Punisher January 25th, 2008 05:11 PM

Ragey....

ehh its not even worth it.



you one shot man you.

xxkrissixx January 25th, 2008 10:20 PM

dosent bother me.. it takes less than a second to fix it and it dosent happen much..

RageyPoo January 27th, 2008 08:14 AM

Quote:

Originally Posted by The Punisher (Post 13926)
Ragey....

ehh its not even worth it.



you one shot man you.

Hehe! That's right :) See you in game bro.

The Punisher January 27th, 2008 01:16 PM

still gay.

mein gott January 28th, 2008 04:44 PM

yer'all arse bandits anyways

Jonny Automatic January 29th, 2008 10:46 AM

Quote:

Originally Posted by mein gott (Post 13986)
yer'all arse bandits anyways

seconded

diamond-optic January 29th, 2008 03:18 PM

well ive got the new weapon jam plugin mostly done.. just doing some private testing, but so far it seems to work a lot better

only problem is the scoped fg42 and scoped enfield are coded into dod in a strange way (different then the rest of the weapons) and they seem to use a different pdata offset for rof then the rest.. so it might take me some time to find that offset

..but on a side note, im working on getting rocks/smokenades/tackle and such to show up on the dmg counter and the hud stats (such as those that show when you die) but im having a few problems with that as well.. so hopefully ill find time & motivation to work on them some more

Jonny Automatic January 29th, 2008 06:41 PM

does the fag n scope not jam at all with ur new one or something?

diamond-optic January 29th, 2008 07:38 PM

well i figured out the problem was the stock i was using wasnt able to get the weapon entity IDs for them cause they use both dod(w)_enfield & dod(w)_scoped_enfield (or replace enfield with fg42) in places instead of just one or the other.. but i added a workaround for them and it all seems to be good now.. will probably put it up on the server later tonight

Jonny Automatic January 29th, 2008 07:59 PM

oh goody goody lol

buck_futter January 30th, 2008 08:56 PM

what the shit? permanently jammed? what was that shit? PS put a scoped k98 in church but hide it well

The Punisher January 30th, 2008 09:48 PM

thanks for the new bar <33333

BuLLeT January 30th, 2008 10:21 PM

Quote:

Originally Posted by The Punisher (Post 14027)
thanks for the new bar <33333

:love::love:

i <3 how punisher is now a Bar Whore <3333



PS take off the L33T walls

The Punisher January 31st, 2008 10:58 AM

I cant help it.

i jus wana be like you.

Jonny Automatic January 31st, 2008 03:35 PM

theres always been perm jams lol
new to dodmods?

buck_futter February 1st, 2008 01:31 AM

i never got a perm jam.. was always able to clear chamber.. and just give me a command so i can spawn myself a bar.. the point of adding it was so i could get it. atleast thats why i have you 300$ via paypal

timmy! February 1st, 2008 10:16 AM

anyone ever picked up a jammed gun?

Jonny Automatic February 1st, 2008 11:28 AM

Quote:

Originally Posted by timmy! (Post 14058)
anyone ever picked up a jammed gun?

DeRock did ..much to his disgust :P

The Punisher February 1st, 2008 11:45 AM

I still hate gun jam.

BuLLeT February 1st, 2008 02:34 PM

the Tommy gun jammed on me again the other day with the first shot...

The Punisher February 1st, 2008 02:40 PM

lol bar still jams for then any gun. do rifles jam i wouldnt know i dont use them enough i dont think i've ever had a jam with the sniper.

timmy! February 1st, 2008 03:15 PM

The rifles and snipers jam, but their much easier to handle, because you shot then it tells you it's jammed and you clear it. Auto's they'll jam right in the middle of you spraying and you're like "oh this fucker is going do....SHIT! jam"

diamond-optic February 1st, 2008 08:07 PM

and obviously auto's will jam more often just due to the number of shots fired

a basic explantion of how jamming works:

PHP Code:

1000
50

if(random_num(1,x) == && is_clip_notfull)
     {
     if(
random_num(1,y) == 1)
           
//perm jam
     
else
           
//normal jam
     


obviously thats not exactly how its coded in pawn and theres more to it then that.. but thats basically it for simple minded ppl


and to confuse you more.. heres the actual code from the CurWeapon function forward that does the actual jamming:
PHP Code:

    if(get_pcvar_num(p_plugin) && is_user_alive(id) && is_user_connected(id) && !is_user_bot(id))
        {
        new 
wpnid dod_get_weapon_ent(id)
        new 
is_jammed pev(wpnid,pev_iuser4)
        
        if(
wpnid && pev_valid(wpnid))
            {
            
set_pev(wpnid,pev_iuser3,0)
            
            if(
is_jammed)
                
set_pdata_float(wpnid,OFFSET_WPN_PROF,100.0,OFFSET_LINUX)    
            else if(
is_clip_notfull(id))
                {
                if(
random_num(1,get_pcvar_num(p_chance)) == 1)
                    {
                    new 
perm get_pcvar_num(p_perm)
                    
                    if(
perm && random_num(1,perm) == 1)
                        
set_pev(wpnid,pev_iuser4,2)
                    else
                        
set_pev(wpnid,pev_iuser4,1)
                    }
                }
            }    
        } 

and every weapon can jam except nades/rockets/melee.. tho there is a chance that occasionally if you switch weapons at the exact right time as your gun is jamming that it will still fire off the forward but when it gets the wpn entity id you have the new weapon out and it picks up that.. but that should be very very rare



and..
Quote:

Originally Posted by BuLLeT (Post 14087)
the Tommy gun jammed on me again the other day with the first shot...

whats your point.. you fired a shot and it jammed.. it didnt start off jammed, im positive of that.. next time maybe you should clean your weapon better and/or load the magazine properly :P

The Punisher February 1st, 2008 08:17 PM

oh now i get it....



but still hate it. lol

timmy! February 8th, 2008 12:34 PM

A grenade jam would be awesome "Your arm has cramped up, hit use to drop grenade" :P

The Punisher February 8th, 2008 04:13 PM

NO.

BuLLeT February 8th, 2008 04:35 PM

If that shit happens imma quit dod in general

The Punisher February 8th, 2008 05:23 PM

im with ya.

buck_futter February 8th, 2008 05:36 PM

Quote:

Originally Posted by timmy! (Post 14337)
A grenade jam would be awesome "Your arm has cramped up, hit use to drop grenade" :P

nvm theres no yawning smilie

BuLLeT February 8th, 2008 05:59 PM

make the walls wallable again then i wont care

diamond-optic February 8th, 2008 07:07 PM

lol your a noob cause there isnt a single thing done to walls (except like the front of the red room)

The Punisher February 9th, 2008 01:15 PM

I knew it....if your lookin at it and its blown up the wall on the left cant be walled only in one spot.

i hate it. lol


All times are GMT -4. The time now is 07:48 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.

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