Horsefly (strafer) - /pa/units/air/strafer/strafer.json

Strafer Aircraft - Loud and annoying. Attacks land and sea targets.
{
  "display_name": "Horsefly",
  "description": "!LOC:Strafer Aircraft - Loud and annoying. Attacks land and sea targets.",
  "TEMP_texelinfo": 10.4258,
  "audio": {
    "loops": {
      "move": {
        "cue": "/SE/Movement/air/air_bomber_loop",
        "flag": "vel_changed",
        "should_start_func": "is_moving_laterally",
        "should_stop_func": "is_not_moving"
      }
    },
    "selection_response": {
      "cue": "/SE/Selection/air/bomber"
    }
  },
  "base_spec": "/pa/units/air/base_flyer/base_flyer.json",
  "build_metal_cost": 1800,
  "command_caps": [
    "ORDER_Move",
    "ORDER_Patrol",
    "ORDER_Attack"
  ],
  "events": {
    "build_complete": {
      "audio_cue": "/SE/Build_Complete/air"
    },
    "fired": {
      "audio_cue": "/SE/Weapons/air/gunship_fire",
      "effect_spec": "/pa/units/air/strafer/strafer_muzzle_flash.pfx socket_muzzle01 /pa/units/air/strafer/strafer_muzzle_flash.pfx socket_muzzle02 /pa/units/air/strafer/strafer_muzzle_flash.pfx socket_muzzle03 /pa/units/air/strafer/strafer_muzzle_flash.pfx socket_muzzle04"
    },
    "died": {
      "audio_cue": "/SE/Death/Air",
      "effect_scale": 0.75
    }
  },
  "fx_offsets": [
    {
      "type": "moving_forward",
      "filename": "/pa/units/air/strafer/strafer_jets.pfx",
      "offset": [
        0,
        4.8,
        3.6
      ]
    }
  ],
  "guard_layer": "WL_AnyLayer",
  "guard_radius": 100,
  "maintain_priority_target": false,
  "max_health": 1250,
  "mesh_bounds": [
    19,
    13,
    5
  ],
  "model": {
    "filename": "/pa/units/air/strafer/strafer.papa",
    "arrows": 5,
    "animtree": "/pa/anim/anim_trees/strafer_anim_tree.json"
  },
  "navigation": {
    "type": "air",
    "acceleration": 70,
    "brake": 15,
    "ignore_overshoot": true,
    "move_speed": 70,
    "turn_speed": 70,
    "dodge_radius": 0,
    "dodge_multiplier": 0.0,
    "aggressive_behavior": "line",
    "aggressive_distance": 200.0,
    "aggressive_height": 100.0,
    "wobble_factor": 0.05,
    "wobble_speed": 0.1,
    "bank_factor": 1,
    "leash_behavior": "line",
    "leash_distance": 0
  },
  "physics": {
    "radius": 10,
    "gravity_scalar": 1,
    "push_sideways": false,
    "allow_pushing": false,
    "air_friction": 1.0
  },
  "recon": {
    "observer": {
      "items": [
        {
          "layer": "surface_and_air",
          "channel": "sight",
          "shape": "capsule",
          "radius": 200
        },
        {
          "layer": "underwater",
          "channel": "sight",
          "shape": "capsule",
          "radius": 200
        }
      ]
    }
  },
  "selection_icon": {
    "diameter": 23.0
  },
  "stop_clears_nearby_targets": true,
  "tools": [
    {
      "spec_id": "/pa/units/air/strafer/strafer_tool_weapon.json",
      "aim_bone": "bone_turretPitch",
      "projectiles_per_fire": 4,
      "muzzle_bone": [
        "socket_muzzle01",
        "socket_muzzle02",
        "socket_muzzle03",
        "socket_muzzle04"
      ]
    }
  ],
  "unit_types": [
    "UNITTYPE_Custom58",
    "UNITTYPE_Gunship",
    "UNITTYPE_Mobile",
    "UNITTYPE_Offense",
    "UNITTYPE_Air",
    "UNITTYPE_Advanced",
    "UNITTYPE_FactoryBuild",
    "UNITTYPE_Heavy"
  ]
}