-- UNITDEF -- TLLAMPHIBOT -- -------------------------------------------------------------------------------- local unitName = "tllamphibot" -------------------------------------------------------------------------------- local unitDef = { acceleration = 0.1, bmcode = 1, brakeRate = 0.15, buildCostEnergy = 1680, buildCostMetal = 680, builder = false, buildTime = 5982, canAttack = true, canGuard = true, canMove = true, canPatrol = true, canstop = 1, category = [[ALL MEDIUM MOBILE NOTDEFENSE NOTHOVERNOTVTOL NOTSUB NOTSUBNOTSHIP NOTVTOL WEAPON]], corpse = [[dead]], defaultmissiontype = [[Standby]], description = [[Amphibious Kbot]], designation = [[TLL-KABL]], downloadable = 1, energyMake = 0.4, energyStorage = 0, energyUse = 0.4, explodeAs = [[BIG_UNITEX]], firestandorders = 1, floater = false, footprintX = 2, footprintZ = 2, idleAutoHeal = 5, idleTime = 1800, maneuverleashlength = 640, maxDamage = 1800, maxSlope = 14, maxVelocity = 1.5, metalStorage = 0, mobilestandorders = 1, movementClass = [[AKBOT2]], name = [[Seagull]], noAutoFire = false, noChaseCategory = [[VTOL]], noshadow = 1, objectName = [[TLLAMPHiBOT]], radarDistance = 0, selfDestructAs = [[BIG_UNIT]], shootme = 1, side = [[TLL]], sightDistance = 450, sonardistance = 500, standingfireorder = 2, standingmoveorder = 1, steeringmode = 2, turnRate = 400, unitname = [[tllamphibot]], unitnumber = 176, upright = true, waterline = 30, 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] = [[amphok1]], }, select = { [1] = [[amphsel1]], }, }, weaponDefs = nil, weapons = { [1] = { def = [[CORAMPH_WEAPON2]], onlyTargetCategory = [[NOTVTOL]], }, [2] = { def = [[CORAMPH_WEAPON1]], onlyTargetCategory = [[NOTHOVERNOTVTOL]], }, }, } -------------------------------------------------------------------------------- local weaponDefs = { CORAMPH_WEAPON1 = { areaOfEffect = 16, avoidFriendly = false, burnblow = true, collideFriendly = false, craterBoost = 0, craterMult = 0, explosionGenerator = [[custom:FLASH2]], impactonly = 1, impulseBoost = 0.123, impulseFactor = 0.123, lineOfSight = true, model = [[torpedo]], name = [[Torpedo]], noSelfDamage = true, predictBoost = 0, propeller = 1, range = 400, reloadtime = 8, renderType = 1, selfprop = true, soundHitDry = [[xplodep2]], soundStart = [[torpedo1]], startVelocity = 75, turret = true, waterWeapon = true, weaponAcceleration = 5, weaponTimer = 3, weaponType = [[TorpedoLauncher]], weaponVelocity = 100, damage = { default = 200, }, }, CORAMPH_WEAPON2 = { areaOfEffect = 12, beamlaser = 1, beamTime = 0.15, coreThickness = 0.2, craterBoost = 0, craterMult = 0, energypershot = 35, explosionGenerator = [[custom:SMALL_GREEN_LASER_BURN]], fireStarter = 90, impactonly = 1, impulseBoost = 0.123, impulseFactor = 0.123, laserFlareSize = 10, lineOfSight = true, name = [[HighEnergyLaser]], noSelfDamage = true, range = 300, reloadtime = 1.15, renderType = 0, rgbColor = [[0 1 0]], soundHitDry = [[lasrhit1]], soundStart = [[lasrhvy3]], targetMoveError = 0.25, thickness = 3, tolerance = 10000, turret = true, weaponType = [[BeamLaser]], weaponVelocity = 700, damage = { default = 150, 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 = [[TLLamphibot_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 = 80, metal = 0.6400 * unitDef.buildCostMetal, object = [[3x3F]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[All Worlds]], }, } unitDef.featureDefs = featureDefs -------------------------------------------------------------------------------- return lowerkeys({[unitName] = unitDef}) --------------------------------------------------------------------------------