Design
WebsiteGitHubGitBook
  • โœ๏ธDesign Intro
    • Gameplay Summary
    • Art Style
  • ๐Ÿ•น๏ธBasic Game Mechanics
    • ๐Ÿ–ฅ๏ธUser Interface
      • Server Hub
      • Server Lobby
        • Edit Character
      • Game
        • Player HUD
        • In-game Settings
        • Inventory
        • Radial Menu
        • Misc. UI Elements
        • Windows
    • ๐ŸŽฎControls
    • ๐Ÿ”ฆField of Vision
    • ๐Ÿ”Examine
    • ๐Ÿ–๏ธInteractions
      • Move
      • Activate
      • Access
    • โณRounds
  • ๐Ÿ›ฐ๏ธEnvironment
    • ๐Ÿ—บ๏ธTilemaps
      • Stations
      • Planets
      • Tile Objects
        • Airlocks
    • โ˜๏ธAtmospherics
      • Gas Substances
    • ๐ŸงฉConnectables
      • Basic Adjacency Connections
      • Advanced Adjacency Connections
      • Window Divider Adjacency Connections
      • Counter Adjacency Connections
      • Directional Adjacency Connections
      • Disposal Adjacency Connections
        • Disposal Furniture Connections
      • Pipe Adjacency Connections
        • Pipe Furniture Connections
      • Transit Tube Adjacency Connections
      • Wire Adjacency Connections
      • Airlock Adjacency Connections
    • ๐Ÿ—๏ธConstruction
      • Construction Recipes
        • Walls / Windows
        • Doors
      • Menu and User Case
      • Propositions and Suggestions
    • ๐Ÿ”“Crew Access
    • โšกElectricity
      • Power Grid
    • ๐Ÿ“žCommunication Systems
  • ๐Ÿ‘ซEntities
    • ๐ŸŽฅRoles
      • ๐Ÿ“‹Crew
        • Nanotrasen
        • Command
        • Security
        • Engineering
        • Medical
        • Science
        • Supply
        • Civilian
        • Silicons
      • Antagonists
        • Primary Antags
        • Secondary Antags
      • Ghosts
    • ๐Ÿง™โ€โ™‚๏ธCharacters
      • Player Characters
      • NPCs
    • ๐ŸŒก๏ธHealth
      • Stamina
      • Damage
      • Body Systems
        • Organs
          • Lungs
          • Heart
        • Blood
        • Oxygen
        • Pain
        • Death
        • Body parts volume
      • Healing
        • Surgery
    • โš”๏ธCombat
      • Combat Mode
        • Help
        • Harm
        • Grab
        • Hold
        • Push
        • Toss and Throw
        • Items
          • Melee
          • Ranged
      • Melee combat
  • ๐Ÿ”ฆItems
    • ๐Ÿ“ŒHold Positions
    • ๐Ÿ•Food
    • ๐ŸงฐContainers
  • ๐ŸŽฌActions
    • ๐Ÿ› ๏ธCrafting
      • Makeshift, simple Crafting
      • Advanced Crafting
      • Specialized Crafting
    • โš—๏ธChemistry
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
Export as PDF
  1. Environment
  2. Connectables

Pipe Adjacency Connections

PreviousDisposal Furniture ConnectionsNextPipe Furniture Connections

Last updated 1 month ago

Was this helpful?

Pipe connections use the โ€œPipe Adjacency Connectorโ€ script. Pipe connections are based on the basic connections and are also similar to the disposal connections.

Pipes have 4 layers, the first 3 layers reside in the plenum below the floor with the disposals, while the final layer rests just above the floor.

Youโ€™ll quickly notice that pipe layers 2 & 4 are centered, while layers 1 & 3 are offset. Due to the offset nature of layers 1 & 3 they require additional model shapes and use a more complex connector script (see the โ€œOffset Pipe Adjacency Connectionsโ€ section below).

Pipe Layers 2 & 4 work just like basic connections (โ€œUโ€, โ€œIโ€, โ€œLโ€, โ€œTโ€, and โ€œXโ€) with one exception. This exception is defined below:

Broken - A special โ€œUโ€ type variant which replaces a variant when it gets abruptly destroyed.

Similar to disposals, 2 โ€œIโ€ shaped pipes can cross each other perpendicularly. Although they are clipping through each other, they are not joined like an โ€œXโ€ shape.

Unlike disposals, pipes have another overlapping property. 2 โ€œLโ€ shaped pipes can coexist on the same tile as long as they are oriented opposite of each other. (In SS13 the pipes clip in this situation but we designed our models to prevent clipping here.)

Offset pipe connections use the โ€œOffset Pipe Adjacency Connectorโ€ script. Offset pipe connections are based on the regular pipe connections and exist on pipe layers 1 & 3.

The primary difference between the pipe and offset pipe connections is what the name implies, the offset pipes are offset. Due to them being offset, they cannot simply be rotated for different orientations. To solve this, we use additional models for the different orientations. These offset shapes are defined below:

U1 - A โ€œUโ€ type variant which connects to the north OR west (rotate 90ยฐ).

U2 - A โ€œUโ€ type variant which connects to the south OR east (rotate 90ยฐ).

Broken1 - A special โ€œUโ€ type variant which connects to the north OR west (rotate 90ยฐ).

Broken2 - A special โ€œUโ€ type variant which connects to the south OR east (rotate 90ยฐ).

I - A regular โ€œIโ€ type variant which connects to the north and south OR east and west (rotate 90ยฐ).

L1 - A โ€œLโ€ type variant which connects to the north and east (not meant to be rotated).

L2 - A โ€œLโ€ type variant which connects to the north and west (not meant to be rotated).

L3 - A โ€œLโ€ type variant which connects to the south and east (not meant to be rotated).

L4 - A โ€œLโ€ type variant which connects to the south and west (not meant to be rotated).

T1 - A โ€œTโ€ type variant which connects to the south, east, and west (not meant to be rotated).

T2 - A โ€œTโ€ type variant which connects to the north, east, and west (not meant to be rotated).

T3 - A โ€œTโ€ type variant which connects to the north, west, and south (not meant to be rotated).

T4 - A โ€œTโ€ type variant which connects to the north, east, and south (not meant to be rotated).

X - A regular โ€œXโ€ type variant which connects to all 4 cardinal directions (not meant to be rotated).

Offset Pipe Adjacency Connections

๐Ÿ›ฐ๏ธ
๐Ÿงฉ