SMG EntityDisplay

From SIMboxWiki
Jump to navigation Jump to search

The SMG_EntityDisplay output component is responsible for displaying the entity both in 2d and 3d.

Type: Output Object Component
File: SMG_EntityDisplay.slc
Version: 450.1000.342.1


back to top

Icon properties.png Properties

NameDescriptionMaxValueMinValueDisplayNameUnitTypeUnitName
PROP_2D_MODEL_FILE  The file name of the icon which will be displayed as a 2d representation of the object    File System  File 
PROP_3D_DAMAGED_MODEL_FILE  The file name from which to load the damaged 3d model (deprecated)    File System  File 
PROP_3D_DESTROYED_MODEL_FILE  The file name from which to load the destroyed 3d model (deprecated)    File System  File 
PROP_3D_MODEL_DIR  The directrory that contains the 3ds files.    File System  Directory 
PROP_3D_MODEL_FILE  The file name from which to load the high res 3d normal model    File System  File 
PROP_ANIMATION_VIEW_ANIMATION_IS_IN_LOOP  Is to play the animation in loop?    Default  Default 
PROP_ANIMATION_VIEW_CHASE_ANIMATION_NAME  Chase animation name    Default  Default 
PROP_ANIMATION_VIEW_COCKPIT_ANIMATION_NAME  Cockpit animation name    Default  Default 
PROP_ANIMATION_VIEW_SUBPART_NAME  Name of the subpart to connect to animation    Default  Default 
PROP_CONSOLE_NAME  The name of the console of the entity    Default  Default 
PROP_DEFAULT_CHASE_CAMERA_DISTANCE_FROM_ENTITY  The default camera distance from the entity (0 - for object radius) [Meters]  9999999    Default  Default 
PROP_DEFAULT_CHASE_CAMERA_HEADING_FROM_ENTITY  The default camera heading from the entity (0 - behind the entity) [Deg]  360    Default  Default 
PROP_DEFAULT_CHASE_CAMERA_PITCH_FROM_ENTITY  The default camera pitch from the entity (90 - above the entity) [Deg]  360    Default  Default 
PROP_DEFAULT_OUTSIDE_VIEW_PITCH  The default pitch when looking from the outside  360    Angle  Degree 
PROP_DEFAULT_OUTSIDE_VIEW_RADIUS  The default radius when looking from the outside    Length  Meter 
PROP_DEFAULT_OUTSIDE_VIEW_ROLL  The default roll when looking from the outside  360    Angle  Degree 
PROP_DEFAULT_OUTSIDE_VIEW_YAW  The default yaw when looking from the outside  360    Angle  Degree 
PROP_DISPLAY_IN_2D_MAP  Tells if to display this object in 2d map.If PROP_IS_VISIBLE is false, property has no affect.  Display In 2D Map  Default  Default 
PROP_DISPLAY_TRAILS_IN_PLAYBACK  Display trails in playback  Display Trails in Playback  Default  Default 
PROP_ENTITY_DISPLAY_NAME  The name of the entity in the scenario  Entity Name  Default  Default 
PROP_ENTITY_OVERRIDE_BLUE_COLOR_VALUE  Overriden blue color (RGB) value for entity representation in 2D map  255    Default  Default 
PROP_ENTITY_OVERRIDE_GREEN_COLOR_VALUE  Overriden green color (RGB) value for entity representation in 2D map  255    Default  Default 
PROP_ENTITY_OVERRIDE_ICON_COLOR  Enable/disable 2D map icon color override    Default  Default 
PROP_ENTITY_OVERRIDE_RED_COLOR_VALUE  Overriden red color (RGB) value for entity representation in 2D map  255    Default  Default 
PROP_IS_SATELLITE_TRACK  Is the object tracked by Satellite view    Default  Default 
PROP_IS_SATELLITE_VISIBLE  Does the object appear in the Satellite view    Default  Default 
PROP_IS_VISIBLE  Tells whether the object is visible when loaded  Is Visible  Default  Default 
PROP_LIST_ICON  The icon for showing in windows controls    File System  File 
PROP_MIN_CHASE_CAMERA_DISTANCE_FROM_ENTITY  The minimum camera distance from the entity (0 for object radius) [Meters]  9999999    Default  Default 
PROP_MINIMAL_OBJECT_SIZE_BEGIN_SCALING_DISTANCE  Define the distance where the scale will begin  100000    Length  Meter 
PROP_MINIMAL_OBJECT_SIZE_ENABLE_OBJECT_SCALE  Enable or disable object scale    Default  Default 
PROP_MINIMAL_OBJECT_SIZE_END_SCALING_DISTANCE  Define the distance where the scale will end.  100000    Length  Meter 
PROP_MINIMAL_OBJECT_SIZE_PIXELS_AT_BEGIN_SCALING_DISTANCE  Object size in pixels at begin scaling distance.  1000    Default  Default 
PROP_MINIMAL_OBJECT_SIZE_PIXELS_AT_END_SCALING_DISTANCE  Object size in pixels at end scaling distance.  1000    Default  Default 

