Skip to content

Zero Hour rebuilt from EA's source: x64, Direct3D 11, VS2022/CMake, ~60 original bugs fixed, an AI that builds a base. Bring your own game.

31.9 KB
Raw Blame
; Zero Hour Reforged: weapons for the Turkiye faction, loaded after Weapon.ini (INI_LOAD_OVERWRITE)
; so that new names are allowed. Each is EA's weapon it is named after in the comment, with the
; fields the plan sets (docs/plans/TURKIYE-FRAKSIYON-KONSEPT.md section 5) written over it.
; The RadarBlindHit fields are the fork's and make a rocket radar-guided: aimed where no radar of
; its player or an ally reaches (RadarCoverageBehavior in TurkiyeReforged.ini), a shot keeps its
; target only RadarBlindHitChance of the time, or RadarBlindHitUpgradeChance once the player has
; RadarBlindHitUpgrade, and the rest come down on the ground beside the target (Weapon.cpp).
;
; This file lands in the multiplayer INI checksum.

; RangerAdvancedCombatRifle: Ranger rifle out to 120
Weapon TurkiyeMehmetcikRifle
  PrimaryDamage           = 5.0
  PrimaryDamageRadius     = 0.0
  AttackRange            = 120
  DamageType              = SMALL_ARMS
  DeathType               = NORMAL
  WeaponSpeed             = 999999.0
  ProjectileObject        = NONE
  FireFX                  = WeaponFX_GenericMachineGunFire
  VeterancyFireFX         = HEROIC WeaponFX_GenericMachineGunFireWithRedTracers
  FireSound               = RangerWeapon
  RadiusDamageAffects     = ALLIES ENEMIES NEUTRALS
  DelayBetweenShots       = 100
  ClipSize                = 3
  ClipReloadTime          = 700
  WeaponBonus             = DRONE_SPOTTING RATE_OF_FIRE 200%
  WeaponBonus             = DRONE_SPOTTING RANGE        200%
  WeaponBonus             = DRONE_SPOTTING DAMAGE       200%
End

; MissileDefenderMissileWeapon: Missile Defender missile out to 250
Weapon TurkiyeSungurMissile
  PrimaryDamage               = 40.0
  PrimaryDamageRadius         = 5.0
  ScatterRadiusVsInfantry     = 10.0
  AttackRange            = 250
  DamageType                  = INFANTRY_MISSILE
  DeathType                   = NORMAL
  WeaponSpeed                 = 600
  ProjectileObject            = MissileDefenderMissile
  ProjectileExhaust           = MissileDefenderMissileExhaust
  VeterancyProjectileExhaust  = HEROIC HeroicMissileDefenderMissileExhaust
  ProjectileDetonationFX      = WeaponFX_RocketBuggyMissileDetonation
  FireFX                      = FX_BuggyMissileIgnition
  RadiusDamageAffects         = ALLIES ENEMIES NEUTRALS
  ScatterRadius               = 0
  DelayBetweenShots           = 1000
  ClipSize                    = 0
  ClipReloadTime              = 0
  AutoReloadsClip             = Yes
  FireSound                   = MissileDefenderWeapon
  WeaponBonus                 = PLAYER_UPGRADE DAMAGE 125%
  AntiAirborneVehicle         = Yes
  AntiAirborneInfantry        = Yes
  ProjectileCollidesWith      = STRUCTURES
  RadarBlindHitChance         = 20%
  RadarBlindHitUpgrade        = Upgrade_TurkiyePrecisionGuidance
  RadarBlindHitUpgradeChance  = 40%
End

; MissileDefenderLaserGuidedMissileWeapon: its laser-guided shot out to 250
Weapon TurkiyeSungurLaserMissile
  PrimaryDamage = 40.0
  PrimaryDamageRadius = 5.0
  ScatterRadiusVsInfantry = 10.0
  AttackRange            = 250
  DamageType = ARMOR_PIERCING
  DeathType = NORMAL
  WeaponSpeed = 600
  ProjectileObject = MissileDefenderMissile
  ProjectileDetonationFX = WeaponFX_RocketBuggyMissileDetonation
  RadiusDamageAffects = ALLIES ENEMIES NEUTRALS
  ScatterRadius = 0
  DelayBetweenShots = 500
  ClipSize = 0
  ClipReloadTime = 0
  AutoReloadsClip = Yes
  FireSound = MissileDefenderWeapon
  WeaponBonus = PLAYER_UPGRADE DAMAGE 125%
  AntiAirborneVehicle = Yes
  AntiAirborneInfantry = Yes
  ProjectileCollidesWith = STRUCTURES
  RadarBlindHitChance = 20%
  RadarBlindHitUpgrade = Upgrade_TurkiyePrecisionGuidance
  RadarBlindHitUpgradeChance = 40%
End

