Scanclass CLASS_MISSILE and lasers

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

Moderators: winston, another_commander, Getafix

Post Reply
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Scanclass CLASS_MISSILE and lasers

Post by Thargoid »

Not sure if this classes as a bug or a feature, but from testing on my drones OXP, it looks like ships with scanclass CLASS_MISSILE can't fire lasers, even if they're equipped with them.

Tried various AI's with such a ship, plus spawning ships from a mine and giving them CLASS_MISSILE and CLASS_NEUTRAL (as separate entities of course), and only the latter actually zaps anything.

So far the drones are working if they're mine-spawned, but not launched as missiles. I guess it's perhaps something in the trunk scripting?
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Re: Scanclass CLASS_MISSILE and lasers

Post by JensAyton »

Thargoid wrote:
Not sure if this classes as a bug or a feature
It’s… a limitation. :-)
Last edited by JensAyton on Tue Aug 26, 2008 4:19 pm, edited 1 time in total.
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

I shan't ask if it's a deliberate one or not. I'll just work around it :wink:
Post Reply