-- UNITDEF -- TLLLASBOT -- -------------------------------------------------------------------------------- local unitName = "tlllasbot" -------------------------------------------------------------------------------- local unitDef = { acceleration = 0.21, bmcode = 1, brakeRate = 0.18, buildCostEnergy = 1251, buildCostMetal = 255, builder = false, buildTime = 3500, canAttack = true, canGuard = true, canMove = true, canPatrol = true, canstop = 1, category = [[ALL MEDIUM MOBILE NOTDEFENSE NOTHOVERNOTVTOL NOTSUB NOTSUBNOTSHIP NOTVTOL WEAPON]], collisionVolumeOffsets = [[0 1 0]], collisionVolumeScales = [[41 41 23]], collisionVolumeTest = 1, collisionVolumeType = [[CylZ]], corpse = [[dead]], defaultmissiontype = [[Standby]], description = [[Laser Raider Kbot]], designation = [[TL-LB]], downloadable = 1, energyMake = 0.4, energyStorage = 0, energyUse = 0.4, explodeAs = [[BIG_UNITEX]], firestandorders = 1, footprintX = 2, footprintZ = 2, idleAutoHeal = 5, idleTime = 1800, maneuverleashlength = 640, maxDamage = 860, maxSlope = 16, maxVelocity = 2.2, maxWaterDepth = 0, metalStorage = 0, mobilestandorders = 1, movementClass = [[KBOT2]], name = [[Iguana]], noAutoFire = false, noChaseCategory = [[SUB VTOL]], objectName = [[TLLLASBOT]], radarDistance = 0, selfDestructAs = [[BIG_UNIT]], shootme = 1, side = [[TLL]], sightDistance = 500, standingfireorder = 2, standingmoveorder = 1, steeringmode = 2, turnRate = 816, unitname = [[tlllasbot]], unitnumber = 925, upright = true, workerTime = 0, 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] = [[mavbok1]], }, select = { [1] = [[mavbsel1]], }, }, weaponDefs = nil, weapons = { [1] = { def = [[TLL_LASERH1]], onlyTargetCategory = [[NOTVTOL]], }, }, } -------------------------------------------------------------------------------- local weaponDefs = { TLL_LASERH1 = { areaOfEffect = 12, beamlaser = 1, beamTime = 0.15, coreThickness = 0.2, craterBoost = 0, craterMult = 0, energypershot = 2, 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 = 280, reloadtime = 0.45, renderType = 0, rgbColor = [[0 0.55 0]], soundHitDry = [[lasrhit1]], soundStart = [[Lasrmas2]], targetMoveError = 0.2, thickness = 3, tolerance = 10000, turret = true, weaponType = [[BeamLaser]], weaponVelocity = 2250, damage = { default = 80, raider_resistant = 40, 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 = 12, hitdensity = 100, metal = 0.8000 * unitDef.buildCostMetal, object = [[tlllasbot_dead]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[all]], }, heap = { blocking = false, category = [[heaps]], damage = 0.3600 * unitDef.maxDamage, description = [[Metal Shards]], featurereclamate = [[smudge01]], footprintX = 3, footprintZ = 3, hitdensity = 5, metal = 0.6400 * unitDef.buildCostMetal, object = [[3x3a]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[all]], }, } unitDef.featureDefs = featureDefs -------------------------------------------------------------------------------- return lowerkeys({[unitName] = unitDef}) --------------------------------------------------------------------------------