{
"display_name": "!LOC:Barracuda",
"description": "!LOC:Submarine- High damage. Cannot be targeted by cannons. Attacks sea and undersea targets.",
"TEMP_texelinfo": 8.37977,
"audio": {
"loops": {
"move": {
"cue": "/SE/Movement/sea/attack_sub_loop",
"flag": "vel_changed",
"should_start_func": "is_moving",
"should_stop_func": "is_not_moving"
}
}
},
"base_spec": "/pa/units/sea/base_ship/base_ship.json",
"build_metal_cost": 500,
"events": {
"build_complete": {
"audio_cue": "/SE/Build_Complete/sea"
},
"fired": {
"audio_cue": "/SE/Weapons/sea/attack_sub_fire"
},
"died": {
"audio_cue": "/SE/Death/Sea_sub",
"effect_spec": "/pa/effects/specs/default_explosion_naval_sub.pfx",
"effect_scale": 0.7
}
},
"fx_offsets": [
{
"type": "moving_forward",
"filename": "/pa/units/sea/attack_sub/attack_sub_wake.pfx"
}
],
"guard_layer": "WL_AnyWater",
"max_health": 550,
"mesh_bounds": [
4,
15,
4
],
"model": {
"filename": "/pa/units/sea/attack_sub/attack_sub.papa",
"arrows": 5
},
"navigation": {
"type": "underwater",
"acceleration": 40,
"brake": 140,
"move_speed": 14,
"turn_speed": 60,
"turn_accel": 30
},
"physics": {
"underwater": true,
"shape": "sphere",
"radius": 3
},
"recon": {
"observer": {
"items": [
{
"layer": "surface_and_air",
"channel": "sight",
"shape": "capsule",
"radius": 150
},
{
"layer": "underwater",
"channel": "sight",
"shape": "capsule",
"radius": 150
}
]
}
},
"selection_icon": {
"diameter": 24.0
},
"spawn_layers": "WL_Underwater",
"tools": [
{
"spec_id": "/pa/units/sea/attack_sub/attack_sub_tool_weapon.json",
"aim_bone": "bone_root",
"muzzle_bone": "bone_root"
}
],
"unit_types": [
"UNITTYPE_Naval",
"UNITTYPE_Mobile",
"UNITTYPE_Offense",
"UNITTYPE_Basic",
"UNITTYPE_Sub",
"UNITTYPE_FactoryBuild"
]
}