Jump to content
Sign in to follow this  
MAXXED_345

Drone Addon how to add turrets

Recommended Posts

i wanted to add a new drone with a modded turret heres what i had done so far

 

Quote

class CfgPatches 
{
    class ucav_sentinel_attack_drone_addon 
    {
        author = "MAXED";
        version = 1.0;
        units[] = {"ucav_sentinel_ad"};
        
        weapons[] = {};
        requiredAddons[] = {"A3_Drones_F"};
    };
};

class CfgVehicles 
{
    class B_UAV_05_F;
    class ucav_sentinel_ad : B_UAV_05_F 
    {
        displayName = "UCAV Sentinel (Attack Drone)";
        author = "MAXED";
        class Attributes
        {
            class ucav_sentinel_ad_init
            {
            init = "call{this addWeaponTurret [""Gatling_30mm_Plane_CAS_01_F"", [0]];                                                                                          this addMagazineTurret [""MG8_1174Rnd_Gau8_30mm"",[0]];                     this addMagazineTurret [""MG8_1174Rnd_Gau8_30mm"",[0]];                     this addMagazineTurret [""MG8_1174Rnd_Gau8_30mm"",[0]];                     this addMagazineTurret [""MG8_1174Rnd_Gau8_30mm"",[0]];                     this addMagazineTurret [""MG8_1174Rnd_Gau8_30mm"",[0]];                     this addMagazineTurret [""MG8_1174Rnd_Gau8_30mm"",[0]];                     this addMagazineTurret [""MG8_1174Rnd_Gau8_30mm"",[0]];                     this addMagazineTurret [""MG8_1174Rnd_Gau8_30mm"",[0]];}";
            };
        };
    };
};

 

it adds the drone but it dont have the turret i wanted to add, can someone correct my config pls..

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×