Author Topic: Missile FAQ?  (Read 1856 times)

0 Members and 1 Guest are viewing this topic.

Offline Alan Bolte

  • 28
  • Deneb III
    • @Compellor
I am wondering exactly how missiles work in FS2. My searches of the forum haven't been very fruitful and the weapons table page in the wiki also hasn't been as helpful as I'd hoped. I was wondering if there was some FAQ somewhere that I didn't know about. Barring that, perhaps some of you could answer the following questions. I could just try to figure it out by trial and error, or reading the code, but I don't really know code and it would be nice if I could save some time. Perhaps I could add this info to the Wiki, which I'm sure will help some inexperienced modders.

If a ship takes a direct hit from a missile, does it take both the $Damage and $Blast force values, or just damage?

If I am reading this correctly, a missile's initial velocity is [$Velocity]/4+[your ship's current speed]. It flies at that velocity for 0.25 seconds, and then what? Does it immediately increase to its $Velocity, or does it accelerate? Does this mean that if the missile is slower than your ship it will slow down? Does the missile always travel in the direction it's pointing at its $Velocity, or does it have some kind of $Damp-like behavior?

Here's the big one: how does locking-on work? I'm totally clueless here. Is there some maximum angle off-boresight at which locking-on will begin? I assume this thing with pixels/sec has something to do with how fast the aspect triangle will approach the lead indicator, dependent on the minimum lock time and the angle of the target from boresight at any given time, but I can't begin to guess the specifics, or how the catch-up rate and penalty work.

Also important: how does a missile pursue its target? Aspect missiles try to lead the target, but do they do that by generating a lead indicator and flying straight for it, or is it more complicated than that? Do heat missiles just point themselves at a target? I hardly ever use them, so I don't really notice. I don't think I've seen them leading a target. Do they lose lock if the target leaves their view cone? I assume that's the point of the view cone.

I notice that Countermeasures have a default effective radius of 300. Does that mean that CMs only work on missiles within 300 meters? Will CMs spoof any enemy missile in that range, or just missiles locked on you? Is chance to spoof always 1/2 for aspect and 1/3 for heat (assuming this isn't a custom weapon), or are there any other issues that can affect spoof chance?

I've never even noticed, do spoofed missiles explode, fly straight, choose another target (e.g. the CM)? I recall in Wing Commander my spoofed heat seekers would inevitably hit my wingmen, I didn't notice if that was possible in WC Saga.
Anything worth doing is worth analyzing to death -Iranon

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Only damage, blast force is the 'whacking' or tossing away effect.

Missiles do accelerate but they do so very rapidly (essentially instant)

There is locking on limit, it could probably be made moddable as well. As for the workings of the specific options in the homing entry.. i haven't familiarized myself with those.

Missile view cones are checked from missiles pov.

Hmm... cant give anything certain of the rest of the missile questions atm.
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Aardwolf

  • 211
  • Posts: 16,384
I've occasionally seen my own missiles hit enemy countermeasures instead of the enemy.

 

Offline TacOne

  • 26
  • Dabbling Modder
About missile homing:

Aspect seekers lead.
Heat seekers lag.

Swarm lag, even if they're aspect.
Corkscrew doesn't modify as far as I can remember.

It's been a while since i tested this, but I think iẗ's accurate unless a new build came out when I wasn't looking.


 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
About missile homing:

Aspect seekers lead.
Heat seekers lag.

Swarm lag, even if they're aspect.
Corkscrew doesn't modify as far as I can remember.

It's been a while since i tested this, but I think iẗ's accurate unless a new build came out when I wasn't looking.

This is wrong. The Hornet aspect seeker lags. The Tornado swarm missile leads.

These properties are, I believe, set independently.

EDIT: or maybe I'm wrong and just being a dick. Sorry!
« Last Edit: July 04, 2009, 11:22:36 am by General Battuta »

 

Offline Qent

  • 29
The Tornado is not a considered a swarm missile. It's a corkscrew missile. There is no explicit lead/lag property that you can set AFAIK.

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Ooh, really? Cool. So maybe TacOne is right?

 

Offline Sushi

  • Art Critic
  • 211
If I am reading this correctly, a missile's initial velocity is [$Velocity]/4+[your ship's current speed]. It flies at that velocity for 0.25 seconds, and then what? Does it immediately increase to its $Velocity, or does it accelerate? Does this mean that if the missile is slower than your ship it will slow down? Does the missile always travel in the direction it's pointing at its $Velocity, or does it have some kind of $Damp-like behavior?

Like Wanderer said, for all practical purposes acceleration is instantaneous. If the missile is slower than your ship, it will slow down (bombs for example). As far as I can tell, there is practically no dampening on missiles (at least after the first 0.25 seconds, which is configurable with the "Free Flight Time" option). I could be wrong about the dampening though.

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Reading from the code... Aspect seekers and javelins (engine seekers) factor in the target lead unless the target is close to the missile or if the math can not give good position prediction. So... technically aspect and javelin seekers use lead pursuit while heat seekers use pure pursuit.
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Ace

  • Truth of Babel
  • 212
    • http://www.lordofrigel.com
It'd be nice to have a flag that sets lead or pure pursuit for missiles.
Ace
Self-plagiarism is style.
-Alfred Hitchcock

  

Offline TacOne

  • 26
  • Dabbling Modder
Yap, it would.
Someone (can't remember who) said they'd look into it the last time when I suggested it, but i suppose it got put on the backburner.