Skip to content

Weapon sprites of ships with "isUnderneathHull" set to true go under other ship hulls #722

@Du4lity5151

Description

@Du4lity5151

What you were trying to do

The ship's weapon (e.g. on a Fighter/imperialMedium) with "isUnderneathHull" set to true in the ship's config file should show under its hull but not behind the station's hull when docked to it.

What actually happened

The weapon is invisible when docked to the station

How to reproduce

Step 1. Start a new game using the Loaded Imperial Large
Step 2. Switch to the Fighter ship (the heavy machine gun should automatically equip)
Step 4. Fly off the docking point slowly and notice the weapon reappears but is sticking out of the station

Game version

Commit 52b23c4

Log details

N/A

Operating System

Windows

Additional Info

The fix would most likely involve distinguishing the player's hull from NPCs' hulls when determining the weapon sprite's order of appearance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions