-- UNITDEF -- TLLHOVERGAUSS -- -------------------------------------------------------------------------------- local unitName = "tllhovergauss" -------------------------------------------------------------------------------- local unitDef = { acceleration = 0.075, bmcode = 1, brakeRate = 0.1, buildCostEnergy = 2793, buildCostMetal = 215, builder = false, buildTime = 5223, canAttack = true, canGuard = true, canHover = true, canMove = true, canPatrol = true, canstop = 1, category = [[ALL HOVER MEDIUM MOBILE NOTDEFENSE NOTSUB NOTSUBNOTSHIP NOTVTOL WEAPON]], corpse = [[dead]], defaultmissiontype = [[Standby]], description = [[Laser Hovertank]], designation = [[TLL-HG]], downloadable = 1, energyMake = 2.7, energyStorage = 0, energyUse = 2.6, explodeAs = [[BIG_UNITEX]], firestandorders = 1, footprintX = 3, footprintZ = 3, idleAutoHeal = 5, idleTime = 1800, maneuverleashlength = 640, maxDamage = 875, maxSlope = 16, maxVelocity = 2.5, maxWaterDepth = 0, metalStorage = 0, mobilestandorders = 1, movementClass = [[TANKHOVER3]], name = [[Maggot]], noAutoFire = false, noChaseCategory = [[VTOL]], objectName = [[TLLhovergauss]], radarDistance = 0, selfDestructAs = [[BIG_UNIT]], shootme = 1, side = [[TLL]], sightDistance = 280, standingfireorder = 2, standingmoveorder = 1, steeringmode = 1, turnRate = 280, unitname = [[tllhovergauss]], unitnumber = 17403, 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 = [[ARM_LIGHTLASER]], onlyTargetCategory = [[NOTVTOL]], }, }, } -------------------------------------------------------------------------------- local weaponDefs = { ARM_LIGHTLASER = { areaOfEffect = 12, beamlaser = 1, beamTime = 0.12, coreThickness = 0.175, craterBoost = 0, craterMult = 0, energypershot = 20, explosionGenerator = [[custom:SMALL_RED_BURN]], fireStarter = 30, impactonly = 1, impulseBoost = 0.123, impulseFactor = 0.123, laserFlareSize = 10, lineOfSight = true, name = [[LightLaser]], noSelfDamage = true, range = 430, reloadtime = 0.48, renderType = 0, rgbColor = [[1 0 0]], soundHitDry = [[lasrhit2]], soundStart = [[lasrfir3]], soundTrigger = true, targetMoveError = 0.1, thickness = 2.5, tolerance = 10000, turret = true, weaponType = [[BeamLaser]], weaponVelocity = 2250, damage = { commanders = 140, default = 75, 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 = [[tllhovergauss_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 = [[3x3C]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[All Worlds]], }, } unitDef.featureDefs = featureDefs -------------------------------------------------------------------------------- return lowerkeys({[unitName] = unitDef}) --------------------------------------------------------------------------------