; USAPathfinderSniperRifle: a carbine, 60 range and little damage
Weapon TurkiyeSpotterCarbine
  PrimaryDamage          = 10
  PrimaryDamageRadius = 0.0
  AttackRange            = 60
  DamageType = SNIPER
  DeathType = NORMAL
  WeaponSpeed = 999999.0
  ProjectileObject = NONE
  FireFX = WeaponFX_GenericMachineGunFire
  FireSound = PathfinderWeapon
  RadiusDamageAffects = ALLIES ENEMIES NEUTRALS
  DelayBetweenShots      = 1000
  ClipSize = 0
  ClipReloadTime = 0
  WeaponBonus = PLAYER_UPGRADE DAMAGE 125%
End

; ColonelBurtonSniperRifleWeapon: Burton rifle out to 140
Weapon TurkiyeBeretRifle
  PrimaryDamage         = 40.0
  PrimaryDamageRadius   = 0.0
  AttackRange            = 140
  DamageType            = SMALL_ARMS
  DeathType             = NORMAL
  WeaponSpeed           = 999999.0
  ProjectileObject      = NONE
  FireFX                = WeaponFX_GenericMachineGunFire
  VeterancyFireFX       = HEROIC WeaponFX_GenericMachineGunFireWithRedTracers
  FireSound             = SentryDroneWeapon
  RadiusDamageAffects   = ALLIES ENEMIES NEUTRALS
  DelayBetweenShots     = 100
  ClipSize              = 3
  ClipReloadTime        = 500
End

; HumveeGun: Humvee gun out to 160
Weapon TurkiyeCobraGun
  PrimaryDamage = 10.0
  PrimaryDamageRadius = 0.0
  AttackRange            = 160
  DamageType = COMANCHE_VULCAN
  DeathType = NORMAL
  WeaponSpeed = 600
  ProjectileObject = NONE
  FireFX = WeaponFX_TechnicalGunFire
  VeterancyFireFX  = HEROIC WeaponFX_GenericMachineGunFireWithRedTracers
  FireSound = HumveeWeapon
  RadiusDamageAffects = ALLIES ENEMIES NEUTRALS
  DelayBetweenShots = 200
  ClipSize = 0
  ClipReloadTime = 0
End

; CrusaderTankGun: Crusader gun out to 160
Weapon TurkiyeAltayGun
  PrimaryDamage           = 60.0
  PrimaryDamageRadius     = 5.0
  ScatterRadiusVsInfantry = 10.0
  AttackRange            = 160
  MinTargetPitch          = -15
  MaxTargetPitch          = 15
  DamageType              = ARMOR_PIERCING
  DeathType               = NORMAL
  WeaponSpeed             = 400
  WeaponRecoil            = 5
  ProjectileObject        = GenericTankShell
  FireFX                  = WeaponFX_GenericTankGunNoTracer
  VeterancyFireFX         = HEROIC WeaponFX_HeroicGenericTankGunNoTracer
  ProjectileDetonationFX  = WeaponFX_GenericTankShellDetonation
  FireSound               = CrusaderTankWeapon
  RadiusDamageAffects     = ALLIES ENEMIES NEUTRALS
  DelayBetweenShots       = 2000
  ClipSize                = 0
  ClipReloadTime          = 0
  ProjectileCollidesWith  = STRUCTURES WALLS
End

; GattlingTankGunAir: the Korkut's twin cannon, aircraft only, out to 350. It used to have a ground
; gun out to 300, which outranged the Altay; an air defense vehicle that shoots the ground is a tank.
Weapon TurkiyeKorkutGunAir
  PrimaryDamage         = 15.0
  PrimaryDamageRadius   = 0.0
  AttackRange            = 350
  DamageType            = SMALL_ARMS
  DeathType             = NORMAL
  WeaponSpeed           = 999999.0
  ProjectileObject      = NONE
  FireFX                = WeaponFX_GattlingTankMachineGunFire
  VeterancyFireFX       = HEROIC WeaponFX_GattlingTankMachineGunFireWithRedTracers
  FireSound             = GattlingTankWeapon
  RadiusDamageAffects   = ALLIES ENEMIES NEUTRALS
  DelayBetweenShots     = 300
  ClipSize              = 0
  ClipReloadTime        = 0
  ContinuousFireOne     = 3
  ContinuousFireTwo     = 6
  ContinuousFireCoast   = 2000
  WeaponBonus           = CONTINUOUS_FIRE_MEAN RATE_OF_FIRE 200%
  WeaponBonus           = CONTINUOUS_FIRE_FAST RATE_OF_FIRE 300%
  WeaponBonus           = PLAYER_UPGRADE DAMAGE 125%
  AntiAirborneVehicle   = Yes
  AntiAirborneInfantry  = Yes
  AntiGround            = No
End

; TomahawkMissileWeapon: Tomahawk missile out to 600, radar-guided. The artillery is the faction's
; punch once something sees for it: 200 inside 15 and 60 out to 35 every 7 seconds, where the
; Tomahawk's 150 inside 10 did less than an Altay. 300 inside 20 and 100 out to 45 every 6 won 15 of
; 16 equal-money staged raids on the gun line, flank included; this wins 4. Firing past the radars
; is the price: four shots in five miss there.
Weapon TurkiyeFirtinaShell
  PrimaryDamage               = 200.0
  PrimaryDamageRadius         = 15.0
  SecondaryDamage             = 60.0
  SecondaryDamageRadius       = 35.0
  ScatterRadiusVsInfantry     = 20.0
  AttackRange            = 600
  PreAttackDelay              = 250
  PreAttackType               = PER_SHOT
  MinimumAttackRange          = 100.0
  DamageType                  = EXPLOSION
  DeathType                   = EXPLODED
  FireFX                      = FX_TomahawkIgnition
  ProjectileObject            = TomahawkMissile
  ProjectileExhaust           = TomahawkMissileExhaust
  VeterancyProjectileExhaust  = HEROIC HeroicTomahawkMissileExhaust
  ProjectileDetonationFX      = WeaponFX_BombTruckDefaultBombDetonation
  RadiusDamageAffects         = SELF ALLIES ENEMIES NEUTRALS NOT_SIMILAR
  FireSound                   = TomahawkWeapon
  DelayBetweenShots           = 1
  ClipSize                    = 1
  ClipReloadTime              = 7000
  CapableOfFollowingWaypoints = Yes
  ProjectileCollidesWith = STRUCTURES
  RadarBlindHitChance         = 20%
  RadarBlindHitUpgrade        = Upgrade_TurkiyePrecisionGuidance
  RadarBlindHitUpgradeChance  = 40%
End

; TomahawkMissileWeapon: Extended Range: 690
Weapon TurkiyeFirtinaShellLong
  PrimaryDamage               = 200.0
  PrimaryDamageRadius         = 15.0
  SecondaryDamage             = 60.0
  SecondaryDamageRadius       = 35.0
  ScatterRadiusVsInfantry     = 20.0
  AttackRange            = 690
  PreAttackDelay              = 250
  PreAttackType               = PER_SHOT
  MinimumAttackRange          = 100.0
  DamageType                  = EXPLOSION
  DeathType                   = EXPLODED
  FireFX                      = FX_TomahawkIgnition
  ProjectileObject            = TomahawkMissile
  ProjectileExhaust           = TomahawkMissileExhaust
  VeterancyProjectileExhaust  = HEROIC HeroicTomahawkMissileExhaust
  ProjectileDetonationFX      = WeaponFX_BombTruckDefaultBombDetonation
  RadiusDamageAffects         = SELF ALLIES ENEMIES NEUTRALS NOT_SIMILAR
  FireSound                   = TomahawkWeapon
  DelayBetweenShots           = 1
  ClipSize                    = 1
  ClipReloadTime              = 7000
  CapableOfFollowingWaypoints = Yes
  ProjectileCollidesWith = STRUCTURES
  RadarBlindHitChance         = 20%
  RadarBlindHitUpgrade        = Upgrade_TurkiyePrecisionGuidance
  RadarBlindHitUpgradeChance  = 40%
End

; TomahawkMissileWeapon: six Tomahawk-like rockets out to 500, 70 inside 12 and 25 out to 30 each,
; a salvo every 14 seconds (was 70 inside 10 every 15, then 100 inside 15 every 12, too much)
Weapon TurkiyeSakaryaSalvo
  PrimaryDamage          = 70
  PrimaryDamageRadius         = 12.0
  SecondaryDamage        = 25
  SecondaryDamageRadius       = 30.0
  ScatterRadiusVsInfantry     = 20.0
  AttackRange            = 500
  PreAttackDelay         = 0
  PreAttackType               = PER_SHOT
  MinimumAttackRange          = 100.0
  DamageType                  = EXPLOSION
  DeathType                   = EXPLODED
  FireFX                      = FX_TomahawkIgnition
  ProjectileObject            = TomahawkMissile
  ProjectileExhaust           = TomahawkMissileExhaust
  VeterancyProjectileExhaust  = HEROIC HeroicTomahawkMissileExhaust
  ProjectileDetonationFX      = WeaponFX_BombTruckDefaultBombDetonation
  RadiusDamageAffects         = SELF ALLIES ENEMIES NEUTRALS NOT_SIMILAR
  FireSound                   = TomahawkWeapon
  DelayBetweenShots      = 250
  ClipSize               = 6
  ClipReloadTime         = 14000
  CapableOfFollowingWaypoints = Yes
  ProjectileCollidesWith = STRUCTURES
  RadarBlindHitChance         = 20%
  RadarBlindHitUpgrade        = Upgrade_TurkiyePrecisionGuidance
  RadarBlindHitUpgradeChance  = 40%
End

; TomahawkMissileWeapon: Sakarya with Extended Range
Weapon TurkiyeSakaryaSalvoLong
  PrimaryDamage          = 70
  PrimaryDamageRadius         = 12.0
  SecondaryDamage        = 25
  SecondaryDamageRadius       = 30.0
  ScatterRadiusVsInfantry     = 20.0
  AttackRange            = 575
  PreAttackDelay         = 0
  PreAttackType               = PER_SHOT
  MinimumAttackRange          = 100.0
  DamageType                  = EXPLOSION
  DeathType                   = EXPLODED
  FireFX                      = FX_TomahawkIgnition
  ProjectileObject            = TomahawkMissile
  ProjectileExhaust           = TomahawkMissileExhaust
  VeterancyProjectileExhaust  = HEROIC HeroicTomahawkMissileExhaust
  ProjectileDetonationFX      = WeaponFX_BombTruckDefaultBombDetonation
  RadiusDamageAffects         = SELF ALLIES ENEMIES NEUTRALS NOT_SIMILAR
  FireSound                   = TomahawkWeapon
  DelayBetweenShots      = 250
  ClipSize               = 6
  ClipReloadTime         = 14000
  CapableOfFollowingWaypoints = Yes
  ProjectileCollidesWith = STRUCTURES
  RadarBlindHitChance         = 20%
  RadarBlindHitUpgrade        = Upgrade_TurkiyePrecisionGuidance
  RadarBlindHitUpgradeChance  = 40%
End

; MicrowaveTankBuildingDisabler: Microwave disabler out to 400
Weapon TurkiyeKoralDisabler
  PrimaryDamage         = 50.0
  PrimaryDamageRadius   = 0.0
  AttackRange            = 400
  DamageType            = SUBDUAL_BUILDING
  DeathType             = NORMAL
  WeaponSpeed           = 999999.0
  LaserName             = MicrowaveDisableStream
  LaserBoneName         = WEAPON02
  RadiusDamageAffects   = ALLIES ENEMIES NEUTRALS
  DelayBetweenShots     = 100
  ClipSize              = 0
  ClipReloadTime        = 0
  AntiAirborneVehicle   = No
  AntiAirborneInfantry  = No
  FireSound             = MicrowaveWeaponLoop
  FireSoundLoopTime = 120
End

; MicrowaveTankBuildingClearer: and its clearer
Weapon TurkiyeKoralClearer
  PrimaryDamage         = 1.0
  PrimaryDamageRadius   = 0.0
  AttackRange            = 400
  DamageType            = KILL_GARRISONED
  DeathType             = NORMAL
  WeaponSpeed           = 999999.0
  LaserName             = MicrowaveDisableStream
  LaserBoneName         = WEAPON02
  RadiusDamageAffects   = ALLIES ENEMIES NEUTRALS
  DelayBetweenShots     = 100
  ClipSize              = 0
  ClipReloadTime        = 0
  AntiAirborneVehicle   = No
  AntiAirborneInfantry  = No
End

; Comanche20mmCannonWeapon: light gun out to 200
Weapon TurkiyeBayraktarGun
  PrimaryDamage          = 6
  PrimaryDamageRadius         = 0.0
  AttackRange            = 200
  MinimumAttackRange          = 0.0
  DamageType                  = COMANCHE_VULCAN
  DeathType                   = NORMAL
  WeaponSpeed                 = 999999.0
  ProjectileObject            = NONE
  FireSound                   = ComancheWeaponMachineGun
  FireFX                      = WeaponFX_Comanche20mmCannonFire
  VeterancyFireFX             = HEROIC WeaponFX_HeroicComanche20mmCannonFire
  RadiusDamageAffects         = ALLIES ENEMIES NEUTRALS
  DelayBetweenShots           = 100
  ClipSize                    = 0
  ClipReloadTime              = 0
  AntiAirborneVehicle         = No
  AntiAirborneInfantry        = Yes
End

; ComancheAntiTankMissileWeapon: two small munitions out to 200
Weapon TurkiyeBayraktarMunition
  PrimaryDamage               = 50
  PrimaryDamageRadius         = 5.0
  SecondaryDamage             = 30.0
  SecondaryDamageRadius       = 25.0
  ScatterRadiusVsInfantry     = 20.0
  AttackRange            = 200
  MinimumAttackRange          = 0.0
  DamageType                  = JET_MISSILES
  DeathType                   = EXPLODED
  WeaponSpeed                 = 99999
  ProjectileObject            = ComancheAntiTankMissile
  ProjectileExhaust           = MissileExhaust
  VeterancyProjectileExhaust  = HEROIC HeroicComancheMissileExhaust
  RadiusDamageAffects         = ALLIES ENEMIES NEUTRALS
  DelayBetweenShots           = 500
  ClipSize               = 2
  AutoReloadsClip             = Yes
  ClipReloadTime              = 15000
  AutoReloadWhenIdle          = 15100
  FireSound                   = ComancheMissileWeapon
  FireFX                      = None
  ProjectileDetonationFX      = WeaponFX_ComancheAntiTankMissileDetonation
  ProjectileCollidesWith      = STRUCTURES
  AntiAirborneVehicle         = No
  AntiAirborneInfantry        = No
  ShowsAmmoPips               = Yes
  RadarBlindHitChance         = 20%
  RadarBlindHitUpgrade        = Upgrade_TurkiyePrecisionGuidance
  RadarBlindHitUpgradeChance  = 40%
