Home   Help Search Login Register  

Author Topic: BAS littlebirds minigun editing  (Read 2131 times)

0 Members and 1 Guest are viewing this topic.

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
BAS littlebirds minigun editing
« 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?

DeadMeatXM2

  • Guest
Re:BAS littlebirds minigun editing
« Reply #1 on: 18 May 2005, 17:39:21 »
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.

Grendel

  • Guest
Re:BAS littlebirds minigun editing
« Reply #2 on: 18 May 2005, 21:07:20 »
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 ;)

Offline remcen

  • Contributing Member
  • **
  • a.k.a. hottentotten_mike
    • IM:UC
Re:BAS littlebirds minigun editing
« Reply #3 on: 18 May 2005, 21:33:29 »
there is no getpitch command unfortunately.
overcoming  this will be your main problem.
perhaps you find a way - good luck.
we're looking for members: IM:UC MOD

Offline Raptorsaurus

  • Editors Depot Staff
  • *****
Re:BAS littlebirds minigun editing
« Reply #4 on: 18 May 2005, 23:46:49 »
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
« Last Edit: 18 May 2005, 23:48:09 by Raptorsaurus »

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:BAS littlebirds minigun editing
« Reply #5 on: 19 May 2005, 02:19:15 »
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

DeadMeatXM2

  • Guest
Re:BAS littlebirds minigun editing
« Reply #6 on: 19 May 2005, 19:37:46 »
cant sombody edit the addon

They can, but we [BAS] won't be giving permission to release said edit.

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:BAS littlebirds minigun editing
« Reply #7 on: 19 May 2005, 23:43:45 »
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

DeadMeatXM2

  • Guest
Re:BAS littlebirds minigun editing
« Reply #8 on: 22 May 2005, 15:19:09 »
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.
« Last Edit: 22 May 2005, 15:19:31 by DeadMeat »

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:BAS littlebirds minigun editing
« Reply #9 on: 22 May 2005, 23:14:29 »
ok, thanks anyways