Jump to content
Sign in to follow this  
ruPal

Updating base class

Recommended Posts

Hello, guys.
I want to change zoom in static weapons. I doing this:

class CfgPatches
{
    class A3_Static_F_no_zoom
    {
        units[]={};
        weapons[]={};
        requiredVersion=0.1;
        requiredAddons[]=
        {
            "A3_Weapons_F",
            "A3_Static_F"
        };
    };
};
class CfgVehicles
{
    class All;
    class AllVehicles: All
    {
        class NewTurret
        {
            class ViewGunner
            {
                minFov=0.75;
                maxFov=0.75;
                initFov=0.75;
            };
        };
    };
    class Land: AllVehicles{};
    class LandVehicle: Land {};
    class StaticWeapon: LandVehicle
    {
        class Turrets
        {
            class MainTurret: NewTurret
            {
                class ViewOptics
                {
                    minFov=0.75;
                    maxFov=0.75;
                    initFov=0.75;
                };
            };
        };
    };
};

and get this:

Updating base class ViewOptics->, by disable_zoom\vanilla\static_f\config.bin/CfgVehicles/AllVehicles/NewTurret/ViewGunner/

May somebody help me, please?

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  

×