Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Projectile tracking: torpedoes may "flee" ship #2341

Closed
lheckemann opened this issue Mar 30, 2017 · 11 comments
Closed

Projectile tracking: torpedoes may "flee" ship #2341

lheckemann opened this issue Mar 30, 2017 · 11 comments
Labels
mechanics Things dealing with the mechanics & code of how the game works
Milestone

Comments

@lheckemann
Copy link
Contributor

lheckemann commented Mar 30, 2017

This is hard to reproduce, but occasionally torpedoes will turn in the wrong direction and end up travelling away from the targeted ship if said ship is following them at a slightly higher speed, i.e. the ship would eventually catch up to them. I think it would make more sense for them to turn around in this situation.

It's tended to occur when I'm being attacked by advanced republic ships with the typhoon torpedoes.

EDIT: Can be reproduced quite easily by chasing a ship that is equipped with a typhoon torpedo launcher and is flying away from you.

@gunqqer
Copy link
Contributor

gunqqer commented Mar 30, 2017

I think this is intended. Some missile's tracking system isn't perfect. Check your local outfitter for missile weapons and in the stats you'll see something like "radar tracking 90%" or "optical tracking 50%" etc.

Edit: it's the homing attribute, not tracking

@lheckemann
Copy link
Contributor Author

No, I believe that causes the tracking to deactivate part of the time. In this case, the tracking is actually causing the projectile to go in the completely wrong direction, which I'm pretty sure shouldn't be happening.

@Amazinite
Copy link
Collaborator

This is based off of the homing attribute, not the tracking attribute.

@jafdy
Copy link
Contributor

jafdy commented Mar 30, 2017

It is trying to reach the intercept point. It is just choosing the further away of the 2 points.

@ReimeiSky
Copy link
Contributor

ReimeiSky commented Mar 30, 2017

It is the homing attribute. I only ever see this with typhoon torpedoes, which are slow with excellent homing. It never happens with their lesser cousins.

I'm too lazy busy to check for myself right now, but consider changing the typhoon's homing attribute to good homing.

@Lineth
Copy link
Contributor

Lineth commented Mar 30, 2017

Maybe you're just so tough torpedoes are afraid of you. :DDDDDD

@endless-sky
Copy link
Collaborator

It's happening because level 4 homing actually just uses an approximation rather than a mercilessly accurate tracking algorithm. But maybe I should add a level 5 homing that uses something more exact.

@Lorantine
Copy link
Contributor

@endless-sky that Pug ammo-less missile thing has tracking 5 (I bet for some reason), just saying in case that needs to be changed along

@ReimeiSky
Copy link
Contributor

ooh, moar homing levels

@gunqqer
Copy link
Contributor

gunqqer commented Mar 31, 2017

More homing levels... I wonder how well the new level will handle rediculusly high speeds

@endless-sky
Copy link
Collaborator

Fixed in ab33f19.

@endless-sky endless-sky added the mechanics Things dealing with the mechanics & code of how the game works label Apr 1, 2017
@endless-sky endless-sky added this to the 0.9.7 (done) milestone Apr 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mechanics Things dealing with the mechanics & code of how the game works
Projects
None yet
Development

No branches or pull requests

7 participants