-- UNITDEF -- TLLANNOUNCER -- -------------------------------------------------------------------------------- local unitName = "tllannouncer" -------------------------------------------------------------------------------- local unitDef = { acceleration = 0.13, bmcode = 1, brakeRate = 0.12, buildCostEnergy = 835, buildCostMetal = 162, builder = false, buildTime = 2214, 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 = [[Missile Truck]], designation = [[TL-MML]], energyMake = 0.5, energyUse = 0.5, explodeAs = [[BIG_UNITEX]], firestandorders = 1, footprintX = 3, footprintZ = 3, idleAutoHeal = 5, idleTime = 1800, maneuverleashlength = 640, maxDamage = 1200, maxSlope = 16, maxVelocity = 1.55, maxWaterDepth = 12, mobilestandorders = 1, movementClass = [[TANK3]], name = [[Announcer]], noAutoFire = false, noChaseCategory = [[SUB VTOL]], objectName = [[TLLANNOUNCER]], selfDestructAs = [[BIG_UNIT]], shootme = 1, side = [[TLL]], sightDistance = 500, standingfireorder = 2, standingmoveorder = 2, steeringmode = 1, turnRate = 625, unitname = [[tllannouncer]], unitnumber = 831, 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] = [[varmmove]], }, select = { [1] = [[varmsel]], }, }, weaponDefs = nil, weapons = { [1] = { def = [[CORTRUCK_MISSILE]], onlyTargetCategory = [[NOTVTOL]], maindir = [[0 0 1]], maxangledif = 235, }, }, } -------------------------------------------------------------------------------- local weaponDefs = { CORTRUCK_MISSILE = { areaOfEffect = 48, cegTag = [[Tll_Trail_rocket_long]], craterBoost = 0, craterMult = 0, explosionGenerator = [[custom:FLASH2]], fireStarter = 70, guidance = true, impulseBoost = 0.123, impulseFactor = 0.123, lineOfSight = true, metalpershot = 0, model = [[missile]], name = [[Missiles]], noSelfDamage = true, range = 600, reloadtime = 2.5, renderType = 1, selfprop = true, smokedelay = 0.1, smokeTrail = true, soundHitDry = [[xplomed2]], soundStart = [[rockhvy2]], startsmoke = 1, startVelocity = 450, Texture1 = [[null]], Texture2 = [[null]], Texture3 = [[null]], Texture4 = [[null]], tolerance = 8000, tracks = true, trajectoryHeight = 0.08, turnRate = 63000, turret = true, weaponAcceleration = 109, weaponTimer = 5, weaponType = [[MissileLauncher]], weaponVelocity = 545, damage = { commanders = 72, default = 36, 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 = [[tllannouncer_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 = [[3x3d]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[All Worlds]], }, } unitDef.featureDefs = featureDefs -------------------------------------------------------------------------------- return lowerkeys({[unitName] = unitDef}) --------------------------------------------------------------------------------