End

; The Bayraktar's munition with the Airfield's Fuel Cell (twice the rack), and each again with Swarm
; Software, whose munition goes for the most expensive enemy in reach whatever the drone was aimed
; at (SeeksMostValuable, Weapon.cpp).

Weapon TurkiyeBayraktarMunitionFuel
  PrimaryDamage               = 50
  PrimaryDamageRadius         = 5.0
  SecondaryDamage             = 30.0
  SecondaryDamageRadius       = 25.0
  ScatterRadiusVsInfantry     = 20.0
  AttackRange                 = 200
  MinimumAttackRange          = 0.0
  DamageType                  = JET_MISSILES
  DeathType                   = EXPLODED
  WeaponSpeed                 = 99999
  ProjectileObject            = ComancheAntiTankMissile
  ProjectileExhaust           = MissileExhaust
  VeterancyProjectileExhaust  = HEROIC HeroicComancheMissileExhaust
  RadiusDamageAffects         = ALLIES ENEMIES NEUTRALS
  DelayBetweenShots           = 500
  ClipSize                    = 4
  AutoReloadsClip             = Yes
  ClipReloadTime              = 15000
  AutoReloadWhenIdle          = 15100
  FireSound                   = ComancheMissileWeapon
  FireFX                      = None
  ProjectileDetonationFX      = WeaponFX_ComancheAntiTankMissileDetonation
  ProjectileCollidesWith      = STRUCTURES
  AntiAirborneVehicle         = No
  AntiAirborneInfantry        = No
  ShowsAmmoPips               = Yes
  RadarBlindHitChance         = 20%
  RadarBlindHitUpgrade        = Upgrade_TurkiyePrecisionGuidance
  RadarBlindHitUpgradeChance  = 40%
End

Weapon TurkiyeBayraktarSwarm
  PrimaryDamage               = 50
  PrimaryDamageRadius         = 5.0
  SecondaryDamage             = 30.0
  SecondaryDamageRadius       = 25.0
  ScatterRadiusVsInfantry     = 20.0
  AttackRange                 = 200
  MinimumAttackRange          = 0.0
  DamageType                  = JET_MISSILES
  DeathType                   = EXPLODED
  WeaponSpeed                 = 99999
  ProjectileObject            = ComancheAntiTankMissile
  ProjectileExhaust           = MissileExhaust
  VeterancyProjectileExhaust  = HEROIC HeroicComancheMissileExhaust
  RadiusDamageAffects         = ALLIES ENEMIES NEUTRALS
  DelayBetweenShots           = 500
  ClipSize                    = 2
  AutoReloadsClip             = Yes
  ClipReloadTime              = 15000
  AutoReloadWhenIdle          = 15100
  FireSound                   = ComancheMissileWeapon
  FireFX                      = None
  ProjectileDetonationFX      = WeaponFX_ComancheAntiTankMissileDetonation
  ProjectileCollidesWith      = STRUCTURES
  AntiAirborneVehicle         = No
  AntiAirborneInfantry        = No
  ShowsAmmoPips               = Yes
  SeeksMostValuable           = Yes
  RadarBlindHitChance         = 20%
  RadarBlindHitUpgrade        = Upgrade_TurkiyePrecisionGuidance
  RadarBlindHitUpgradeChance  = 40%
End

Weapon TurkiyeBayraktarSwarmFuel
  PrimaryDamage               = 50
  PrimaryDamageRadius         = 5.0
  SecondaryDamage             = 30.0
  SecondaryDamageRadius       = 25.0
  ScatterRadiusVsInfantry     = 20.0
  AttackRange                 = 200
  MinimumAttackRange          = 0.0
  DamageType                  = JET_MISSILES
  DeathType                   = EXPLODED
  WeaponSpeed                 = 99999
  ProjectileObject            = ComancheAntiTankMissile
  ProjectileExhaust           = MissileExhaust
  VeterancyProjectileExhaust  = HEROIC HeroicComancheMissileExhaust
  RadiusDamageAffects         = ALLIES ENEMIES NEUTRALS
  DelayBetweenShots           = 500
  ClipSize                    = 4
  AutoReloadsClip             = Yes
  ClipReloadTime              = 15000
  AutoReloadWhenIdle          = 15100
  FireSound                   = ComancheMissileWeapon
  FireFX                      = None
  ProjectileDetonationFX      = WeaponFX_ComancheAntiTankMissileDetonation
  ProjectileCollidesWith      = STRUCTURES
  AntiAirborneVehicle         = No
  AntiAirborneInfantry        = No
  ShowsAmmoPips               = Yes
  SeeksMostValuable           = Yes
  RadarBlindHitChance         = 20%
  RadarBlindHitUpgrade        = Upgrade_TurkiyePrecisionGuidance
  RadarBlindHitUpgradeChance  = 40%
