- type: entity
  parent: VehicleTankHardpointBase
  id: VehicleTankWarningArray
  name: integrated weapons sensor array
  description: An integrated sensor array that improves accuracy and fire rate of onboard weapons.
  components:
  - type: Sprite
    state: warray
  - type: HardpointItem
    hardpointType: Support
    vehicleFamily: Tank
    slotType: SupportAttachment
    damageMultiplier: 0.075
    repairRate: 0.0125
  - type: HardpointIntegrity
    maxIntegrity: 250
  - type: VehicleWeaponSupportAttachment
    accuracyMultiplier: 1.2
    fireRateMultiplier: 1.15
  - type: HardpointVisual
    vehicleState: warray_0
    damagedVehicleState: warray_1

- type: entity
  parent: VehicleTankHardpointBase
  id: VehicleTankOverdriveEnhancer
  name: overdrive enhancer
  description: An overdrive enhancer support attachment for a tank.
  components:
  - type: Sprite
    state: odrive_enhancer
  - type: HardpointItem
    hardpointType: Support
    vehicleFamily: Tank
    slotType: SupportAttachment
    damageMultiplier: 0.075
    repairRate: 0.0125
  - type: HardpointIntegrity
    maxIntegrity: 250
  - type: VehicleSpeedModifierAttachment
    speedMultiplier: 1.2
  - type: HardpointVisual
    vehicleState: odrive_enhancer_0
    damagedVehicleState: odrive_enhancer_1

- type: entity
  parent: VehicleTankHardpointBase
  id: VehicleTankRocketLauncher
  name: smoke launcher
  description: A smoke launcher support attachment for a tank.
  components:
  - type: Sprite
    state: slauncher_0
  - type: HardpointItem
    hardpointType: Support
    vehicleFamily: Tank
    slotType: SupportAttachment
    damageMultiplier: 0.075
    repairRate: 0.0125
  - type: HardpointIntegrity
    maxIntegrity: 100
  - type: VehicleTurret
    useDirectionalOffsets: true
    pixelOffsetNorth: "0,-10"
    pixelOffsetEast: "-10,0"
    pixelOffsetSouth: "0,10"
    pixelOffsetWest: "10,0"
  - type: GunUseGunOrigin
  - type: GunIgnoreContainerOwnerCollision
  - type: GunIgnorePrediction
  - type: Gun
    fireRate: 0.6
    projectileSpeed: 18
    selectedMode: SemiAuto
    availableModes:
    - SemiAuto
    soundGunshot: /Audio/Weapons/Guns/Gunshots/grenade_launcher.ogg
    cameraRecoilScalar: 0
  - type: ShootAtFixedPoint
  - type: OnShootTriggerAmmoTimer
    delay: 0.2
  - type: BallisticAmmoProvider
    cycleable: false
    proto: RMC40MMGrenadeM74AGMSVehicle
    capacity: 6
  - type: VehicleHardpointAmmo
    magazineSize: 6
    maxStoredMagazines: 2
  - type: GunFireArc
    arc: 360
  - type: RefillableByBulletBox
    bulletType: VehicleAmmoBoxGrenadeLauncher
  - type: GunMuzzleOffset
    offset: "0,0"
    useDirectionalOffsets: true
    offsetEast: "0,0.2"
    muzzleOffset: "0,-1"
    useAimDirection: true
    useContainerOwner: false
  - type: HardpointVisual
    vehicleState: slauncher_0

