-- UNITDEF -- TLLARES -- -------------------------------------------------------------------------------- local unitName = "tllares" -------------------------------------------------------------------------------- local unitDef = { acceleration = 0.08, bmcode = 1, brakeRate = 0.10, buildCostEnergy = 221, buildCostMetal = 168, builder = false, buildTime = 2000, canAttack = true, canGuard = true, canMove = true, canPatrol = true, canstop = 1, category = [[ALL MOBILE NOTDEFENSE NOTHOVERNOTVTOL NOTSUB NOTSUBNOTSHIP NOTVTOL SMALL WEAPON]], corpse = [[dead]], defaultmissiontype = [[Standby]], description = [[Fast Assault Tank]], designation = [[]], energyMake = 0.5, energyUse = 0.5, explodeAs = [[BIG_UNITEX]], firestandorders = 1, footprintX = 2, footprintZ = 2, idleAutoHeal = 5, idleTime = 1800, maneuverleashlength = 640, maxDamage = 648, maxSlope = 10, maxVelocity = 2.95, maxWaterDepth = 12, mobilestandorders = 1, movementClass = [[TANK2]], name = [[Ares]], noAutoFire = false, noChaseCategory = [[SUB VTOL]], objectName = [[TLLARES]], selfDestructAs = [[BIG_UNIT]], shootme = 1, side = [[TLL]], sightDistance = 400, standingfireorder = 2, standingmoveorder = 2, steeringmode = 1, turnRate = 775, unitname = [[tllares]], unitnumber = 828, 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] = [[tarmmove]], }, select = { [1] = [[tarmsel]], }, }, weaponDefs = nil, weapons = { [1] = { def = [[ARM_LIGHTCANNON]], onlyTargetCategory = [[NOTVTOL]], }, }, } -------------------------------------------------------------------------------- local weaponDefs = { ARM_LIGHTCANNON = { areaOfEffect = 48, avoidFeature = false, ballistic = true, cegTag = [[Trail_cannon]], craterBoost = 0, craterMult = 0, explosionGenerator = [[custom:LIGHT_PLASMA_BLING]], fireStarter = 100, gravityaffected = [[TRUE]], impulseBoost = 0.123, impulseFactor = 0.123, name = [[LightCannon]], nogap = 1, noSelfDamage = true, range = 334, reloadtime = 1.19, renderType = 4, rgbColor = [[0.87 0.63 0]], separation = 0.45, size = 1.36, sizedecay = -0.15, soundHitDry = [[xplosml3]], soundStart = [[canlite3]], stages = 20, startsmoke = 1, turret = true, weaponType = [[Cannon]], weaponVelocity = 225, damage = { default = 97, raider_resistant = 48.5, 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 = [[tllares_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 = [[2x2e]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[All Worlds]], }, } unitDef.featureDefs = featureDefs -------------------------------------------------------------------------------- return lowerkeys({[unitName] = unitDef}) --------------------------------------------------------------------------------