-- UNITDEF -- TLLBOMBER -- -------------------------------------------------------------------------------- local unitName = "tllbomber" -------------------------------------------------------------------------------- local unitDef = { acceleration = 0.12, attackrunlength = 120, bankscale = 1, bmcode = 1, brakeRate = 0.7, buildCostEnergy = 2661, buildCostMetal = 171, builder = false, buildTime = 6575, canAttack = true, canFly = true, canGuard = true, canMove = true, canPatrol = true, canstop = 1, category = [[ALL MEDIUMVTOL MOBILE NOTDEFENSE NOTSUB NOTSUBNOTSHIP VTOL WEAPON]], collide = false, cruiseAlt = 200, defaultmissiontype = [[VTOL_standby]], description = [[Bomber]], designation = [[TL-BMB]], energyMake = 0.5, energyUse = 3.5, explodeAs = [[BIG_UNITEX]], firestandorders = 1, footprintX = 3, footprintZ = 3, idleAutoHeal = 5, idleTime = 1800, maneuverleashlength = 1280, maxDamage = 605, maxSlope = 10, maxVelocity = 6.3, maxWaterDepth = 0, mobilestandorders = 1, name = [[Pterodactyl]], noAutoFire = false, noChaseCategory = [[SUB VTOL]], objectName = [[TLLBOMBER]], ovradjust = 1, radarDistance = 0, scale = 1, selfDestructAs = [[BIG_UNIT_VTOL]], shootme = 1, side = [[TLL]], sightDistance = 350, standingfireorder = 2, standingmoveorder = 2, steeringmode = 1, turnRate = 356, unitname = [[tllbomber]], unitnumber = 918, workerTime = 0, sounds = { canceldestruct = [[cancel2]], underattack = [[tllwarning]], arrived = { [1] = [[tllvtolstop3]], }, cant = { [1] = [[wearoff]], }, count = { [1] = [[tllcount]], [2] = [[tllcount]], [3] = [[tllcount]], [4] = [[tllcount]], [5] = [[tllcount]], [6] = [[tllcount]], }, ok = { [1] = [[tllvtolgo3]], }, select = { [1] = [[vtolarac]], }, }, weaponDefs = nil, weapons = { [1] = { def = [[TLLBOMB]], onlyTargetCategory = [[NOTVTOL]], }, }, } -------------------------------------------------------------------------------- local weaponDefs = { TLLBOMB = { accuracy = 500, areaOfEffect = 150, avoidFeature = false, burst = 6, burstrate = 0.25, collideFriendly = false, commandfire = false, craterBoost = 0, craterMult = 0, dropped = true, edgeEffectiveness = 0.25, explosionGenerator = [[custom:T1ARMBOMB]], gravityaffected = [[true]], impulseBoost = 0.5, impulseFactor = 0.5, interceptedByShieldType = 16, manualBombSettings = true, model = [[bomb]], name = [[Bombs]], noSelfDamage = true, range = 1280, reloadtime = 4, renderType = 6, soundHitDry = [[xplomed2]], soundStart = [[bombrel]], sprayAngle = 300, weaponType = [[AircraftBomb]], damage = { bomb_resistant = 55, bombers = 5, commanders = 82.5, default = 165, fighters = 5, flak_resistant = 5, unclassed_air = 5, }, }, } unitDef.weaponDefs = weaponDefs -------------------------------------------------------------------------------- return lowerkeys({[unitName] = unitDef}) --------------------------------------------------------------------------------