Modding/Props

From SDG Wiki
< Modding
Revision as of 13:35, 29 March 2018 by User (talk | contribs)
Jump to: navigation, search

Template:Ambox/Documentation

Template:Ambox/Under construction

Props are actors used to build the level's environment. They are equivalent to the Objects in version 3.

Measurement Specifications

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

Buildings

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

Eavestroughs

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

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

  • 100x150
  • 150x150
  • 200x150
  • 250x150
  • 300x150
  • 350x150
  • 400x150

Upper Windows

  • 100x50
  • 150x50
  • 200x50
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

Here is a good reference for window types:

File:WindowReference.jpg

Sockets

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

Doors

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

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