Skip to content

LevelObjects

Christian Haas edited this page Aug 21, 2021 · 5 revisions

While the geometry of the level is defined by the tile map that can be modified in the "Level Tiles" window, the content of individual tiles on this map can be populated with Object Types (Items Hacker can pick up, interact with as well as traps that trigger actions).

Object Types are categorised in Object Classes. Each Level can store up to 871 Object Types which are further limited per objects allowed per Object Class.

The upside-down view of the tile map also shows an icon for each object in the level. Level Objects can be placed and properties modified with the "Level Objects" window.

Level Object Insertion / Deletion

To add a new object to the level, select the Object Class followed by its Object Type and open the context menu in the map anywhere inside a tile. Open the context menu with a single click of the secondary mouse button (the right button by default). The object will then be placed at the position of the mouse cursor, roughly at floor level. You can also do a CTRL + secondary mouse button click to skip the context menu.

By holding down SHIFT+CTRL while clicking and pointing the mouse cursor to the sides or edges of a tile, the Level Object will be placed and automatically fixed on this tiles side or edge.

Be sure to watch out for the level-specific limits on objects. The class selection also shows how many objects of the class are in the level / possible.

To remove an object, have at least one selected and click the Delete button in the "Level Objects" window, or use the corresponding context menu entry.

Level Object Selection

To view and modify the properties of one or more level objects with the "Level Objects" window, the following selection operations are possible:

  • Single click of the primary mouse button sets the selection to the object that was clicked on. Any other object is deselected.
  • Ctrl + single click of the primary mouse button toggles the selection of the clicked object. Does not affect any other selection.

Changing the selection of a tile also affects the selection of objects. When a tile is selected, all its contained objects are selected too. When a tile is deselected, all its contained objects are deselected as well. Changing the tile on the tile map with the "Level Tiles" window does not change selected objects even though they are selected when the tile is selected.

When there are several level objects close together (or even stacked upon each other), pressing and holding the Ctrl key while using the mousewheel will switch through the nearby objects, including the underlying tile. This can then be combined with Ctrl + single clicking (or just single clicking) for selection.

Level Object Property Types

When an object is selected, its Property Types can be displayed and modified in the "Level Objects" window. Each object got Base-, Extra-, and Class Properties. Clicking with the primary mouse button opens or collapses each Property Types display.

  • Base Properties - Properties that are the same for all objects. Base Properties allow to modify where in a tile an object is placed

    • Z determines the height value of an object inside a tile. Keyboard shortcuts V, F, and R place all selected items on the floor, at eye-height, and at the ceiling, respectively.
    • TileX , TileY specify in which tile on the tile map the object is placed e.g. T=30/22
    • FineX , FineY specify where inside a tile on the tile map the object is placed:
    • FineX=0 places the object to the west side, FineX=128 in the middle and FineX=255 to the east side of a tile
    • FineY=0 places the object to the south, FineY=128 in the middle and FineY=255 to the north side of a tile
    • Rotation X , Rotation Y and Rotation Z rotate the object in degree clockwise on the associated axis.
    • Hitpoints determines how much Healthpoints an object got with value 0 for indestructible and 1 or higher for destructible. The initial value is taken from the object's default properties.
  • Extra Properties - Depending on what Object Type is selected, this properties change according to the selected object

  • Class Properties - Depending on what Object Type is selected, this properties change according to the selected object

Clone this wiki locally