Baphomet 0 Posted February 14, 2004 I know there was one gulf war mod that was going to attempt this.. I'm not sure if it was OPGWC or not. Still. Has any scripter made an attempt at making a rudimentary standalone gun jam simulation? I'm just curious. I'd really like adding something like that to a mission. Share this post Link to post Share on other sites
mr burns 132 Posted February 14, 2004 you might give JAM a try j/k, i don´t think it´s being done yet. btw: wrong forum Share this post Link to post Share on other sites
tankieboy 0 Posted February 14, 2004 Come on over to PUKF Share this post Link to post Share on other sites
Baphomet 0 Posted February 14, 2004 Hm. Well that thread has some bloke asking the same question as me. Along with a lot of talk of the perils of left-handed SA-80 use, and a bunch of quotes. =P Anyhow. This is general discussion. If I read the description of the mission and scripting forum title... it's: "for discussion of the technical aspects of mission editing and scripting" ... well. I don't know how to script really, I do some modifications here and there but nothing entirely on my own. So I'm not really discussing the technical aspects, I'm just asking if anyone's made one. Secondly. I'm not posting it in addon discussion because to be quite honest. I don't want an addon that has gun jamming. I'd preferably just have a set of scripts that let me define which weapons jam. Unfortunately the last thing I'd want to do is download an entire mod to reap the benefits of one little script. I don't want no stinkin' mods. I don't need no stinkin' mods. I pick and choose as I wish. Â Share this post Link to post Share on other sites
Harkonin 0 Posted February 14, 2004 Call with {_x addEventHandler ["fired",{_this exec "unitscripts\loadouts\gunjam.sqs"}]} Foreach Units groupname; or this addEventHandler ["fired",{_this exec "unitscripts\loadouts\gunjam.sqs; Gunjam.sqs <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> ?(_this select 0)!= player:exit ?(_this select 3=="FullAuto")||(_this select 3 == "Burst")||(_this select 3 == "Single"):goto "Jam" exit #Jam _x = random 200 ? (_x <= 4):goto "Jam2" Exit #Jam2 player playmove "CombatReloadMortarEnd" ?(LOCAL PLAYER):hint "Gun Jammed.\nCleaning......." exit Share this post Link to post Share on other sites
void_false 1 Posted February 14, 2004 Harkonin Very nice and simple script indeed! did you think about other animations? Share this post Link to post Share on other sites
Placebo 29 Posted February 14, 2004 Moving to ME&S. Share this post Link to post Share on other sites