SMG FighterMissionLogic

From SIMboxWiki
Jump to navigation Jump to search

The SMG_FighterMissionLogic logic component defines fighter mission logic, offensive and defensive.

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


back to top

Icon properties.png Properties

NameDescriptionMaxValueMinValueDisplayNameUnitTypeUnitName
PROP_FML_ATTACK_RETURN_ROUTE_NAME  The return route after the attack. Set empty string for no route    Default  Default 
PROP_FML_ATTACK_WAYPOINT_INDEX  The waypoint from which the attack should start    Default  Default 
PROP_FML_CCIP_MISSION_NAME  The name of CCIP mission    Default  Default 
PROP_FML_CCRP_MISSION_NAME  the name of CCRP mission    Default  Default 
PROP_FML_CHASE_INTERCEPT_DIST  The chase distance from target    Default  Default 
PROP_FML_DEFFENSIVE_ATTACK_TIMEOUT  Timeout to perform attack after defenseive maneuver    Time  Seconds 
PROP_FML_EVADE_ONLY_MISSILES_AA  Defines whether the aircraft should handle only missiles threats on Air-Air missions    Default  Default 
PROP_FML_EVADE_ONLY_MISSILES_AG  Defines whether the aircraft should handle only missiles threats on Air-Ground missions    Default  Default 
PROP_FML_INITIAL_MISSION  Aircraft initial mission    Default  Default 
PROP_FML_INTERCEPT_MISSION_NAME  The name of intercept mission    Default  Default 
PROP_FML_IS_TO_USE_ADDS  Is to use countermeasures to evade missiles?    Default  Default 
PROP_FML_MAX_MISSILE_BEAM_RANGE  Closer then this range the fighter that a missile is fired on him starts BEAM maneuver    Length  Nautical Mile 
PROP_FML_MAX_MISSILE_PUMP_RANGE  Closer then this range the fighter that a missile is fired on him starts PUMP maneuver    Length  Nautical Mile 
PROP_FML_MAX_RADAR_BEAM_RANGE  Closer then this range the fighter that radar is locked on him starts BEAM maneuver    Length  Nautical Mile 
PROP_FML_MAX_RADAR_PUMP_RANGE  Closer then this range the fighter that radar is locked on him starts PUMP maneuver    Length  Nautical Mile 
PROP_FML_MISSILE_FIRE_RANGE_MAX  The maximal range a missle should be fired from    Default  Default 
PROP_FML_MISSILE_FIRE_RANGE_MIN  The minimal range a missile should be fired from    Default  Default 
PROP_FML_NUMBER_OF_AG_WEAPON_TO_RELEASE  The number of weapon that should be released on attack    Default  Default 
PROP_FML_PATROL_MISSION_NAME  The name of patrol mission    Default  Default 

back to top

Icon attributes.png Attributes

NameDescriptionParam1Param2DisplayNameUnitTypeUnitName
ATT_FML_DEBUG_CURRENT_THREAT  Current threat id for debug  int &      Default  Default 
ATT_FML_DEBUG_TARGET  Intercept target id for debug  int &      Default  Default 
ATT_FML_NUMBER_OF_AG_WEAPON_TO_RELEASE  Number of missiles/bombs to release in the mission  int &      Default  Default 
ATT_FML_PIPER_IMPACT_MISS_DISTANCE  The calculated miss distance of the current AG weapon for debug  float &      Length  Meter 

back to top

Icon actions.png Actions

NameDescriptionParam1Param2DisplayNameUnitTypeUnitName
ACTION_ACTIVATE_ENTITY_MISSION  Given mission name, starts the mission execution. If a diffrent mission is already started stops the previous mission and starts the new mission  const string &      Default  Default 

back to top

Icon attributes.png Required Attributes

Name
ATT_AG_TIME_TO_RELEASE 
ATT_AIRCRAFT_MODE 
ATT_CURRENT_WAYPOINT_ID 
ATT_CURRENT_WEAPON_ID 
ATT_FORMATION_IS_IN_FORMATION 
ATT_FORMATION_LEADER_ID 
ATT_HEIGHT_ABOVE_GROUND 
ATT_INDICATED_AIRSPEED_KNOTS 
ATT_MANEUVER_BREAK90_TIME_TO_IMPACT 
ATT_MANEUVER_CCIP_CURRENT_PHASE_INDEX 
ATT_MANEUVERS_MAIN_MANEUVER_NAME 
ATT_MANEUVERS_NUMBER_IN_FORMATION 
ATT_NAVIGATOR_CURRENT_ROUTE_ENTITY_ID 
ATT_NUMBER_IN_FORMATION 
ATT_NUMBER_OF_AA_WEAPON 
ATT_NUMBER_OF_AG_WEAPON 
ATT_NUMBER_OF_WAYPOINTS 
ATT_PIPER_DATA_IMPACT_POSITION 
ATT_RADAR_CURRENT_MODE 
ATT_RADAR_PRIMARY_TARGET 
ATT_RWR_ACTIVE_THREATS 
ATT_RWR_THREAT_ENTITY_ID 
ATT_TIME_OF_FLIGHT 
ATT_WEAPON_ID_LAUNCHED_ON_ME 
ATT_WEAPON_LAUNCHED_ON_ME_ENTITY_ID 

back to top

Icon actions.png Required Actions

Name
ACTION_CHANGE_AIRCRAFT_MODE 
ACTION_CHANGE_AIRCRAFT_SUBMODE 
ACTION_FIRE_WEAPON 
ACTION_LAUNCH_WEAPON 
ACTION_MANEUVER_BREAK_90_SET_THREAT_ENTITY_ID 
ACTION_MANEUVER_CCIP_SET_TARGET_FROM_ENTITY 
ACTION_MANEUVER_CCIP_SET_TARGETING_LEAD_TIME 
ACTION_MANEUVER_CCRP_SET_TARGET_FROM_ENTITY 
ACTION_MANEUVER_CHASE_SET_REQUIRED_RANGE_BEHIND 
ACTION_MANEUVER_CHASE_SET_TAGRET_ENTITY_ID 
ACTION_MANEUVER_GOTO_POINT_SET_POINT 
ACTION_MANEUVER_GOTO_POINT_SET_REACH_RADIUS 
ACTION_MANEUVER_GOTO_POINT_SET_SPEED 
ACTION_MANEUVER_LEVEL_FLIGHT_SET_ALTITUDE 
ACTION_MANEUVER_LEVEL_FLIGHT_SET_HDG 
ACTION_MANEUVER_LEVEL_FLIGHT_SET_SPEED 
ACTION_MANEUVERS_SET_DEFAULT_MANEUVER 
ACTION_RADAR_LOCK_ON_TARGET 
ACTION_RELEASE_CHAFF 
ACTION_RELEASE_FLARE 
ACTION_REMOVE_FORMATION_MEMBER_FROM_FORMATION 
ACTION_SET_ACTIVE_MANUEVER_NAME 
ACTION_SET_ACTIVE_MANUEVER_NAME_DELAY 
ACTION_SET_CURRENT_RELATIVE_ENTITY 
ACTION_SET_CURRENT_ROUTE_ENTITY_ID 
ACTION_SET_CURRENT_WAYPOINT_NUMBER 
ACTION_SET_MASTER_ARM 

back to top