End

; AuroraBombWeapon, one bomb a sortie. The Fuel Cell racks of two and four bombs are gone: an Akinci
; that dropped four Aurora bombs a pass flattened a base by itself.

Weapon TurkiyeAkinciBomb
  PrimaryDamage               = 400.0
  PrimaryDamageRadius         = 20.0
  AttackRange                 = 300.0
  AcceptableAimDelta          = 45
  DamageType                  = AURORA_BOMB
  DeathType                   = EXPLODED
  WeaponSpeed                 = 99999
  ProjectileObject            = AuroraBomb
  FireFX                      = FX_AuroraBombLaunch
  ProjectileDetonationFX      = FX_AuroraBombDetonate
  RadiusDamageAffects         = ALLIES ENEMIES NEUTRALS NOT_SIMILAR
  DelayBetweenShots           = 1500
  ClipSize                    = 1
  ClipReloadTime              = 5000
  AutoReloadsClip             = RETURN_TO_BASE
  ShowsAmmoPips               = Yes
  ProjectileCollidesWith      = STRUCTURES
End

; SIHA Surusu's loitering munitions (SwarmStrikeSpecialPower): no projectile, the hit lands on the
; target the power picked, from wherever the Command Center stands. One, three or five of them by
; the science tier.

Weapon TurkiyeSwarmMunitionWeapon
  PrimaryDamage               = 600.0
  PrimaryDamageRadius         = 15.0
  SecondaryDamage             = 150.0
  SecondaryDamageRadius       = 40.0
  AttackRange                 = 99999.0
  DamageType                  = EXPLOSION
  DeathType                   = EXPLODED
  WeaponSpeed                 = 99999
  FireFX                      = None
  RadiusDamageAffects         = ALLIES ENEMIES NEUTRALS
  ClipSize                    = 0
  AntiAirborneVehicle         = No
  AntiAirborneInfantry        = No
End

; AKKOR, the Altay's hard-kill charge once the War Factory's upgrade is bought, fired by its
; PointDefenseLaserUpdate (TurkiyeReforged.ini). PaladinPointDefenseLaser's reach and damage, which no
; missile survives, with no beam: the Altay has no LASER bone, and the kill shows where the missile
; was, FX_PointDefenseLaserBurst's flash and fragments over EA's LASERED scrap. One charge, then
; three seconds to reload, so a pair of Tank Hunters still lands one in two.
Weapon TurkiyeAkkorCharge
  PrimaryDamage               = 100.0
  PrimaryDamageRadius         = 0.0
  AttackRange                 = 65.0
  DamageType                  = LASER
  DeathType                   = LASERED
  WeaponSpeed                 = 999999.0
  ProjectileObject            = NONE
  ProjectileDetonationFX      = FX_PointDefenseLaserBurst
  DelayBetweenShots           = 250
  ClipSize                    = 1
  ClipReloadTime              = 3000
  AcceptableAimDelta          = 180
  AntiSmallMissile            = Yes
  AntiProjectile              = No
End

