User Tools

Site Tools


This is an old revision of the document!


The Entity Inspector Dialog

This dialog is opened by selecting Entity Inspector from The Edit Menu.

The dialog contains 3 tabs that are used to find/select entities in the map, to edit the entities properties and to create/edit map scripts.

List

This tab contains a list of all entities in this map, that is filterable with different filter options.

  • Entity list: A list of all entities in this map consisting of the entities class and name (if available). The list is filtered by the given filter options below. Clicking on a list entry selects the entity in the map. You can selected multiple entities here as well by holding down the CTRL or SHIFT key when clicking on a list entry.
  • Go to: Centers the views onto the selected entity from the list.
  • Delete: Deletes the selected entity from the list and the map.
  • Filter
    • Brush Entities: Show brush entities in list.
    • Point Entities: Show point entities in list.
    • Include hidden Entities: Show hidden entities in list.
    • By Key/Value: Filter the list by a specific key/value pattern in the entity properties.
    • Exact: Toggles if the key/value pattern has to be exact the same or if a partial match counts.
    • By Entity Class: Filters the list by entities from a specific entity class.

Properties

This tab shows the properties of the currently selected entity/entities. It starts with a text item containing information about the number and type of the currently selected entity/entities. The top-left button is used to switch between a categoric and alphabetical view of the property grid. Below you find a list of properties, followed by a help text containing the currently selected property's name, description and property type.

There are 3 different categories for properties:

  • Class Keys: Keys that are defined by an entities class and therefore mandatory for this entity.
  • Undefined Keys: Keys that are not defined by the entities class and added to the entity manually.
  • Mixed Keys: Keys that are only used by a subset of the currently selected entities or have different types for different entity classes. Keys in this category can not be edited.

The background color of each property identifies the state of its value. There are 4 different states a value can have:

  • The property's value matches the default value defined by the entities class and only used by one entity (light blue color).
  • The property's value is a custom value defined by the user and only used by one entity (no color).
  • The property's value matches the default value defined by the entities class and only used by more than one entity (darker blue color).
  • The property's value is a custom value defined by the user and only used by more than one entity (light orange color).

Since Mixed Keys can't be edited, their background is always white and the property is disabled.

To edit a property you have to click in it's editor field (right column) and enter a value. Note that properties can have different types and their input fields may only accept specific values (integers for example). Some input field have an additional editor button, that can be used to set the property's value. Examples are a file chooser for model files or a color picker for color properties.

Map Script

FIXME This section will be created later.

mapping/cawe/dialogs/entityinspector.1203688068.txt.gz ยท Last modified: 2013-01-07 12:07 (external edit)