User:Astraltor/References: Difference between revisions
From Official Barotrauma Wiki
Jade Harley (talk | contribs) mNo edit summary |
|||
Line 22: | Line 22: | ||
|0.500 || Characters and [[Maintenance#Fire|Fire]] | |0.500 || Characters and [[Maintenance#Fire|Fire]] | ||
|- | |- | ||
|0.510 || Ladders, Doors | |0.509 || Hatches | ||
|- | |||
|0.510 || Ladders, Doors | |||
|- | |- | ||
|0.540 || Crates | |0.540 || Crates | ||
Line 32: | Line 34: | ||
| 0.610 || Ladder steps | | 0.610 || Ladder steps | ||
|- | |- | ||
|0.700 || Pet Food | |0.700 || Hatch background, Pet Food | ||
|- | |- | ||
|0.750 || Planter Boxes | |0.750 || Planter Boxes | ||
Line 45: | Line 47: | ||
|- | |- | ||
|0.855 || Wires | |0.855 || Wires | ||
|- | |||
|0.890 || Door background | |||
|- | |- | ||
|0.910 || Vents | |0.910 || Vents | ||
Line 59: | Line 63: | ||
|- | |- | ||
|0.510 || 0.610 || Ladder || Steps | |0.510 || 0.610 || Ladder || Steps | ||
|- | |||
|0.509 || 0.700 || Hatch || Hatch background | |||
|- | |- | ||
|0.780 || 0.840 || Gravity Sphere || Base is closer | |0.780 || 0.840 || Gravity Sphere || Base is closer | ||
Line 65: | Line 71: | ||
|- | |- | ||
|0.800 || 0.860 || Oxygen Generator (not shuttle/outpost)|| tubes | |0.800 || 0.860 || Oxygen Generator (not shuttle/outpost)|| tubes | ||
|- | |||
|0.510 || 0.890 || Doors || Door background | |||
|- | |- | ||
|0.910 || 0.920 || Vent || fan | |0.910 || 0.920 || Vent || fan | ||
Line 76: | Line 84: | ||
* Characters using installations (beds, ladders, chairs) will go slightly behind the depth of the furniture (Exception: Periscopes?) | * 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?) | * items and installations have a max depth of 0.900 (bug?) | ||
* 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. | * 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. | * 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. | ||
* this list isn't necessarily 100% complete | |||
* This list is accurate to the best of my knowledge | |||
== Console stuff == | == Console stuff == |
Revision as of 19:24, 7 August 2022
Here we have some reference data, mostly pertaining to submarine building.
Sprite Depth
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.509 | Hatches |
0.510 | Ladders, Doors |
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 | Hatch background, 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.890 | Door background |
0.910 | Vents |
0.970 | Background Wall/decorations |
Additionally, some items have a span of depths
Main Depth | Range | Item | Description |
---|---|---|---|
0.510 | 0.610 | Ladder | Steps |
0.509 | 0.700 | Hatch | Hatch background |
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.510 | 0.890 | Doors | Door background |
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?)
- 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.
- this list isn't necessarily 100% complete
- This list is accurate to the best of my knowledge
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 "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)
- The official submarine editor guide