-- UNITDEF -- TLLTORPCOP -- -------------------------------------------------------------------------------- local unitName = "tlltorpcop" -------------------------------------------------------------------------------- local unitDef = { acceleration = 0.08, altfromsealevel = 10, amphibious = 1, attackrunlength = 250, bmcode = 1, brakeRate = 1, buildCostEnergy = 6850, buildCostMetal = 395, builder = false, buildTime = 14850, canAttack = true, canFly = true, canGuard = true, canMove = true, canPatrol = true, canstop = 1, category = [[ALL MEDIUMVTOL MOBILE NOTDEFENSE NOTSUB NOTSUBNOTSHIP VTOL WEAPON]], cruiseAlt = 55, defaultmissiontype = [[VTOL_standby]], description = [[Anti Sub Copter]], designation = [[TL-TCop]], energyMake = 0.5, energyUse = 1.2, explodeAs = [[BIG_UNITEX]], firestandorders = 1, floater = true, footprintX = 3, footprintZ = 3, idleAutoHeal = 5, idleTime = 1800, hoverAttack = true, maneuverleashlength = 580, maxDamage = 392, maxSlope = 10, maxVelocity = 9, maxWaterDepth = 255, mobilestandorders = 1, name = [[Fisher]], noAutoFire = false, noChaseCategory = [[VTOL]], objectName = [[tlltorpcop]], selfDestructAs = [[BIG_UNIT_VTOL]], shootme = 1, side = [[tll]], sightDistance = 350, standingfireorder = 0, standingmoveorder = 1, steeringmode = 1, turnRate = 885, unitname = [[tlltorpcop]], unitnumber = 885, sounds = { canceldestruct = [[cancel2]], underattack = [[warning1]], cant = { [1] = [[cantdo4]], }, count = { [1] = [[count6]], [2] = [[count5]], [3] = [[count4]], [4] = [[count3]], [5] = [[count2]], [6] = [[count1]], }, ok = { [1] = [[vtolcrmv]], }, select = { [1] = [[vtolcrac]], }, }, weaponDefs = nil, weapons = { [1] = { def = [[TLLAIR_TORPEDO]], onlyTargetCategory = [[SUB]], }, }, } -------------------------------------------------------------------------------- local weaponDefs = { TLLAIR_TORPEDO = { areaOfEffect = 24, burnblow = true, burst = 3, burstrate = 0.2, canattackground = false, guidance = true, id = 140, lineOfSight = true, model = [[tlltorpedo]], name = [[Torpedo Launcher]], propeller = 1, range = 450, reloadtime = 10, renderType = 1, selfprop = true, soundHitDry = [[splash]], soundStart = [[bombrel]], sprayAngle = 3250, startVelocity = 100, tolerance = 6000, tracks = true, turnRate = 15000, turret = false, waterWeapon = true, weaponAcceleration = 15, weaponTimer = 5.5, weaponType = [[TorpedoLauncher]], weaponVelocity = 100, damage = { default = 250, }, }, } unitDef.weaponDefs = weaponDefs -------------------------------------------------------------------------------- return lowerkeys({[unitName] = unitDef}) --------------------------------------------------------------------------------