-- UNITDEF -- TLLACSUB -- -------------------------------------------------------------------------------- local unitName = "tllacsub" -------------------------------------------------------------------------------- local unitDef = { acceleration = 0.09, bmcode = 1, brakeRate = 0.12, buildCostEnergy = 7986, buildCostMetal = 1112, buildDistance = 122, builder = true, buildTime = 17151, canGuard = true, canMove = true, canPatrol = true, canreclamate = 1, canstop = 1, category = [[ALL CONSTR LARGE MOBILE NOTDEFENSE NOTHOVERNOTVTOL NOTVTOL NOTWEAPON SUB]], collisionvolumeoffsets = [[0 0 0]], collisionvolumescales = [[36 26 66]], collisionvolumetest = 1, collisionvolumetype = [[Ell]], corpse = [[dead]], defaultmissiontype = [[Standby]], description = [[Build Underwater Structures]], designation = [[TL-CS]], downloadable = 1, energyMake = 18, energyStorage = 50, energyUse = 0.9, explodeAs = [[SMALL_UNITEX]], footprintX = 3, footprintZ = 3, idleAutoHeal = 5, idleTime = 1800, maneuverleashlength = 640, maxDamage = 365, maxVelocity = 2, metalMake = 0.9, metalStorage = 50, minWaterDepth = 20, mobilestandorders = 1, movementClass = [[UBOAT3]], name = [[Advanced Construction Sub]], noAutoFire = false, noChaseCategory = [[NOTSUBNOTSHIP]], objectName = [[TLLACSUB]], radarDistance = 0, selfDestructAs = [[SMALL_UNIT]], shootme = 1, side = [[TLL]], sightDistance = 120, sonarDistance = 450, standingmoveorder = 1, steeringmode = 1, turnRate = 340, unitname = [[tllacsub]], unitnumber = 897, waterline = 30, workerTime = 510, buildoptions = { [1] = [[tlluwfusion]], [2] = [[tllauwmex]], [3] = [[tllwmmohoconv]], [4] = [[tllplat]], [5] = [[tllsy]], [6] = [[tllasy]], [7] = [[tllsubpen]], [8] = [[tlllmtns]], [9] = [[tllnssam]], [10] = [[tllfflak]], [11] = [[tllatorp]], [12] = [[tllkrak]], [13] = [[tlltrid]], [14] = [[tllfgate]], [15] = [[tllasonar]], [16] = [[tlluwjam]], [17] = [[tlldtns]], [18] = [[tnanotower]], }, featureDefs = nil, sounds = { build = [[nanlath1]], canceldestruct = [[cancel2]], capture = [[capture1]], repair = [[repair1]], underattack = [[warning1]], working = [[reclaim1]], cant = { [1] = [[cantdo4]], }, count = { [1] = [[count6]], [2] = [[count5]], [3] = [[count4]], [4] = [[count3]], [5] = [[count2]], [6] = [[count1]], }, ok = { [1] = [[suarmmov]], }, select = { [1] = [[suarmsel]], }, }, } -------------------------------------------------------------------------------- local featureDefs = { dead = { blocking = true, category = [[tll_corpses]], damage = 0.6000 * unitDef.maxDamage, description = [[Wreckage]], featureDead = [[heap]], featurereclamate = [[smudge01]], footprintX = 4, footprintZ = 4, height = 12, hitdensity = 100, metal = 0.8000 * unitDef.buildCostMetal, object = [[tllacsub_dead]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[all]], }, heap = { blocking = false, category = [[heaps]], damage = 0.3600 * unitDef.maxDamage, description = [[Metal Shards]], featurereclamate = [[smudge01]], footprintX = 4, footprintZ = 4, hitdensity = 4, metal = 0.6400 * unitDef.buildCostMetal, object = [[4x4a]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[all]], }, } unitDef.featureDefs = featureDefs -------------------------------------------------------------------------------- return lowerkeys({[unitName] = unitDef}) --------------------------------------------------------------------------------