The Driver Syndicate/Level Editor/Prefabs: Difference between revisions

From Equilibrium Engine Wiki
Jump to navigation Jump to search
(Created page with "== Viewport controls == '''Placement mode''' # Choose prefab from the list using double click # Ctrl + Mousewheel: adjusts the height of placement # Space: rotate by 90 degrees # ESC: cancel placement '''Creation mode''' # Select the region by dragging mouse with left button pressed # Press Create button on the panel # Edit mode: Select a prefab and press edit to edit the prefab.")
 
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Prefabs allows to store commonly used/repeptetive level parts as a prefabs to use them later as a building blocks for faster creation of the cities.
Prefabs are saved in separate files located in the editor_prefabs folder within the addon folder belonging to the opened level. This also allows you to share them with other users or mods/addons because you can simply copy the files.
== Viewport controls ==
== Viewport controls ==
'''Placement mode'''
Camera control remains the same as described in [[The Driver Syndicate/Level Editor#Viewport controls|Level Editor Viewport controls]]
 
=== Placement mode ===
# Choose prefab from the list using double click
# Choose prefab from the list using double click
# Ctrl + Mousewheel: adjusts the height of placement
# Ctrl + Mousewheel: adjusts the height of placement
Line 7: Line 11:
# ESC: cancel placement
# ESC: cancel placement


=== Creation mode ===
# Select the region by dragging mouse with left button pressed (first make sure that no prefab is selected)
# Press Create button on the panel


'''Creation mode'''
== Prefab manager panel ==
[[File:Prefab manager tool.png|thumb|Overview of the prefab manager panel]]


# Select the region by dragging mouse with left button pressed
=== Search and filter ===
# Press Create button on the panel
Enter a name to show specific prefabs in the list
# Edit mode: Select a prefab and press edit to edit the prefab.
 
=== Prefabs ===
Also see above in Viewport controls
 
To edit prefab simply select it from the list using double click and press Edit button. Note that it will close current level
 
Delete: deletes selected prefab
 
=== Placement ===
 
==== Height position ====
Bottom on tile: the prefab is placed at the set height above the marked tile based on the height at which the prefab was originally created.
 
Top on tile: the prefab is placed with the highest tile it contains at the set height above the marked tile.
 
Exact height: the prefab is placed with the highest tile it contains at the set height.
 
==== Height ====
Set here the height for placing the prefab on.

Latest revision as of 09:18, 13 January 2025

Prefabs allows to store commonly used/repeptetive level parts as a prefabs to use them later as a building blocks for faster creation of the cities.

Prefabs are saved in separate files located in the editor_prefabs folder within the addon folder belonging to the opened level. This also allows you to share them with other users or mods/addons because you can simply copy the files.

Viewport controls

Camera control remains the same as described in Level Editor Viewport controls

Placement mode

  1. Choose prefab from the list using double click
  2. Ctrl + Mousewheel: adjusts the height of placement
  3. Space: rotate by 90 degrees
  4. ESC: cancel placement

Creation mode

  1. Select the region by dragging mouse with left button pressed (first make sure that no prefab is selected)
  2. Press Create button on the panel

Prefab manager panel

Overview of the prefab manager panel

Search and filter

Enter a name to show specific prefabs in the list

Prefabs

Also see above in Viewport controls

To edit prefab simply select it from the list using double click and press Edit button. Note that it will close current level

Delete: deletes selected prefab

Placement

Height position

Bottom on tile: the prefab is placed at the set height above the marked tile based on the height at which the prefab was originally created.

Top on tile: the prefab is placed with the highest tile it contains at the set height above the marked tile.

Exact height: the prefab is placed with the highest tile it contains at the set height.

Height

Set here the height for placing the prefab on.