Author Topic: Did fighter flak weapons ever became a reality?  (Read 3098 times)

0 Members and 1 Guest are viewing this topic.

Offline Fury

  • The Curmudgeon
  • 213
Did fighter flak weapons ever became a reality?
Many years ago people did try to get fighter flak working, the best result back then was that it required a direct hit before flak exploded. I haven't been following modding for many years but I did search but it turned up nothing useful regarding the topic. What kind of flak type weapons are possible on fighter primaries these days?

Just curious. :)

 

Offline Darius

  • 211
Re: Did fighter flak weapons ever became a reality?
I've been using one of Steve-O's primaries which is meant to simulate a proximity grenade launcher, but is in essence fighter flak. It doesn't need a direct hit to explode like normal primaries, and as far as I can tell behaves just like normal capship flak.

The effect can be seen at :51 in this vid.

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Did fighter flak weapons ever became a reality?
Several different kinds of 'flaks'. Perhaps the most simple one is just a fighter/bomber weapon with 'flak' flag. This causes the weapon to detonate when it reaches the distance where the target is supposed to be... though it happens regardless of current targets position. With properly set fof value it looks quite a bit like a fighter flak.

Then there is the option of using various methods for checking distance to the target or from the firing ship (detonation range/radius) though i am not 100% if these work only on missile weapons.

And of course the option of making use of lua scripting for setting the flak detonations.
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Fury

  • The Curmudgeon
  • 213
Re: Did fighter flak weapons ever became a reality?
Very interesting, seems like the old problems were resolved. Thanks for your replies. One of these days I should return to FS modding., though the amount of new stuff is overwhelming.

 
Re: Did fighter flak weapons ever became a reality?
One of the T-M ships in the Teeth of the Tiger uses Flak guns as primaries. They work without problems.
'Teeth of the Tiger' - campaign in the making
Story, Ships, Weapons, Project Leader.

 

Offline ShadowGorrath

  • Not funny or clever
  • 211
Re: Did fighter flak weapons ever became a reality?
Same in EW. There's a flak-like weapon that uses the flak physics, and works great.

 

Offline asyikarea51

  • 210
  • -__-||
Re: Did fighter flak weapons ever became a reality?
One thing I don't like about flak weapons is that they don't play ball with visible primaries (blip.pof on the gun normal WTF) and the pre-launch weapon selection screen (a rotating blip.pof?!)...

But it works and some 'hacking' around can be done with regards to the above... XD :lol:

 

Offline Woolie Wool

  • 211
  • Fire main batteries
Re: Did fighter flak weapons ever became a reality?
That is what "crapboxthing.pof" in the OTT dump is for. It's completely invisible.
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 Kiloku

  • 27
  • Buzzbuzz!
Re: Did fighter flak weapons ever became a reality?
That got me thinking, why not make flak shots invisible? Traditionally, in games like Combat Flight Simulator, you can only see the flak explosions. Might be really cool to do it. Maybe it's easy, but I suck at doing anything :P
If I remove the .pof from the TBL related to Flak, would it work or just crash the game?
Potato!

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Did fighter flak weapons ever became a reality?
flak really just uses particles with no other graphics. there is no way to have flak weapons use a model or a laser effect. particle spews are optional, i think. likewise there is no real way to make a weapon that doesn't have effects (aside from all black bitmaps or invisible models), which runs a lot of code which need not be run. i think these are problems which should be addressed.

ive been saying for years that weapon behavior should be separated from weapon effects. all flak should do is detonate the shot when the range is reached and not have any effect on what gets rendered. then another tag or flag should be added that allows you to make a weapon that doesnt have a model or laser parameters.

same goes for some features of beams. such as charging and discharging, should be moved out of the beam section and into the general weapon flags. then used for any weapon. ammo and energy usage should be based on what the energy and ammo settings on the weapon say, not whether the weapon is primary or secondary or if it uses a ballistics flag. i dont see why we need ballistics flag at all, just make the code say if we have x ammor and y energy and we have enough of each, fire. we use some swarm hacks to make secondary weapons ripple fire like primaries and a cycle flag to get primaries to fire like secndaries.

i see lots of redundancy which could be removed. of course that causes other problems, like hoards of modders getting pissed cause they have to edit their tables, or reverse compatibility thumpers going nuts. so make a retail patch for the root folder to fix incompatibilities and deprecated syntax.

also did we ever get a prox flag? which instead of using the targets range from the gun, uses the shots distance to the target as the trigger. i think that would be cool.
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 Commander Zane

  • 212
  • Spoot Knight of Anvils
Re: Did fighter flak weapons ever became a reality?
Actually for some reason flak has the Hornet.pof, I usually see that in the F3 viewer.

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Did fighter flak weapons ever became a reality?
yes, because volition was too lazy to do it right :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 asyikarea51

  • 210
  • -__-||
Re: Did fighter flak weapons ever became a reality?
One question, does that Detonation Range thing work in current builds, or is it still a waiting game to 3.7?

(OFT: what about $Warpin type: in 3.7? There's only BTRL and default while the 3.6.9 section has more flags to it for instance...??? :doubt:)

Just asking... but yeah it's tempting enough to have all those new flags to play with in the table XD

@ WW

Didn't know about that. I just changed blip.pof's texture. That crapboxthing's filesize smaller? Thanks for telling~ XD

 

Offline ssmit132

  • 210
  • Also known as "Typhlomence"
    • Steam
    • Twitter
Re: Did fighter flak weapons ever became a reality?
same goes for some features of beams. such as charging and discharging, should be moved out of the beam section and into the general weapon flags. then used for any weapon.
This would be a nice feature for gatling gun weapons.

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Did fighter flak weapons ever became a reality?
that already works when using weapon models, and ive said time and time again thats not how gatlings work. gatlings fire once every time a barrel passes the firing position, regaurdless of how fast theyre spining. so theres a spinup / spindown time where the gun is firing but has not reached maximum firing rate.
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 ssmit132

  • 210
  • Also known as "Typhlomence"
    • Steam
    • Twitter
Re: Did fighter flak weapons ever became a reality?
Okay, for some other type of weapon that warms up, then. You shouldn't need to have a model to do it.

  

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Did fighter flak weapons ever became a reality?
whats gonna happen is were gonna have 20 flags that do the same thing.

keep appearance and functionality separate!
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