Damage Decal Sheet Overview

From Starsector Wiki
Jump to navigation Jump to search

The damage decal sheet is a png sprite to by overlaid on ships that have suffered damage. It is defined in the hull_styles.json under the damageDecalSheet value.

The png is a 256x256 pixel canvas with 6 tiles. The tiles are in a 2 column 3 row arrangement against the bottom left corner of the canvas. Each tile is 48x48 pixels.

When a ship takes sufficient damage a random tile is chosen to overlay the ship. The middle row are ~56% likely and the other two rows ~22% chance each. The orientation of the tiles is random. The tiles can overlap and the bottom-most tile on the damage decal sheet will be on top in the overlap.

Any part of the ship sprite set to 100% transparency will not be overlaid by a damage decal.

Reference

Icon cross.png
At least two versions out of date. Last verified for version 0.8.1a. Please refer to Version History and update this page.

---

Return to Modding