; Tayfun, the rank 5 ballistic missile. CruiseMissileWeapon's launch, fired from the Command Center
; by SUPERWEAPON_TurkiyeTayfun, with TurkiyeTayfunMissile for its projectile. The launch is
; radar-guided: aimed inside Turkiye radar coverage it always comes down on the point, outside it
; lands on the point one time in five and otherwise scatters, PrimaryDamageRadius to twice that
; away. The launch does no damage itself (the missile's death fires the warhead), so its
; PrimaryDamageRadius only sets that miss distance, kept past the warhead's 90.
Weapon TurkiyeTayfunLaunch
  PrimaryDamage               = 0
  PrimaryDamageRadius         = 100
  AttackRange                 = 99999
  DamageType                  = EXPLOSION
  DeathType                   = NORMAL
  WeaponSpeed                 = 99999
  ProjectileObject            = TurkiyeTayfunMissile
  ProjectileExhaust           = NeutronMissileExhaust
  FireFX                      = WeaponFX_NeutronMissile
  ProjectileDetonationFX      = None
  RadiusDamageAffects         = ALLIES ENEMIES NEUTRALS
  DelayBetweenShots           = 0
  ClipSize                    = 1
  ClipReloadTime              = 0
  AutoReloadsClip             = No
  RadarBlindHitChance         = 20%
End

; The warhead, fired by the missile as it dies on the ground: a Scud Storm missile's worth on one
; point, 600 at the middle and 200 out to 90.
Weapon TurkiyeTayfunWarhead
  PrimaryDamage               = 600.0
  PrimaryDamageRadius         = 50.0
  SecondaryDamage             = 200.0
  SecondaryDamageRadius       = 90.0
  AttackRange                 = 100.0
  DamageType                  = EXPLOSION
  DeathType                   = EXPLODED
  WeaponSpeed                 = 99999
  FireFX                      = ScudStormMissileDetonation
  RadiusDamageAffects         = ALLIES ENEMIES NEUTRALS
  DelayBetweenShots           = 0
  ClipSize                    = 0
  AntiAirborneVehicle         = No
  AntiAirborneInfantry        = No
End

; The Kargu drone's one shot, itself (TurkiyeKarguBase, TurkiyeKarguDrone): 250 short of its target
; and 300 above it the jet lets go of the diving drone, a projectile, and is gone, so the dive comes
; down from the ceiling as a Scud Storm missile's does. It can be seen coming and, like the Scud's,
; not shot down. 700 kills any tank but the Overlord and the Emperor, and sixteen of them are the
; Scud Storm's nine missiles spread over a wider circle.
; RETURN_TO_BASE with a clip of one is what tells the jet it has fired (JetAIUpdate KamikazeRange).
Weapon TurkiyeKarguDroneWeapon
  PrimaryDamage               = 700.0
  PrimaryDamageRadius         = 20.0
  SecondaryDamage             = 150.0
  SecondaryDamageRadius       = 50.0
  AttackRange                 = 250.0
  AcceptableAimDelta          = 30
  DamageType                  = EXPLOSION
  DeathType                   = EXPLODED
  WeaponSpeed                 = 99999
  FireSound                   = TomahawkWeapon
  ProjectileObject            = TurkiyeKarguDroneDive
  ProjectileDetonationFX      = WeaponFX_BombTruckDefaultBombDetonation
  AutoReloadsClip             = RETURN_TO_BASE
  ; NOT_SIMILAR: a drone's blast took the swarm's drones beside it out of the air
  RadiusDamageAffects         = ALLIES ENEMIES NEUTRALS NOT_SIMILAR
  ClipSize                    = 1
  AntiAirborneVehicle         = No
  AntiAirborneInfantry        = No
End

; RaptorJetMissileWeapon: Raptor missile out to 280, at aircraft and at the ground, so the
; Kizilelma is a strike fighter and not a 2200 interceptor beside four other air defenses
Weapon TurkiyeKizilelmaMissile
  PrimaryDamage               = 100.0
  PrimaryDamageRadius         = 5.0
  ScatterRadiusVsInfantry     = 10.0
  AttackRange            = 280
  MinimumAttackRange          = 100.0
  AcceptableAimDelta          = 30
  DamageType                  = JET_MISSILES
  DeathType                   = EXPLODED
  WeaponSpeed                 = 1000
  ProjectileObject            = RaptorJetMissile
  ProjectileExhaust           = MissileExhaust
  VeterancyProjectileExhaust  = HEROIC HeroicMissileExhaust
  FireFX                      = None
  FireSound                   = RaptorJetMissileWeapon
  ProjectileDetonationFX      = WeaponFX_JetMissileDetonation
  RadiusDamageAffects         = ALLIES ENEMIES NEUTRALS NOT_SIMILAR
  DelayBetweenShots           = 150
  ClipSize                    = 4
  ClipReloadTime              = 8000
  AutoReloadsClip             = RETURN_TO_BASE
  ProjectileCollidesWith      = STRUCTURES
  AntiAirborneVehicle         = Yes
  AntiAirborneInfantry        = No
  ShowsAmmoPips               = Yes
  WeaponBonus                 = PLAYER_UPGRADE DAMAGE 125%
  RadarBlindHitChance         = 20%
  RadarBlindHitUpgrade        = Upgrade_TurkiyePrecisionGuidance
  RadarBlindHitUpgradeChance  = 40%
End

; The Kizilelma's missile once the Airfield has Gokdogan: 360 out instead of 280, 130 a hit
; instead of 100
Weapon TurkiyeKizilelmaMissileGokdogan
  PrimaryDamage               = 130.0
  PrimaryDamageRadius         = 5.0
  ScatterRadiusVsInfantry     = 10.0
  AttackRange                 = 360
  MinimumAttackRange          = 100.0
  AcceptableAimDelta          = 30
  DamageType                  = JET_MISSILES
  DeathType                   = EXPLODED
  WeaponSpeed                 = 1000
  ProjectileObject            = RaptorJetMissile
  ProjectileExhaust           = MissileExhaust
  VeterancyProjectileExhaust  = HEROIC HeroicMissileExhaust
  FireFX                      = None
  FireSound                   = RaptorJetMissileWeapon
  ProjectileDetonationFX      = WeaponFX_JetMissileDetonation
  RadiusDamageAffects         = ALLIES ENEMIES NEUTRALS NOT_SIMILAR
  DelayBetweenShots           = 150
  ClipSize                    = 4
  ClipReloadTime              = 8000
  AutoReloadsClip             = RETURN_TO_BASE
  ProjectileCollidesWith      = STRUCTURES
  AntiAirborneVehicle         = Yes
  AntiAirborneInfantry        = No
  ShowsAmmoPips               = Yes
  WeaponBonus                 = PLAYER_UPGRADE DAMAGE 125%
  RadarBlindHitChance         = 20%
  RadarBlindHitUpgrade        = Upgrade_TurkiyePrecisionGuidance
  RadarBlindHitUpgradeChance  = 40%
End

; PatriotMissileWeapon, PatriotMissileAssistWeapon and PatriotMissileWeaponAir: the Patriot
; Battery's three, as EA has them, radar-guided
Weapon TurkiyePatriotMissileWeapon
  PrimaryDamage               = 30.0
  PrimaryDamageRadius         = 5.0
  ScatterRadiusVsInfantry     = 10.0
  AttackRange                 = 225.0
  DamageType                  = EXPLOSION
  DeathType                   = EXPLODED
  WeaponSpeed                 = 1
  ProjectileObject            = PatriotMissile
  ProjectileExhaust           = MissileExhaust
  FireSound                   = PatriotBatteryWeapon
  FireFX                      = FX_BuggyMissileIgnition
  RadiusDamageAffects         = ALLIES ENEMIES NEUTRALS
  DelayBetweenShots           = 250
  ClipSize                    = 4
  ClipReloadTime              = 2000
  AutoReloadsClip             = Yes
  AntiAirborneVehicle         = No
  AntiAirborneInfantry        = No
  AntiGround                  = Yes
  AntiBallisticMissile        = No
  ProjectileDetonationFX      = WeaponFX_RocketBuggyMissileDetonation
  RequestAssistRange          = 200
  ProjectileCollidesWith      = STRUCTURES
  RadarBlindHitChance         = 20%
  RadarBlindHitUpgrade        = Upgrade_TurkiyePrecisionGuidance
  RadarBlindHitUpgradeChance  = 40%
End

Weapon TurkiyePatriotMissileAssistWeapon
  PrimaryDamage               = 25.0
  PrimaryDamageRadius         = 5.0
  ScatterRadiusVsInfantry     = 10.0
  AttackRange                 = 450.0
  DamageType                  = EXPLOSION
  DeathType                   = EXPLODED
  WeaponSpeed                 = 600
  ProjectileObject            = PatriotMissile
  ProjectileExhaust           = MissileExhaust
  FireFX                      = FX_BuggyMissileIgnition
  FireSound                   = PatriotBatteryWeapon
  RadiusDamageAffects         = ALLIES ENEMIES NEUTRALS
  DelayBetweenShots           = 250
  ClipSize                    = 4
  ClipReloadTime              = 1000
  AutoReloadsClip             = Yes
  AntiAirborneVehicle         = Yes
  AntiAirborneInfantry        = Yes
  AntiGround                  = Yes
  ProjectileDetonationFX      = WeaponFX_RocketBuggyMissileDetonation
  ProjectileCollidesWith      = STRUCTURES
  RadarBlindHitChance         = 20%
  RadarBlindHitUpgrade        = Upgrade_TurkiyePrecisionGuidance
  RadarBlindHitUpgradeChance  = 40%
End

Weapon TurkiyePatriotMissileWeaponAir
  PrimaryDamage               = 25.0
  PrimaryDamageRadius         = 5.0
  ScatterRadiusVsInfantry     = 10.0
  AttackRange                 = 350.0
  DamageType                  = EXPLOSION
  DeathType                   = EXPLODED
  WeaponSpeed                 = 600
  ProjectileObject            = PatriotMissile
  ProjectileExhaust           = MissileExhaust
  FireFX                      = FX_BuggyMissileIgnition
  FireSound                   = PatriotBatteryWeapon
  RadiusDamageAffects         = ALLIES ENEMIES NEUTRALS
  DelayBetweenShots           = 250
  ClipSize                    = 4
  ClipReloadTime              = 2000
  AutoReloadsClip             = Yes
  AntiAirborneVehicle         = Yes
  AntiAirborneInfantry        = Yes
  AntiGround                  = No
  AntiBallisticMissile        = Yes
  ProjectileDetonationFX      = WeaponFX_RocketBuggyMissileDetonation
  RequestAssistRange          = 200
  ProjectileCollidesWith      = STRUCTURES
  RadarBlindHitChance         = 20%
  RadarBlindHitUpgrade        = Upgrade_TurkiyePrecisionGuidance
  RadarBlindHitUpgradeChance  = 40%
End