-- UNITDEF -- TLLMEGACOLDFUS -- -------------------------------------------------------------------------------- local unitName = "tllefus" -------------------------------------------------------------------------------- local unitDef = { activateWhenBuilt = true, bmcode = 0, buildAngle = 4096, buildCostEnergy = 676785, buildCostMetal = 167045, builder = false, buildingGroundDecalDecaySpeed = 30, buildingGroundDecalSizeX = 12, buildingGroundDecalSizeY = 12, buildingGroundDecalType = [[tllmegacoldfus_aoplane.dds]], buildTime = 3742000, canAttack = false, category = [[ALL NOTDEFENSE NOTHOVERNOTVTOL NOTMOBILE NOTSUB NOTSUBNOTSHIP NOTVTOL NOTWEAPON]], collisionvolumeoffsets = "0 0 0", collisionvolumescales = "187 177 187", collisionvolumetype = "CylY", corpse = [[dead]], description = [[Produces Metals and Energy / Storage]], designation = [[TL-CF]], downloadable = 1, energyMake = 90000, energyStorage = 380000, energyUse = 84500, explodeAs = [[SUPERBLAST_BUILDING_CORE]], footprintX = 15, footprintZ = 15, iconType = [[building]], idleAutoHeal = 5, idleTime = 1800, losemitheight = 96, makesMetal = 1500, mass = 415045, maxDamage = 34500, maxSlope = 10, maxWaterDepth = 0, metalStorage = 0, name = [[Ultimate Dark Energy Converter]], noAutoFire = false, noChaseCategory = [[ALL]], objectName = [[TLLEFUS]], radarDistance = 0, selfDestructAs = [[SUPERBLAST_BUILDING_CORE]], side = [[TLL]], sightDistance = 210, unitname = [[tllefus]], useBuildingGroundDecal = true, workerTime = 0, yardMap = "ooooooooooooooo ooooooooooooooo ooooooooooooooo ooooooooooooooo ooooooooooooooo ooooooooooooooo ooooooooooooooo ooooooooooooooo ooooooooooooooo ooooooooooooooo ooooooooooooooo ooooooooooooooo ooooooooooooooo ooooooooooooooo ooooooooooooooo", featureDefs = nil, sfxtypes = { explosiongenerators = { [1] = [[custom:SmallWhiteLight]], }, }, sounds = { canceldestruct = [[cancel2]], underattack = [[warning1]], count = { [1] = [[count6]], [2] = [[count5]], [3] = [[count4]], [4] = [[count3]], [5] = [[count2]], [6] = [[count1]], }, select = { [1] = [[fusion1]], }, }, weaponDefs = nil, weapons = { [1] = { def = [[FUS_SHIELD]], }, [2] = { def = [[FUS_SHIELD2]], }, }, } local weaponDefs = { FUS_SHIELD = { name = [[FusionShield]], rgbColor = [[1.000 0.000 0.000]], shieldAlpha = 0.45, shieldBadColor = [[1 0.2 0.2]], shieldEnergyUse = 0, shieldForce = 0, shieldGoodColor = [[0.2 1 0.2]], shieldInterceptType = 0, shieldMaxSpeed = 0, shieldOffset = [[0 135 0]], shieldPower = 0, shieldPowerRegen = 0, shieldPowerRegenEnergy = 0, shieldRadius = 70, shieldRepulser = true, smartShield = true, visibleShield = true, visibleShieldHitFrames = 0, visibleShieldRepulse = true, weaponType = [[Shield]], damage = { default = 0, }, }, FUS_SHIELD2 = { name = [[FusionShield]], rgbColor = [[1.000 0.000 0.000]], shieldAlpha = 0.45, shieldBadColor = [[1 0.2 0.2]], shieldEnergyUse = 0, shieldForce = 0, shieldGoodColor = [[0.2 1 0.2]], shieldInterceptType = 0, shieldMaxSpeed = 0, shieldOffset = [[0 150 0]], shieldPower = 0, shieldPowerRegen = 0, shieldPowerRegenEnergy = 0, shieldRadius = 50, shieldRepulser = true, smartShield = true, visibleShield = true, visibleShieldHitFrames = 0, visibleShieldRepulse = true, weaponType = [[Shield]], damage = { default = 0, }, }, } unitDef.weaponDefs = weaponDefs -------------------------------------------------------------------------------- local featureDefs = { dead = { blocking = true, category = [[tll_corpses]], collisionvolumeoffsets = "0 0 0", collisionvolumescales = "280 178 280", collisionvolumetype = "CylY", damage = 0.6000 * unitDef.maxDamage, description = [[Ultimate Dark Energy Converter Wreckage]], featureDead = [[heap]], featurereclamate = [[smudge01]], footprintX = 15, footprintZ = 15, -- height = 12, hitdensity = 100, metal = 0.8000 * unitDef.buildCostMetal, object = [[tllefus_dead]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[all]], }, heap = { blocking = false, category = [[heaps]], damage = 0.3600 * unitDef.maxDamage, description = [[Ultimate Dark Energy Converter Debris]], featurereclamate = [[smudge01]], footprintX = 5, footprintZ = 5, hitdensity = 5, metal = 0.6400 * unitDef.buildCostMetal, object = [[5x5a]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[all]], }, } unitDef.featureDefs = featureDefs -------------------------------------------------------------------------------- return lowerkeys({[unitName] = unitDef}) --------------------------------------------------------------------------------