-- UNITDEF -- TLLHOVERMISSILE -- -------------------------------------------------------------------------------- local unitName = "tllhovermissile" -------------------------------------------------------------------------------- local unitDef = { acceleration = 0.06, bmcode = 1, brakeRate = 0.09, buildCostEnergy = 1677, buildCostMetal = 110, builder = false, buildTime = 2847, canAttack = true, canGuard = true, canHover = true, canMove = true, canPatrol = true, canstop = 1, category = [[ALL HOVER MOBILE NOTDEFENSE NOTSUB NOTSUBNOTSHIP NOTVTOL SMALL WEAPON]], corpse = [[dead]], defaultmissiontype = [[Standby]], description = [[Anti-Air Hovercraft]], designation = [[TLL-MRJ]], downloadable = 1, energyMake = 2.6, energyStorage = 0, energyUse = 2.6, explodeAs = [[BIG_UNITEX]], firestandorders = 1, footprintX = 3, footprintZ = 3, idleAutoHeal = 5, idleTime = 1800, maneuverleashlength = 640, maxDamage = 370, maxSlope = 16, maxVelocity = 2.9, maxWaterDepth = 0, metalStorage = 0, mobilestandorders = 1, movementClass = [[TANKHOVER3]], name = [[Snake]], noAutoFire = false, noChaseCategory = [[ALL]], objectName = [[TLLHOVERMISSILE]], radarDistance = 0, selfDestructAs = [[BIG_UNIT]], shootme = 1, side = [[TLL]], sightDistance = 280, standingfireorder = 2, standingmoveorder = 1, steeringmode = 1, turnRate = 320, unitname = [[tllhovermissile]], unitnumber = 28703, 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 = [[COREAH_WEAPON]], onlyTargetCategory = [[VTOL]], }, }, } -------------------------------------------------------------------------------- local weaponDefs = { COREAH_WEAPON = { areaOfEffect = 48, burst = 3, burstrate = 0.2, canattackground = false, craterBoost = 0, craterMult = 0, explosionGenerator = [[custom:FLASH2]], fireStarter = 70, guidance = true, impulseBoost = 0.123, impulseFactor = 0.123, lineOfSight = true, metalpershot = 0, model = [[missile]], name = [[Missiles]], noSelfDamage = true, range = 700, reloadtime = 2.2, renderType = 1, selfprop = true, smokedelay = 0.1, smokeTrail = true, soundHitDry = [[xplomed2]], soundStart = [[rockhvy2]], startsmoke = 1, startVelocity = 450, texture2 = [[coresmoketrail]], tolerance = 10000, tracks = true, turnRate = 63000, turret = true, weaponAcceleration = 164, weaponTimer = 5, weaponType = [[MissileLauncher]], weaponVelocity = 670, damage = { bombers = 85, default = 5, fighters = 85, flak_resistant = 85, unclassed_air = 85, }, }, } 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 = [[tllhovermissile_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 = [[3x3b]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[All Worlds]], }, } unitDef.featureDefs = featureDefs -------------------------------------------------------------------------------- return lowerkeys({[unitName] = unitDef}) --------------------------------------------------------------------------------