Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Editable entities. More...
Data Structures | |
class | SCR_SlotCompositionComponent |
Entity composition which is supposed to fit into a slot. More... | |
class | SCR_EditableEntityComponent |
class | SCR_EditorCameraDefaultsComponent |
class | SCR_DelegateFactionManagerComponent |
class | SCR_EditableEntityCore |
Enumerations | |
enum | EEditableEntityAccessKey { DEFAULT = 1 << 0, KEY_1 = 1 << 1, KEY_2 = 1 << 2, KEY_3 = 1 << 3, KEY_4 = 1 << 4, KEY_5 = 1 << 5, KEY_6 = 1 << 6, KEY_7 = 1 << 7, KEY_8 = 1 << 8, KEY_9 = 1 << 9, KEY_10 = 1 << 10, KEY_11 = 1 << 11, KEY_12 = 1 << 12, KEY_13 = 1 << 13, KEY_14 = 1 << 14, KEY_15 = 1 << 15, KEY_16 = 1 << 16, KEY_17 = 1 << 17, KEY_18 = 1 << 18, KEY_19 = 1 << 19, KEY_20 = 1 << 20, KEY_21 = 1 << 21, KEY_22 = 1 << 22, KEY_23 = 1 << 23, KEY_24 = 1 << 24, KEY_25 = 1 << 25, KEY_26 = 1 << 26, KEY_27 = 1 << 27, KEY_28 = 1 << 28, KEY_29 = 1 << 29, KEY_30 = 1 << 30 } |
enum | EEditableEntityFlag { PLACEABLE = 1 << 0, VIRTUAL = 1 << 1, HAS_FACTION = 1 << 2, LOCAL = 1 << 3, NON_INTERACTIVE = 1 << 4, SLOT = 1 << 5, HORIZONTAL = 1 << 6, STATIC_POSITION = 1 << 7, LAYER = 1 << 8, GAME_HIERARCHY = 1 << 9, ORIENT_CHILDREN = 1 << 10, NON_DELETABLE = 1 << 11, IGNORE_LAYERS = 1 << 12, INDIVIDUAL_CHILDREN = 1 << 13, NON_SERIALIZABLE = 1 << 14, HAS_AREA = 1 << 15, DIRTY_HIERARCHY = 1 << 16, LINKED_CHILDREN = 1 << 17, SPAWN_UNFINISHED = 1 << 18, FREE_ROAM_BUILDING_AI = 1 << 19 } |
Unique flags of the entity. More... | |
enum | EEditableEntityRegister { ALWAYS, WHEN_SPAWNED, NEVER } |
enum | EEditableEntitySaveFlag { PLAYER = 1 << 0, DESTROYED = 1 << 1, NOT_SPAWNED = 1 << 2 } |
enum | EEditableEntityState { UNLOCKED = 1 << 0, VISIBLE = 1 << 1, RENDERED = 1 << 2, ACTIVE = 1 << 3, INTERACTIVE = 1 << 4, SELECTED = 1 << 5, FOCUSED = 1 << 6, HOVER = 1 << 7, PLAYER = 1 << 8, COMPATIBLE_SLOT = 1 << 9, CURRENT_LAYER = 1 << 10, PREVIEW = 1 << 11, EDITED = 1 << 12, PINGED = 1 << 13, EXTENDABLE = 1 << 14, DESTROYED = 1 << 15, COMMANDED = 1 << 16, HIGHLIGHTED = 1 << 17, CURRENT_LAYER_CHILDREN = 1 << 18, AUTONOMOUS = 1 << 19, BASE_BUILDING = 1 << 20 } |
enum | EEditableEntityType { GENERIC, GROUP, CHARACTER, VEHICLE, WAYPOINT, ITEM, COMMENT, FACTION, TASK, SYSTEM, SLOT } |
Defines type of SCR_EditableEntityComponent. Assigned automatically based on IEntity inheritance. More... | |
enum | EEditorRadialMenuType { ACTIONS, COMMANDS } |
Unique radial menus used in the editor, radialmenus can use the same component for data handeling, this allows them to be categorized by enum type instead. More... | |
Variables | |
SCR_EditableCharacterComponentClass | m_Agent |
Special configuration for editable character. More... | |
SCR_EditableDecalComponentClass | m_Decal |
SCR_EditableGroupComponentClass | m_Group |
Special configuration for editable group. More... | |
SCR_EditablePreviewComponentClass | m_SourceEntity |
Special configuration to show icon of SCR_BasePreviewEntity ghost preview. More... | |
SCR_EditableSpawnPointComponentClass | m_SpawnPoint |
Editable SCR_SpawnPoint. More... | |
SCR_EditableSystemComponentClass | m_FactionAffiliationComponent |
Editable entity which can contain location description. More... | |
SCR_EditableTaskComponentClass | m_Task |
Editable SCR_BaseTask. More... | |
SCR_EditableVehicleComponentClass | m_CompartmentManager |
Special configuration for editable wehicle. More... | |
SCR_EditableWorldEntityComponentClass | m_OwnerLink |
Editable world entity, managed by SCR_WorldEntityDelegateEditorComponent. More... | |
SCR_EditorLinkComponentClass | s_bIgnoreSpawning |
Editable entities.
Unique entity keys. For editor users to edit or even see an entity, at least one of their editor keys must match the entity's keys. For example, if the entity has KEY_1 and KEY_2, while the editor has KEY_2 and KEY_8, the entity will be available, since both have KEY_2.
Definition at line 8 of file EEditableEntityAccessKey.c.
enum EEditableEntityFlag |
Unique flags of the entity.
Enumerator | |
---|---|
PLACEABLE | Entity is not available in the content browser (read by class EditableEntityCollector, not in run-time) |
VIRTUAL | Entity is represented by virtual objects that have to be updated. |
HAS_FACTION | Entity can have faction assigned. |
LOCAL | Entity is not a legit editable entity, but merely a light-weight preview posing as an editable entity. |
NON_INTERACTIVE | Entity cannot be selected and transformed. |
SLOT | When extending the entity with other entities, check also for prefab parents (slots usually inherit from base classes for cross-compatibility) |
HORIZONTAL | Don't orient the entity to terrain normal when transforming. |
STATIC_POSITION | Entity can be placed only on its pre-defined position. |
LAYER | Can the entity be 'entered' as a layer? |
GAME_HIERARCHY | Should the orignal game hierarchy be preserved instead of flattened upon init? |
ORIENT_CHILDREN | When transforming the entity, children wil be oriented to terrain instead of being glued to the entity. |
NON_DELETABLE | Entity cannot be deleted. |
IGNORE_LAYERS | When enabled, the entity will be shown even when not in current layer. |
INDIVIDUAL_CHILDREN | Entity children can be interacted with individually, even when the entity is not the current layer. |
NON_SERIALIZABLE | When enabled, entity will not be serialized when session is saved. |
HAS_AREA | Entity has an area, e.g., a trigger or a spawn point. |
DIRTY_HIERARCHY | Entity was changed by the user. |
LINKED_CHILDREN | Entity spawns children using SCR_EditorLinkComponent. |
SPAWN_UNFINISHED | Should entity spawning be handled by Editor or some external system. |
FREE_ROAM_BUILDING_AI | AI spawned by Free Roam Building. |
Definition at line 5 of file EEditableEntityFlag.c.
Auto-registration type. When SCR_EditableEntityComponent is created, this decides whether it should be added to the list of editable entities or not. When registered, this value is set to -1, which then marks the entity is registered. Upon unregistering, the value is set to ALWAYS,
Definition at line 10 of file EEditableEntityRegister.c.
State of editable entity (SCR_EditableEntityComponent) saved in mission save file.
Not related to EEditableEntityState, although there may be overlapping values.
Definition at line 9 of file EEditableEntitySaveFlag.c.
enum EEditableEntityState |
State of editable entity (SCR_EditableEntityComponent).
Entities of each state are managed by SCR_EntitiesManagerEditorComponent.
There is a strict order in which entities of various states are nested. For example, ACTIVE entity is always VISIBLE and UNLOCKED.
States on the same level can overlap, e.g., ACTIVE entity can also be RENDERED.
Definition at line 37 of file EEditableEntityState.c.
enum EEditableEntityType |
Defines type of SCR_EditableEntityComponent. Assigned automatically based on IEntity inheritance.
Enumerator | |
---|---|
GENERIC | Default entity type (inherited from GenericEntity) |
GROUP | AI Group (inherited from AIGroup) |
CHARACTER | Human character (inherited from ChimeraCharacter) |
VEHICLE | Vehicle with crew slots inside (inherited from Vehicle) |
WAYPOINT | AI Waypoint (inherited from AIWaypoint) |
ITEM | Inventory item. |
COMMENT | Comment visible only in the editor. |
FACTION | Faction registered in FactionManager. |
TASK | |
SYSTEM | Player task (inherited from SCR_BaseTask) |
SLOT | Scripted mechanics. Editor slots for composition building |
Definition at line 5 of file EEditableEntityType.c.
Unique radial menus used in the editor, radialmenus can use the same component for data handeling, this allows them to be categorized by enum type instead.
Enumerator | |
---|---|
ACTIONS | Action menu used for context actions (neutralize, heal, delete) |
COMMANDS | Command menu which will instantly set the selected command (move, defend) |
Definition at line 5 of file EEditorRadialMenuType.c.
SCR_EditableEntityMaterialChildComponentClass SCR_EditableEntityBaseChildComponentClass Attribute | ( | "" | , |
UIWidgets. | ResourcePickerThumbnail, | ||
"" | , | ||
"emat" | |||
) |
Change material based on specific states.
SCR_EditableEntityBaseChildComponentClass ScriptComponentClass Attribute | ( | "0" | , |
UIWidgets. | Flags, | ||
"" | , | ||
enums:ParamEnumArray. | FromEnumEEditableEntityState | ||
) |
Base class for child editable entity component.
When this component is attached to editable entity or one of its children in hierarchy (default hierarchy, not editor one), it will receive events when state of the editable entity changes. Used to manage visualization of entity avatar's, e.g., to show virtual entity and change its color when it's selected.
SCR_EditableDescriptorComponentClass SCR_EditableSystemComponentClass Attribute | ( | "300" | , |
UIWidgets. | Slider, | ||
"Detect locations within this radius." | , | ||
params:"0 10000 1" | |||
) |
Editable entity which can contain location description.
Special configuration for editable faction.
Special configuration for editable faction.
SCR_EditableCommentComponentClass SCR_EditableEntityComponentClass Attribute | ( | category:"Comment" | , |
defvalue:"1 1 1 1" | |||
) |
Apply custom attributes on given text widget.
textWidget | Modified text |
Definition at line 11 of file SCR_EditableCommentComponent.c.
SCR_EditableEntityVisibilityChildComponentClass SCR_EditableEntityBaseChildComponentClass EOnStateChanged | ( | EEditableEntityState | states, |
EEditableEntityState | changedState, | ||
bool | toSet | ||
) |
Show editable entity only when its state is RENDERED.
Event called every time state of editable entity changes.
[in] | states | currently active states |
[in] | changedState | changed state |
[in] | toSet | true if the state was enabled, false if it was disabled |
Definition at line 12 of file SCR_EditableEntityVisibilityChildComponent.c.
SCR_EditableMineComponentClass SCR_EditableSystemComponentClass OnPostInit | ( | IEntity | owner | ) |
Editable Mine.
Called on PostInit when all components are added.
Called after all components are initialized.
owner | Entity this component is attached to. |
Returns XP reward skill
[in] | reward |
Definition at line 12 of file SCR_EditableMineComponent.c.
SCR_EditableWaypointComponentClass SCR_EditableEntityComponentClass RplProp | ( | onRplName:"OnPreWaypointIdRpl" | ) |
Special configuration for editable waypoint.
Definition at line 11 of file SCR_EditableWaypointComponent.c.
SCR_EditablePlayerDelegateComponentClass SCR_EditableEntityComponentClass RplProp | ( | onRplName:"OnRplPlayerID" | ) |
Editable entity representing a player. Used to guarantee player representation even when controlled entity is not present (e.g., player is dead)
Definition at line 12 of file SCR_EditablePlayerDelegateComponent.c.
Special configuration for editable character.
SCR_EditableVehicleComponentClass m_CompartmentManager |
Special configuration for editable wehicle.
SCR_EditableDecalComponentClass m_Decal |
Component for managing editable decal entities. It handles changing decal transformation. Moving or rotating DecalEntity has no effect ont he decal itself, so the component deletes existing decal and creates a new one with the new transformation.
How to configure prefab with this component:
SCR_EditableSystemComponentClass m_FactionAffiliationComponent |
Editable entity which can contain location description.
SCR_EditableGroupComponentClass m_Group |
Special configuration for editable group.
SCR_EditableWorldEntityComponentClass m_OwnerLink |
Editable world entity, managed by SCR_WorldEntityDelegateEditorComponent.
SCR_EditablePreviewComponentClass m_SourceEntity |
Special configuration to show icon of SCR_BasePreviewEntity ghost preview.
SCR_EditableSpawnPointComponentClass m_SpawnPoint |
Editable SCR_SpawnPoint.
Editable SCR_BaseTask.
SCR_EditorLinkComponentClass s_bIgnoreSpawning |
Link which creates replicated entity. To be use in composition prefabs which cannot contain nested replicated entities;