-- UNITDEF -- TLLLFT -- -------------------------------------------------------------------------------- local unitName = "tlllft" -------------------------------------------------------------------------------- local unitDef = { bmcode = 0, buildAngle = 32768, buildCostEnergy = 3146, buildCostMetal = 252, builder = false, buildingGroundDecalDecaySpeed = 30, buildingGroundDecalSizeX = 4, buildingGroundDecalSizeY = 4, buildingGroundDecalType = [[tlllft_aoplane.dds]], buildTime = 5846, canAttack = true, canGuard = true, canstop = 1, category = [[ALL ANTIFLAME NOTHOVERNOTVTOL NOTMOBILE NOTSUB NOTSUBNOTSHIP NOTVTOL WEAPON]], collisionvolumeoffsets = [[0 0 0]], collisionvolumescales = [[22 84 22]], collisionvolumetype = [[box]], corpse = [[dead]], defaultmissiontype = [[GUARD_NOMOVE]], description = [[Blazing Flame Tower]], designation = [[]], energyStorage = 100, energyUse = 0, explodeAs = [[MEDIUM_BUILDINGEX]], firestandorders = 1, footprintX = 2, footprintZ = 2, iconType = [[building]], idleAutoHeal = 5, idleTime = 1800, maxDamage = 1025, maxSlope = 14, maxWaterDepth = 0, name = [[L.F.T.]], noAutoFire = false, noChaseCategory = [[ALL]], objectName = [[TLLLFT]], selfDestructAs = [[MEDIUM_BUILDING]], shootme = 1, side = [[TLL]], sightDistance = 500, standingfireorder = 2, unitname = [[tlllft]], unitnumber = 808, useBuildingGroundDecal = true, yardMap = [[oooo]], featureDefs = nil, customparams = { RequireTech = [[Assault Commander]], }, 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] = { badTargetCategory = [[ANTIFLAME]], def = [[TLL_FLAME]], onlyTargetCategory = [[NOTVTOL]], }, }, } -------------------------------------------------------------------------------- local weaponDefs = { TLL_FLAME = { areaOfEffect = 96, burst = 20, burstrate = 0.01, craterBoost = 0, craterMult = 0, edgeEffectiveness = 0.5, endsmoke = 0, fireStarter = 95, flameGfxTime = 1.2, groundbounce = false, id = 157, impulseBoost = 0, impulseFactor = 0, lineOfSight = true, name = [[FlameThrower]], noExplode = true, predictBoost = 0, range = 520, reloadtime = 1, renderType = 5, rgbColor = [[1 0.95 0.9]], rgbColor2 = [[0.9 0.85 0.8]], sizeGrowth = 0.7, smokedelay = 1, soundStart = [[flamhvy1]], sprayAngle = 1800, startsmoke = 0, tolerance = 2500, turret = true, unitsonly = 1, weaponTimer = 1.625, weaponType = [[Flame]], weaponVelocity = 300, damage = { default = 12, flamethrowers = 4, raider_resistant = 6, 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 = 2, footprintZ = 2, height = 20, hitdensity = 100, metal = 0.8000 * unitDef.buildCostMetal, object = [[tlllft_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}) --------------------------------------------------------------------------------