User:Astraltor/References

From Official Barotrauma Wiki
Jump to: navigation, search

Here we have some reference data, mostly pertaining to submarine building.

Sprite Depth

Default Sprite Depths
Sprite Depth Thing
0.010 Turrets and periscope
0.060 submarine shells
0.100 Duct Block, Chairs
0.180 Eggs
0.200 Mucus Balls, Chitin
0.500 Characters and Fire
0.510 Ladders, Doors, Hatches
0.540 Crates
0.550 Diving suits, Tools, Weapons and their projectiles
0.600 Medicine, Most Gear
0.610 Ladder steps
0.700 Pet Food
0.750 Planter Boxes
0.800 Most items, installations, Ballast Flora
0.840 Cabinets
0.850 Cable Holders, Bunks
0.855 Wires
0.899 cutoff for walls being unlit by "draw behind sub" lights.
0.910 Vents
0.970 Background Wall/decorations

Additionally, some items have a span of depths

Items with depth spans
Main Depth Range Item Description
0.510 0.610 Ladder Steps
0.800 0.840 Fabricator, Deconstructor various decorative bits
0.800 0.860 Oxygen Generator (not shuttle/outpost) tubes
0.910 0.920 Vent fan
0.950 0.990 Mineral, Seeds, and Small, Medium, and Large weapon display shelves Light, Glass, Contents, Textures at 0.01 intervals
0.980 0.960 Office windows Window Border

Notes

  • Characters using installations (beds, ladders, chairs) will take on the depth of the ladder steps
  • 0.899 cutoff is a bug and may be fixed sometime
  • items and installations have a max depth of 0.900 (bug?)
  • this list isn't necessarily 100% complete
  • I tend to use depths around 0.801 - 0.849 for decoration that is to show in front of wires and 0.856 - 0.899 for behind-wires/background items.