{
  "generic": {
    "type": "gun_vtt",
    "forwardsDamageMultiplier": 1.0,
    "destroyable": true,
    "width": 0.5,
    "height": 0.5,
    "movementAnimations": [
      {
        "animationType": "rotation",
        "variable": "gun_yaw",
        "centerPoint": [0.0,0.0,0.0],
        "axis": [0.0,1.0,0.0],
        "offset": 0.0,
        "clampMin": 0.0,
        "clampMax": 0.0
      }
    ]
  },
  "gun": {
    "lockOnType": "default",
    "targetType": "all",
    "autoReload": true,
    "capacity": 1,
    "reloadTime": 110,
    "muzzleVelocity": 300,
    "fireDelay": 20.0,
    "bulletSpreadFactor": 0.4,
    "minYaw": -180.0,
    "maxYaw": 180.0,
    "minPitch": -10.0,
    "maxPitch": 20.0,
    "diameter": 37.0,
    "yawSpeed": 3.7903757,
    "pitchSpeed": 3.7903757,
    "lockMaxAngle": 0.0,
    "muzzleGroups": [
      {
        "muzzles": [
          {
            "pos": [-0.067289,0.05099,0.769589],
            "rot": [0.0,0.0,0.0],
            "center": [0.0,-0.00195,0.65045]
          }
        ]
      }
    ]
  },
  "collisionGroups": [
    {
      "armorThickness": 22.0,
      "collisionTypes": [
        "attack",
        "block",
        "click",
        "entity"
      ],
      "collisions": [
        {
          "pos": [0.26958,0.52496,-0.37697],
          "width": 0.12902,
          "height": 0.34976
        },
        {
          "pos": [0.12264,0.52496,-0.4979],
          "width": 0.12902,
          "height": 0.34976
        },
        {
          "pos": [-0.01269,0.52496,-0.4979],
          "width": 0.12902,
          "height": 0.34976
        },
        {
          "pos": [-0.14631,0.52496,-0.4979],
          "width": 0.12902,
          "height": 0.34976
        },
        {
          "pos": [-0.28068,0.52496,-0.37697],
          "width": 0.12902,
          "height": 0.34976
        },
        {
          "pos": [-0.38079,0.52496,-0.24642],
          "width": 0.12902,
          "height": 0.34976
        },
        {
          "pos": [-0.38079,0.52496,-0.12221],
          "width": 0.12902,
          "height": 0.34976
        },
        {
          "pos": [-0.38079,0.52496,0.00766],
          "width": 0.12902,
          "height": 0.34976
        },
        {
          "pos": [-0.2492,0.58843,0.14165],
          "width": 0.12902,
          "height": 0.26942
        },
        {
          "pos": [-0.12422,0.58843,0.23607],
          "width": 0.12902,
          "height": 0.26942
        },
        {
          "pos": [-7.1E-4,0.58843,0.23607],
          "width": 0.12902,
          "height": 0.26942
        },
        {
          "pos": [0.12961,0.58843,0.23607],
          "width": 0.12902,
          "height": 0.26942
        },
        {
          "pos": [0.2594,0.58843,0.14165],
          "width": 0.12902,
          "height": 0.26942
        },
        {
          "pos": [0.37014,0.52496,-0.24642],
          "width": 0.12902,
          "height": 0.34976
        },
        {
          "pos": [0.37014,0.52496,-0.12221],
          "width": 0.12902,
          "height": 0.34976
        },
        {
          "pos": [0.37014,0.52496,0.00766],
          "width": 0.12902,
          "height": 0.34976
        },
        {
          "pos": [0.42519,0.32776,-0.02651],
          "width": 0.18546,
          "height": 0.13041
        },
        {
          "pos": [0.42519,0.32776,-0.17729],
          "width": 0.18546,
          "height": 0.13041
        },
        {
          "pos": [0.3517,0.32776,-0.30536],
          "width": 0.18546,
          "height": 0.13041
        },
        {
          "pos": [0.19202,0.32776,-0.45471],
          "width": 0.18546,
          "height": 0.13041
        },
        {
          "pos": [0.02398,0.32776,-0.51832],
          "width": 0.18546,
          "height": 0.13041
        },
        {
          "pos": [-0.15214,0.32776,-0.51832],
          "width": 0.18546,
          "height": 0.13041
        },
        {
          "pos": [-0.29103,0.32776,-0.37899],
          "width": 0.18546,
          "height": 0.13041
        },
        {
          "pos": [-0.405,0.32776,-0.20395],
          "width": 0.18546,
          "height": 0.13041
        },
        {
          "pos": [-0.405,0.32776,-0.03874],
          "width": 0.18546,
          "height": 0.13041
        },
        {
          "pos": [0.38013,0.32776,0.21729],
          "width": 0.37756,
          "height": 0.13041
        },
        {
          "pos": [-0.3682,0.32776,0.24972],
          "width": 0.37756,
          "height": 0.13041
        },
        {
          "pos": [0.0,0.32776,0.41115],
          "width": 0.37756,
          "height": 0.13041
        },
        {
          "pos": [-0.57131,0.03009,-0.22991],
          "width": 0.17163,
          "height": 0.50741
        },
        {
          "pos": [-0.57131,0.03009,-0.03824],
          "width": 0.17163,
          "height": 0.50741
        },
        {
          "pos": [-0.57131,0.03009,0.13492],
          "width": 0.17163,
          "height": 0.50741
        },
        {
          "pos": [-0.57131,0.03009,0.31635],
          "width": 0.17163,
          "height": 0.50741
        },
        {
          "pos": [-0.39223,0.03009,-0.40924],
          "width": 0.17163,
          "height": 0.50741
        },
        {
          "pos": [-0.41531,0.03009,0.48219],
          "width": 0.17163,
          "height": 0.50741
        },
        {
          "pos": [-0.21213,0.03009,-0.58757],
          "width": 0.17163,
          "height": 0.50741
        },
        {
          "pos": [0.47534,0.03009,-0.22991],
          "width": 0.17163,
          "height": 0.50741
        },
        {
          "pos": [0.47534,0.03009,-0.03824],
          "width": 0.17163,
          "height": 0.50741
        },
        {
          "pos": [0.47534,0.03009,0.13492],
          "width": 0.17163,
          "height": 0.50741
        },
        {
          "pos": [0.47534,0.03009,0.31635],
          "width": 0.17163,
          "height": 0.50741
        },
        {
          "pos": [0.32313,0.03009,0.48219],
          "width": 0.17163,
          "height": 0.50741
        },
        {
          "pos": [-0.21213,0.03009,0.6273],
          "width": 0.17163,
          "height": 0.50741
        },
        {
          "pos": [0.1985,0.03009,0.6273],
          "width": 0.17163,
          "height": 0.50741
        },
        {
          "pos": [0.0,0.03009,0.6273],
          "width": 0.17163,
          "height": 0.50741
        }
      ]
    },
    {
      "armorThickness": 22.0,
      "applyAfter": "$turretrightdoor",
      "collisionTypes": [
        "attack",
        "block",
        "click",
        "entity"
      ],
      "collisions": [
        {
          "pos": [0.0,0.03009,-0.58757],
          "width": 0.17163,
          "height": 0.50741
        },
        {
          "pos": [0.1985,0.03009,-0.58757],
          "width": 0.17163,
          "height": 0.50741
        }
      ]
    },
    {
      "armorThickness": 22.0,
      "applyAfter": "$turretleftdoor",
      "collisionTypes": [
        "attack",
        "block",
        "click",
        "entity"
      ],
      "collisions": [
        {
          "pos": [0.34621,0.03009,-0.40924],
          "width": 0.17163,
          "height": 0.50741
        }
      ]
    }
  ],
  "definitions": [
    {
      "subName": "",
      "name": "vtt",
      "extraMaterialLists": [
        []
      ]
    }
  ],
  "rendering": {
    "animatedObjects": [
      {
        "objectName": "&mflash",
        "applyAfter": "$recoilpiston",
        "animations": [
          {
            "animationType": "visibility",
            "variable": "!gun_muzzleflash",
            "offset": 0.0,
            "clampMin": 0.0,
            "clampMax": 0.0
          }
        ]
      },
      {
        "objectName": "&mflash_inner",
        "applyAfter": "$recoilpiston",
        "animations": [
          {
            "animationType": "visibility",
            "variable": "!gun_muzzleflash",
            "offset": 0.0,
            "clampMin": 0.0,
            "clampMax": 0.0
          }
        ]
      },
      {
        "objectName": "$turretleftdoor",
        "animations": [
          {
            "animationType": "rotation",
            "variable": "mainHatch",
            "centerPoint": [0.500923,0.059509,-0.315482],
            "axis": [33.522,-123.5358,-13.8852],
            "offset": 0.0,
            "clampMin": 0.0,
            "clampMax": 0.0,
            "duration": 10
          }
        ]
      },
      {
        "objectName": "$turretrightdoor",
        "animations": [
          {
            "animationType": "rotation",
            "variable": "mainHatch",
            "centerPoint": [-0.131126,0.059509,-0.577286],
            "axis": [13.8852,123.5358,33.522],
            "offset": 0.0,
            "clampMin": 0.0,
            "clampMax": 0.0,
            "duration": 10
          }
        ]
      },
      {
        "objectName": "$recoilpiston",
        "animations": [
          {
            "animationType": "rotation",
            "variable": "gun_pitch",
            "centerPoint": [0.0,-0.00195,0.65045],
            "axis": [1.0,0.0,0.0],
            "offset": 0.0,
            "clampMin": 0.0,
            "clampMax": 0.0
          },
          {
            "animationType": "translation",
            "variable": "gun_cooldown",
            "centerPoint": [0.0,-0.00195,0.65045],
            "axis": [0.0,0.0,-0.2],
            "offset": 0.0,
            "clampMin": 0.0,
            "clampMax": 0.0,
            "duration": 1,
            "skipReverseMovement": true
          },
          {
            "animationType": "translation",
            "variable": "gun_cooldown",
            "centerPoint": [0.0,-0.00195,0.65045],
            "axis": [0.0,0.0,0.2],
            "offset": 0.0,
            "clampMin": 0.0,
            "clampMax": 0.0,
            "duration": 20,
            "forwardsDelay": 1,
            "skipReverseMovement": true
          }
        ]
      },
      {
        "objectName": "$barrel",
        "applyAfter": "$recoilpiston",
        "animations": []
      }
    ],
    "lightObjects": [
      {
        "objectName": "&mflash_inner",
        "emissive": true,
        "color": "FEFEFE",
        "brightnessAnimations": [],
        "blendableComponents": []
      },
      {
        "objectName": "&mflash",
        "emissive": true,
        "color": "FAB774",
        "brightnessAnimations": [],
        "blendableComponents": []
      }
    ],
    "cameraObjects": [
      {
        "pos": [0.0,0.0188,0.937],
        "rot": [0.0,0.0,0.0],
        "fovOverride": 5.0,
        "overlay": "mtsofficialpack:textures/bullets/ft17optic_translucent",
        "animations": [
          {
            "animationType": "rotation",
            "variable": "gun_pitch",
            "centerPoint": [0.0,-0.00195,0.65045],
            "axis": [1.0,0.0,0.0],
            "offset": 0.0,
            "clampMin": 0.0,
            "clampMax": 0.0
          }
        ]
      }
    ],
    "sounds": [
      {
        "name": "mtsofficialpack:gunft17turret_firing",
        "activeAnimations": [
          {
            "animationType": "visibility",
            "variable": "gun_fired",
            "offset": 0.0,
            "clampMin": 1.0,
            "clampMax": 1.0
          }
        ],
        "forceSound": true,
        "minDistance": 0.0,
        "minDistanceVolume": 0.0,
        "middleDistance": 0.0,
        "middleDistanceVolume": 0.0,
        "maxDistance": 0.0,
        "maxDistanceVolume": 0.0,
        "conicalAngle": 0.0
      },
      {
        "name": "mtsofficialpack:aa_pitchwheel",
        "activeAnimations": [
          {
            "animationType": "visibility",
            "variable": "gun_yawing",
            "offset": 0.0,
            "clampMin": 1.0,
            "clampMax": 1.0
          }
        ],
        "looping": true,
        "minDistance": 0.0,
        "minDistanceVolume": 1.0,
        "middleDistance": 0.0,
        "middleDistanceVolume": 0.0,
        "maxDistance": 25.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:gunft17turret_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.8,
        "maxDistance": 16.0,
        "maxDistanceVolume": 0.0,
        "conicalAngle": 0.0
      }
    ],
    "particles": [
      {
        "type": "generic",
        "ignoreCollision": true,
        "spawningOrientation": "entity",
        "renderingOrientation": "player",
        "quantity": 10,
        "duration": 120,
        "movementDuration": 14,
        "transparency": 0.73,
        "toTransparency": 0.001,
        "scale": 4.0,
        "toScale": 10.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,
        "colorList": [
          "C4C0BB",
          "B9B4AD",
          "D2D0CD",
          "ADA79F",
          "A39A8D",
          "99958F",
          "DDDBD8"
        ],
        "randomColor": true,
        "pos": [0.0,0.0,1.0],
        "spreadRandomness": [2.0,2.0,7.0],
        "relativeInheritedVelocityFactor": [0.5,0.5,0.5],
        "initialVelocity": [0.0,0.0,8.0],
        "spawningAnimations": [
          {
            "animationType": "rotation",
            "variable": "gun_pitch",
            "centerPoint": [0.0,0.31902,1.2224],
            "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",
        "isBright": true,
        "isBlended": true,
        "daytimeReductionFactor": 0.6,
        "spawningOrientation": "entity",
        "renderingOrientation": "player",
        "quantity": 2,
        "duration": 3,
        "transparency": 1.0,
        "toTransparency": 0.1,
        "scale": 64.0,
        "toScale": 1.2,
        "hitboxSize": 0.2,
        "texture": "mtsofficialpack:textures/bullets/flash64_translucent.png",
        "color": "FFFFFF",
        "pos": [0.0,0.0,1.0],
        "initialVelocity": [0.0,1.0,0.0],
        "movementVelocity": [0.0,0.0,0.0],
        "spawningAnimations": [
          {
            "animationType": "rotation",
            "variable": "gun_pitch",
            "centerPoint": [0.0,0.31902,1.2224],
            "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",
        "isBright": true,
        "daytimeReductionFactor": 0.6,
        "spawningOrientation": "entity",
        "renderingOrientation": "player",
        "quantity": 1,
        "duration": 3,
        "transparency": 0.9,
        "toTransparency": 0.1,
        "scale": 64.0,
        "toScale": 1.2,
        "hitboxSize": 0.2,
        "texture": "mtsofficialpack:textures/bullets/flash64_translucent.png",
        "color": "FAB774",
        "pos": [0.0,0.0,1.0],
        "initialVelocity": [0.0,1.0,0.0],
        "movementVelocity": [0.0,0.0,0.0],
        "spawningAnimations": [
          {
            "animationType": "rotation",
            "variable": "gun_pitch",
            "centerPoint": [0.0,0.31902,1.2224],
            "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",
        "spawnEveryTick": true,
        "spawningOrientation": "world",
        "renderingOrientation": "player",
        "quantity": 4,
        "duration": 150,
        "movementDuration": 5,
        "transparency": 0.23,
        "toTransparency": 1.0E-7,
        "scale": 9.0,
        "toScale": 20.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": "DAD1CA",
        "pos": [0.0,-1.2,0.0],
        "spreadRandomness": [18.0,0.5,18.0],
        "initialVelocity": [0.0,0.5,0.0],
        "movementVelocity": [0.0,1.0E-4,0.0],
        "terminalVelocity": [100.0,0.005,100.0],
        "activeAnimations": [
          {
            "animationType": "visibility",
            "variable": "!gun_fired",
            "offset": 0.0,
            "clampMin": 0.0,
            "clampMax": 0.0
          }
        ]
      },
      {
        "type": "smoke",
        "spawnEveryTick": true,
        "spawningOrientation": "entity",
        "renderingOrientation": "player",
        "quantity": 3,
        "duration": 45,
        "transparency": 0.1,
        "scale": 0.22000001,
        "toScale": 1.0,
        "hitboxSize": 0.2,
        "randomTexture": true,
        "colorList": [
          "C4C0BB",
          "B9B4AD",
          "D2D0CD",
          "ADA79F",
          "A39A8D",
          "99958F",
          "DDDBD8"
        ],
        "color": "7C7670",
        "pos": [0.0,0.0,0.401],
        "initialVelocity": [0.0,0.0,1.0],
        "spawningAnimations": [
          {
            "animationType": "rotation",
            "variable": "gun_pitch",
            "centerPoint": [0.0,0.31902,1.2224],
            "axis": [1.0,0.0,0.0],
            "offset": 0.0,
            "clampMin": 0.0,
            "clampMax": 0.0
          }
        ],
        "activeAnimations": [
          {
            "animationType": "visibility",
            "variable": "!gun_cooldown",
            "offset": 0.0,
            "clampMin": 0.0,
            "clampMax": 0.0
          }
        ]
      },
      {
        "type": "generic",
        "isBright": true,
        "spawningOrientation": "entity",
        "renderingOrientation": "player",
        "quantity": 8,
        "duration": 4,
        "transparency": 1.0,
        "scale": 2.0,
        "toScale": 2.0000001E-4,
        "hitboxSize": 0.2,
        "textureList": [
          "mtsofficialpack:textures/bullets/bang0.png",
          "mtsofficialpack:textures/bullets/bang0d.png",
          "mtsofficialpack:textures/bullets/bang0b.png",
          "mtsofficialpack:textures/bullets/bang0a.png",
          "mtsofficialpack:textures/bullets/bang0c.png"
        ],
        "randomTexture": true,
        "pos": [0.0,0.0,1.0],
        "spreadRandomness": [6.0,9.0,9.0],
        "initialVelocity": [0.0,0.0,25.0],
        "spawningAnimations": [
          {
            "animationType": "rotation",
            "variable": "gun_pitch",
            "centerPoint": [0.0,0.31902,1.2224],
            "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
          }
        ]
      }
    ],
    "modelType": "obj"
  },
  "general": {
    "name": "vtt",
    "description": "A rotary turret with a built in 37mm snub breech-loading barrel. Load singular shells manually or from a crate.",
    "health": 100,
    "materialLists": [
      [
        "tags:ingots/iron:1",
        "mts:mtsofficialpack.plating:10",
        "mts:mtsofficialpack.spring:1",
        "mts:mtsofficialpack.metaltube:1",
        "minecraft:glass_pane:8",
        "minecraft:lever:1",
        "minecraft:iron_trapdoor:1"
      ]
    ],
    "radarWidth": 0.0,
    "radarRange": 0.0
  }
}