Eden Editor: Object: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 53: Line 53:
| <small><tt>Init</tt></small>
| <small><tt>Init</tt></small>
| [[String]]
| [[String]]
|-
| ''''''
| Pylons settings
|
| <small><tt>Pylons</tt></small>
|
|-
|-
| '''Position'''
| '''Position'''
Line 65: Line 71:
| <small><tt>rotation</tt></small>
| <small><tt>rotation</tt></small>
| [[Number]]
| [[Number]]
|-
| '''Size'''
| Transformation
| Area size in meters.
| <small><tt>size3</tt></small>
| [[Array]]
|-
| '''Shape'''
| Transformation
| Area shape.
Available options:
* '''Ellipse'''
* '''Rectangle'''
| <small><tt>IsRectangle</tt></small>
| [[Bool]]
|-
|-
| '''Placement Radius'''
| '''Placement Radius'''
Line 141: Line 163:
| [[String]]
| [[String]]
|-
|-
| '''Show Model'''
| '''Stance'''
| States
|
Available options:
* '''Default Stance'''
* '''Lie Down'''
* '''Crouch'''
* '''Stand Up'''
 
| <small><tt>unitPos</tt></small>
|
|-
| '''Enable Dynamic Simulation'''
| Special States
| Entity simulation is enabled only if the player or an enemy unit is nearby.
 
Note: Doesn't work on simple objects and it overwrites basic simulation settings.
| <small><tt>dynamicSimulation</tt></small>
| [[Number]]
|-
| '''Wake-Up Dynamic Simulation'''
| Special States
| Special States
| Show model and collisions. Even when disabled, the object will be simulated normally (e.g., soldiers will still be able to move and shoot).
| Controls unit capability to activate dynamically simulated entities.
| <small><tt>hideObject</tt></small>
| <small><tt>addToDynSimGrid</tt></small>
| [[Bool]]
| [[Number]]
|-
|-
| '''Enable Simulation'''
| '''Enable Simulation'''
| Special States
| Special States
| Enable simulation. When disabled, the object will freeze and ignore any input or collisions.
| When disabled, the object will freeze and ignore any input or collisions.
 
Note: This option doesn't have any effect on dynamically simulated objects.
| <small><tt>enableSimulation</tt></small>
| <small><tt>enableSimulation</tt></small>
| [[Bool]]
|-
| '''Simple Object'''
| Special States
| When enabled, the object will behave like a map object (e.g., houses or trees), which significantly saves performance.
Warning: This setting is enforced at the start of the scenario and is irreversible!
| <small><tt>objectIsSimple</tt></small>
| [[Bool]]
|-
| '''Show Model'''
| Special States
| Show model and collisions. Even when disabled, the object will be simulated normally (e.g., soldiers will still be able to move and shoot).
| <small><tt>hideObject</tt></small>
| [[Bool]]
| [[Bool]]
|-
|-
Line 163: Line 221:
| Set whether the character should become tired when moving or not. When disabled for player, the stamina bar will be hidden completely.
| Set whether the character should become tired when moving or not. When disabled for player, the stamina bar will be hidden completely.
| <small><tt>enableStamina</tt></small>
| <small><tt>enableStamina</tt></small>
| [[Bool]]
|-
| '''Revive Enabled'''
| Special States
| Enable revive for this unit.
| <small><tt>EnableRevive</tt></small>
| [[Bool]]
| [[Bool]]
|-
|-
Line 175: Line 239:
| Character face.
| Character face.
| <small><tt>face</tt></small>
| <small><tt>face</tt></small>
| [[String]]
|-
| '''Call Sign'''
| Identity
| Call sign used in radio protocol (e.g., leader will order 'Kerry, fall back' instead of generic '2, fall back'). It doesn't affect character's actual name; consider changing it as well so they match together.
Available options:
* '''No Call Sign'''
* '''Miller'''
* '''Reynolds'''
* '''Armstrong'''
* '''Nichols'''
* '''Tanny'''
* '''Frost'''
* '''Lacey'''
* '''Larkin'''
* '''Kerry'''
* '''Jackson'''
* '''McKendrick'''
* '''Levine'''
* '''James'''
* '''McKay'''
* '''Hardy'''
* '''Northgate'''
* '''Adams'''
* '''Bennett'''
* '''Campbell'''
* '''Dixon'''
* '''Everett'''
* '''Franklin'''
* '''Givens'''
* '''Hawkins'''
* '''Lopez'''
* '''Martinez'''
* '''OConnor'''
* '''Ryan'''
* '''Patterson'''
* '''Sykes'''
* '''Taylor'''
* '''Walker'''
* '''Amin'''
* '''Masood'''
* '''Fahim'''
* '''Habibi'''
* '''Kushan'''
* '''Jawadi'''
* '''Nazari'''
* '''Siddiqi'''
* '''Takhtar'''
* '''Wardak'''
* '''Yousuf'''
* '''Anthis'''
* '''Costa'''
* '''Dimitirou'''
* '''Elias'''
* '''Gekas'''
* '''Kouris'''
* '''Leventis'''
* '''Markos'''
* '''Nikas'''
* '''Nicolo'''
* '''Panas'''
* '''Petros'''
* '''Rosi'''
* '''Samaras'''
* '''Stavrou'''
* '''Ghost'''
* '''Stranger'''
* '''Fox'''
* '''Snake'''
* '''Razer'''
* '''Jester'''
* '''Nomad'''
* '''Viper'''
* '''Korneedler'''
| <small><tt>NameSound</tt></small>
| [[String]]
| [[String]]
|-
|-
Line 188: Line 328:
| <small><tt>pitch</tt></small>
| <small><tt>pitch</tt></small>
| [[Number]]
| [[Number]]
|-
| '''Insignia'''
| Identity
| Left shoulder insignia. Right shoulder insignia is reserved for a squad logo and cannot be changed by the scenario.
| <small><tt>unitInsignia</tt></small>
| [[String]]
|-
|-
| '''Probability of Presence'''
| '''Probability of Presence'''
Line 203: Line 349:
| '''Equipment Storage'''
| '''Equipment Storage'''
| Equipment Storage
| Equipment Storage
| |Contents of inventory storage available in ammo boxes and vehicles.
|  
| <small><tt>ammoBox</tt></small>
| <small><tt>ammoBox</tt></small>
| [[String]]
|-
| '''Datalink Send'''
| Electronics & Sensors
| Vehicle will broadcast targets tracked by its sensors to any other unit on the same side with datalink enabled.
| <small><tt>ReportRemoteTargets</tt></small>
| [[Bool]]
|-
| '''Datalink Receive'''
| Electronics & Sensors
| Vehicle will receive targeting and positional data from any other broadcasting vehicle on the same side.
| <small><tt>ReceiveRemoteTargets</tt></small>
| [[Bool]]
|-
| '''Datalink Position'''
| Electronics & Sensors
| Vehicle will broadcast its own position to any other unit on the same side with datalink enabled.
| <small><tt>ReportOwnPosition</tt></small>
| [[Bool]]
|-
| '''Emission Control'''
| Electronics & Sensors
| Radar EMCON rules for the AI
Available options:
* '''Default''' - AI will use the Radar when in Aware or Combat behavior.
* '''Active''' - AI will keep the Radar active and emitting at all times
* '''Off''' - AI will keep Radar silent at all times
| <small><tt>RadarUsageAI</tt></small>
| [[String]]
| [[String]]
|}
|}

