-- UNITDEF -- TLLGLADIUS -- -------------------------------------------------------------------------------- local unitName = "tllgladius" -------------------------------------------------------------------------------- local unitDef = { acceleration = 0.8, bmcode = 1, brakeRate = 0.23, buildCostEnergy = 168, buildCostMetal = 41, builder = false, buildTime = 1181, canAttack = true, canGuard = true, canMove = true, canPatrol = true, canstop = 1, category = [[ALL MOBILE NOTDEFENSE NOTHOVERNOTVTOL NOTSUB NOTSUBNOTSHIP NOTVTOL TINY WEAPON]], corpse = [[dead]], defaultmissiontype = [[Standby]], description = [[Fast Scout Vehicle]], designation = [[TLLFAST]], energyMake = 0.3, energyUse = 0.3, explodeAs = [[SMALL_UNITEX]], firestandorders = 1, footprintX = 2, footprintZ = 2, idleAutoHeal = 5, idleTime = 1800, maneuverleashlength = 640, maxDamage = 102, maxSlope = 18, maxVelocity = 4.9, maxWaterDepth = 12, mobilestandorders = 1, movementClass = [[TANK2]], name = [[Vampire]], noAutoFire = false, noChaseCategory = [[SUB VTOL]], objectName = [[TLLGLADIUS]], selfDestructAs = [[SMALL_UNIT]], shootme = 1, side = [[TLL]], sightDistance = 480, standingfireorder = 2, standingmoveorder = 2, steeringmode = 1, turnRate = 1050, unitname = [[tllgladius]], unitnumber = 8260, 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 = [[TLLLIGHT_PARALYZER]], onlyTargetCategory = [[NOTVTOL]], }, }, } -------------------------------------------------------------------------------- local weaponDefs = { TLLLIGHT_PARALYZER = { areaOfEffect = 8, beamlaser = 1, beamTime = 0.1, burstrate = 0.2, coreThickness = 0.1, craterBoost = 0, craterMult = 0, duration = 0.10, --new energypershot = 2, intensity = 0.50, --new explosionGenerator = [[custom:SMALL_YELLOW_BURN]], fireStarter = 50, impactonly = 1, impulseBoost = 0.123, impulseFactor = 0.123, laserFlareSize = 2, lineOfSight = true, name = [[Laser]], noSelfDamage = true, -- paralyzer = true, -- paralyzertime = 10, range = 180, reloadtime = 0.9, renderType = 0, rgbColor = [[0 0 7]], soundHitDry = [[lashit]], soundStart = [[lasrlit1]], soundTrigger = true, targetMoveError = 0.1, thickness = 0.75, tolerance = 10000, turret = true, weaponType = [[BeamLaser]], weaponVelocity = 600, damage = { commanders = 2,--20, default = 11,--320, raider_resistant = 7,--200, 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 = [[tllgladius_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 = [[2x2f]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[All Worlds]], }, } unitDef.featureDefs = featureDefs -------------------------------------------------------------------------------- return lowerkeys({[unitName] = unitDef}) --------------------------------------------------------------------------------