Advertisement
Guest User

Untitled

a guest
Jun 19th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.69 KB | None | 0 0
  1. -- UNITDEF -- DISH --
  2. --------------------------------------------------------------------------------
  3.  
  4. local unitName = "dish"
  5.  
  6. --------------------------------------------------------------------------------
  7.  
  8. local unitDef = {
  9.   acceleration       = 0.32,
  10.   altfromsealevel    = "1",
  11.   bankscale          = "3",
  12.   bmcode             = "1",
  13.   brakeRate          = 1,
  14.   buildCostEnergy    = 0,
  15.   buildCostMetal     = 0,
  16.   builder            = false,
  17.   buildTime          = 10,
  18.   canAttack          = true,
  19.   canFly             = true,
  20.   canGuard           = true,
  21.   canMove            = true,
  22.   canPatrol          = true,
  23.   canstop            = "1",
  24.   cantBeTransported  = true,
  25.   category           = "AIR",
  26.   collide            = false,
  27.   cruiseAlt          = 300,
  28.   defaultmissiontype = "VTOL_standby",
  29.   description        = "Radar plane",
  30.   explodeAs          = "SMALL_UNITEX",
  31.   firestandorders    = "1",
  32.   footprintX         = 4,
  33.   footprintZ         = 2,
  34.   iconType           = "fed",
  35.   idleAutoHeal       = 0,
  36.   maneuverleashlength = "1000",
  37.   maxDamage          = 200,
  38.   maxSlope           = 150.00,
  39.   maxVelocity        = 8,
  40.   maxWaterDepth      = 0,
  41.   minCloakDistance   = 83.777084350586,
  42.   mobilestandorders  = "1",
  43.   name               = "DISH",
  44.   objectName         = "units/dish.s3o",
  45.   pitchscale         = "1",
  46.   power              = 2,
  47.   radarDistance      = 3767,
  48.   reclaimable        = false,
  49.   selfDestructAs     = "SMALL_UNITEX",
  50.   shootme            = "1",
  51.   side               = "renpou",
  52.   sightDistance      = 1050.00,
  53.   sonarDistance      = 400,
  54.   standingfireorder  = "2",
  55.   standingmoveorder  = "1",
  56.   steeringmode       = "1",
  57.   TEDClass           = "VTOL",
  58.   threed             = "1",
  59.   transportByEnemy   = false,
  60.   turnRate           = 500,
  61.  
  62.     turnRadius      = 600,
  63.     maxRudder       = 0.01,
  64.     maxBank         = 0.01,
  65.     maxElevator     = 0.002,
  66.     maxAileron      = 0.005,
  67.    
  68.     Drag            = 0,
  69.     WingDrag        = 0,
  70.    
  71.   unitname           = "dish",
  72.   customparams = {
  73.     armortype           = "lightarmor",      
  74.     factionname        = "federation",
  75.     costrefined      = "40",
  76.   },
  77.   sounds = {
  78.     canceldestruct     = "cancel2",
  79.     underattack        = "warning1",
  80.     arrived = {
  81.       "hoverstop",
  82.     },
  83.     cant = {
  84.       "cantdo4",
  85.     },
  86.     count = {
  87.       "count5",
  88.       "count4",
  89.       "count3",
  90.       "count2",
  91.       "count1",
  92.       "count0",
  93.     },
  94.     ok = {
  95.       "hover",
  96.     },
  97.     select = {
  98.       "hoverstart",
  99.     },
  100.   },
  101. }
  102.  
  103.  
  104. --------------------------------------------------------------------------------
  105.  
  106. return lowerkeys({ [unitName] = unitDef })
  107.  
  108. --------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement