Missiles can talk?

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

Moderators: winston, another_commander, Getafix

Post Reply
Astrobe
---- E L I T E ----
---- E L I T E ----
Posts: 609
Joined: Sun Jul 21, 2013 12:26 pm

Missiles can talk?

Post by Astrobe »

I saw a missile targeting an offender say "Thank you for your assistance, Galcop Viper".

AFAIK the only OXZ that affects missile AI is my missile modification which is a simple hack of the standard AI with regard to ECM response.
User avatar
Redspear
---- E L I T E ----
---- E L I T E ----
Posts: 2687
Joined: Thu Jun 20, 2013 10:22 pm
Location: On the moon Thought, orbiting the planet Ignorance.

Re: Missiles can talk?

Post by Redspear »

Sorry, of no help here but talking missiles?
Hmmm...

Standard missile: "Special Delivery for you!"
Hardened missile: "Go on! ECM me! Drain those energy banks, I dare you!"
Astrobe
---- E L I T E ----
---- E L I T E ----
Posts: 609
Joined: Sun Jul 21, 2013 12:26 pm

Re: Missiles can talk?

Post by Astrobe »

It reminded me of a short story from Azimov, The Feeling Of Power. I suspect that this oddity may have the same cause: that missile may have had a pilot inside.
Fleurghber
Dangerous
Dangerous
Posts: 93
Joined: Sat Oct 07, 2017 1:24 pm

Re: Missiles can talk?

Post by Fleurghber »

Or perhaps Dark Star, where they're given AI to ensure they do the job properly.
UK_Eliter
---- E L I T E ----
---- E L I T E ----
Posts: 1248
Joined: Sat Sep 12, 2009 11:58 pm
Location: Essex (mainly industrial and occasionally anarchic)

Re: Missiles can talk?

Post by UK_Eliter »

I've seen this sort of thing happen too. An entity is ending up with the wrong AI, or whatever code does the message sending isn't paying enough attention to AIs or ship types. We'd need one of the developers of the core game to say more, I think.
User avatar
hoqllnq
Commodore
Commodore
Posts: 154
Joined: Sun Jan 08, 2006 7:32 pm

Re: Missiles can talk?

Post by hoqllnq »

The talking missile was probably piloted by a criminal.

Image
Astrobe
---- E L I T E ----
---- E L I T E ----
Posts: 609
Joined: Sun Jul 21, 2013 12:26 pm

Re: Missiles can talk?

Post by Astrobe »

To be honest, this bug is sometimes so hilarious that I wouldn't mind if it were not fixed (for instance, by checking that the entity actually has a pilot, I've seen that property somewhere I think). For instance, I've see Vipers trying to reason with stellar serpents. I would say it's actually a cute bug.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Re: Missiles can talk?

Post by another_commander »

Is this reproducible in Strict Mode? Are we sure that it is a bug in core related to not checking for piloted entities rather than an OXP that (probably unwillingly) assigns pilots to missiles?
Astrobe
---- E L I T E ----
---- E L I T E ----
Posts: 609
Joined: Sun Jul 21, 2013 12:26 pm

Re: Missiles can talk?

Post by Astrobe »

Playing in strict mode isn't exactly appealing and I don't see talking missiles that often. Maybe a script could detect that them and dump enough info to give some clues on where they come from?
gizmo
Deadly
Deadly
Posts: 157
Joined: Mon Nov 22, 2010 2:40 pm
Location: aboard the "Kiss of Time"

Re: Missiles can talk?

Post by gizmo »

That already happened in the past ...
https://bb.oolite.space/viewtopic.php?f= ... 45#p242687
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Re: Missiles can talk?

Post by another_commander »

Potential fix (please test, I understand this is not a common occurrence):
File oolite.app\Resources\Scripts\oolite-priorityai.js, function PriorityAIController.prototype.responseComponent_standard_shipAttackerDistracted = function(whom), line 5291:
Change

Code: Select all

if (last != whom)
to

Code: Select all

if (last != whom && this.ship.crew && this.ship.crew.length > 0)
Astrobe
---- E L I T E ----
---- E L I T E ----
Posts: 609
Joined: Sun Jul 21, 2013 12:26 pm

Re: Missiles can talk?

Post by Astrobe »

Done.
Post Reply