Jump to content
Asphronix

How to add Target Lead Indicator to Prowler HMG

Recommended Posts

Hey,i am new to scripting and changing configs and this is my first try at it.I am trying to add a target lead indicator,like the ones you see in Cheetah and Tigris to other vehicles with  electronic turret optics.Now i digged in through CfgWeapons info and saw that i just had to change the value for "ballisticscomputer" in CfgWeapons.But the problem is,......where is the location of CfgWeapons,under what pbo does it exist? I went and opened the config.bin of Prowler and there is nothing called CfgWeapons there either.

 

The "ballisticscomputer" value that i want to change should be under "HMG_127_LSV_01",but can't find the location of it

Share this post


Link to post
Share on other sites

Or is there something i can type into the debug console which will change the value of "ballisticscomputer" under "HMG_127_LSV_01" to something i want without making an entire new mod for it?

Share this post


Link to post
Share on other sites

Okay,i found and edited the ballisticscomputer values to what i want and created a custom config.cpp

 

class CfgPatches

{

    class HMG_static;
    class HMG_127_LSV_01: HMG_static
    {
        ballisticsComputer="2 + 4";
        FCSMaxLeadSpeed=105.56;
        FCSZeroingDelay=0.5;
        magazines[]=
        {
            "500Rnd_127x99_mag",
            "500Rnd_127x99_mag_Tracer_Red",
            "500Rnd_127x99_mag_Tracer_Green",
            "500Rnd_127x99_mag_Tracer_Yellow",
            "200Rnd_127x99_mag",
            "200Rnd_127x99_mag_Tracer_Red",
            "200Rnd_127x99_mag_Tracer_Green",
            "200Rnd_127x99_mag_Tracer_Yellow",
            "100Rnd_127x99_mag",
            "100Rnd_127x99_mag_Tracer_Red",
            "100Rnd_127x99_mag_Tracer_Green",
            "100Rnd_127x99_mag_Tracer_Yellow"
        };
        class GunParticles
        {
            class effect1
            {
                positionName="muzzle_beg";
                directionName="muzzle_end";
                effectName="MachineGunCloud";
            };
            class effect2
            {
                positionName="machinegun_eject_pos";
                directionName="machinegun_eject_dir";
                effectName="MachineGunCartridge1";
            };
        };
    };

};

 

 

 

 

 

 

 

 

i made it into a .pbo and ran the addon,no difference for the prowler mounted HMG

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

×