-- UNITDEF -- TLLLMTNS -- -------------------------------------------------------------------------------- local unitName = "tlllmtns" -------------------------------------------------------------------------------- local unitDef = { airsightdistance = 700, bmcode = 0, buildAngle = 32768, buildCostEnergy = 524, buildCostMetal = 134, builder = false, buildTime = 2146, canAttack = true, canGuard = true, canstop = 1, category = [[ALL NOTHOVERNOTVTOL NOTMOBILE NOTSUB NOTSUBNOTSHIP NOTVTOL WEAPON]], collisionvolumeoffsets = [[0 -5 0]], collisionvolumescales = [[36 81 36]], collisionvolumetype = [[CylY]], corpse = [[dead]], defaultmissiontype = [[GUARD_NOMOVE]], description = [[Light Anti-Air Tower - Naval Series]], designation = [[]], energyStorage = 50, energyUse = 0, explodeAs = [[MEDIUM_BUILDINGEX]], firestandorders = 1, footprintX = 3, footprintZ = 3, iconType = [[building]], idleAutoHeal = 5, idleTime = 1800, maxDamage = 785, maxSlope = 14, minWaterDepth = 2, name = [[NS Besom]], noAutoFire = false, noChaseCategory = [[ALL]], objectName = [[TLLLMTNS]], selfDestructAs = [[MEDIUM_BUILDING]], shootme = 1, side = [[TLL]], sightDistance = 425, standingfireorder = 2, unitname = [[tlllmtns]], unitnumber = 888, waterline = 3, 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] = [[servmed2]], }, select = { [1] = [[servmed2]], }, }, weaponDefs = nil, weapons = { [1] = { def = [[ARMRL_MISSILE]], onlyTargetCategory = [[VTOL]], }, }, } -------------------------------------------------------------------------------- local weaponDefs = { ARMRL_MISSILE = { areaOfEffect = 48, canattackground = false, cegTag = [[Tll_Def_AA_Rocket]], craterBoost = 0, craterMult = 0, explosionGenerator = [[custom:FLASH2]], fireStarter = 70, flightTime = 1.5, guidance = true, impulseBoost = 0.123, impulseFactor = 0.123, lineOfSight = true, metalpershot = 0, model = [[missile]], name = [[Missiles]], noSelfDamage = true, range = 765, reloadtime = 1.7, renderType = 1, selfprop = true, smokedelay = 0.1, smokeTrail = true, soundHitDry = [[xplomed2]], soundStart = [[rockhvy2]], startsmoke = 1, startVelocity = 400, texture1 = [[null]], texture2 = [[armsmoketrail]], texture3 = [[null]], texture4 = [[null]], tolerance = 10000, tracks = true, turnRate = 63000, turret = true, weaponAcceleration = 150, weaponTimer = 5, weaponType = [[MissileLauncher]], weaponVelocity = 750, damage = { bombers = 230, default = 5, fighters = 230, flak_resistant = 230, unclassed_air = 230, }, }, } 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 = [[tlllmtns_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 = 100, metal = 0.6400 * unitDef.buildCostMetal, object = [[3x3e]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[All Worlds]], }, } unitDef.featureDefs = featureDefs -------------------------------------------------------------------------------- return lowerkeys({[unitName] = unitDef}) --------------------------------------------------------------------------------