-- UNITDEF -- TLLCONVINCER -- -------------------------------------------------------------------------------- local unitName = "tllconvincer" -------------------------------------------------------------------------------- local unitDef = { acceleration = 0.016, bmcode = 1, brakeRate = 0.03, buildCostEnergy = 1887, buildCostMetal = 950, builder = false, buildTime = 9201, 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 = [[Mobile Rocket Launcher]], explodeAs = [[BIG_UNITEX]], firestandorders = 1, footprintX = 3, footprintZ = 3, idleAutoHeal = 5, idleTime = 1800, maneuverleashlength = 320, maxDamage = 860, maxSlope = 16, maxVelocity = 1.05, maxWaterDepth = 12, mobilestandorders = 1, movementClass = [[TANK3]], name = [[Convincer]], noAutoFire = false, noChaseCategory = [[SUB VTOL]], objectName = [[TLLCONVINCER]], selfDestructAs = [[BIG_UNIT]], shootme = 1, side = [[TLL]], sightDistance = 230, standingfireorder = 2, standingmoveorder = 0, steeringmode = 1, turnRate = 400, unitname = [[tllconvincer]], unitnumber = 872, 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] = [[vcormove]], }, select = { [1] = [[vcorsel]], }, }, weaponDefs = nil, weapons = { [1] = { badTargetCategory = [[MOBILE]], def = [[ARMTRUCK_ROCKET]], onlyTargetCategory = [[NOTVTOL]], }, }, } -------------------------------------------------------------------------------- local weaponDefs = { ARMTRUCK_ROCKET = { areaOfEffect = 85, cegTag = [[TLLRAVENTRAIL]], craterBoost = 0, craterMult = 0, edgeEffectiveness = 0.5, explosionGenerator = [[custom:incendiary_explosion_small]], fireStarter = 100, flightTime = 10, guidance = true, impulseBoost = 0.123, impulseFactor = 0.123, lineOfSight = true, metalpershot = 0, model = [[rocket]], name = [[Rocket]], noautorange = 1, noSelfDamage = true, range = 1425, reloadtime = 20.4, renderType = 1, selfprop = true, smokedelay = 0.1, smokeTrail = false, soundHitDry = [[xplomed4]], soundStart = [[Rockhvy1]], startsmoke = 1, Texture1 = [[null]], Texture2 = [[null]], Texture3 = [[null]], Texture4 = [[null]], tolerance = 4000, turnRate = 24384, twoPhase = true, vlaunch = true, weaponAcceleration = 102.4, weaponTimer = 3.3, weaponType = [[StarburstLauncher]], weaponVelocity = 380, damage = { commanders = 500, default = 2145, 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 = 4, footprintZ = 4, height = 20, hitdensity = 120, metal = 0.8000 * unitDef.buildCostMetal, object = [[tllconvincer_dead]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[All Worlds]], }, heap = { blocking = false, category = [[heaps]], damage = 0.3600 * unitDef.maxDamage, description = [[Wreckage]], featurereclamate = [[smudge01]], footprintX = 4, footprintZ = 4, height = 4, hitdensity = 80, metal = 0.6400 * unitDef.buildCostMetal, object = [[4x4c]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[All Worlds]], }, } unitDef.featureDefs = featureDefs -------------------------------------------------------------------------------- return lowerkeys({[unitName] = unitDef}) --------------------------------------------------------------------------------