Kestrel (gunship) - /pa/units/air/gunship/gunship.json

Gunship - Fast. Cheap. Durable. Attacks land and sea targets.
{
    "display_name": "Kestrel",
    "description": "!LOC:Gunship - Fast. Cheap. Durable. Attacks land and sea targets.",
    "audio": {
        "loops": {
            "move": {
                "cue": "/SE/Movement/air/air_gunship_loop",
                "flag": "vel_changed",
                "should_start_func": "is_moving_laterally",
                "should_stop_func": "is_not_moving"
            }
        },
        "selection_response": {
            "cue": "/SE/Selection/air/gunship"
        }
    },
    "base_spec": "/pa/units/air/base_flyer/base_flyer.json",
    "build_metal_cost": 800,
    "events": {
        "build_complete": {
            "audio_cue": "/SE/Build_Complete/air"
        },
        "fired": {
            "audio_cue": "/SE/Weapons/air/gunship_fire",
            "effect_spec": "/pa/units/air/gunship/gunship_muzzle_flash.pfx socket_rightMuzzle /pa/units/air/gunship/gunship_muzzle_flash.pfx socket_leftMuzzle"
        },
        "died": {
            "audio_cue": "/SE/Death/Air",
            "effect_spec": "/pa/units/air/base_flyer/base_flyer_death_t2.pfx",
            "effect_scale": 0.8
        }
    },
    "fx_offsets": [
        {
            "type": "moving",
            "filename": "/pa/units/air/gunship/gunship_jets.pfx",
            "bone": "bone_turret",
            "offset": [
                0,
                -1.25,
                -1.062
            ],
            "orientation": [
                0,
                90,
                0
            ]
        },
        {
            "type": "moving",
            "filename": "/pa/units/air/gunship/gunship_jets.pfx",
            "bone": "bone_leftWing",
            "offset": [
                1.449,
                0,
                -1.536
            ],
            "orientation": [
                0,
                90,
                0
            ]
        },
        {
            "type": "moving",
            "filename": "/pa/units/air/gunship/gunship_jets.pfx",
            "bone": "bone_rightWing",
            "offset": [
                -1.449,
                0,
                -1.536
            ],
            "orientation": [
                0,
                90,
                0
            ]
        }
    ],
    "guard_layer": "WL_AnySurface",
    "max_health": 300,
    "mesh_bounds": [
        8.5,
        11.5,
        3.6193
    ],
    "model": {
        "filename": "/pa/units/air/gunship/gunship.papa",
        "animations": {
            "fly": "/pa/units/air/gunship/gunship_anim_fly.papa",
            "aim_up": "/pa/units/air/gunship/gunship_anim_aimUp.papa",
            "aim_down": "/pa/units/air/gunship/gunship_anim_aimDown.papa"
        },
        "animtree": "/pa/anim/anim_trees/gunship_anim_tree.json"
    },
    "navigation": {
        "type": "air",
        "acceleration": 60,
        "brake": 60,
        "move_speed": 60,
        "turn_speed": 120,
        "vertical_speed": 50,
        "aggressive_distance": 75.0,
        "aggressive_behavior": "circle",
        "circle_min_time": 1.0,
        "circle_max_time": 2.0,
        "hover_time": -1.0,
        "bank_factor": 1
    },
    "physics": {
        "radius": 6
    },
    "recon": {
        "observer": {
            "items": [
                {
                    "layer": "surface_and_air",
                    "channel": "sight",
                    "shape": "capsule",
                    "radius": 100
                },
                {
                    "layer": "underwater",
                    "channel": "sight",
                    "shape": "capsule",
                    "radius": 100
                }
            ]
        }
    },
    "selection_icon": {
        "diameter": 18.0
    },
    "spawn_layers": "WL_Air",
    "tools": [
        {
            "spec_id": "/pa/units/air/gunship/gunship_tool_weapon.json",
            "aim_bone": "bone_rightRecoil",
            "muzzle_bone": "socket_rightMuzzle"
        },
        {
            "spec_id": "/pa/units/air/gunship/gunship_tool_weapon.json",
            "aim_bone": "bone_leftRecoil",
            "muzzle_bone": "socket_leftMuzzle"
        }
    ],
    "unit_types": [
        "UNITTYPE_Custom58",
        "UNITTYPE_Gunship",
        "UNITTYPE_Air",
        "UNITTYPE_Mobile",
        "UNITTYPE_Offense",
        "UNITTYPE_Advanced",
        "UNITTYPE_FactoryBuild"
    ]
}