Modding/Props

From SDG Wiki
Jump to: navigation, search

Documentation icon.png This page provides official documentation.
This page is officially maintained by Smartly Dressed Games, and serves as documentation to walk you through a specific task or feature.

Props are actors used to build the level's environment in Unturned II. They are equivalent to the Unturned's "objects."

Measurement Specifications[edit]

Keeping dimensions consistent between props is important to maintain a cohesive art style.

Buildings[edit]

Type Specs
Room Height 3m
Foundation Depth 1m below lowest doorway
Wall Width 25cm
Normal Doorway 1.75m wide by 2.25m tall

Eavestroughs[edit]

These are the metal pipes around slanted rooftops that collect water and route them away from the building. They are part of the building's higher detail meshes. A good workflow for creating them is to:

  1. Block out a layout for the eavestroughs in a new layer without insetting anything. In official props this is called Eavestrough_Base_Src.
  2. Once a nice design is complete copy the base and inset tops/bottoms of pipes.
  3. Create another copy and delete all insignificant faces for LOD1.
Type Specs
Trough Top 2.5cm lower than roof
Trough Top Width 25cm
Trough Bottom Width 20cm
Trough Inset 5cm inward and 20cm downward
Trough Extension Past End of Wall 5cm
Pipe Length Top of curve 60cm above ground
Pipe Curve Down 25cm and outward 25cm, rotated 90 degrees
Pipe Inset 5cm inward
Pipe Brackets 10cm from top/bottom

Windows[edit]

One issue in version 3 was inconsistent window sizing which meant buildable barricades couldn't properly cover them. While not implemented yet, version 4 has several default window sizes to generally follow. Breakable glass and frame props will be designed to fit these window sizes.

Normal Windows[edit]

  • 100 cm × 150 cm
  • 150 cm × 150 cm
  • 200 cm × 150 cm
  • 250 cm × 150 cm
  • 300 cm × 150 cm
  • 350 cm × 150 cm
  • 400 cm × 150 cm

Upper Windows[edit]

  • 100 cm × 50 cm
  • 150 cm × 50 cm
  • 200 cm × 50 cm
Trim
Type Specs
Lower Lip Trim 5cm above/below, and 10cm out to the sides
Edge Trim 5cm above/below, and 5cm out to the sides

Sockets[edit]

Sockets are used in prop meshes to make composite props easier to create, such as attaching doors to door frames. Sockets can be imported from modeling applications by prefixing their name with "SOCKET_" in all caps.

Doors[edit]

Door sockets are placed at ground level in the center of doorways. They should be oriented with the X axis pointing outward from the room, and the Z axis pointing upward.

They should be named SOCKET_Door_(Dimensions)_(##). For example the front door to a house might be: SOCKET_Door_175x225_03

Windows[edit]

Window sockets are placed in the center of windows. They should be oriented with the X axis pointing outward from the room, and the Z axis pointing upward.

They should be named SOCKET_Window_(Dimensions)_(##). For example a 200cm by 150cm window might have a socket named: SOCKET_Window_200x150_49