Author Topic: Minigun Discussion  (Read 3420 times)

0 Members and 1 Guest are viewing this topic.

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
i was poking around the forum and i found something ive been waiting for, but didnt know it was already implemented. i found that by adding $pbank=x (x = primary bank number) to the properties of a rotating subobject that you can link that subobject's rotation to the firing of bank x. i have already implemented this feature in one of my ships and it adds some serious cool factor. i have a few questions and a few ideas about this feature and thus created this thread in hopes of the expansion of this feature.

for my questions:

1. are there more options to this feature than i am already aware of?

2. how do i sync the rotation of the weapon with the fire rate of the gun? i noticed that it uses the speed specified in the $rotate section of the subobject properties to determine how fast the gun should spin. however the gun spins faster with low numbers and slower with higher numbers. id figure that rpm should equal shots per second (or 1 / $Firewait: x) divided by the number of barrels in the gun (rpm=(1/firewait)/barrels).  i take it that the value in $rotate:x is the tiime it takes the thing to make a full turn (let me know if im wrong). if that is the case do you simply set $rotate: to the firewait of the weapon tims the number of berrels ($rotate: = $firewait: * barrels)? ok, now my brain hurts.

3. does the rotation speed take in account the fire rate change that occurs when you link your weapons?

4. can i use this on turrets? if so, how?

ideas for how to improve this include:

1. sipn up and spin down fire rate acceleration/deceleration.

2. use on turrets (if not already implemented).

3. kicking guns. could be done by using a $translate:distance (in freespace units) instead of $rotate:.  gun would kick back to that distance along the axis slected in the subobject properties, and then return to ots orifional position.

4. use with secondary weapons (also if not already implemented)

please let us continue this discussion.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
rotaion is in radians per second (I think) there are 2PI radians in a full rotation so multiply the numbers by 6.283185307, and see if that works better
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Quote
1. are there more options to this feature than i am already aware of?
No.
Quote
2. how do i sync the rotation of the weapon with the fire rate of the gun?
Experiment with the rotation rates.  It's just another spinning subsystem.  The rotation rate number is the amount of seconds it takes to make one full rotation.
Quote
3. does the rotation speed take in account the fire rate change that occurs when you link your weapons?
No, and I think that'd be a bit complicated.
Quote
4. can i use this on turrets? if so, how?
No.
Quote
ideas for how to improve this include:

1. sipn up and spin down fire rate acceleration/deceleration.
Ugh.  Very tricky, and not likely to be implemented.
Quote
2. use on turrets (if not already implemented).
Not possible, because of the way the turrets are done.
Quote
3. kicking guns. could be done by using a $translate:distance (in freespace units) instead of $rotate:
There is a huge, huge distance between putting something in the POF file and making it do this in the code.  This is flat-out virtually impossible with the current engine.
Quote
4. use with secondary weapons (also if not already implemented)
Secondary weapons fire much more slowly, so what's the point?  (EDIT: If you really want them, though, I see no reason why they can't be added.)
Quote
please let us continue this discussion.
Sorry to shoot you down, but there aren't really many more possibilities for this feature.
« Last Edit: January 09, 2004, 11:58:10 am by 561 »

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
damn, and i started putting gargantuan miniguns on one of my super death bombers.:D
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Quote
Originally posted by Nuke
gargantuan miniguns
That's an oxymoron if I ever heard one.  But why does this preclude what you're planning?  It still works, and nobody is going to look closely enough to pay attention to all the small details.

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
thats easy for you to say, this bomber is huge and the gun is bigger than certain fighters, not to mention that the bomber carries 2 of them.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline Woolie Wool

  • 211
  • Fire main batteries
Quote
Originally posted by Goober5000
That's an oxymoron if I ever heard one.  But why does this preclude what you're planning?  It still works, and nobody is going to look closely enough to pay attention to all the small details.


It's not an oxymoron, really. A minigun is a Gatling-style machine gun with six barrels.
16:46   Quanto   ****, a mosquito somehow managed to bite the side of my palm
16:46   Quanto   it itches like hell
16:46   Woolie   !8ball does Quanto have malaria
16:46   BotenAnna   Woolie: The outlook is good.
16:47   Quanto   D:

"did they use anesthetic when they removed your sense of humor or did you have to weep and struggle like a tiny baby"
--General Battuta

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Quote
Originally posted by Woolie Wool
It's not an oxymoron, really. A minigun is a Gatling-style machine gun with six barrels.


You're thinking too hard... it was a joke.  Gargantuan minigun.

 

Offline magatsu1

  • 210
1. sipn up and spin down fire rate acceleration/deceleration.
Quote
1. sipn up and spin down fire rate acceleration/deceleration.


a sound f/x for that might be pretty funky.
Blitzerland: Knows what he's talkin' about

 

Online TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
I like miniguns/gatlinguns...

Maby I should add something like that on one of my ships...

How about a corvette with a Massive frontal gatling plasma cannon?

Uuuuuuuuuuuuuuuuuuuuuuu...
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline Deepblue

  • Corporate Shill
  • 210

 

Offline magatsu1

  • 210
that should be
"vrrrruummmmm, budabudabudabudabudabudabuda, vrummmmm"


:p
Blitzerland: Knows what he's talkin' about

 

Online TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Quote
Originally posted by magatsu1
that should be
"vrrrruummmmm, budabudabudabudabudabudabuda, vrummmmm"


:p


I don't remember hireing you for the sound effects!?
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 
Stupid factoid, but.....

A Minigun  (copyright, General Electric) is a 6-barreled electrically powered gatling gun derived from the M61 Vulcan, but scaled down. So technically it should be "gargantuan gatling" which sounds better phonetically, but of course doesn't have that whole oxymoronic (lol) schtick to it.

 

Offline magatsu1

  • 210
Quote
Originally posted by TrashMan


I don't remember hireing you for the sound effects!?


you didn't haved to hire me. You can have that for free.
Blitzerland: Knows what he's talkin' about

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
i personally like the gau-8 avenger, a 7 barreled gatling gun also made by ge. it can fire anywhere between 30 and 70 rounds per second. any time i try to get that fire rate out of the freespace engine, it eighter slows down the game, or doesnt render the shots. id like a supre fast rendering meathod that may be used in insanely fast firing weapons.

it would be nice if we could have a sound effect to go along with the spinning barrels.
« Last Edit: January 10, 2004, 10:56:47 pm by 766 »
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline Deepblue

  • Corporate Shill
  • 210
Anyway back on topic.
Can we please put in shell ejection. Example: the Grendel in Starlancer.

 

Offline magatsu1

  • 210
at a guess that would either be: pofs, messy to put in and a bit of a drain
or:
pcx: looks crap. I know what you mean though. Looks good in FPS.
Blitzerland: Knows what he's talkin' about

 

Online TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Quote
Originally posted by Nuke
i personally like the gau-8 avenger, a 7 barreled gatling gun also made by ge. it can fire anywhere between 30 and 70 rounds per second. any time i try to get that fire rate out of the freespace engine, it eighter slows down the game, or doesnt render the shots. id like a supre fast rendering meathod that may be used in insanely fast firing weapons.

it would be nice if we could have a sound effect to go along with the spinning barrels.


Yeah..and the Avanger fires 30mm bullets with depleted urianium that can tare trough armour like like it was tissue paper!

I allso made gatling guns (3 of them), but found that there really is no sense in going above the fire speed of 0.01

Even with this, it's a Shivan massacre. ;7
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!