Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

Missle wouldn't hit

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
Chrisfs
---- E L I T E ----
---- E L I T E ----
Posts: 433
Joined: Sun Sep 20, 2009 10:24 am
Location: California

Missle wouldn't hit

Post by Chrisfs »

I fired a normal missle at a ship (an Asp) and was able to see the whole flight on the front view. It headed straight for the ship and then rather then hit it, it circled around the target ship as if in orbit about twenty times before simply disappearing. It was quite strange behaviour. Though missle shouldn't be so fast as unavoidable, this seems clearly unable to to any damage at all.
User avatar
Cmdr James
Commodore
Commodore
Posts: 1357
Joined: Tue Jun 05, 2007 10:43 pm
Location: Berlin

Post by Cmdr James »

This is caused by the missile flying towards the ship is right now, not aiming for where it will be when it gets there (does that make sense?).

There was some work done to "fix" it, so now the missile accuracy is used to work out how well it can calculate the correct position of the target.
Chrisfs
---- E L I T E ----
---- E L I T E ----
Posts: 433
Joined: Sun Sep 20, 2009 10:24 am
Location: California

Post by Chrisfs »

So I have been paying a bit more attention. The asp was pretty far away.
I fired a missle at a cobra that was closer and watched that he indeed did all sorts of evasive manuevers and the missle kept making these broad passes.

From a distance, it could have been that there was not enough detail and perspective to see it the first time, though I think I will keep an eye on it some more.
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Missle wouldn't hit

Post by Eric Walch »

Chrisfs wrote:
I fired a normal missle at a ship (an Asp) and was able to see the whole flight on the front view. It headed straight for the ship and then rather then hit it, it circled around the target ship as if in orbit about twenty times before simply disappearing. It was quite strange behaviour. Though missle shouldn't be so fast as unavoidable, this seems clearly unable to to any damage at all.
Not hitting directly is quite deliberate. I don't know how it works now, but in the old 1.65 code there was a "accuracy" parameter that could be defined in shipdata. When setting at most accurate, the missile went straight on its goal. When no accuracy was given, like with the standard missiles, a random accuracy was selected for each missile.
User avatar
Cmdr Wyvern
---- E L I T E ----
---- E L I T E ----
Posts: 1649
Joined: Tue Apr 11, 2006 1:47 am
Location: Somewhere in the great starry void

Post by Cmdr Wyvern »

So want some improved native missiles?

Here's how to do it.

Create a Config directory in your AddOns.
Navigate to %installed directory%Oolite/oolite.app/Resources/Config/.
Copy shipdata.plist to AddOns/Config/.
Open the AddOns/Config/shipdata.plist in a text editor. I highly recommend anything but Windows Notepad for that, use Notepad++ instead.
Find "missile" and "ecm-proof-missile" (with quotes).
Add the line
accuracy = 5;
to each of the entries.
Save and close the file. Restart the game with the shift key held down, you're done!

A word of warning: If you do this, your missile shots will have a better chance of hitting your enemies. But their missiles will have a better chance of hitting you too, so make those tweaks at your own risk.
Running Oolite buttery smooth & rock stable w/ tons of eyecandy oxps on:
ASUS Prime X370-A
Ryzen 5 1500X
16GB DDR4 3200MHZ
128GB NVMe M.2 SSD (Boot drive)
1TB Hybrid HDD (For software and games)
EVGA GTX-1070 SC
1080P Samsung large screen monitor
User avatar
drew
---- E L I T E ----
---- E L I T E ----
Posts: 2190
Joined: Fri May 19, 2006 9:29 am
Location: In front of a laptop writing a book.
Contact:

Post by drew »

That's your classic Faulcon De Lacy HM3 homing missile...

I put those in the Snoopers OXP and nicknamed them the MISS-ile, as in

"Has anyone actually hit anything with one of those?" :lol:

Cheers,

Drew.
Drew is an author of SF and Fantasy Novels
WebsiteFacebookTwitter
User avatar
harry747
Deadly
Deadly
Posts: 135
Joined: Mon Feb 23, 2009 8:57 pm
Location: England

Re: Missle wouldn't hit

Post by harry747 »

Chrisfs wrote:
I fired a normal missle at a ship (an Asp) and was able to see the whole flight on the front view. It headed straight for the ship and then rather then hit it, it circled around the target ship as if in orbit about twenty times before simply disappearing. It was quite strange behaviour. Though missle shouldn't be so fast as unavoidable, this seems clearly unable to to any damage at all.
reminds me of something i like to do in deus ex: fire a GEP rocket at a pigeon. the pigeon takes off, the rocket follows it, and if it manages to avoid ground-based objects, it'll literally run rings around the pigeon until it runs out of fuel and returns to earth on a ballistic trajectory :-)
MacBook pro, OSX 10.8.5, Xcode 5
Post Reply