-----------------------------------------------------------------------------
--  File     : /units/URL0101/URL0101_unit.bp
--
--  Author(s): EbolaSoup, Resin Smoker, Optimus Prime, Vissroid, Domino 
--
--  Summary  : Cybran Land Scout Blueprint
--
--  Copyright © 2011 4DC_V0.8  All rights reserved.
-----------------------------------------------------------------------------

UnitBlueprint {
    Audio = {
        AmbientMove = Sound {
            Bank = 'URL',
            Cue = 'URL0101_Move_Loop',
            LodCutoff = 'UnitMove_LodCutoff',
        },
        Destroyed = Sound {
            Bank = 'URLDestroy',
            Cue = 'URL_Destroy_Land',
            LodCutoff = 'UnitMove_LodCutoff',
        },
        StartMove = Sound {
            Bank = 'URL',
            Cue = 'URL0101_Move_Start',
            LodCutoff = 'UnitMove_LodCutoff',
        },
        StopMove = Sound {
            Bank = 'URL',
            Cue = 'URL0101_Move_Stop',
            LodCutoff = 'UnitMove_LodCutoff',
        },
        UISelection = Sound {
            Bank = 'Interface',
            Cue = 'Cybran_Select_Vehicle',
            LodCutoff = 'UnitMove_LodCutoff',
        },
    },
    BuildIconSortPriority = 20,
    Categories = {
        'PRODUCTSC1',
        'SELECTABLE',
        'BUILTBYTIER1FACTORY',
        'BUILTBYTIER2FACTORY',
        'BUILTBYTIER3FACTORY',
        'CYBRAN',
        'MOBILE',
        'PATROLHELPER',        
        'LAND',
        'TECH1',
        'SCOUT',
        'INTELLIGENCE',
        'RADAR',
        'VISIBLETORECON',
        'RECLAIM',       
        'RECLAIMABLE',
        'OVERLAYRADAR',
    },
    CollisionOffsetY = 0.05,
    Defense = {
        AirThreatLevel = 0,
        ArmorType = 'Normal',
        EconomyThreatLevel = 0,
        Health = 15,
        MaxHealth = 15,
        RegenRate = 0,
        SubThreatLevel = 0,
        SurfaceThreatLevel = 0.1,
    },
    Description = '<LOC url0101_desc>Land Scout',
    Display = {
        Abilities = {
            '<LOC ability_cloak>Cloaking',
            '<LOC ability_radar>Radar',
            'Scavenger',
        },
        AnimationDeath = {
            {
                Animation = '/units/url0101/url0101_ADeath.sca',
                AnimationRateMax = 1,
                AnimationRateMin = 1,
                Weight = 1,
            },
        },
        AnimationWalk = '/units/URL0101/URL0101_awalk.sca',
        AnimationWalkRate = 10,
        Mesh = {
            IconFadeInZoom = 130,
            LODs = {                              
                {
	                AlbedoName = '/units/url0101/url0101_Albedo.dds',
                    MeshName = '/units/url0101/url0101_lod0.scm',	                
	                NormalsName = '/units/url0101/url0101_NormalsTS.dds',                
                    LODCutoff = 100,
                    ShaderName = 'Insect',
                    SpecularName = '/units/url0101/url0101_SpecTeam.dds',                    
                },
                {
         	        AlbedoName = '/units/url0101/url0101_lod1_albedo.dds',
         	        MeshName = '/units/url0101/url0101_lod1.scm',         	        
         	        NormalsName = '/units/url0101/url0101_lod1_normalsTS.dds',
                    LODCutoff = 215,
                    ShaderName = 'Insect',
                    SpecularName = '/units/url0101/url0101_lod1_specteam.dds',
                },
            },
        },
        MovementEffects = {
            Land = {
                Effects = {
                    {
                        Bones = {
                            'URL0101',
                        },
                        Type = 'GroundKickup01',
                    },
                },
            },
        },
        PlaceholderMeshName = 'UXL0011',
        SpawnRandomRotation = true,
        UniformScale = 0.027,
    },
    Economy = {
        BuildCostEnergy = 80,
        BuildCostMass = 8,
        BuildTime = 80,
        BuildRate = 1,   
        MaintenanceConsumptionPerSecondEnergy = 1,             
        NeedToFaceTargetToBuild = true,        
        TeleportEnergyMod = 0.15,
        TeleportMassMod = 1,
        TeleportTimeMod = 0.01,
    },
	
    General = {
        Category = 'Utility',
        Classification = 'RULEUC_MilitaryVehicle',
        CommandCaps = {
            RULEUCC_Attack = false,
            RULEUCC_CallTransport = true,
            RULEUCC_Capture = false,
            RULEUCC_Guard = true,
            RULEUCC_Move = true,
            RULEUCC_Nuke = false,
            RULEUCC_Patrol = true,
            RULEUCC_Reclaim = true,
            RULEUCC_Repair = false,
            RULEUCC_RetaliateToggle = false,
            RULEUCC_Stop = true,
            RULEUCC_Transport = false,
        },
        FactionName = 'Cybran',
        Icon = 'land',
        OrderOverrides = {
            RULEUTC_GenericToggle = { 
                bitmapId = 'intel-counter',
                helpText = 'toggle_cloak',
            },
        },          
        TechLevel = 'RULEUTL_Basic',
        ToggleCaps = {
            RULEUTC_GenericToggle = true,
        },
        UnitName = 'Leach',
        UnitWeight = 1,
    },
    Intel = {
        Cloak = true,
        CustomCloak = true, -- Added to ensure compatability with BlackOps       
        StealthStartsOn = true,
        RadarRadius = 45,
        VisionRadius = 24,
    },
    Interface = {
        HelpText = '<LOC url0101_help>Land Scout',
    },
    LifeBarHeight = 0.075,
    LifeBarOffset = 0.2,
    LifeBarSize = 0.5,
    Physics = {
        BackUpDistance = 0,
        BankingSlope = 0,
        BuildOnLayerCaps = {
            LAYER_Air = false,
            LAYER_Land = true,
            LAYER_Orbit = false,
            LAYER_Seabed = false,
            LAYER_Sub = false,
            LAYER_Water = false,
        },
        DragCoefficient = 0.2,
        MaxAcceleration = 4.8,
        MaxBrake = 4.8,
        MaxSpeed = 4.8,
        MaxSpeedReverse = 0,
        MaxSteerForce = 10,
        MinSpeedPercent = 0,
        MotionType = 'RULEUMT_Land',
        TurnRadius = 0,
        TurnRate = 180,
    },
    SelectionSizeX = 0.3,
    SelectionSizeZ = 0.3,
    SelectionThickness = 1.2,
    SizeX = 0.25,
    SizeY = 0.125,
    SizeZ = 0.25,
    StrategicIconName = 'icon_land1_intel',
    ModIconName = '4dc',    
    StrategicIconSortPriority = 135,
    Wreckage = {
        Blueprint = '/props/DefaultWreckage/DefaultWreckage_prop.bp',
        EnergyMult = 0,
        HealthMult = 0.9,
        MassMult = 0.9,
        ReclaimTimeMultiplier = 1,
        WreckageLayers = {
            Air = false,
            Land = true,
            Seabed = false,
            Sub = false,
            Water = false,
        },
    },
}