-- UNITDEF -- TLLTORPP -- -------------------------------------------------------------------------------- local unitName = "tlltorpp" -------------------------------------------------------------------------------- local unitDef = { acceleration = 0.25, bankscale = 1, bmcode = 1, brakeRate = 6.5, buildCostEnergy = 2200, buildCostMetal = 500, builder = false, buildTime = 15227, canAttack = true, canFly = true, canGuard = true, canMove = true, canPatrol = true, canstop = 1, category = [[ALL MEDIUMVTOL MOBILE NOTDEFENSE NOTSUB NOTSUBNOTSHIP VTOL WEAPON]], collide = false, cruiseAlt = 150, defaultmissiontype = [[VTOL_standby]], description = [[Torpedo Bomber]], designation = [[TL-TP]], energyMake = 0.5, energyStorage = 0, energyUse = 0.5, explodeAs = [[BIG_UNITEX]], firestandorders = 1, footprintX = 3, footprintZ = 3, idleAutoHeal = 5, idleTime = 1800, maneuverleashlength = 1280, maxDamage = 2381, maxSlope = 10, maxVelocity = 9.65, maxWaterDepth = 0, metalStorage = 0, mobilestandorders = 1, name = [[Trawler]], noAutoFire = false, noChaseCategory = [[VTOL]], objectName = [[TLLTORPP]], ovradjust = 1, radarDistance = 0, selfDestructAs = [[BIG_UNIT_VTOL]], shootme = 1, side = [[TLL]], sightDistance = 350, standingfireorder = 0, standingmoveorder = 1, steeringmode = 1, turnRate = 590, unitname = [[tlltorpp]], unitnumber = 929, workerTime = 0, 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 = [[ARMAIR_TORPEDO]], onlyTargetCategory = [[NOTHOVERNOTVTOL]], }, }, } -------------------------------------------------------------------------------- local weaponDefs = { ARMAIR_TORPEDO = { areaOfEffect = 16, avoidFriendly = false, burnblow = true, collideFriendly = false, commandfire = false, craterBoost = 0, craterMult = 0, explosionGenerator = [[custom:FLASH2]], guidance = true, impactonly = 1, impulseBoost = 0.123, impulseFactor = 0.123, lineOfSight = true, model = [[torpedo]], name = [[TorpedoLauncher]], noSelfDamage = true, propeller = 1, range = 500, reloadtime = 8, renderType = 1, selfprop = true, soundHitDry = [[xplodep2]], soundStart = [[bombrel]], startVelocity = 100, tolerance = 6000, tracks = true, turnRate = 25000, turret = false, waterWeapon = true, weaponAcceleration = 15, weaponTimer = 5, weaponType = [[TorpedoLauncher]], weaponVelocity = 100, damage = { bomb_resistant = 500, commanders = 750, default = 1500, }, }, } unitDef.weaponDefs = weaponDefs -------------------------------------------------------------------------------- return lowerkeys({[unitName] = unitDef}) --------------------------------------------------------------------------------