back to top

Icon attributes.png Attributes

NameDescriptionParam1Param2DisplayNameUnitTypeUnitName
ATT_2D_GRAPHIC_REP  2D graphic representation  string &      File System  File 
ATT_2D_ICON_HANDLE  HAGI of the 2D icon representation  int &      Graphic Engine  HAGI 
ATT_2D_ICON_HANDLE_BY_TYPE  HAGI of the 2D icon representation by types (DEFAULT,SELECTED,INNER,OUTER)  const string &  int &    Graphic Engine  HAGI 
ATT_2D_IS_SCALABLE  Tells if the 2d representation is scallable  bool &      Default  Default 
ATT_2D_LABEL_HANDLE  HAGI of the 2D label handle (The name of the entity above the icon)  int &      Graphic Engine  HAGI 
ATT_3D_DAMAGED_OBJECT_HANDLE  Handle to the damaged representation  int &      Graphic Engine  Graphic Object ID 
ATT_3D_DESTROYED_OBJECT_HANDLE  Handle to the destroyed representation  int &      Graphic Engine  Graphic Object ID 
ATT_3D_OBJECT_HANDLE  Entity graphic handle  int &      Graphic Engine  Graphic Object ID 
ATT_ANIMATION_VIEW_ANIMATION_IS_IN_LOOP  Play animation in loop  bool &      Default  Default 
ATT_ANIMATION_VIEW_CHASE_ANIMATION_NAME  string &      Default  Default 
ATT_ANIMATION_VIEW_COCKPIT_ANIMATION_NAME  string &      Default  Default 
ATT_CONTROL_3D_OBJECT_HANDLE  Control 3d object handle  int &      Graphic Engine  Graphic Object ID 
ATT_CONTROL_FULL_PATH  Full path to the entity console file  string &      Default  Default 
ATT_CONTROL_PARENT_AGI_HANDLE  Handle to control parent AGI  int &      Graphic Engine  HAGI 
ATT_DAMAGED_GRAPHIC_REP  Entity damaged graphic rep  string &      File System  File 
ATT_DEFAULT_COCKPIT_PRESET_VIEW  Detect the default preset view in the cockpit  string &      Default  Default 
ATT_DEFAULT_OUTSIDE_CAMERA_ORIENTATION  Default orientation of the ouside view of this object  AngularVec &      Default  Default 
ATT_DEFAULT_OUTSIDE_CAMERA_RADIUS  Default radius of the ouside view of this object  float &      Default  Default 
ATT_DESTROYED_GRAPHIC_REP  Entity destroyed file name  string &      File System  File 
ATT_DISPLAY_IN_2D_MAP  Tells if to display this object in 2d map.If ATT_IS_VISIBLE is false, attribute has no affect.  bool &      Default  Default 
ATT_DISPLAY_NAME  Entity display name  string &      Default  Default 
ATT_ENTITY_BLUE_COLOR_VALUE  Blue color (RGB) value for entity representation in 2D map, Trail, etc  int &      Default  Default 
ATT_ENTITY_GREEN_COLOR_VALUE  Green color (RGB) value for entity representation in 2D map, Trail, etc  int &      Default  Default 
ATT_ENTITY_OVERRIDE_BLUE_COLOR_VALUE  Overriden blue color (RGB) value for entity representation in 2D map  int &      Default  Default 
ATT_ENTITY_OVERRIDE_GREEN_COLOR_VALUE  Overriden green color (RGB) value for entity representation in 2D map  int &      Default  Default 
ATT_ENTITY_OVERRIDE_ICON_COLOR  Enable/disable 2D map icon color override  bool &      Default  Default 
ATT_ENTITY_OVERRIDE_RED_COLOR_VALUE  Overriden red color (RGB) value for entity representation in 2D map  int &      Default  Default 
ATT_ENTITY_PANEL_FILENAME  Entity panel name  string &      Default  Default 
ATT_ENTITY_RED_COLOR_VALUE  Red color (RGB) value for entity representation in 2D map, Trail, etc.  int &      Default  Default 
ATT_HI_RES_NORMAL_GRAPHIC_REP  Entity hi resolution file name  string &      File System  File 
ATT_IS_CHASE_ANIMATION_EXIST  Holds true if chase animation exist, false if not.  bool &      Default  Default 
ATT_IS_COCKPIT_ANIMATION_EXIST  Holds true if cockpit animation exist, false if not.  bool &      Default  Default 
ATT_IS_COCKPIT_VIEW_ALLOWED  If this entity cockpit is displayed in menu. Ignored if this entity is controlled or if we are in debrief.  bool &      Default  Default 
ATT_IS_CONSOLE_LOADING  Is console loading.  bool &      Default  Default 
ATT_IS_SATELLITE_TRACK  Is object tracked by Satellite view  bool &      Default  Default 
ATT_IS_SATELLITE_VISIBLE  Is object apear in the Satellite view  bool &      Default  Default 
ATT_IS_SCALED  Holds current scale status.  bool &      Default  Default 
ATT_IS_VISIBLE  Is Entity visible?  bool &      Default  Default 
ATT_LAST_RELVATIVE_CAMERA_POS  Last relative camera position  const string &  LinearVec &    Default  Default 
ATT_LO_RES_NORMAL_GRAPHIC_REP  Entity lo resolution file name  string &      File System  File 
ATT_ME_RES_NORMAL_GRAPHIC_REP  Entity me resolution file name  string &      File System  File 
ATT_OBJECT_RADIUS  Object radius  float &      Default  Default 

