Author Topic: Question about flak weapons  (Read 2689 times)

0 Members and 1 Guest are viewing this topic.

Offline Fury

  • The Curmudgeon
  • 213
Question about flak weapons
How exactly does FS determine when to detonate a flak projectile and how is size of the target taken into account?

 

Offline Snail

  • SC 5
  • 214
  • Posts: ☂
Re: Question about flak weapons
I think it was either shield mesh or radius. But I don't know anything.

 

Offline Davros

  • 29
Re: Question about flak weapons
Dont flak projectiles use a proximity fuse or the code equivalent

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Question about flak weapons
no they are told what distance they will travel before they detonate, they dont use a prox fuse. the distance is set when the flak shells are fired, they go that far, and then blow up.
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 Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Question about flak weapons
Are you referring to reality, or FS2?
That's how it works (or used to work, IIRC) in real life, are you sure that it's the same in FS?

 

Offline Fury

  • The Curmudgeon
  • 213
Re: Question about flak weapons
I think it was either shield mesh or radius. But I don't know anything.
Not a valid hypothesis since flaks can be used against unshielded targets as well.

no they are told what distance they will travel before they detonate, they dont use a prox fuse. the distance is set when the flak shells are fired, they go that far, and then blow up.
Do you know this is how the code works or is it an assumption based on observation?

I guess I'm trying to find out if it is possible to utilize the flak weapon code to create different weapons, but this isn't possible without knowing how exactly the engine determines when flak shells detonate. Of course, being able to alter that detonation distance would be step two.

For example, one could do a weapon that has some delay added to the flak detonation distance. Meaning you get direct hits with it, but it detonates very soon after missing its presumed target. I can only guess the detonation distance is somehow based on target model's radius, distance and projectile velocity, so adding a radius multiplier could do wonders. This way the additional delay is directly proportional to target's radius.
« Last Edit: January 25, 2011, 06:56:36 am by Fury »

 

Offline Iss Mneur

  • 210
  • TODO:
Re: Question about flak weapons
no they are told what distance they will travel before they detonate, they dont use a prox fuse. the distance is set when the flak shells are fired, they go that far, and then blow up.
Do you know this is how the code works or is it an assumption based on observation?
The engine picks a range based on the distance of the target and the "accuracy" of the gun.  This range is then randomized a bit so that the guns are less lethal and to make the "cool cone pattern."  However, during the pre-tick a flak weapon may be detonated early if the target is within detonation range.

The engine does not appear to take the size of the target in account at all.
"I love deadlines. I like the whooshing sound they make as they fly by." -Douglas Adams
wxLauncher 0.9.4 public beta (now with no config file editing for FRED) | wxLauncher 2.0 Request for Comments

 

Offline ION3

  • 27
Re: Question about flak weapons
It appears to aim at subsystems with big ships.

  

Offline MatthTheGeek

  • Captain Obvious
  • 212
  • Frenchie McFrenchface
Re: Question about flak weapons
All turrets tend to target subsystems IIRC.
People are stupid, therefore anything popular is at best suspicious.

Mod management tools     -     Wiki stuff!     -     Help us help you

666maslo666: Releasing a finished product is not a good thing! It is a modern fad.

SpardaSon21: it seems like you exist in a permanent state of half-joking misanthropy

Axem: when you put it like that, i sound like an insane person

bigchunk1: it's not retarded it's american!
bigchunk1: ...

batwota: steele's maneuvering for the coup de gras
MatthTheGeek: you mispelled grĂ¢ce
Awaesaar: grace
batwota: oh right :P
Darius: ah!
Darius: yes, i like that
MatthTheGeek: the way you just spelled it it means fat
Awaesaar: +accent I forgot how to keyboard
MatthTheGeek: or grease
Darius: the killing fat!
Axem: jabba does the coup de gras
MatthTheGeek: XD
Axem: bring me solo and a cookie