include_once processors/addfuelstate.txt
include_once sensors/geosensor/geo_sensor.txt
include_once comm/teamdatalink.txt

include_once weapons/ssm/medium_range_radar_missile.txt

include_once processors/ucavFire.txt

platform_type B-1B WSF_PLATFORM  
#   infrared_signature VEHICLE_INFRARED_SIGNATURE
#   optical_signature VEHICLE_OPTICAL_SIGNATURE
#   radar_signature VEHICLE_RADAR_SIGNATURE
   category airplane
   icon f16
   side blue
   script_variables  
      WsfTrack targetTrack; 
      double startaTime = 0;
      double endaTime;
      double lastTime = 10;
   end_script_variables
   
    script_variables 
         string sojZoneName = "";

         string plat1Name = "";
         string plat2Name = "";
         
         double orbitLength = 20000000;
         string state = "";
      end_script_variables
   processor data_mgr WSF_TRACK_PROCESSOR
      purge_interval 60 sec
      update_interval 1 sec
   end_processor 
   commander shipblue  
   //! comm
   comm sub_net TEAM_DATALINK
      network_name red_net
      internal_link track_manager
      internal_link data_mgr
      internal_link task_mgr
   end_comm
   processor task_mgr ucavFire
      script_variables
         SENSOR_NAME = "sensor1";
         WEAPON_NAME = "agm";
      end_script_variables
      operating_level ENGAGE 0
   end_processor
   processor track_manager WSF_TRACK_PROCESSOR
      purge_interval 60 sec
      report_interval 5 sec
      report_method batch
      report_to commander via sub_net
   end_processor
   mover   WSF_AIR_MOVER   
      update_interval 1 seconds    
      maximum_impact_speed 300 m/s    
      altitude_offset 20 meters    
      at_end_of_path stop        
      turn_failure_threshold 0.01        
      bank_angle_limit 5 degrees    
      heading_pursuit_gain 5        
      maximum_flight_path_angle 70 degrees    
      maximum_linear_acceleration 6 g    
      maximum_radial_acceleration 6 g    
      maximum_altitude 50000 ft 
      minimum_altitude 10000 ft    
      maximum_speed 900 m/s    
      minimum_speed 300 m/s    
      speed_variance_percent 0.0        
      roll_rate_limit 1 rad/sec    
      maximum_climb_rate 365 m/s    
      default_linear_acceleration 1 g    
      default_radial_acceleration 9 g    
      default_climb_rate 122 m/s      
   end_mover
   
   fuel   WSF_VARIABLE_RATE_FUEL   
      rate   0.5 kg/s    
      maximum_quantity 3160 kg    
      initial_quantity 3160 kg      
   end_fuel
   
   sensor sensor1 common_geo_radar
      on
      maximum_range 150 km
      ignore_same_side 
      internal_link data_mgr
      internal_link track_manager
      internal_link task_mgr
   end_sensor 
   weapon agm MEDIUM_RANGE_RADAR_MISSILE_B-1B 
      quantity 2
      internal_link task_mgr
   end_weapon
end_platform_type
