Advertisement
Guest User

Untitled

a guest
Feb 2nd, 2014
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 16.22 KB | None | 0 0
  1. -----------------------------------------------------------------------------
  2. --  File     : /units/UAL0216/UAL0216_unit.bp
  3. --
  4. --  Author(s): Eddy, EbolaSoup, Resin Smoker, Optimus Prime, Vissroid, Domino
  5. --
  6. --  Summary  : Aeon T2 Artillery Bot Blueprint
  7. --
  8. --  Copyright © 2014 4DC_V0.82  All rights reserved.
  9. -----------------------------------------------------------------------------
  10.  
  11. UnitBlueprint {
  12.     AI = {
  13.         TargetBones = {
  14.             'Torso',
  15.             'Head',
  16.             'Left_Leg_B02',
  17.             'Right_Leg_B02',
  18.         },
  19.     },
  20.     Audio = {
  21.         Activate = Sound {
  22.             Bank = 'UAB',
  23.             Cue = 'UAB2305_Activate_Arm',
  24.             LodCutoff = 'UnitMove_LodCutoff',
  25.         },
  26.        Close = Sound {
  27.             Bank = 'UAB',
  28.             Cue = 'UAB2305_Center_Close',
  29.            LodCutoff = 'UnitMove_LodCutoff',
  30.         },
  31.         AmbientMove = Sound {
  32.             Bank = 'UAL',
  33.             Cue = 'UAL0103_Move_Loop',
  34.             LodCutoff = 'UnitMove_LodCutoff',
  35.         },
  36.         Destroyed = Sound {
  37.             Bank = 'UALDestroy',
  38.             Cue = 'UAL_Destroy_Land',
  39.             LodCutoff = 'UnitMove_LodCutoff',
  40.         },
  41.         FootFallGeneric = Sound {
  42.             Bank = 'UAL',
  43.             Cue = 'UAL0301_Move_Step',
  44.             LodCutoff = 'UnitMove_LodCutoff',
  45.         },
  46.         FootFallGenericSeabed = Sound {
  47.             Bank = 'UAL',
  48.             Cue = 'UAL0301_Move_UW_Step',
  49.             LodCutoff = 'UnitMove_LodCutoff',
  50.         },
  51.         Pack = Sound {
  52.             Bank = 'UAL',
  53.             Cue = 'UAL0202_Close',
  54.             LodCutoff = 'UnitMove_LodCutoff',
  55.         },
  56.         ShieldOff = Sound {
  57.             Bank = 'UAL',
  58.             Cue = 'UAL0202_Shield_Off',
  59.             LodCutoff = 'UnitMove_LodCutoff',
  60.         },
  61.         ShieldOn = Sound {
  62.             Bank = 'UAL',
  63.             Cue = 'UAL0202_Shield_On',
  64.             LodCutoff = 'UnitMove_LodCutoff',
  65.         },                
  66.         StartMove = Sound {
  67.             Bank = 'UAL',
  68.             Cue = 'UAL0303_Move_Start',
  69.             LodCutoff = 'UnitMove_LodCutoff',
  70.         },
  71.         StopMove = Sound {
  72.             Bank = 'UAL',
  73.             Cue = 'UAL0303_Move_Stop',
  74.             LodCutoff = 'UnitMove_LodCutoff',
  75.         },
  76.         UISelection = Sound {
  77.             Bank = 'Interface',
  78.             Cue = 'Aeon_Select_Bot',
  79.             LodCutoff = 'UnitMove_LodCutoff',
  80.         },
  81.         Unpack = Sound {
  82.             Bank = 'UAL',
  83.             Cue = 'UAL0202_Open',
  84.             LodCutoff = 'UnitMove_LodCutoff',
  85.         },
  86.     },
  87.     Buffs = {
  88.         Regen = {
  89.             Level1 = 2,
  90.             Level2 = 4,
  91.             Level3 = 6,
  92.             Level4 = 8,
  93.             Level5 = 10,
  94.         },
  95.     },
  96.     BuildIconSortPriority = 20,
  97.     Categories = {
  98.         'AEON',  
  99.         'ARTILLERY',
  100.         'BOT',                                    
  101.         'BUILTBYTIER2FACTORY',
  102.         'BUILTBYTIER3FACTORY',
  103.         'DEFLECTOR',          
  104.         'INDIRECTFIRE',        
  105.         'LAND',
  106.         'MOBILE',
  107.         'OVERLAYINDIRECTFIRE',                
  108.         'RECLAIMABLE',        
  109.         'SELECTABLE',
  110.         'SHIELD',          
  111.         'TECH2',                
  112.         'VISIBLETORECON',
  113.     },
  114.     Defense = {      
  115.         AirThreatLevel = 2,        
  116.         ArmorType = 'Normal',
  117.         EconomyThreatLevel = 0,        
  118.         Health = 700,
  119.         MaxHealth = 700,
  120.         RegenRate = 0.1,
  121.         SubThreatLevel = 0,
  122.         SurfaceThreatLevel = 10,
  123.         ThreatLevel = 10,
  124.         Deflector = {
  125.             -- (Positive numbers = right, Neg numbers = left)
  126.             CollisionCenterX = 0.000,
  127.             -- (Positive numbers = up, Neg numbers = down)                     
  128.             CollisionCenterY = 0.000,
  129.             -- (Positive numbers = foward, Neg numbers = back)         
  130.             CollisionCenterZ = 0.025,
  131.             -- Shape of the impact area, choices are: 'Box', 'Sphere', 'None'          
  132.             CollisionShape = 'Sphere',
  133.             -- (Positive numbers = right, Neg numbers = left)                      
  134.             CollisionSizeX = 0.35,
  135.             -- (Positive numbers = up, Neg numbers = down)             
  136.             CollisionSizeY = 0.35,
  137.             -- (Positive numbers = foward, Neg numbers = back)         
  138.             CollisionSizeZ = 0.5,
  139.             DeflectorMesh = '/mods/4DC_V0.82/meshes/DeflectorEntities/deflector01/deflector01_mesh',   
  140.             ImpactEffects = 'AeonShieldHit01',
  141.             -- Deflectors size in the game world            
  142.             MeshScale = 0.1,
  143.             -- What the defelctor attaches to
  144.             OwnerAttachBone = 'Torso',
  145.             -- Where the effects originate from            
  146.             OwnerFXBone = 'Bot_Weapon_Left1',
  147.             -- (Positive numbers = right, Neg numbers = left)  
  148.             PositionOffsetX = 0.28,
  149.             -- (Positive numbers = up, Neg numbers = down)
  150.             PositionOffsetY = 0.0,
  151.             -- (Positive numbers = foward, Neg numbers = back)
  152.             PositionOffsetZ = 0.5,
  153.             -- Only required if CollisionShape is set to Sphere
  154.             SizeSphere = 0.40,                           
  155.             StartOn = false,          
  156.         },                
  157.     },
  158.     Description = 'Artillery Bot',
  159.     Display = {
  160.         Abilities = {
  161.             '<LOC ability_amphibious>Amphibious',
  162.             'Deflector Shield',                    
  163.             'Deployable Artillery Cannon',
  164.         },    
  165.         AnimationDeath = {
  166.             {
  167.                 -- Death Standing --
  168.                 Animation = '/mods/4DC_V0.82/units/UAL0216/UAL0216_ADeath01_Anim.sca',
  169.                 AnimationRateMax = 0.5,
  170.                 AnimationRateMin = 0.5,
  171.                 Weight = 33,
  172.             },
  173.             {
  174.                 -- Falls backwards & breaks apart --
  175.                 Animation = '/mods/4DC_V0.82/units/UAL0216/UAL0216_ADeath02_Anim.sca',
  176.                 AnimationRateMax = 1.0,
  177.                 AnimationRateMin = 0.6,
  178.                 Weight = 33,
  179.             },
  180.             {
  181.                 -- Falls forwards & breaks apart --            
  182.                 Animation = '/mods/4DC_V0.82/units/UAL0216/UAL0216_ADeath03_Anim.sca',
  183.                 AnimationRateMax = 1.0,
  184.                 AnimationRateMin = 0.6,
  185.                 Weight = 33,
  186.             },
  187.         },
  188.         AnimationWalk = '/mods/4DC_V0.82/units/UAL0216/UAL0216_AWalk01_Anim.sca',
  189.         AnimationArtyDeploy = '/mods/4DC_V0.82/units/UAL0216/UAL0216_Stand_Anim.sca',
  190.         AnimationDeflectorDeploy = '/mods/4DC_V0.82/units/UAL0216/UAL0216_Shield_Anim.sca',            
  191.         AnimationWalkRate = 1.3636, --1    
  192.         Mesh = {
  193.             IconFadeInZoom = 130,
  194.             LODs = {
  195.                 {
  196.                     AlbedoName = '/mods/4DC_V0.82/units/UAL0216/UAL0216_Albedo.dds',
  197.                     LODCutoff = 60,
  198.                     MeshName = '/mods/4DC_V0.82/units/UAL0216/UAL0216_lod0.scm',
  199.                     NormalsName = '/mods/4DC_V0.82/units/UAL0216/UAL0216_normalsTS.dds',
  200.                     SpecularName = '/mods/4DC_V0.82/units/UAL0216/UAL0216_SpecTeam.dds',                
  201.                     ShaderName = 'Aeon',
  202.                 },
  203.                 {                    
  204.                     AlbedoName = '/mods/4DC_V0.82/units/UAL0216/UAL0216_Albedo.dds',
  205.                     LODCutoff = 215,
  206.                     MeshName = '/mods/4DC_V0.82/units/UAL0216/UAL0216_lod1.scm',
  207.                     NormalsName = '/mods/4DC_V0.82/units/UAL0216/UAL0216_normalsTS.dds',
  208.                     SpecularName = '/mods/4DC_V0.82/units/UAL0216/UAL0216_SpecTeam.dds',                
  209.                     ShaderName = 'Aeon',                                      
  210.                 },
  211.             },
  212.         },
  213.         MovementEffects = {
  214.             Land = {
  215.                 Effects = {
  216.                     {
  217.                         Bones = {
  218.                             'Right_Exhaust',
  219.                             'Left_Exhaust',                          
  220.                      },
  221.                         Type = 'GroundKickup01',                        
  222.                     },
  223.                 },
  224.             },
  225.             Seabed = {
  226.                 Effects = {
  227.                     {
  228.                         Bones = {
  229.                             'Right_Exhaust',
  230.                             'Left_Exhaust',  
  231.                         },
  232.                         Type = 'UnderWater01',
  233.                     },
  234.                 },
  235.             },            
  236.         },
  237.         PlaceholderMeshName = 'UXL0001',
  238.         SpawnRandomRotation = true,
  239.         TransportAnimation = {
  240.             {
  241.                 Animation = '/mods/4DC_V0.82/units/UAL0216/UAL0216_Trans_Fold_Anim.sca',
  242.                 Weight = 100,
  243.             },
  244.         },
  245.         TransportDropAnimation = {
  246.             {
  247.                 Animation = '/mods/4DC_V0.82/units/UAL0216/UAL0216_Trans_Unfold_Anim.sca',
  248.                 Weight = 100,
  249.             },
  250.         },
  251.         UniformScale = 0.022,
  252.     },
  253.     Economy = {      
  254.         BuildCostEnergy = 1200,
  255.         BuildCostMass = 240,
  256.         BuildTime = 1200,
  257.         MaintenanceConsumptionPerSecondEnergy = 5,
  258.         TeleportEnergyMod = 0.15,
  259.         TeleportMassMod = 1,
  260.         TeleportTimeMod = 0.01,        
  261.     },      
  262.     General = {
  263.         Category = 'Indirect Fire',
  264.         Classification = 'RULEUC_MilitaryVehicle',
  265.         CommandCaps = {
  266.             RULEUCC_Attack = true,
  267.             RULEUCC_CallTransport = true,
  268.             RULEUCC_Capture = false,
  269.             RULEUCC_Guard = true,
  270.             RULEUCC_Move = true,
  271.             RULEUCC_Nuke = false,
  272.             RULEUCC_Patrol = true,
  273.             RULEUCC_Reclaim = false,
  274.             RULEUCC_Repair = false,
  275.             RULEUCC_RetaliateToggle = true,
  276.             RULEUCC_Stop = true,
  277.             RULEUCC_Transport = false,
  278.         },
  279.         FactionName = 'Aeon',
  280.         Icon = 'amph',
  281.              
  282.         OrderOverrides = {    
  283.             RULEUTC_WeaponToggle = {
  284.                 bitmapId = 'toggle-weapon',      
  285.                 helpText = 'Change mode of fire',
  286.             },
  287.             RULEUTC_ShieldToggle = {
  288.                 bitmapId = 'shield-personal',
  289.                 helpText = 'toggle_shield_personal',
  290.             },                                                     
  291.         },
  292.                            
  293. --      ExtraToggleCaps = {
  294. --          RULEUTC_DeflectorToggle = true,
  295. --      },
  296.          
  297.         ToggleCaps = {
  298.             RULEUTC_WeaponToggle = true,
  299.             RULEUTC_ShieldToggle = true,                    
  300.         },
  301.          
  302.         TechLevel = 'RULEUTL_Advanced',              
  303.         UnitName = 'Long Hammer',
  304.         UnitWeight = 1,
  305.     },
  306.     Intel = {
  307.         VisionRadius = 20,
  308.         WaterVisionRadius = 10,                  
  309.     },
  310.     Interface = {
  311.         HelpText = 'Artillery Bot',
  312.     },    
  313.     LifeBarHeight = 0.05,
  314.     LifeBarOffset = 0.55,
  315.     LifeBarSize = 0.75,
  316.     Physics = {      
  317.         BankingSlope = 0,
  318.         BuildOnLayerCaps = {
  319.             LAYER_Air = false,
  320.             LAYER_Land = true,
  321.             LAYER_Orbit = false,
  322.             LAYER_Seabed = false,
  323.             LAYER_Sub = false,
  324.             LAYER_Water = false,
  325.         },
  326.         DragCoefficient = 0.2,
  327.         MaxAcceleration = 1.0,
  328.         MaxBrake = 3.0,
  329.         MaxSpeed = 3.0,
  330.         MaxSpeedReverse = 0.5,
  331.         MaxSteerForce = 7,
  332.         MinSpeedPercent = 0,
  333.         MotionType = 'RULEUMT_Amphibious',
  334.         StandUpright = true,
  335.         TurnRadius = 0.0,
  336.         TurnRate = 150,        
  337.     },
  338.     SelectionCenterOffsetX = 0,
  339.     SelectionCenterOffsetY = 0.05,    
  340.     SelectionCenterOffsetZ = 0,    
  341.     SelectionSizeX = 0.7,
  342.     SelectionSizeY = 1.0,    
  343.     SelectionSizeZ = 0.5,
  344.     SelectionThickness = 0.62,
  345.     SizeX = 0.5,
  346.     SizeY = 1.0,
  347.     SizeZ = 0.25,
  348.     StrategicIconName = 'icon_bot2_directfire',
  349.     ModIconName = '4dc', -- (DMS) Adds mod identifier info to unit icons            
  350.     StrategicIconSortPriority = 115,
  351.     Transport = {
  352.         CanFireFromTransport = false,
  353.         TransportClass = 2,
  354.     },
  355.     Veteran = {
  356.         Level1 = 6,
  357.         Level2 = 12,
  358.         Level3 = 18,
  359.         Level4 = 24,
  360.         Level5 = 30,
  361.     },
  362.     Weapon = {      
  363.         {
  364.             AboveWaterTargetsOnly = true,
  365.             AimsStraightOnDisable = true,
  366.             AnimationRecoil = '/mods/4DC_V0.82/units/UAL0216/UAL0216_ReloadAnim.sca',
  367.             AnimationRecoilRate = 4.0,  
  368.             ArtilleryShieldBlocks = true,
  369.             AutoInitiateAttackCommand = 'true',                      
  370.             Audio = {
  371.                 BarrelLoop = Sound {
  372.                     Bank = 'UAS',
  373.                     Cue = 'UAS_Turret_Lrg_Loop',
  374.                     LodCutoff = 'WeaponBig_LodCutoff',
  375.                 },
  376.                 BarrelStart = Sound {
  377.                     Bank = 'UAS',
  378.                     Cue = 'UAS_Turret_Lrg_Start',
  379.                     LodCutoff = 'WeaponBig_LodCutoff',
  380.                 },
  381.                 Fire = Sound {
  382.                     Bank = 'UALWeapon',
  383.                     Cue = 'UAL0304_Artillery_Sonance',
  384.                     LodCutoff = 'Weapon_LodCutoff',
  385.                 },
  386.                 MuzzleChargeStart = Sound {
  387.                     Bank = 'UALWeapon',
  388.                     Cue = 'UAB2302_Artillery_Son_Charge',
  389.                     LodCutoff = 'Weapon_LodCutoff',
  390.                 },
  391.             },  
  392.             BallisticArc = 'RULEUBA_LowArc',
  393.             CollideFriendly = false,
  394.             Damage = 120,
  395.             DamageFriendly = false,
  396.             DamageRadius = 0.0,
  397.             DamageType = 'Normal',
  398.             DisplayName = 'Mutli-Mode Artillery',            
  399.             FireTargetLayerCapsTable = {
  400.                 Land = 'Land|Water|Seabed',
  401.                 Water = 'Land|Water|Seabed',
  402.             },
  403.             FiringRandomness = 0.25,
  404.             FiringRandomnessWhileMoving = 0.5,  
  405.             FiringTolerance = 1,
  406.             Label = 'MainWeapon',
  407.             LeadTarget = true,
  408.             MaxRadius = 30,
  409.             MinRadius = 0,
  410.             MuzzleSalvoDelay = 0,
  411.             MuzzleSalvoSize = 1,
  412.             MuzzleVelocity = 20,
  413.             ProjectileId = '/mods/4DC_V0.82/projectiles/UAL0216_MidCannon01/UAL0216_MidCannon01_proj.bp',              
  414.             SecondaryProjectileId = '/mods/4DC_V0.82/projectiles/UAL0216_ArtCannon01/UAL0216_ArtCannon01_proj.bp',        
  415.             ProjectileLifetimeUsesMultiplier = 3,
  416.             ProjectilesPerOnFire = 1,
  417.             RackBones = {
  418.                 {
  419.                     MuzzleBones = {
  420.                         'Arty_Muzzle',
  421.                     },
  422.                     RackBone = 'Arty_Recoil',
  423.                     TelescopeBone = 'Arty_Barrel',
  424.                     TelescopeRecoilDistance = -1.8,
  425.                 },
  426.             },
  427.             RackFireTogether = false,
  428.             RackRecoilDistance = -1.6,
  429.             RackReloadTimeout = 0,
  430.             RackSalvoChargeTime = 0,
  431.             RackSalvoReloadTime = 0,
  432.             RackSalvoSize = 1,
  433.             RackSlavedToTurret = false,
  434.             RangeCategory = 'UWRC_IndirectFire',
  435.             RateOfFire = 0.5,
  436.             RenderFireClock = false,
  437.             TargetCheckInterval = 1,
  438.             TargetPriorities = {              
  439.                 'SPECIALHIGHPRI',
  440.                 'TECH3 MOBILE',
  441.                 'TECH2 MOBILE',
  442.                 'TECH1 MOBILE',
  443.                 'STRUCTURE DEFENSE',
  444.                 'SPECIALLOWPRI',
  445.                 'ALLUNITS',                
  446.             },
  447.             TargetRestrictDisallow = 'UNTARGETABLE',
  448.             TrackingRadius = 1.15,            
  449.             TurretBoneMuzzle = 'Arty_Muzzle',
  450.             TurretBonePitch = 'Bot_Arm_Right1',
  451.             TurretBoneYaw = 'Torso',          
  452.             TurretDualManipulators = false,
  453.             TurretPitch = 45,
  454.             TurretPitchRange = 90,
  455.             TurretPitchSpeed = 45,
  456.             TurretYaw = 0,
  457.             TurretYawRange = 180,
  458.             TurretYawSpeed = 90,
  459.             Turreted = true,
  460.             WeaponCategory = 'Artillery',
  461.             WeaponUnpacks = false,
  462.             UseFiringSolutionInsteadOfAimBone = true,            
  463.         },        
  464.     },
  465.     Wreckage = {
  466.         Blueprint = '/props/DefaultWreckage/DefaultWreckage_prop.bp',
  467.         EnergyMult = 0,
  468.         HealthMult = 0.9,
  469.         MassMult = 0.9,
  470.         ReclaimTimeMultiplier = 1,
  471.         WreckageLayers = {
  472.             Air = false,
  473.             Land = true,
  474.             Seabed = false,
  475.             Sub = false,
  476.             Water = false,
  477.         },
  478.     },
  479. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement