-----------------------------------------------------------------------------
--  File     : /mods/4DC_V0.8/projectiles/RocketCannon/RocketCannon_script.lua
--
--  Author(s): EbolaSoup, Resin Smoker, Optimus Prime, Vissroid, Domino
--
--  Summary  : UEF Rocket Cannon Projectile
--
--  Note     : Based off concepts created by Eddy
--
--  Copyright © 2011 4DC_V0.8  All rights reserved.
-----------------------------------------------------------------------------

 ProjectileBlueprint {
    Audio = {
        Impact = Sound {
            Bank = 'Impacts',
            Cue = 'UEF_Expl_Med_Impact',
            LodCutoff = 'Weapon_LodCutoff',
        },
        ImpactTerrain = Sound {
            Bank = 'Impacts',
            Cue = 'Impact_Land_Gen_UEF',
            LodCutoff = 'Weapon_LodCutoff',
        },
        ImpactWater = Sound {
            Bank = 'Impacts',
            Cue = 'Impact_Water_Splash_UEF',
            LodCutoff = 'Weapon_LodCutoff',
        },
    },
    Categories = {
        'INDIRECTFIRE',
        'MISSILE',
        'PROJECTILE',           
        'TACTICAL', 
        'UEF', 
    },
    Defense = {
        Health = 1,
        MaxHealth = 1,
    },
    Display = {
        CameraFollowsProjectile = false,
        Mesh = {
            LODs = {
                {
                    AlbedoName = '/projectiles/TIFMissileCruise01/TIFMissileCruise01_albedo.dds',
                    ShaderName = 'TMeshAlpha',
                },
            },
        },
        StrategicIconSize = 2,             
        UniformScale = 0.05,
    },
    General = {
        Category = 'Missile',
        Faction = 'UEF',
        EntityCategory = {
            'INDIRECTFIRE',
            'MISSILE',
            'PROJECTILE',           
            'TACTICAL', 
            'UEF', 
        },
    },
    Interface = {
        HelpText = 0,
    },
    Physics = {
        Acceleration = 1,
        DestroyOnWater = true,
        InitialSpeed = 10,
        LifeTime = 30,
        OnLostTargetLifetime = 5,
        MaxSpeed = 20,
        MaxZigZag = 4,         
        RotationalVelocity = 0,
        RotationalVelocityRange = 0,
        TrackTarget = true,
        TrackTargetGround = false,
        TurnRate = 40,
        UseGravity = true,
        VelocityAlign = true,
        ZigZagFrequency = 0.5, 
    },
}