Advanced Air Factory (air_factory_adv) - /pa/units/air/air_factory_adv/air_factory_adv.json

Advanced Manufacturing - Builds basic and advanced air units.
{
    "display_name": "!LOC:Advanced Air Factory",
    "description": "!LOC:Advanced Manufacturing - Builds basic and advanced air units.",
    "TEMP_texelinfo": 65.6074,
    "area_build_separation": 2,
    "atrophy_cool_down": 15.0,
    "atrophy_rate": 80.0,
    "audio": {
        "loops": {
            "build": {
                "cue": "/SE/Construction/Factory_contruction_loop_air",
                "flag": "build_target_changed",
                "should_start_func": "has_build_target",
                "should_stop_func": "no_build_target"
            }
        }
    },
    "base_spec": "/pa/units/land/base_structure/base_structure.json",
    "build_metal_cost": 4800,
    "buildable_types": "Air & Mobile & FactoryBuild & Custom58",
    "command_caps": [
        "ORDER_Move",
        "ORDER_Patrol",
        "ORDER_FactoryBuild",
        "ORDER_Reclaim",
        "ORDER_Repair",
        "ORDER_Attack",
        "ORDER_Assist"
    ],
    "events": {
        "died": {
            "effect_spec": "/pa/effects/specs/default_building_explosion_large.pfx",
            "effect_scale": 1.0
        }
    },
    "factory_cooldown_time": 4,
    "fx_offsets": [
        {
            "type": "build",
            "filename": "/pa/effects/specs/fab_spray.pfx",
            "bone": "socket_nozzle01",
            "offset": [
                0,
                0,
                0
            ],
            "orientation": [
                0,
                0,
                0
            ]
        },
        {
            "type": "build",
            "filename": "/pa/effects/specs/fab_spray.pfx",
            "bone": "socket_nozzle02",
            "offset": [
                0,
                0,
                0
            ],
            "orientation": [
                0,
                0,
                0
            ]
        },
        {
            "type": "build",
            "filename": "/pa/effects/specs/fab_spray.pfx",
            "bone": "socket_nozzle03",
            "offset": [
                0,
                0,
                0
            ],
            "orientation": [
                0,
                0,
                0
            ]
        },
        {
            "type": "build",
            "filename": "/pa/effects/specs/fab_spray.pfx",
            "bone": "socket_nozzle04",
            "offset": [
                0,
                0,
                0
            ],
            "orientation": [
                0,
                0,
                0
            ]
        },
        {
            "type": "build",
            "filename": "/pa/effects/specs/fab_spray.pfx",
            "bone": "socket_nozzle05",
            "offset": [
                0,
                0,
                0
            ],
            "orientation": [
                0,
                0,
                0
            ]
        },
        {
            "type": "build",
            "filename": "/pa/effects/specs/fab_spray.pfx",
            "bone": "socket_nozzle06",
            "offset": [
                0,
                0,
                0
            ],
            "orientation": [
                0,
                0,
                0
            ]
        },
        {
            "type": "build",
            "filename": "/pa/effects/specs/fab_spray.pfx",
            "bone": "socket_nozzle07",
            "offset": [
                0,
                0,
                0
            ],
            "orientation": [
                0,
                0,
                0
            ]
        },
        {
            "type": "build",
            "filename": "/pa/effects/specs/fab_spray.pfx",
            "bone": "socket_nozzle08",
            "offset": [
                0,
                0,
                0
            ],
            "orientation": [
                0,
                0,
                0
            ]
        }
    ],
    "headlights": [
        {
            "gobo": "/pa/effects/textures/gobo/spotlight_gobo.papa",
            "offset": [
                9.5,
                9.5,
                2.5
            ],
            "orientation": [
                -35.0,
                31.0,
                0.0
            ],
            "near_width": 3.0,
            "near_height": 3.0,
            "near_distance": 1.0,
            "far_distance": 20.0,
            "color": [
                1.5,
                1.52,
                1.6
            ],
            "intensity": 3.0,
            "bone": "bone_platform"
        },
        {
            "gobo": "/pa/effects/textures/gobo/spotlight_gobo.papa",
            "offset": [
                9.5,
                -9.5,
                2.5
            ],
            "orientation": [
                -35.0,
                -31.0,
                0.0
            ],
            "near_width": 3.0,
            "near_height": 3.0,
            "near_distance": 1.0,
            "far_distance": 20.0,
            "color": [
                1.5,
                1.52,
                1.6
            ],
            "intensity": 3.0,
            "bone": "bone_platform"
        },
        {
            "gobo": "/pa/effects/textures/gobo/spotlight_gobo.papa",
            "offset": [
                -9.5,
                9.5,
                2.5
            ],
            "orientation": [
                35.0,
                31.0,
                0.0
            ],
            "near_width": 3.0,
            "near_height": 3.0,
            "near_distance": 1.0,
            "far_distance": 20.0,
            "color": [
                1.5,
                1.52,
                1.6
            ],
            "intensity": 3.0,
            "bone": "bone_platform"
        },
        {
            "gobo": "/pa/effects/textures/gobo/spotlight_gobo.papa",
            "offset": [
                -9.5,
                -9.5,
                2.5
            ],
            "orientation": [
                35.0,
                -31.0,
                0.0
            ],
            "near_width": 3.0,
            "near_height": 3.0,
            "near_distance": 1.0,
            "far_distance": 20.0,
            "color": [
                1.5,
                1.52,
                1.6
            ],
            "intensity": 3.0,
            "bone": "bone_platform"
        }
    ],
    "lamps": [
        {
            "offset": [
                8.02,
                -20.88,
                12.04
            ],
            "radius": 8.0,
            "color": [
                0.1,
                1.0,
                0.1
            ],
            "intensity": 2.0
        },
        {
            "offset": [
                0.0,
                -20.88,
                12.04
            ],
            "radius": 8.0,
            "color": [
                0.1,
                1.0,
                0.1
            ],
            "intensity": 2.0
        },
        {
            "offset": [
                -8.02,
                -20.88,
                12.04
            ],
            "radius": 8.0,
            "color": [
                0.1,
                1.0,
                0.1
            ],
            "intensity": 2.0
        },
        {
            "offset": [
                -4.0,
                -23.79,
                8.44
            ],
            "radius": 4.0,
            "color": [
                1.0,
                0.0,
                0.0
            ],
            "intensity": 2.0
        }
    ],
    "max_health": 30000,
    "mesh_bounds": [
        50,
        50,
        25
    ],
    "model": [
        {
            "layer": "WL_LandHorizontal",
            "filename": "/pa/units/air/air_factory_adv/air_factory_adv.papa",
            "animations": {
                "build_start": "/pa/units/air/air_factory_adv/air_factory_adv_anim_start.papa",
                "build_loop": "/pa/units/air/air_factory_adv/air_factory_adv_anim_build.papa",
                "build_end": "/pa/units/air/air_factory_adv/air_factory_adv_anim_end.papa"
            },
            "animtree": "/pa/anim/anim_trees/factory_anim_tree.json",
            "skirt_decal": "/pa/effects/specs/skirt_air_adv.json"
        },
        {
            "layer": "WL_WaterSurface",
            "filename": "/pa/units/sea/air_factory_adv/air_factory_adv.papa",
            "animations": {
                "build_start": "/pa/units/air/air_factory_adv/air_factory_adv_anim_start.papa",
                "build_loop": "/pa/units/air/air_factory_adv/air_factory_adv_anim_build.papa",
                "build_end": "/pa/units/air/air_factory_adv/air_factory_adv_anim_end.papa"
            },
            "animtree": "/pa/anim/anim_trees/factory_anim_tree.json"
        }
    ],
    "physics": {
        "collision_layers": "WL_AnyHorizontalGroundOrWaterSurface"
    },
    "placement_size": [
        60,
        60
    ],
    "recon": {
        "observer": {
            "items": [
                {
                    "layer": "surface_and_air",
                    "channel": "sight",
                    "shape": "capsule",
                    "radius": 100
                },
                {
                    "layer": "underwater",
                    "channel": "sight",
                    "shape": "capsule",
                    "radius": 100
                }
            ]
        }
    },
    "rolloff_dirs": [
        [
            1,
            0,
            0
        ],
        [
            -1,
            0,
            0
        ],
        [
            0,
            1,
            0
        ],
        [
            0,
            -1,
            0
        ]
    ],
    "selection_icon": {
        "diameter": 72.5
    },
    "spawn_layers": "WL_AnyHorizontalGroundOrWaterSurface",
    "tools": [
        {
            "spec_id": "/pa/units/air/air_factory_adv/air_factory_adv_build_arm.json",
            "aim_bone": "bone_root"
        }
    ],
    "unit_name": "Advanced Air Factory",
    "unit_types": [
        "UNITTYPE_Custom58",
        "UNITTYPE_Factory",
        "UNITTYPE_Construction",
        "UNITTYPE_Air",
        "UNITTYPE_Structure",
        "UNITTYPE_Advanced",
        "UNITTYPE_Important"
    ],
    "wait_to_rolloff_time": 0
}