-- UNITDEF -- TLLHOVERLIGHT -- -------------------------------------------------------------------------------- local unitName = "tllhoverlight" -------------------------------------------------------------------------------- local unitDef = { acceleration = 0.15, bmcode = 1, brakeRate = 0.05, buildCostEnergy = 1099, buildCostMetal = 70, builder = false, buildTime = 2401, canAttack = true, canGuard = true, canHover = true, canMove = true, canPatrol = true, canstop = 1, category = [[ALL HOVER MOBILE NOTDEFENSE NOTSUB NOTSUBNOTSHIP NOTVTOL TINY WEAPON]], corpse = [[dead]], defaultmissiontype = [[Standby]], description = [[Scout Hovercraft]], designation = [[TLL-HLL]], downloadable = 1, energyMake = 2.2, energyStorage = 0, energyUse = 2.6, explodeAs = [[BIG_UNITEX]], firestandorders = 1, footprintX = 3, footprintZ = 3, idleAutoHeal = 5, idleTime = 1800, maneuverleashlength = 640, maxDamage = 210, maxSlope = 16, maxVelocity = 3.8, maxWaterDepth = 0, metalStorage = 0, mobilestandorders = 1, movementClass = [[TANKHOVER3]], name = [[Fox]], noAutoFire = false, noChaseCategory = [[VTOL]], objectName = [[TLLHOVERLIGHT]], radarDistance = 0, selfDestructAs = [[BIG_UNIT]], shootme = 1, side = [[TLL]], sightDistance = 280, standingfireorder = 2, standingmoveorder = 1, steeringmode = 1, turnRate = 425, unitname = [[tllhoverlight]], unitnumber = 28303, workerTime = 0, featureDefs = nil, sounds = { canceldestruct = [[cancel2]], underattack = [[tllwarning]], cant = { [1] = [[wearoff]], }, count = { [1] = [[tllcount]], [2] = [[tllcount]], [3] = [[tllcount]], [4] = [[tllcount]], [5] = [[tllcount]], [6] = [[tllcount]], }, ok = { [1] = [[hovmdok1]], }, select = { [1] = [[tllhoverok]], }, }, weaponDefs = nil, weapons = { [1] = { def = [[ARMSH_WEAPON]], onlyTargetCategory = [[NOTVTOL]], }, }, } -------------------------------------------------------------------------------- local weaponDefs = { ARMSH_WEAPON = { areaOfEffect = 8, beamlaser = 1, beamTime = 0.1, burstrate = 0.2, craterBoost = 0, craterMult = 0, duration = 0.02, energypershot = 3, explosionGenerator = [[custom:FLASH1nd]], fireStarter = 50, impactonly = 1, impulseBoost = 0.123, impulseFactor = 0.123, lineOfSight = true, name = [[Laser]], noSelfDamage = true, range = 230, reloadtime = 0.6, renderType = 0, rgbColor = [[1.000 0.059 0.000]], soundHitDry = [[lashit]], soundStart = [[lasrfast]], soundTrigger = true, targetMoveError = 0.3, thickness = 1.25, turret = true, weaponType = [[BeamLaser]], weaponVelocity = 450, damage = { default = 48, raider_resistant = 24, subs = 5, }, }, } unitDef.weaponDefs = weaponDefs -------------------------------------------------------------------------------- local featureDefs = { dead = { blocking = true, category = [[tll_corpses]], damage = 0.6000 * unitDef.maxDamage, description = [[Wreckage]], featureDead = [[heap]], featurereclamate = [[smudge01]], footprintX = 3, footprintZ = 3, height = 20, hitdensity = 200, metal = 0.8000 * unitDef.buildCostMetal, object = [[tllhoverlight_dead]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[All Worlds]], }, heap = { blocking = false, category = [[heaps]], damage = 0.3600 * unitDef.maxDamage, description = [[Wreckage]], featurereclamate = [[smudge01]], footprintX = 3, footprintZ = 3, height = 4, hitdensity = 80, metal = 0.6400 * unitDef.buildCostMetal, object = [[3x3a]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[All Worlds]], }, } unitDef.featureDefs = featureDefs -------------------------------------------------------------------------------- return lowerkeys({[unitName] = unitDef}) --------------------------------------------------------------------------------