Author Topic: Primary fire cycle?  (Read 3802 times)

0 Members and 1 Guest are viewing this topic.

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Weapons cycling


Does anyone know if it is possible to make a fighter fire his primary in a cycle?
So if he has 4 guns (total) then it would first fire from the first barrel, then the second, then third, then fourth, and then again....

The question is - cycle in a slot or all guns cycle?
Nobody dies as a virgin - the life ****s us all!

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

 

Offline IceFire

  • GTVI Section 3
  • 212
    • http://www.3dap.com/hlp/hosted/ce
Quote
Originally posted by TrashMan
Weapons cycling


Does anyone know if it is possible to make a fighter fire his primary in a cycle?
So if he has 4 guns (total) then it would first fire from the first barrel, then the second, then third, then fourth, and then again....

The question is - cycle in a slot or all guns cycle?


If cycling were to be done...I would figure per slot...anything more and you have the potential for really slow fire rates on weapons that should fire quickly.
- IceFire
BlackWater Ops, Cold Element
"Burn the land, boil the sea, you can't take the sky from me..."

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
A weapons flag? That way slower weapons use cycling, while faster ones don't (If you don't want to):D
Nobody dies as a virgin - the life ****s us all!

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

 

Offline IceFire

  • GTVI Section 3
  • 212
    • http://www.3dap.com/hlp/hosted/ce
Quote
Originally posted by TrashMan
A weapons flag? That way slower weapons use cycling, while faster ones don't (If you don't want to):D

Uncessary complication.

Simple solution, "cycle" in the weapon slot tells FS2 that the weapon should cycle within its slot (if a ship has 4 guns then 1, 2, 3, 4 will be fired - or 1, 3, 2, 4 may be better) .  Not affecting other weapons that may be non-cyclic.
- IceFire
BlackWater Ops, Cold Element
"Burn the land, boil the sea, you can't take the sky from me..."

 

Offline StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
The idea behind cycling weapons, at least in a game like this, is to increase the rate of fire of an otherwise slow-firing weapon.  Using the four turret example, if you had cycling on, the weapon would fire 4x faster but only one shot would be fired per burst.  However, with cycling off, four shots (4x damage) would be fired at normal speed (1/4th the speed of cycling on).  The problem with designing a weapon like this, as I see it, is that with cycling the delay between shots must be inversely proportional to the number of banks, so that each bank fires a shot as slowly as the weapon would normally fire.  This seems like a setting the player may want under his control, so that he could, say, link all shots together into one burst or cycle to increase rate of fire.

On a side note, missiles already do this, so perhaps some code could be adapted from there.
« Last Edit: April 30, 2003, 07:42:00 pm by 570 »
who needs a signature? ;)
It's not much of an excuse for a website, but my stuff can be found here

"Holding the last thread on a page comes with an inherent danger, especially when you are edit-happy with your posts.  For you can easily continue editing in points without ever noticing that someone else could have refuted them." ~Me, on my posting behavior

Last edited by StratComm on 08-23-2027 at 08:34 PM

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
I've got it working
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 Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
YAAAAY!!!

*wants a pulsing Microwave Cannon on his Ulysses*
"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...

 
Quote
Originally posted by Bobboau
I've got it working


how? and by key binding or not?
just another newbie without any modding, FREDding or real programming experience

you haven't learned masochism until you've tried to read a Microsoft help file.  -- Goober5000
I've got 2 drug-addict syblings and one alcoholic whore. And I'm a ****ing sociopath --an0n
You cannot defeat Windows through strength alone. Only patience, a lot of good luck, and a sledgehammer will do the job. --StratComm

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
COOL! I want that!

Now if someone could get the barreld turrets to actually fire from all barrels (in salvos or cycle) and I'm a happy man! :D
Nobody dies as a virgin - the life ****s us all!

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

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
well I set it up as a table flag, but I guess I could try to get it hooked into a key binding also, but I think that would require a diferent weapons flag
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 Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
Nah, keep it as a weapons flag. The FS weapons need more variety in them, and this is a big step towards that. Making it avaliable for every weapon would lessen the novelty of having it only on specific weapons.
"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Quote
Originally posted by TrashMan
Now if someone could get the barreld turrets to actually fire from all barrels (in salvos or cycle) and I'm a happy man! :D
Nobody dies as a virgin - the life ****s us all!

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

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
well I was thinking of haveing a wepons flag that said it could cycle and a seperate one that meant that you could chose to have it cycle or not
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 TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Nobody dies as a virgin - the life ****s us all!

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

 

Offline Rampage

  • Son Of Rampage
  • 211
  • Urogynaecologist
Nice!  Now I can make vulcan cannons!

 

Offline Raptor

  • 210
I should mention this, as it's kinda related....

Yesterday, while messing around with a small warship model, I created a player flyable version. It had the same beam weapons as the warship, including the players primary gun bank (I turned two of the turrets into the gun bank).

I was hoping that the beams would 'Lock on' to the target, ala BGreen style.  They didn't, BUT the beam cycled between the firing points!:eek2:

This is with FS2_open 3.5

BTW, cylcing primary pluse cannons would be VERY cool!:yes:
...There ought to be something surreal about a Zoid offering romantic advice...and yet there is not. It seems perfectly normal that the Liger is giving Bit advice on relationships, and it shouldn't, but it does. Dangit man, you've confused me again.[/I]
NGTM-R review of one of the chapters in my fanfic story :D Story is here! -> 'Ancient Legacies'

 

Offline ZylonBane

  • The Infamous
  • 29
I'd rather cycling were available on all weapons, not just some. There's no logical reason for any weapon to be incapable of ripple firing, as each gun is an independent unit.

This has been discussed at length in other threads already anyway.
ZylonBane's opinions do not represent those of the management.

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
here is how i want the weapons flag to work, woy add this to a weapon entry:

$cycle

after that you add the number of guns that may fire at once so it looks like this:

$cycle    2

this means that 2 guns will fire at once and then the next 2 fire the next shot, it gives the modder more flexability. if you want all guns to fire, omit the tag or set it to -1. if your ship only has that number of guns then it will fire all of them, if the number of guns is less than the cycle number, it will scale up the fire rate accordingly. if its set to 4 and you only have 2 guns, fire rate then doubles.

i also want deflection angles!
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 Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
the only reason i want alternating guns is for artistic purposes.

i really want descent3 style gun alternating, but that would require severe alterations to the pof format among code changes.
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 TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
That's all nice ad well, but did anyone managed to get multi-barreld turrets to cycle? Or to fire in a salvo (from both barrels)
Nobody dies as a virgin - the life ****s us all!

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