{
  "generic": {
    "type": "gun_turret",
    "forwardsDamageMultiplier": 1.0,
    "destroyable": true,
    "mass": 10,
    "movementAnimations": [
      {
        "animationType": "rotation",
        "variable": "gun_yaw",
        "centerPoint": [0.0,0.0,0.0],
        "axis": [0.0,0.7,0.0],
        "offset": 0.0,
        "clampMin": 0.0,
        "clampMax": 0.0
      },
      {
        "animationType": "rotation",
        "variable": "gun_pitch",
        "centerPoint": [0.00581,0.20056,0.0031],
        "axis": [0.7,0.0,0.0],
        "offset": 0.0,
        "clampMin": 0.0,
        "clampMax": 0.0
      }
    ]
  },
  "gun": {
    "lockOnType": "default",
    "targetType": "all",
    "autoReload": true,
    "capacity": 250,
    "reloadTime": 120,
    "muzzleVelocity": 270,
    "fireDelay": 2.0,
    "bulletSpreadFactor": 0.9,
    "minYaw": -30.0,
    "maxYaw": 30.0,
    "minPitch": -10.0,
    "maxPitch": 30.0,
    "diameter": 7.62,
    "yawSpeed": 6.7,
    "pitchSpeed": 6.7,
    "lockMaxAngle": 0.0,
    "muzzleGroups": [
      {
        "muzzles": [
          {
            "pos": [0.0,0.0,0.8125],
            "rot": [0.0,0.0,0.0],
            "center": [0.0,0.0,0.0]
          }
        ]
      }
    ]
  },
  "parts": [
    {
      "pos": [0.0,-0.125,-0.8],
      "isPermanent": true,
      "partScale": [0.8,0.8,0.8],
      "types": [
        "seat"
      ]
    }
  ],
  "collisionGroups": [],
  "definitions": [
    {
      "subName": "",
      "name": "Vickers Machine-gun",
      "extraMaterialLists": [
        []
      ]
    }
  ],
  "rendering": {
    "textObjects": [],
    "animatedObjects": [
      {
        "objectName": "ammobox",
        "animations": [
          {
            "animationType": "visibility",
            "variable": "gun_ammo_count",
            "offset": 0.0,
            "clampMin": 1.0,
            "clampMax": 250.0
          }
        ]
      },
      {
        "objectName": "&mflash",
        "animations": [
          {
            "animationType": "visibility",
            "variable": "!gun_muzzleflash",
            "offset": 0.0,
            "clampMin": 0.0,
            "clampMax": 0.0
          },
          {
            "animationType": "rotation",
            "variable": "random",
            "centerPoint": [0.0,0.0,0.0],
            "axis": [0.0,0.0,180.0],
            "offset": 0.0,
            "clampMin": 0.0,
            "clampMax": 0.0
          },
          {
            "animationType": "scaling",
            "variable": "random",
            "centerPoint": [0.0,0.0,0.0],
            "axis": [1.0,1.5,0.0],
            "offset": 0.0,
            "clampMin": 0.0,
            "clampMax": 0.0
          }
        ]
      },
      {
        "objectName": "&mflash_inner",
        "animations": [
          {
            "animationType": "visibility",
            "variable": "!gun_muzzleflash",
            "offset": 0.0,
            "clampMin": 0.0,
            "clampMax": 0.0
          },
          {
            "animationType": "scaling",
            "variable": "random",
            "centerPoint": [0.0,0.0,0.0],
            "axis": [1.0,1.0,0.0],
            "offset": 0.0,
            "clampMin": 0.0,
            "clampMax": 0.0
          }
        ]
      }
    ],
    "lightObjects": [
      {
        "objectName": "&mflash_inner",
        "emissive": true,
        "color": "FEFEFE",
        "brightnessAnimations": [],
        "blendableComponents": []
      },
      {
        "objectName": "&mflash",
        "emissive": true,
        "color": "FAB774",
        "brightnessAnimations": [],
        "blendableComponents": []
      }
    ],
    "sounds": [
      {
        "name": "mtsofficialpack:placesound/gun_place0",
        "soundVariations": [
          "mtsofficialpack:placesound/gun_place0",
          "mtsofficialpack:placesound/gun_place1",
          "mtsofficialpack:placesound/gun_place2",
          "mtsofficialpack:placesound/gun_place3"
        ],
        "activeAnimations": [
          {
            "animationType": "visibility",
            "variable": "part_added_vehicle",
            "offset": 0.0,
            "clampMin": 1.0,
            "clampMax": 1.0
          }
        ],
        "minDistance": 0.0,
        "minDistanceVolume": 1.0,
        "middleDistance": 0.0,
        "middleDistanceVolume": 0.0,
        "maxDistance": 24.0,
        "maxDistanceVolume": 0.0,
        "conicalAngle": 0.0
      },
      {
        "name": "mtsofficialpack:placesound/gun_place0",
        "soundVariations": [
          "mtsofficialpack:placesound/gun_place0",
          "mtsofficialpack:placesound/gun_place1",
          "mtsofficialpack:placesound/gun_place2",
          "mtsofficialpack:placesound/gun_place3"
        ],
        "activeAnimations": [
          {
            "animationType": "visibility",
            "variable": "part_removed_vehicle",
            "offset": 0.0,
            "clampMin": 1.0,
            "clampMax": 1.0
          }
        ],
        "pitchAnimations": [
          {
            "animationType": "translation",
            "variable": "random",
            "axis": [0.0,0.1,0.0],
            "offset": 1.0,
            "clampMin": 0.0,
            "clampMax": 0.0
          }
        ],
        "minDistance": 0.0,
        "minDistanceVolume": 1.0,
        "middleDistance": 0.0,
        "middleDistanceVolume": 0.0,
        "maxDistance": 16.0,
        "maxDistanceVolume": 0.0,
        "conicalAngle": 0.0
      },
      {
        "name": "mtsofficialpack:triggerclick",
        "activeAnimations": [
          {
            "animationType": "visibility",
            "variable": "gun_firing",
            "offset": 0.0,
            "clampMin": 1.0,
            "clampMax": 1.0
          }
        ],
        "minDistance": 0.0,
        "minDistanceVolume": 0.6,
        "middleDistance": 0.0,
        "middleDistanceVolume": 0.0,
        "maxDistance": 16.0,
        "maxDistanceVolume": 0.0,
        "conicalAngle": 0.0
      },
      {
        "name": "mtsofficialpack:gunaa762_reloading",
        "activeAnimations": [
          {
            "animationType": "visibility",
            "variable": "gun_reload",
            "offset": 0.0,
            "clampMin": 1.0,
            "clampMax": 1.0
          }
        ],
        "minDistance": 0.0,
        "minDistanceVolume": 1.0,
        "middleDistance": 3.0,
        "middleDistanceVolume": 0.3,
        "maxDistance": 16.0,
        "maxDistanceVolume": 0.0,
        "conicalAngle": 0.0
      },
      {
        "name": "mtsofficialpack:aa762_firing1",
        "soundVariations": [
          "mtsofficialpack:aa762_firing2",
          "mtsofficialpack:aa762_firing3",
          "mtsofficialpack:aa762_firing4",
          "mtsofficialpack:aa762_firing5",
          "mtsofficialpack:aa762_firing6"
        ],
        "activeAnimations": [
          {
            "animationType": "visibility",
            "variable": "gun_fired",
            "offset": 0.0,
            "clampMin": 1.0,
            "clampMax": 1.0
          }
        ],
        "forceSound": true,
        "minDistance": 0.0,
        "minDistanceVolume": 1.0,
        "middleDistance": 0.0,
        "middleDistanceVolume": 0.0,
        "maxDistance": 100.0,
        "maxDistanceVolume": 0.0,
        "conicalAngle": 0.0
      },
      {
        "name": "mtsofficialpack:aa762_firing_reverb1",
        "soundVariations": [
          "mtsofficialpack:aa762_firing_reverb2"
        ],
        "activeAnimations": [
          {
            "animationType": "inhibitor",
            "variable": "gun_ammo_count",
            "offset": 0.0,
            "clampMin": 0.0,
            "clampMax": 1.0
          },
          {
            "animationType": "visibility",
            "variable": "gun_firing",
            "offset": 0.0,
            "clampMin": 0.0,
            "clampMax": 0.0
          }
        ],
        "minDistance": 0.0,
        "minDistanceVolume": 1.0,
        "middleDistance": 0.0,
        "middleDistanceVolume": 0.0,
        "maxDistance": 80.0,
        "maxDistanceVolume": 0.0,
        "conicalAngle": 0.0
      },
      {
        "name": "mtsofficialpack:aa762_distant",
        "activeAnimations": [
          {
            "animationType": "visibility",
            "variable": "gun_fired",
            "offset": 0.0,
            "clampMin": 1.0,
            "clampMax": 1.0
          }
        ],
        "forceSound": true,
        "minDistance": 0.0,
        "minDistanceVolume": 0.0,
        "middleDistance": 30.0,
        "middleDistanceVolume": 0.6,
        "maxDistance": 160.0,
        "maxDistanceVolume": 0.0,
        "conicalAngle": 0.0
      },
      {
        "name": "mtsofficialpack:aa762_distant_reverb",
        "activeAnimations": [
          {
            "animationType": "inhibitor",
            "variable": "gun_ammo_count",
            "offset": 0.0,
            "clampMin": 0.0,
            "clampMax": 1.0
          },
          {
            "animationType": "visibility",
            "variable": "gun_firing",
            "offset": 0.0,
            "clampMin": 0.0,
            "clampMax": 0.0
          }
        ],
        "minDistance": 0.0,
        "minDistanceVolume": 0.0,
        "middleDistance": 30.0,
        "middleDistanceVolume": 0.6,
        "maxDistance": 160.0,
        "maxDistanceVolume": 0.0,
        "conicalAngle": 0.0
      },
      {
        "name": "mtsofficialpack:aa762_more_distant",
        "activeAnimations": [
          {
            "animationType": "visibility",
            "variable": "gun_fired",
            "offset": 0.0,
            "clampMin": 1.0,
            "clampMax": 1.0
          }
        ],
        "forceSound": true,
        "minDistance": 30.0,
        "minDistanceVolume": 0.0,
        "middleDistance": 100.0,
        "middleDistanceVolume": 0.4,
        "maxDistance": 250.0,
        "maxDistanceVolume": 0.0,
        "conicalAngle": 0.0
      },
      {
        "name": "mtsofficialpack:aa762_more_distant_reverb",
        "activeAnimations": [
          {
            "animationType": "inhibitor",
            "variable": "gun_ammo_count",
            "offset": 0.0,
            "clampMin": 0.0,
            "clampMax": 1.0
          },
          {
            "animationType": "visibility",
            "variable": "gun_firing",
            "offset": 0.0,
            "clampMin": 0.0,
            "clampMax": 0.0
          }
        ],
        "minDistance": 30.0,
        "minDistanceVolume": 0.0,
        "middleDistance": 100.0,
        "middleDistanceVolume": 0.4,
        "maxDistance": 250.0,
        "maxDistanceVolume": 0.0,
        "conicalAngle": 0.0
      }
    ],
    "particles": [
      {
        "type": "generic",
        "stopsOnGround": true,
        "spawningOrientation": "entity",
        "renderingOrientation": "fixed",
        "quantity": 1,
        "duration": 50,
        "transparency": 1.0,
        "fadeTransparencyTime": 25,
        "scale": 0.75,
        "fadeScaleTime": 25,
        "hitboxSize": 0.185,
        "texture": "mtsofficialpack:textures/bullets/casing762.png",
        "model": "mtsofficialpack:objmodels/bullets/casing762.obj",
        "pos": [0.0,0.0,0.0],
        "rot": [180.0,0.0,0.0],
        "rotationRandomness": [70.0,50.0,50.0],
        "rotationVelocity": [-20.0,0.0,0.0],
        "spreadRandomness": [1.0,0.2,0.5],
        "initialVelocity": [2.0,0.1,-0.1],
        "movementVelocity": [0.0,-0.036,0.0],
        "terminalVelocity": [32.0,36.0,32.0],
        "spawningAnimations": [
          {
            "animationType": "rotation",
            "variable": "gun_pitch",
            "centerPoint": [0.0,0.0,0.0],
            "axis": [1.0,0.0,0.0],
            "offset": 0.0,
            "clampMin": 0.0,
            "clampMax": 0.0
          }
        ],
        "activeAnimations": [
          {
            "animationType": "visibility",
            "variable": "!gun_fired",
            "offset": 0.0,
            "clampMin": 0.0,
            "clampMax": 0.0
          }
        ]
      },
      {
        "type": "generic",
        "spawningOrientation": "entity",
        "renderingOrientation": "player",
        "quantity": 2,
        "duration": 6,
        "transparency": 0.33,
        "toTransparency": 0.001,
        "scale": 0.2,
        "toScale": 3.0,
        "hitboxSize": 0.2,
        "textureList": [
          "mts:textures/particles/big_smoke_0.png",
          "mts:textures/particles/big_smoke_1.png",
          "mts:textures/particles/big_smoke_2.png",
          "mts:textures/particles/big_smoke_3.png",
          "mts:textures/particles/big_smoke_4.png",
          "mts:textures/particles/big_smoke_5.png",
          "mts:textures/particles/big_smoke_6.png",
          "mts:textures/particles/big_smoke_7.png",
          "mts:textures/particles/big_smoke_8.png"
        ],
        "randomTexture": true,
        "color": "C8C2BD",
        "pos": [0.0,0.0,0.7],
        "spreadRandomness": [1.0,1.0,0.0],
        "initialVelocity": [0.0,0.0,1.0],
        "activeAnimations": [
          {
            "animationType": "visibility",
            "variable": "!gun_fired",
            "offset": 0.0,
            "clampMin": 0.0,
            "clampMax": 0.0
          }
        ]
      },
      {
        "type": "generic",
        "spawningOrientation": "entity",
        "renderingOrientation": "player",
        "quantity": 1,
        "duration": 8,
        "movementDuration": 25,
        "transparency": 0.23,
        "toTransparency": 0.001,
        "scale": 0.2,
        "toScale": 5.0,
        "hitboxSize": 0.2,
        "textureList": [
          "mts:textures/particles/big_smoke_0.png",
          "mts:textures/particles/big_smoke_1.png",
          "mts:textures/particles/big_smoke_2.png",
          "mts:textures/particles/big_smoke_3.png",
          "mts:textures/particles/big_smoke_4.png",
          "mts:textures/particles/big_smoke_5.png",
          "mts:textures/particles/big_smoke_6.png",
          "mts:textures/particles/big_smoke_7.png",
          "mts:textures/particles/big_smoke_8.png"
        ],
        "randomTexture": true,
        "color": "C8C2BD",
        "pos": [0.0,0.0,0.7],
        "spreadRandomness": [1.0,1.0,0.0],
        "initialVelocity": [0.0,0.0,8.0],
        "activeAnimations": [
          {
            "animationType": "visibility",
            "variable": "!gun_fired",
            "offset": 0.0,
            "clampMin": 0.0,
            "clampMax": 0.0
          }
        ]
      }
    ],
    "modelType": "obj"
  },
  "general": {
    "name": "Vickers Machine-gun",
    "description": "The Observers Machine-gun is a gun that is designed to be mounted on larger aircraft like bombers. It allows air to air defense against enemy aircraft.",
    "health": 20,
    "materialLists": [
      [
        "mts:mtsofficialpack.plating:2",
        "minecraft:lever:1",
        "minecraft:tripwire_hook:1",
        "mts:mtsofficialpack.gunm1919:1"
      ]
    ],
    "radarWidth": 0.0,
    "radarRange": 0.0
  }
}