User:Astraltor/References: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
No edit summary
Line 1: Line 1:
Here we have some reference data, mostly pertaining to submarine building.
Here we have some reference data, mostly pertaining to submarine building.
__TOC__


==Sprite Depth==
==Sprite Depth==
Line 78: Line 80:
* Moving shells behind 0.500 will result in the damage mask not being displayed - i.e., there will be no visual damage to the shells.
* Moving shells behind 0.500 will result in the damage mask not being displayed - i.e., there will be no visual damage to the shells.


== Console stuff ==
Unordered list of questionable [[Console Commands]].
{| class="wikitable"
! Main command
! Parameter 1
! Parameter 2
! Notes
|-
|setentityproperties
|Indestructible
|true / false
|sets the item as invincible, won't take damage when hit etc
|-
|setentityproperties
|maxhealth
|Infinity / -Infinity / NaN
|Infinity results in empty health bar
-Infinity appears to be the same as 0 maxhealth (wall doesn't take damage and has no collision, and no LOS blocking either)
NaN seems to set the wall to leak water heavily, has full collision, and is visually very weird.
|-
|}
== Useful Pages ==
== Useful Pages ==
* [[Walls]] a page detailing each wall by name + its HP. TL;DR: bow-stern: 400, external shells: 200, shuttle/glass: 50, interior: 75. These are only the default HPs, it can be changed (See steam guide: "Diving deeper into the sub editor")
* [[Walls]] a page detailing each wall by name + its HP. TL;DR: bow-stern: 400, external shells: 200, shuttle/glass: 50, interior: 75. These are only the default HPs, it can be changed (See steam guide: "Diving deeper into the sub editor")
* [[Autofill Tags]] autofill generates items in containers so you don't have to! Useful for giving ships some minor randomization, as well as for wrecks. And slightly future proofs for new items.
* [[Autofill Tags]] autofill generates items in containers so you don't have to! Useful for giving ships some minor randomization, as well as for wrecks. And slightly future proofs for new items.
* Undertow discord (link should be on sidebar and main page of wiki)
* Undertow discord (link should be on sidebar and main page of wiki)
* [[Submarine_Editor#Steam_Guides|Steam guides]]
* Some basic and advanced [[Submarine_Editor#Steam_Guides|Steam guides]]

Revision as of 07:22, 9 April 2022

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 Most holdable items and weapon projectiles
0.600 Medicine, Most Gear aside from suits
0.610 Ladder steps
0.700 Pet Food
0.750 Planter Boxes
0.780 Gravity Sphere Base
0.800 Most installations, Ballast Flora, Wiring Components
0.840 Cabinets, Gravity Sphere Sphere
0.850 Cable Holders, Bunks
0.855 Wires
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.780 0.840 Gravity Sphere Base is closer
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 go slightly behind the depth of the furniture (Exception: Periscopes?)
  • 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.
  • Moving shells behind 0.500 will result in the damage mask not being displayed - i.e., there will be no visual damage to the shells.

Console stuff

Unordered list of questionable Console Commands.

Main command Parameter 1 Parameter 2 Notes
setentityproperties Indestructible true / false sets the item as invincible, won't take damage when hit etc
setentityproperties maxhealth Infinity / -Infinity / NaN Infinity results in empty health bar

-Infinity appears to be the same as 0 maxhealth (wall doesn't take damage and has no collision, and no LOS blocking either)

NaN seems to set the wall to leak water heavily, has full collision, and is visually very weird.

Useful Pages

  • Walls a page detailing each wall by name + its HP. TL;DR: bow-stern: 400, external shells: 200, shuttle/glass: 50, interior: 75. These are only the default HPs, it can be changed (See steam guide: "Diving deeper into the sub editor")
  • Autofill Tags autofill generates items in containers so you don't have to! Useful for giving ships some minor randomization, as well as for wrecks. And slightly future proofs for new items.
  • Undertow discord (link should be on sidebar and main page of wiki)
  • Some basic and advanced Steam guides