Author Topic: $shot field - An addition?  (Read 5782 times)

0 Members and 1 Guest are viewing this topic.

Offline Grug

  • 211
  • From the ashes...
$shot field - An addition?
Effect of the shots field:

With beams it fires in sequence: 1,2,3.

In non-beam weapons it fires x shots at the same time, shotgun style.

Is it possible to set the shots to fire in sequence on non-beam weapons as well?
Maybe another flag with the time difference between them?

Thus creating a burst weapon effect.

Would this be easily implemented?
If so can it be...? :D

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
$shot field - An addition?
shots has many uses.

what you want is to use it with "cycle", then shots will specify how many weapons will fire at once. if shots is more than the number of guns on the ship you will get the shotgun effect. using cycle by itself will create the chain fire mode, firing a single shot at a time and rotating like missile points.
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 Grug

  • 211
  • From the ashes...
$shot field - An addition?
What does cycle do?

Not quite sure on what your saying there.

The ship in question has only 1 primary firing point.

Is it already possibly to make a burst fire effect?

 

Offline aldo_14

  • Gunnery Control
  • 213
$shot field - An addition?
IIRC 'cycle' means that the ship fires out of each firing point (on the same bank) one after the other, rather than all at once as by default.

 

Offline Grug

  • 211
  • From the ashes...
$shot field - An addition?
Can you modify the timing between the cycles?

 

Offline aldo_14

  • Gunnery Control
  • 213
$shot field - An addition?
I don't know.  Might be just the refire wait time.

 

Offline Grug

  • 211
  • From the ashes...
$shot field - An addition?
That wouldn't work.

Basically I wan to pull the trigger once, fire 1,2,3 shots not all at once though. In sequence. So each time the trigger is pulled it fires x number of shots in sequence with t wait time in the sequence.

Say for eg:
$WaitTime: 0.6
$Shots: 2
$SequenceWaitTime: 0.1

So you shoot like this:
- - , - - ,  - - ,

Rather than:
= , = ,  = ,

Aka like the battle rifle in Halo2.

Is there anyway this can be done currently?
If not, is it possible to have it implemented?

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
$shot field - An addition?
oh he wants fire supression, the good old m-16 effect.
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 Grug

  • 211
  • From the ashes...
$shot field - An addition?
Yes.
*Light beams down from clouds*

*voices ring out* "HALL-A-ULYA!"
*Giant beard appears* "Shhh!"
*everything goes silent*


....

weeee...

So son, can it be done?

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
$shot field - An addition?
probibly, probibly an easy implement too. its just a mater of finding a coder who has time to implement it. id use it, hell i use everything :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 Grug

  • 211
  • From the ashes...
$shot field - An addition?
*Taps foot on floor and waits for volunteer coder to jump in*

I've had a nap now, so I'm feeling a little better... kinda.

Anyway, what's the chances this is going to happen?
I guess its not that vital, I've got bigger issues with wanting features implemented, such as the 'surface shields' flag.

I really, really need to get that flag working with all ships (ones without shield meshes, and the player ship).

 

Offline Sesquipedalian

  • Atankharz'ythi
  • 211
$shot field - An addition?
Does swarm work on primaries?  If so, that'd do what you want.
Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

The Scroll of Atankharzim | FS2 syntax highlighting

 

Offline Grug

  • 211
  • From the ashes...
$shot field - An addition?
...

I doubt it but I will check it out anyway...

If this works I'm going to jump off a small cliff...

 

Offline FireCrack

  • 210
  • meh...
$shot field - An addition?
I'm fairly sure it does.
actualy, mabye not.
"When ink and pen in hands of men Inscribe your form, bipedal P They draw an altar on which God has slaughtered all stability, no eyes could ever soak in all the places you anoint, and yet to see you all at once we only need the point. Flirting with infinity, your geometric progeny that fit inside you oh so tight with triangles that feel so right."
3.141592653589793238462643383279502884197169399375105820974944 59230781640628620899862803482534211706...
"Your ever-constant homily says flaw is discipline, the patron saint of imperfection frees us from our sin. And if our transcendental lift shall find a final floor, then Man will know the death of God where wonder was before."

 

Offline Grug

  • 211
  • From the ashes...
$shot field - An addition?
I tested it and the Swarm does nothing for Primary Weapons.

I don't suppose I could request someone from the SCP team to add another field to tie in with the Shots field.

Something like:

$Shots: 3 ;Number of shots fired.
$Burst Delay: 0.12 ;Time delay between each shot in seconds

Only downside is that Burst Delay x Shots has to be under FireWait or else overlapping would occur. But that's upto modders.

Would this be an easy thing to implement? If so, would someone be willing?
:D

 

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
$shot field - An addition?
Yeah, Swarm is what you want. I imagine if we were to code it for primaries as well it would be swell.
"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 Grug

  • 211
  • From the ashes...
$shot field - An addition?
Still need some way to control the delay between each shot.
The only thing you couldn't do with the above suggested method, would be have burst fire shotguns.

So maybe swarm is what we need. But still need some way to control the burst delay.

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
$shot field - An addition?
You can adjust the delay between swarm shots.  Just add "+SwarmWait:" right underneath the "$Swarm:" entry and add a x.x number, which is in seconds I believe.
The Trivial Psychic Strikes Again!

 

Offline Grug

  • 211
  • From the ashes...
$shot field - An addition?
Ah k.

In which case it just needs to be adjusted to work with primaries.
How hard can it be?

 

Offline Sesquipedalian

  • Atankharz'ythi
  • 211
$shot field - An addition?
Dunno.  I suggest PM'ing Bobbaou, Goober, Phreak, or WMCoolmon.  They have all messed around with weapon flags, IIRC.
Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

The Scroll of Atankharzim | FS2 syntax highlighting