OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: CooK on 05 Nov 2002, 06:50:07
-
is it possible? to have a m203 or a m2 machine gun fire a smoke grenade?
-
To my knowledge, all smoke grenades are hand-thrown in this game. There's nothing to stop you from making your own add-on that allows M203-launched smoke grenades, though.
The M2 is a machine gun that, therefore, cannot fire grenades, smoke or otherwise--at least not without modifying its config entry.
-
Soz about this but, I just thought I'd like to say that the sound for the M203 launcher is gay !!!
Soz :gunman:
-
:hmm:
-
Yes, yes there is. Should be, anyohow. Try the editor's depot snippets section, under misc or whatever. Somewhere there there should be a script which allows you to turn just about any missile into a smoke grenade of your choosing...possibly you could transform a flare/grenade into a smoke instead then.
Also, I think the addons depot had a bunch of smoke-launching m203-toting lads upped, WAY long ago. I suggest you conduct a search there too :D
As to the M2...hmm, suppose it could somehow be managed, but I really can't imagine why :D If we'd capture the bullets and turn them into smoke 'nades, the computer would crash and burn within moments thanks to the high rate of fire. Only option would be to make a smoke-grenade launching M2....which I don't think would be a likely candidate for the Addon's Depot realism prize ::)
And I agree on Tombsy's sentiment on the M203.
:hmm:
Wolfrug out.
-
nahh, wolf, you can do it; the computer won't crash and burn, but it won't be pretty.
this addeventhandler [Fired, {private ["_bang", "_vector", "_pos"]; _bang = nearestobject [_this select 0, _this select 4]; _pos = getpos _bang; _vector = velocity _bang; deletevehicle _bang; _bang = "SmokeShell" camcreate _pos; _bang setvelocity _vector}]
of course, it can and should be tweaked. Change SmokeShell to Shell120 and you can raise hell with a pistol.
-
:noo: You're scary, Dinger! :help: :noo:
-
Hey, I said sorry !