-- UNITDEF -- TLLHLTNS -- -------------------------------------------------------------------------------- local unitName = "tllhltns" -------------------------------------------------------------------------------- local unitDef = { bmcode = 0, buildAngle = 32768, buildCostEnergy = 2957, buildCostMetal = 741, builder = false, buildTime = 9705, canAttack = true, canGuard = true, canstop = 1, category = [[ALL NOTHOVERNOTVTOL NOTMOBILE NOTSUB NOTSUBNOTSHIP NOTVTOL WEAPON]], corpse = [[dead]], defaultmissiontype = [[GUARD_NOMOVE]], description = [[Heavy Laser Tower - Naval Series]], designation = [[]], energyStorage = 200, energyUse = 0, explodeAs = [[MEDIUM_BUILDINGEX]], firestandorders = 1, floater = true, footprintX = 3, footprintZ = 3, iconType = [[building]], idleAutoHeal = 5, idleTime = 1800, maxDamage = 5210, maxSlope = 14, minWaterDepth = 5, name = [[NS H.L.T.]], noAutoFire = false, noChaseCategory = [[ALL]], noshadow = 1, objectName = [[TLLHLTNS]], selfDestructAs = [[MEDIUM_BUILDING]], shootme = 1, side = [[TLL]], sightDistance = 380, standingfireorder = 2, unitname = [[tllhltns]], unitnumber = 882, yardMap = [[wwwwwwwww]], featureDefs = nil, sounds = { canceldestruct = [[cancel2]], cloak = [[kloak1]], uncloak = [[kloak1un]], underattack = [[warning1]], cant = { [1] = [[cantdo4]], }, count = { [1] = [[count6]], [2] = [[count5]], [3] = [[count4]], [4] = [[count3]], [5] = [[count2]], [6] = [[count1]], }, ok = { [1] = [[twractv3]], }, select = { [1] = [[twractv3]], }, }, weaponDefs = nil, weapons = { [1] = { badTargetCategory = [[TINY]], def = [[CORFHLT_LASER]], onlyTargetCategory = [[NOTVTOL]], }, }, } -------------------------------------------------------------------------------- local weaponDefs = { CORFHLT_LASER = { areaOfEffect = 8, beamlaser = 1, beamTime = 0.15, coreThickness = 0.2, craterBoost = 0, craterMult = 0, energypershot = 75, explosionGenerator = [[custom:LARGE_GREEN_LASER_BURN]], fireStarter = 90, impactonly = 1, impulseBoost = 0.123, impulseFactor = 0.123, laserFlareSize = 10, lineOfSight = true, name = [[HighEnergyLaser]], noSelfDamage = true, range = 620, reloadtime = 1, renderType = 0, rgbColor = [[0 1 0]], soundHitDry = [[lasrhit1]], soundStart = [[Lasrmas2]], targetMoveError = 0.2, thickness = 3, tolerance = 10000, turret = true, weaponType = [[BeamLaser]], weaponVelocity = 900, damage = { default = 210, 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 = 100, metal = 0.8000 * unitDef.buildCostMetal, object = [[tllhltns_dead]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[All Worlds]], }, heap = { blocking = false, category = [[heaps]], damage = 0.3600 * unitDef.maxDamage, description = [[Wreckage]], featurereclamate = [[smudge01]], footprintX = 2, footprintZ = 2, height = 4, hitdensity = 100, metal = 0.6400 * unitDef.buildCostMetal, object = [[2x2b]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[All Worlds]], }, } unitDef.featureDefs = featureDefs -------------------------------------------------------------------------------- return lowerkeys({[unitName] = unitDef}) --------------------------------------------------------------------------------