-- UNITDEF -- TLLBIND -- -------------------------------------------------------------------------------- local unitName = "tllbind" -------------------------------------------------------------------------------- local unitDef = { acceleration = 0.06, bmcode = 1, brakeRate = 0.133, buildCostEnergy = 12400, buildCostMetal = 2985, builder = false, buildTime = 47896, canAttack = true, canGuard = true, canMove = true, canPatrol = true, canstop = 1, category = [[ALL LARGE MOBILE NOTDEFENSE NOTHOVERNOTVTOL NOTSUB NOTSUBNOTSHIP NOTVTOL WEAPON]], corpse = [[dead]], defaultmissiontype = [[Standby]], description = [[Heavy Laser Kbot]], designation = [[]], energyMake = 1.1, energyUse = 1.2, explodeAs = [[CORPYRO_BLAST]], firestandorders = 1, footprintX = 3, footprintZ = 3, idleAutoHeal = 5, idleTime = 1800, maneuverleashlength = 640, maxDamage = 11115, maxSlope = 17, maxVelocity = 0.82, maxWaterDepth = 25, mobilestandorders = 1, movementClass = [[HKBOT3]], name = [[Binder]], noAutoFire = false, noChaseCategory = [[SUB VTOL]], objectName = [[TLLBind]], selfDestructAs = [[MEDIUM_BUILDING]], shootme = 1, side = [[TLL]], sightDistance = 580, standingfireorder = 2, standingmoveorder = 1, steeringmode = 2, turnRate = 250, unitname = [[tllbind]], unitnumber = 8301, upright = true, featureDefs = nil, sounds = { canceldestruct = [[cancel2]], underattack = [[warning1]], cant = { [1] = [[cantdo4]], }, count = { [1] = [[count6]], [2] = [[count5]], [3] = [[count4]], [4] = [[count3]], [5] = [[count2]], [6] = [[count1]], }, ok = { [1] = [[kbcormov]], }, select = { [1] = [[kbcorsel]], }, }, weaponDefs = nil, weapons = { [1] = { def = [[TLLBINDER_WEAPON]], onlyTargetCategory = [[NOTVTOL]], }, }, } -------------------------------------------------------------------------------- local weaponDefs = { TLLBINDER_WEAPON = { areaOfEffect = 12, beamlaser = 1, beamTime = 0.15, coreThickness = 0.3, craterBoost = 0, craterMult = 0, energypershot = 75, explosionGenerator = [[custom:LARGE_GREEN_LASER_BURN]], fireStarter = 90, impactonly = 1, impulseBoost = 0.113, impulseFactor = 0.113, laserFlareSize = 9, lineOfSight = true, name = [[HighEnergyLaser]], noSelfDamage = true, range = 605, reloadtime = 0.66, renderType = 0, rgbColor = [[0 1 0]], soundHitDry = [[lasrhit1]], soundStart = [[lasrhvy3]], targetMoveError = 0.25, thickness = 2.6, tolerance = 10000, turret = true, weaponType = [[BeamLaser]], weaponVelocity = 800, damage = { default = 350, 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 = [[tllbind_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 = [[3x3c]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[All Worlds]], }, } unitDef.featureDefs = featureDefs -------------------------------------------------------------------------------- return lowerkeys({[unitName] = unitDef}) --------------------------------------------------------------------------------