Jump to content
Laserzwei

Cargo drones have the wrong WeaponCategory

Recommended Posts

When using Hangar():getSquadMainWeaponCategory(squad) on a cargo fighter squad it will return WeaponCategory.Armed.    For the unarmed drones

Share this post


Link to post
Share on other sites

awesome I will test that

Edit: tested it in a new 0.16 Galaxy, Hangar():getSquadMainWeaponCategory() will return 0(=WeaponCategory.Armed) for a cargo-fighters only squad. (and 1 for miners and 2 for salvagers)

So this bug is still here

Share this post


Link to post
Share on other sites

combat-fighters, miners and salvagers are recognised correctly, fighters with healing beams not tested, and cargo-fighters are recognized wrongly as Armed. Probably because there is no Cargo-Enum

Share this post


Link to post
Share on other sites

my brief jump into 0.16 was all the scav and miner guns on my ship also were recognized as armed. additionally, the unarmed ship system was being counted as armed, so loading up i had 8 armed slots instead of 4.

Share this post


Link to post
Share on other sites

my brief jump into 0.16 was all the scav and miner guns on my ship also were recognized as armed. additionally, the unarmed ship system was being counted as armed, so loading up i had 8 armed slots instead of 4.

sadly your issue is very unlikely related.

The issue of cargo drones being counted as WeaponType.Armed was already in 0.15.x, my Carrier command mod even has some code to work around that.

But I've read about civilian turrets being counted as military all of the sudden in 0.16

Share this post


Link to post
Share on other sites

Very weird, it didn't happen to me. My Misao jumped from 0.15.8 to 0.16.1 with 6 bolters and a scavenger gun, and they all registered as 6 armed and 1 unarmed. (Maybe it was one of the things that was patched from 0.16.0 ?)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...