Hi Alex and David!
I don't know if this can be considered a bug but it seems that in refit the mount indicators (blue circle, yellow box, white reticule) are drawn underneath decorative weapons.
Now most people won't have problems with this but I do since I am hiding the ship sprite underneath a decorative weapon which equals the ship sprite to hide vanilla damage textures.
This makes it very hard to actually click on the weapon mounts and swap out weapons, one can hardly see the slots partly because I didn't make visual indicators on the sprite itself.
In my opinion the mount indicators should be on top of everything.
Added a screenshot to show what I mean:Spoiler
(http://i.imgur.com/DbW5Jpn.png)
As soon as you hover over the mounts they get highlighted but on the left you can clearly see that the yellow box is underneath the decorative weapon.
PS: Sorry if this is the wrong subforum, I didn't really know where to post this.
Slot type is DECORATIVE.
{
"angle": 135,
"arc": 0,
"id": "WS0006",
"locations": [
56,
37
],
"mount": "TURRET",
"size": "SMALL",
"type": "DECORATIVE"
},
Still shows up in weapons groups in battles... unless I use the Auto button in the Weapon Groups editor. Hmm. Probably I can disable that "weapon" and remove it from all of the groups, though, via script, when it initializes. I'll go look at that.
Muahaha; laziest method ever. Run in a Decorative EveryFrameWeaponEffectPlugin in a one-time loop, to remove those pesky Decoratives from weapon groups automatically:
if(runOnce){
String weaponSlot = weapon.getSlot().getId();
List<WeaponGroupSpec> weaponGroups = weapon.getShip().getVariant().getWeaponGroups();
for(WeaponGroupSpec group : weaponGroups){
List<String> slots = group.getSlots();
String slotID = new String();
for(String slot : slots){
if(slot.equalsIgnoreCase(weaponSlot)){
slotID = slot.toString();
}
}
if(slotID.equalsIgnoreCase(weaponSlot)) group.removeSlot(slotID);
}
}
I think that's one for the Code Dump, lol.