back to top

Icon actions.png Actions

NameDescriptionParam1Param2DisplayNameUnitTypeUnitName
ACTION_ANIMATION_VIEW_SET_CHASE_ANIMATION_NAME  Set chase animaion name  const string &      Default  Default 
ACTION_ANIMATION_VIEW_SET_COCKPIT_ANIMATION_NAME  Set cockpit animation name  const string &      Default  Default 
ACTION_ANIMATION_VIEW_SET_IS_IN_LOOP  Set play in loop  const bool      Default  Default 
ACTION_DISPLAY_IN_2D_MAP  Set this entity to be displayed in 2D map. If ATT_IS_VISIBLE is false, this action has no affect.  const bool      Default  Default 
ACTION_SET_2D_GRAPHIC_REP  Set a new 2d icon  const string &      File System  File 
ACTION_SET_2D_ICON_HANDLE_BY_TYPE  Sets the 2d icon handle by type. overides the use of the 2d file rep  const string &  const int    Graphic Engine  HAGI 
ACTION_SET_3D_GRAPHIC_REP  Set a new 3d object  const string &      File System  File 
ACTION_SET_CONTROL_FULL_PATH  Set the full path for the entity control  const string &      Default  Default 
ACTION_SET_DISPLAY_NAME  Set entity display name  const string &      Default  Default 
ACTION_SET_ENTITY_PANEL_NAME  Change entity console panel name. For internal use.  const string &      Default  Default 
ACTION_SET_IS_SCALABLE  Setws the 'is scallable' attribute  const bool      Default  Default 
ACTION_SET_IS_VISIBLE  Set the object visibility  const bool      Default  Default 
ACTION_SET_OBJECT_RADIUS  Set initial object radius  const float      Default  Default 
ACTION_UPDATE_DISPLAY_LOCATION  Update the object location in the 3D engine  const Location &      Default  Default 

back to top

Icon attributes.png Required Attributes

Name
ATT_DTDATA_IS_DESIGN_TIME_ENTITY 
ATT_DTDATA_SELECTED_PROP_VALUE_BOOL 
ATT_DTDATA_SELECTED_PROP_VALUE_INT 
ATT_DTDATA_SELECTED_PROP_VALUE_STRING 
ATT_GET_WAYPOINT_BY_ID 
ATT_ROUTE_ITER_NEXT_WP 
ATT_ROUTE_WAYPOINT_ITERATOR 

back to top

Icon actions.png Required Actions

Name
ACTION_DTDATA_SET_SELECTED_PROP_NAME 

back to top,