Rwr

From SIMboxWiki
Jump to navigation Jump to search

The RWR logic component handles the logic for the Radar Warning Receiver found in aircrafts.

Type: Logic Object Component
File: RWR.slc
Version: 450.1000.342.1


back to top

Icon properties.png Properties

NameDescriptionMaxValueMinValueDisplayNameUnitTypeUnitName
PROP_RWR_LASER_SOUND_NAME  Name of Sound in DB to sound when Laser sound needed    File System  File 
PROP_RWR_MAX_THREATS  How many threats can be detected at the same time.  RWR Maximum Threats  Default  Default 
PROP_RWR_MISSILE_LAUNCH_SOUND_NAME  Name of Sound in DB to sound when launch missile sound needed    File System  File 
PROP_RWR_NEWGUY_SOUND_LENGTH  How long the new guy sound should last [seconds]  100  0.1    Default  Default 
PROP_RWR_NEWGUY_SOUND_NAME  Name of Sound in DB to sound when new guy sound needed    File System  File 
PROP_RWR_SCAN_RANGE  RWR scan limit. Beyond this range entities are 'invisible'. [m]  RWR Scan Range  Default  Default 
PROP_RWR_SYNTHETIC_SOUND_NAME  Name of Sound in DB to sound when synthetic sound needed    File System  File 
PROP_RWR_TREAT_SOUND  The name of the sound to activate on treat    Default  Default 

back to top

Icon attributes.png Attributes

NameDescriptionParam1Param2DisplayNameUnitTypeUnitName
ATT_RWR_ACTIVE_THREATS  List of indexes of active threats with ';' between them  string &      Default  Default 
ATT_RWR_CURRENT_SOUND  The file of the current RWR sound  string &      File System  File 
ATT_RWR_DISPLAY_NUM_OF_THREATS  Number of threats to display on RWR  int &      Default  Default 
ATT_RWR_DISPLAY_THREAT_OBJECT_TYPE  The threat object base object name  const int  string &    Default  Default 
ATT_RWR_DISPLAY_THREAT_X_POS_IN_SCREEN_PERCENTAGE  The X position of the threat on the screen in percentage  const int  int &    Default  Default 
ATT_RWR_DISPLAY_THREAT_Y_POS_IN_SCREEN_PERCENTAGE  The Y position of the threat on the screen in percentage  const int  int &    Default  Default 
ATT_RWR_FAIL  RWR fail indicator.  bool &      Default  Default 
ATT_RWR_MODE  RWR mode indicator.  int &      Default  Default 
ATT_RWR_THREAT_ANGLE_OF_ARRIVAL  Angle of arrival. 0 is aircraft axis, positive is clock-wise.  const int  float &    Default  Default 
ATT_RWR_THREAT_ENTITY_ID  The entity ID of the threat  const int  int &    Default  Default 
ATT_RWR_THREAT_IS_NEW  Is the threat a new threat?  const int  bool &    Default  Default 
ATT_RWR_THREAT_OPERATION  Threat's operational mode.  const int  int &    Default  Default 
ATT_RWR_THREAT_RANGE  Distance the the threat from the aircraft [m]  const int  float &    Default  Default 
ATT_RWR_THREAT_TYPE  Type of threat (base object).  const int  string &    Default  Default 

back to top

Icon actions.png Actions

NameDescriptionParam1Param2DisplayNameUnitTypeUnitName
ACTION_RWR_DISPLAY_SET_NUM_OF_THREATS  Set the num of threats to display in the RWR  const int      Default  Default 
ACTION_RWR_DISPLAY_SET_THREAT_OBJECT_TYPE  Set the threat base object type  const int  const string &    Default  Default 
ACTION_RWR_DISPLAY_SET_THREAT_X_POS_IN_PERCENTAGE  Set the threat x pos in percentage of the screen  const int  const int    Default  Default 
ACTION_RWR_DISPLAY_SET_THREAT_Y_POS_IN_PERCENTAGE  Set the threat y pos in percentage of the screen  const int  const int    Default  Default 

back to top

Icon attributes.png Required Attributes

Name
ATT_PARENT_UNIQUE_ID 

back to top

Icon actions.png Required Actions

Name
ACTION_SOUNDLOGIC_PLAY_THREAT_LOOP_SOUND 
ACTION_SOUNDLOGIC_PLAY_THREAT_ONCE_SOUND 
ACTION_SOUNDLOGIC_STOP_THREAT_SOUND 

back to top