Page 1 of 1
Only one targeted missile per object
Posted: Sun Jun 12, 2011 9:13 pm
by SandJ
I think this only applies to one of the OXPs rather than the core game.
Where it is possible to target one of one's missiles at Target A, then switch to the next missile and point it at Target B and so on, I would like the option (I would be happy for it to be the normal behaviour, actually) for it to not be possible to target the same object twice.
I do NOT mean, fire a missile at Target A and be prevented from targetting another missile at Target A.
I DO mean, target a missile at Target A, do not fire it, and so be prevented from targetting another missile at Target A.
Could someone suggest the code for this, please?
Re: Only one targeted missile per object
Posted: Sun Jun 12, 2011 9:22 pm
by Cody
There are occasions when locking two missiles onto the same target is a very useful tactic.
Re: Only one targeted missile per object
Posted: Mon Jun 13, 2011 4:33 am
by Ganelon
I had an NPC opponent lately fire at least three missiles at me at once. Never saw that happen before, so I was a bit surprised. If they weren't simultaneous, they were close enough together that they appeared to be fired at the same time. I was at close range (less than 250 meters), so I saw the launch pretty well. Sorry I don't have a screenshot or more details, but three hardheads after you doesn't leave a lot of time for observations or screenies. LOL
I don't usually fire missiles close together (I'm a bit of a cheapskate when it comes to spending missiles), but I think there at least used to be a pause between how fast they could be fired, wasn't there?
Re: Only one targeted missile per object
Posted: Tue Jun 14, 2011 11:18 am
by Switeck
I added a delay between missile shots by NPC ships in my mod.
Re: Only one targeted missile per object
Posted: Wed Jun 15, 2011 4:35 pm
by Commander McLane
Ganelon wrote:I had an NPC opponent lately fire at least three missiles at me at once. Never saw that happen before, so I was a bit surprised. If they weren't simultaneous, they were close enough together that they appeared to be fired at the same time. I was at close range (less than 250 meters), so I saw the launch pretty well. Sorry I don't have a screenshot or more details, but three hardheads after you doesn't leave a lot of time for observations or screenies. LOL
I don't usually fire missiles close together (I'm a bit of a cheapskate when it comes to spending missiles), but I think there at least used to be a pause between how fast they could be fired, wasn't there?
That was a pretty common, even standard behaviour before Oolite 1.74 (I think), and is precisely the reason why the
missile_load_time
key was introduced. Seems your NPC doesn't yet use this key.