OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Morglor9 on 26 Jan 2005, 07:50:38

Title: Weapons Jamming
Post by: Morglor9 on 26 Jan 2005, 07:50:38
In a regular game of OFP, the M16 is a fairly kickin' rifle, mainly because it is accurate. However, real world usage (both by soldiers and weapons testers) find that it is not that great, one main reason being that it is suseptable to jamming. I was wondering if anyone knew how to make a script to jam a weapon so that the soldier couldn't fire, then add an action to the action menu that unjams the rifle and plays an animation (possibly reload anim?). It would also be nice if the mission maker could change the script depending on how often they want the player's rifle to jam, for example:

if player has an M16, it would jam more often then, say, a Steyr AUG, which is supposed to be very reliable.

Any takers?
Title: Re:Weapons Jamming
Post by: macguba on 26 Jan 2005, 11:37:38
I believe this has been done in some way, but I'm afraid I can't remember where, how or by whom.
Title: Re:Weapons Jamming
Post by: Morglor9 on 26 Jan 2005, 16:38:58
yes, i to thought it had been done, but i couldn't find it in the forum, ed depot or FAQ.
Title: Re:Weapons Jamming
Post by: Triggerhappy on 27 Jan 2005, 02:19:00
i believe it was done by... kammak?
check the script ideas a while back for a weapon jamming script (its a long thread)
Title: Re:Weapons Jamming
Post by: Triggerhappy on 27 Jan 2005, 02:27:17
ah, got the wrong board, but uh...this was the first on my search list, so....
http://www.ofpec.com/yabbse/index.php?board=8;action=display;threadid=20417;start=0 (http://www.ofpec.com/yabbse/index.php?board=8;action=display;threadid=20417;start=0)