-- UNITDEF -- TLLCOP1 -- -------------------------------------------------------------------------------- local unitName = "tllcop1" -------------------------------------------------------------------------------- local unitDef = { acceleration = 0.6, bankscale = 1, bmcode = 1, brakeRate = 4, buildCostEnergy = 2649, buildCostMetal = 213, builder = false, buildTime = 11657, canAttack = true, canFly = true, canGuard = true, canMove = true, canPatrol = true, canstop = 1, category = [[ALL MEDIUMVTOL MOBILE NOTDEFENSE NOTSUB NOTSUBNOTSHIP VTOL WEAPON]], collide = false, cruiseAlt = 110, defaultmissiontype = [[VTOL_standby]], description = [[Fast Gunship]], designation = [[TL-cop]], energyMake = 0.75, energyStorage = 0, energyUse = 0.8, explodeAs = [[SMALL_UNITEX]], firestandorders = 1, footprintX = 3, footprintZ = 3, idleAutoHeal = 5, idleTime = 1800, hoverAttack = true, maneuverleashlength = 1280, maxDamage = 380, maxSlope = 10, maxVelocity = 6.3, maxWaterDepth = 0, metalStorage = 0, mobilestandorders = 1, name = [[Wasp]], noAutoFire = false, noChaseCategory = [[SUB VTOL]], objectName = [[TLLCOP1]], radarDistance = 0, scale = 1, selfDestructAs = [[SMALL_UNIT_VTOL]], shootme = 1, side = [[TLL]], sightDistance = 300, standingfireorder = 2, standingmoveorder = 1, steeringmode = 1, turnRate = 372, unitname = [[tllcop1]], unitnumber = 21101, workerTime = 0, sounds = { canceldestruct = [[cancel2]], underattack = [[tllwarning]], arrived = { [1] = [[tllvtolstop2]], }, cant = { [1] = [[wearoff]], }, count = { [1] = [[tllcount]], [2] = [[tllcount]], [3] = [[tllcount]], [4] = [[tllcount]], [5] = [[tllcount]], [6] = [[tllcount]], }, ok = { [1] = [[tllvtolgo2]], }, select = { [1] = [[vtolarac]], }, }, weaponDefs = nil, weapons = { [1] = { def = [[VTOL_EMG]], onlyTargetCategory = [[NOTVTOL]], }, }, } -------------------------------------------------------------------------------- local weaponDefs = { VTOL_EMG = { areaOfEffect = 8, burst = 3, burstrate = 0.1, craterBoost = 0, craterMult = 0, endsmoke = 0, explosionGenerator = [[custom:BRAWLIMPACTS]], impactonly = 1, impulseBoost = 0.123, impulseFactor = 0.123, intensity = 0.8, lineOfSight = true, name = [[E.M.G.]], noSelfDamage = true, pitchtolerance = 12000, range = 380, reloadtime = 0.4, renderType = 4, rgbColor = [[0.86 0.62 0]], size = 0.82, soundStart = [[brawlemg]], sprayAngle = 1024, startsmoke = 0, tolerance = 6000, turret = false, weaponTimer = 1, weaponType = [[Cannon]], weaponVelocity = 450, damage = { bombers = 5, commanders = 6, default = 12, fighters = 5, flak_resistant = 5, unclassed_air = 5, }, }, } unitDef.weaponDefs = weaponDefs -------------------------------------------------------------------------------- return lowerkeys({[unitName] = unitDef}) --------------------------------------------------------------------------------