- type: entity
  parent: VehicleTankHardpointBase
  id: VehicleTankRocketLauncherTWE
  name: Improper L-39T Smoke Discharger
  description: A support module for the FV150, based off those used by the UA for their vehicles.
  components:
  - type: Sprite
    sprite: _CMU14/Structures/Vehicles/fv150/icons.rsi
    state: slauncher_0
  - type: HardpointItem
    hardpointType: Support
    vehicleFamily: Tank
    slotType: SupportAttachment
    damageMultiplier: 0.075
    repairRate: 0.0125
  - type: HardpointIntegrity
    maxIntegrity: 100
  - type: VehicleTurret
    useDirectionalOffsets: true
    pixelOffsetNorth: "0,0"
    pixelOffsetEast: "0,0"
    pixelOffsetSouth: "0,0"
    pixelOffsetWest: "0,0"
    showOverlay: true
    overlayRsi: _CMU14/Structures/Vehicles/fv150/exterior.rsi
    overlayState: slauncher_0
  - type: GunUseGunOrigin
  - type: GunIgnoreContainerOwnerCollision
  - type: GunIgnorePrediction
  - type: Gun
    fireRate: 0.6
    projectileSpeed: 18
    selectedMode: SemiAuto
    availableModes:
    - SemiAuto
    soundGunshot: /Audio/Weapons/Guns/Gunshots/grenade_launcher.ogg
    cameraRecoilScalar: 0
  - type: ShootAtFixedPoint
  - type: OnShootTriggerAmmoTimer
    delay: 0.2
  - type: BallisticAmmoProvider
    cycleable: false
    proto: RMC40MMGrenadeM74AGMSVehicle
    capacity: 6
  - type: VehicleHardpointAmmo
    magazineSize: 6
    maxStoredMagazines: 2
  - type: GunFireArc
    arc: 360
  - type: RefillableByBulletBox
    bulletType: VehicleAmmoBoxGrenadeLauncher
  - type: GunMuzzleOffset
    offset: "0,0"
    useDirectionalOffsets: true
    offsetEast: "0,0.2"
    muzzleOffset: "0,-1"
    useAimDirection: true
    useContainerOwner: false
  - type: HardpointVisual
    vehicleState: slauncher_0


- type: entity
  parent: VehicleTankHardpointBase
  id: VehicleTankFlareModule
  name: flare module
  description: A flare launcher support attachment for a tank.
  components:
  - type: Sprite
    state: slauncher_1
  - type: HardpointItem
    hardpointType: Support
    vehicleFamily: Tank
    slotType: SupportAttachment
    damageMultiplier: 0.075
    repairRate: 0.0125
  - type: HardpointIntegrity
    maxIntegrity: 500
  - type: VehicleTurret
    useDirectionalOffsets: true
    pixelOffsetNorth: "0,-10"
    pixelOffsetEast: "-10,0"
    pixelOffsetSouth: "0,10"
    pixelOffsetWest: "10,0"
  - type: GunUseGunOrigin
  - type: GunIgnoreContainerOwnerCollision
  - type: GunIgnorePrediction
  - type: Gun
    fireRate: 0.5
    projectileSpeed: 20
    selectedMode: SemiAuto
    availableModes:
    - SemiAuto
    soundGunshot: /Audio/Weapons/Guns/Gunshots/flaregun.ogg
    cameraRecoilScalar: 0
  - type: ShootAtFixedPoint
  - type: BallisticAmmoProvider
    cycleable: false
    capacity: 10
    whitelist:
      tags:
      - Flare
      - RMCFlare
      - RMCFlareCAS
    proto: CMFlare
  - type: VehicleHardpointAmmo
    magazineSize: 10
    maxStoredMagazines: 3
  - type: GunFireArc
    arc: 360
  - type: RefillableByBulletBox
    bulletType: VehicleAmmoBoxFlareLauncher
  - type: GunMuzzleOffset
    offset: "0,0"
    useDirectionalOffsets: true
    offsetEast: "0,0.2"
    muzzleOffset: "0,-1"
    useAimDirection: true
    useContainerOwner: false
  - type: HardpointVisual
    vehicleState: slauncher_1

- type: entity
  parent: VehicleTankHardpointBase
  id: VehicleTankArtilleryModule
  name: artillery module
  description: An artillery support module for a tank.
  components:
  - type: Sprite
    state: artillery
  - type: HardpointItem
    hardpointType: Support
    vehicleFamily: Tank
    slotType: SupportAttachment
    damageMultiplier: 0.075
    repairRate: 0.0125
  - type: HardpointIntegrity
    maxIntegrity: 250
  - type: VehicleGunnerViewAttachment
    pvsScale: 0.35
    cursorMaxOffset: 5
    cursorPvsIncrease: 0.5
  - type: HardpointVisual
    vehicleState: artillerymod_0
    damagedVehicleState: artillerymod_1