Revision as of 10:14, 19 April 2017

An object is an entity with physical representation in the world. The player can see it as a model with textures, while the game recognizes its technical properties like the simulation type, collision geometry or damage.


Objects can be divided into three main types:


Character is a living entity controlled either by a player, or by an AI (Artificial Intelligence; sometimes also known as NPC - Non-Playable Character).

3den objectCharacters.jpg


Vehicle is an object which can have a crew composed of characters. A crewed vehicle has an effective commander, who can issue orders to the rest of the crew. The vehicle also inherits the side of the commander (i.e., BLUFOR pilot will render a helicopter BLUFOR as well).

3den objectVehicles.jpg


Prop is any other object without special functionality, for example, houses, fences or signs. Empty vehicles are not props. Animals are, mainly because they cannot be considered characters.

3den objectProps.jpg


An object is an entity type you will likely edit the most, so make sure to familiarize yourself with all its options.

Attributes

Info Development
Name Category Description Property Type
Type Type Object type. Can be changed only to another type of the same side,

e.g., you can change BLUFOR Car to BLUFOR Helicopter, but not to OPFOR Car or a Prop.

ItemClass String
Variable Name Init Unique system name. Can contain only letters, numbers and underscore. The name is not case sensitive, so 'someName' and 'SOMENAME' are treated as the same variables. Name String
Init Init Expression called upon at start. In multiplayer, it is called on every machine and for each player who joins in the progress. The variable 'this' refers to the affected object. Init String
' Pylons settings Pylons
Position Transformation World coordinates in meters. X goes from West to East, Y from South to North and Z is height above terrain. position Position3D
Rotation Transformation Local rotation in degrees. X is pitch, Y is roll and Z is yaw. rotation Number
Size Transformation Area size in meters. size3 Array
Shape Transformation Area shape.

Available options:

  • Ellipse
  • Rectangle
IsRectangle Bool
Placement Radius Transformation Placement radius in meters. The entity will start at a random position within the radius. placementRadius Number
Player Control Player in singleplayer. When enabled, the character will also be available in multiplayer and team switch ('Playable' status cannot be disabled individually in such case). ControlSP Bool
Playable Control When enabled, the character will appear as a slot in the multiplayer scenario lobby and in the list of roles available for team switch. ControlMP Bool
Role Description Control Multiplayer role description visible in the multiplayer lobby. When undefined, the object type name will be used by default. description String
Lock States Vehicle lock. When locked, characters outside of the vehicle will be unable to get in and those already inside will be forbidden from leaving.

Available options:

  • Unlocked - Anyone can get in
  • Default - Group leaders and anyone who was ordered in by their group leader can get in
  • Locked - No one can get in
  • Locked for players - Anyone except for players can get in
lock Number
Skill States General AI skill. The attribute does not allow for decreasing it below 20%, because AI behavior would be too simplified. skill Number
Health / Armor States Object health / armor. When close to 0%, the object will be destroyed. Health Number
Fuel States Vehicle fuel. fuel Number
Ammunition States General vehicle ammo state. ammo Number
Rank States Character rank. When a group leader is killed, the subordinate with the highest rank will take over.

Available options:

  • Private
  • Corporal
  • Sergeant
  • Lieutenant
  • Captain
  • Major
  • Colonel
rank String
Stance States

Available options:

  • Default Stance
  • Lie Down
  • Crouch
  • Stand Up
unitPos
Enable Dynamic Simulation Special States Entity simulation is enabled only if the player or an enemy unit is nearby.

Note: Doesn't work on simple objects and it overwrites basic simulation settings.

dynamicSimulation Number
Wake-Up Dynamic Simulation Special States Controls unit capability to activate dynamically simulated entities. addToDynSimGrid Number
Enable Simulation Special States When disabled, the object will freeze and ignore any input or collisions.

Note: This option doesn't have any effect on dynamically simulated objects.

enableSimulation Bool
Simple Object Special States When enabled, the object will behave like a map object (e.g., houses or trees), which significantly saves performance.

Warning: This setting is enforced at the start of the scenario and is irreversible!

objectIsSimple Bool
Show Model Special States Show model and collisions. Even when disabled, the object will be simulated normally (e.g., soldiers will still be able to move and shoot). hideObject Bool
Enable Damage Special States Set if the object can receive any damage. When a vehicle is invincible, its crew can still be killed. allowDamage Bool
Enable Stamina Special States Set whether the character should become tired when moving or not. When disabled for player, the stamina bar will be hidden completely. enableStamina Bool
Revive Enabled Special States Enable revive for this unit. EnableRevive Bool
Name Identity Character name, by default automatically generated based on faction. unitName String
Face Identity Character face. face String
Call Sign Identity Call sign used in radio protocol (e.g., leader will order 'Kerry, fall back' instead of generic '2, fall back'). It doesn't affect character's actual name; consider changing it as well so they match together.

Available options:

  • No Call Sign
  • Miller
  • Reynolds
  • Armstrong
  • Nichols
  • Tanny
  • Frost
  • Lacey
  • Larkin
  • Kerry
  • Jackson
  • McKendrick
  • Levine
  • James
  • McKay
  • Hardy
  • Northgate
  • Adams
  • Bennett
  • Campbell
  • Dixon
  • Everett
  • Franklin
  • Givens
  • Hawkins
  • Lopez
  • Martinez
  • OConnor
  • Ryan
  • Patterson
  • Sykes
  • Taylor
  • Walker
  • Amin
  • Masood
  • Fahim
  • Habibi
  • Kushan
  • Jawadi
  • Nazari
  • Siddiqi
  • Takhtar
  • Wardak
  • Yousuf
  • Anthis
  • Costa
  • Dimitirou
  • Elias
  • Gekas
  • Kouris
  • Leventis
  • Markos
  • Nikas
  • Nicolo
  • Panas
  • Petros
  • Rosi
  • Samaras
  • Stavrou
  • Ghost
  • Stranger
  • Fox
  • Snake
  • Razer
  • Jester
  • Nomad
  • Viper
  • Korneedler
NameSound String
Voice Identity Radio voice used in group communication (e.g., target reporting). speaker String
Voice Pitch Identity Voice pitch. Higher number means higher voice. pitch Number
Insignia Identity Left shoulder insignia. Right shoulder insignia is reserved for a squad logo and cannot be changed by the scenario. unitInsignia String
Probability of Presence Presence Probability of presence evaluated at the scenario start. When it fails, the object is not created at all. presence Number
Condition of Presence Presence Condition of presence evaluated at the scenario start, must return boolean expression. When false, the object is not created at all. presenceCondition String
Equipment Storage Equipment Storage ammoBox String
Datalink Send Electronics & Sensors Vehicle will broadcast targets tracked by its sensors to any other unit on the same side with datalink enabled. ReportRemoteTargets Bool
Datalink Receive Electronics & Sensors Vehicle will receive targeting and positional data from any other broadcasting vehicle on the same side. ReceiveRemoteTargets Bool
Datalink Position Electronics & Sensors Vehicle will broadcast its own position to any other unit on the same side with datalink enabled. ReportOwnPosition Bool
Emission Control Electronics & Sensors Radar EMCON rules for the AI

Available options:

  • Default - AI will use the Radar when in Aware or Combat behavior.
  • Active - AI will keep the Radar active and emitting at all times
  • Off - AI will keep Radar silent at all times
RadarUsageAI String