OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: penguinman on 18 May 2005, 02:33:14
-
I was wondering why the BAS littlebirds with the miniguns have the bullets comming out of only one of the guns and just putting a muzzle flash on the other. this looks pretty bad,
I know that you cant have a gun firing from 2 different places at once but,
what about the rocket pods for helocopters,
they have rockets that alternate sides when they come out
so cant sombody edit the BAS littlebirds so the miniguns work like rocket pods and shoot from both sides?
-
The problem you'd have then is that the ffar's would fire from the miniguns or the miniguns would appear to fire from the ffar pods.
-
It would be a pain in the butt, but you could theoretically use a script to do this...(I'm at 'work' so I'll summarize)
addeventhandler fired on the AH-6
have the script trigered by the addevent handler make sure the minigun is firing.
get the direction the fired bullet is travelling.
use the getpitch(or something like that) function get the pitch of the AH-6
use a drop particle (mainly to get a quick and easy relative position coordinate) with a lifetime of 0, and have it run a script when it 'dies' to camcreate a bullet;
the bullet would use setvelocity and sine/cosine (using the getdir)for 'forward' motion, and the getpitch to give it z axis velocity....a looooooooooot of math/trial and error etc later and your done!
or you could just live with one stream of tracers, your call ;)
-
there is no getpitch command unfortunately.
overcoming this will be your main problem.
perhaps you find a way - good luck.
-
There is a getpitch and getbank function. It was created by dschulle. It can be found at the editor depot:
http://www.ofpec.com/editors/funcref.php?filter_func=22 (http://www.ofpec.com/editors/funcref.php?filter_func=22)
-
oh :(
uh, i was thinking more like, go in the config and set the minigun weapon from like, gun to rocket or somthing simple like that,
cant sombody edit the addon
-
cant sombody edit the addon
They can, but we [BAS] won't be giving permission to release said edit.
-
I see your point,
so cant you personaly just quicly dpbo it, ajust what needs to be ajusted to achieve the minigun rounds comming from both guns and then release it as a BAS Official update to the littlebirds.
or are there complications?
thanks
-
Its a case of finding the time to do it, and the reasoning for doing it.
What you are asking for is to make the addon more accurate by having bullet streams coming from both miniguns. However when achieving this, due to game engine limitations, either the minigun streams would come out of the FFAR pods, or the FFARs would launch from the miniguns. So in attempting to make the addon more accurate, you are actually making it less accurate.
Also, we can't just update addons on the whim of individual community members - sorry if it sounds rude - but if we did you'd never be able to manage the versions so that everyone is on the same playing field.
-
ok, thanks anyways