Home   Help Search Login Register  

Author Topic: Minigun magazine  (Read 6333 times)

0 Members and 1 Guest are viewing this topic.

Offline Pilot

  • Contributing Member
  • **
Re:Minigun magazine
« Reply #30 on: 29 Jan 2005, 19:17:19 »
You can also try this if only you want, put this in the CfgWeapons section:
Code: [Select]
modes[] = {FullAuto};
class FullAuto
      {
         multiplier=1;
         burst=1;
         soundContinuous=false;
         reloadTime=0.0142;
         autoFire = true;
         useAction = false;
         useActionTitle = "";
      };

This is definately not guarenteed to work!  It is only a suggestion if my above post doesn't work!  Also, you may have to delete the other reloadtime.
« Last Edit: 29 Jan 2005, 19:17:46 by Student Pilot »

Offline Plane

  • Members
  • *
  • You can call me my nickname "Plane"!
Re:Minigun magazine
« Reply #31 on: 30 Jan 2005, 06:41:09 »
Ok, I found the problem.
To add the firing speed, just adjust multiplier number.
For example:
Code: [Select]
multiplier=2;And then its firing speed is faster! ;D

Another question:
How to make the gun barrels revolves faster as my firing speed? ???
I used the code:
Code: [Select]
revolving="barrels";
revolvingAxis="barrels_axis";
But not fast enough. ???
The propeller is just a big fan in front of the plane used to keep the pilot cool. When it stops, you can actually watch the pilot start sweating.

Offline Pilot

  • Contributing Member
  • **
Re:Minigun magazine
« Reply #32 on: 30 Jan 2005, 13:27:45 »
Quote
Ok, I found the problem.
To add the firing speed, just adjust multiplier number.

Oh, ok, good thing you did that instead of what I suggested! ::)

I don't know much about the barrel animation.  I will do some looking and see if I can find an answer.  In the meantime, how much slower is the barrel than it should be.  Is it way too slow, or only a little too slow?

Offline Pilot

  • Contributing Member
  • **
Re:Minigun magazine
« Reply #33 on: 30 Jan 2005, 22:05:14 »
Ok, I have done some looking, and it seems there is no way to adjust the speed of the animation. :(  However, I think I might have a workaround :), but it might take me a day or two to figure out.  Hopefully the work around will work, but there are no guarentes! :-\

EDIT:
I have tried a work-around to no avail.  Apparently, event-handlers can't be used on weapons. :(  You may want to get in contact with Lean Bear, as he said he has found a way to accomplish custom animations on guns.  Check out this thread:
http://www.ofpec.com/yabbse/index.php?board=13;action=display;threadid=19642;start=0
Sorry I couldn't help you on this :'(
« Last Edit: 30 Jan 2005, 22:39:05 by Student Pilot »

Offline oyman

  • Members
  • *
  • king of pings
Re:Minigun magazine
« Reply #34 on: 31 Jan 2005, 03:42:41 »
Ok, I found the problem.
To add the firing speed, just adjust multiplier number.
For example:
Code: [Select]
multiplier=2;And then its firing speed is faster! ;D

Another question:
How to make the gun barrels revolves faster as my firing speed? ???
I used the code:
Code: [Select]
revolving="barrels";
revolvingAxis="barrels_axis";
But not fast enough. ???


they could be spinning fast enough, its just they are going so fast it looks slow
« Last Edit: 31 Jan 2005, 03:43:04 by oyman »

Offline Plane

  • Members
  • *
  • You can call me my nickname "Plane"!
Re:Minigun magazine
« Reply #35 on: 31 Jan 2005, 05:44:05 »
No it is really slow,I'm sure. 8)
It turns 360 degreeds as it shot up a whole magazine!(500 bulltes)

You can check out the MM-1  heavy Grenadelauncher, its barral turns 360 degreeds when shots up 12 grenades!(A magazine)
The propeller is just a big fan in front of the plane used to keep the pilot cool. When it stops, you can actually watch the pilot start sweating.

Offline Plane

  • Members
  • *
  • You can call me my nickname "Plane"!
Re:Minigun magazine
« Reply #36 on: 31 Jan 2005, 05:54:26 »
My last post attached a Minigun picture, its the pic before fire.

Then a picture when fire and after shot up the whole mag...
The propeller is just a big fan in front of the plane used to keep the pilot cool. When it stops, you can actually watch the pilot start sweating.

Offline Plane

  • Members
  • *
  • You can call me my nickname "Plane"!
Re:Minigun magazine
« Reply #37 on: 31 Jan 2005, 05:59:01 »
And here is the picture when shot up the whole mag...
The propeller is just a big fan in front of the plane used to keep the pilot cool. When it stops, you can actually watch the pilot start sweating.

Offline Pilot

  • Contributing Member
  • **
Re:Minigun magazine
« Reply #38 on: 31 Jan 2005, 19:10:24 »
Yeah, this is how the animation works.

The barrel makes one revolution for every magazine, which means if you have a magazine with 500 rounds, it will turn very slow.

Offline Plane

  • Members
  • *
  • You can call me my nickname "Plane"!
Re:Minigun magazine
« Reply #39 on: 01 Feb 2005, 09:22:14 »
Yeah so if I want it works as a real thing, then I have to assign 6 bullets to each magazine!
But that's impossible, is there a way makes it revolunes faster by using other code. Such as animation or eventhandler... :help:
The propeller is just a big fan in front of the plane used to keep the pilot cool. When it stops, you can actually watch the pilot start sweating.

Offline Pilot

  • Contributing Member
  • **
Re:Minigun magazine
« Reply #40 on: 01 Feb 2005, 15:03:20 »
Hmmm, six rounds per magazine, 70 rounds a second, a magazine of six rounds would be finished in .08 sec!  Yeah, that's impossible! :P

Unfortunately, I don't think eventhandlers work with weapons.  I was hoping to add a fired eventhandler which would call a script, and the script would call an animation to turn the barrel.  But I couldn't get the eventhandler to work, I heard it's a game limitation, and my crappy scripting doesn't help! :P  However, Lean Bear said he found a way around it, you may want to send him a private message, and ask him if he can help you:
http://www.ofpec.com/yabbse/index.php?board=;action=imsend;to=Lean%20Bear