class braf_m113_base : Tank_F {
    author = "BRAF Team";
    expansion = 3;
    dlc = "BRAF";
    scope = 0;
	scopeCurator = 0;
    weapons[] = { "TruckHorn" };
    brakeDistance = 9.0;
    htMin = 60;
    htMax = 1800;
    afMax = 200;
    mfMax = 100;
    mFact = 1;
    tBody = 250;
    driverforceoptics = 0;
    LODDriverTurnedIn = 1100;
    LODDriverTurnedOut = 1000;
    forceHideDriver = 0;
    LODTurnedOut = 1000;
    radarType = 8;
    incomingMissileDetectionSystem = 0;
    crewVulnerable = 0;
    viewDriverInExternal = 1;
    tracksSpeed = 3;
    picture = "\braf\braf_tracked\m113\ui\m113br_ui.paa";
	editorPreview = "\braf\braf_insignia\editorpreview\armored\BRAF_army_m113br.jpg";
    Icon = "\braf\braf_tracked\m113\ui\icon_m113_ca.paa";
    mapSize = 5;
    displayName = "BRAF_M113_Base";
    accuracy = 0.3;
    maximumLoad = 5000;
    armor = 155;
    armorStructural = 5.75;
    crewCrashProtection = 0.25;
    crewExplosionProtection = 0.995;
    damageResistance = 0.00547;
    cost = 100000;
    editorSubcategory = "EdSubcat_APCs";
    destrType = "DestructDefault";
    memoryPointsGetInDriver = "pos driver";
    memoryPointsGetInDriverDir = "pos driver dir";
    hasGunner = 1;
    hasCommander = 0;
    viewCargoShadow = 1;
    viewCargoShadowDiff = 0.05;
    viewCargoShadowAmb = 0.5;
    hideWeaponsCargo = 1;
    transportSoldier = 11;
    irScanRangeMin = 0;
    irScanRangeMax = 0;
    supplyRadius = 1.8;
    transportAmmo = 0;
    gunnerHasFlares = 0;
    magazines[] = {};
    outsideSoundFilter = 1;
    driverDoor = "";
    numberPhysicalWheels = 14;
    simulation = "tankX";
    normalSpeedForwardCoef = 0.6;
    slowSpeedForwardCoef = 0.35;
    maxSpeed = 64;
    terrainCoef = 0.0;
    brakeIdleSpeed = 0.0;
    fuelConsumptionRate = 64;
    fuelCapacity = 300;
    tankTurnForce = 100000;
    rudderForceCoef = 0.5;
    rudderForceCoefAtMaxSpeed = 0.015;
    waterSpeedFactor = 0.15;
    waterresistance = 0.5;
    engineShiftY = 0.1;
    waterLeakiness = 1.0;
    turnCoef = 5.25;
    waterLinearDampingCoefY = 2;
    waterLinearDampingCoefX = 2.0;
    waterAngularDampingCoef = 1.2;
    waterResistanceCoef = 0.015;
    torqueCurve[] = {
        { "(0/8000)", "(2300/2300)" },
        { "(1143/8000)", "(2300/2300)" },
        { "(2286/8000)", "(2300/2300)" },
        { "(3429/8000)", "(2300/2300)" },
        { "(4572/8000)", "(2300/2300)" },
        { "(5715/8000)", "(2300/2300)" },
        { "(6858/8000)", "(2300/2300)" },
        { "(8000/8000)", "(2300/2300)" }
    };
    maxOmega = 261.8;
    enginePower = 205;
    peakTorque = 770;
    idleRPM = 550;
    redRPM = 2500;
    thrustDelay = 0.0;
    engineBrakeCoef = 0.0;
    engineLosses = 25;
    transmissionLosses = 15;
    //differentialType="all_limited";
    clutchStrength = 75.0;
    class complexGearbox {
        GearboxRatios[] = { "R1", -0.5, "N", 0, "D1", 1.0 };
        TransmissionRatios[] = { "High", 9.1 };
        AmphibiousRatios[] = { "R1", -5, "N", 0, "D1", 10 };
        gearBoxMode = "auto";
        moveOffGear = 3;
        driveString = "D";
        neutralString = "N";
        reverseString = "R";
        transmissionDelay = 1;
    };
    class Wheels {
        class L2 {
            boneName = "wheel_podkoloL1";
            center = "wheel_1_2_axis";
            boundary = "wheel_1_2_bound";
            damping = 75.0;
            steering = 0;
            side = "left";
            weight = 100;
            mass = 100;
            MOI = 4.1;
            latStiffX = 25;
            latStiffY = 280;
            longitudinalStiffnessPerUnitGravity = 25000;
            maxBrakeTorque = 3000;
            sprungMass = 1230;
            springStrength = 61500;
            springDamperRate = 6958;
            dampingRate = 1.0;
            dampingRateInAir = 1020.0;
            dampingRateDamaged = 10.0;
            dampingRateDestroyed = 10000.0;
            maxDroop = 0.15;
            maxCompression = 0.15;
            frictionVsSlipGraph[] = {
                { 0, 1.5 },
                { 0.5, 1.5 },
                { 1, 1.5 }
            };
        };
        class L3 : L2 {
            boneName = "wheel_podkolol2";
            center = "wheel_1_3_axis";
            boundary = "wheel_1_3_bound";
        };
        class L4 : L2 {
            boneName = "wheel_podkolol3";
            center = "wheel_1_4_axis";
            boundary = "wheel_1_4_bound";
        };
        class L5 : L2 {
            boneName = "wheel_podkolol4";
            center = "wheel_1_5_axis";
            boundary = "wheel_1_5_bound";
        };
        class L6 : L2 {
            boneName = "wheel_podkolol5";
            center = "wheel_1_6_axis";
            boundary = "wheel_1_6_bound";
        };
        class L9 : L2 {
            boneName = "wheel_podkolol9";
            center = "wheel_1_9_axis";
            boundary = "wheel_1_9_bound";
            sprungMass = 1500.0;
            springStrength = 37500;
            springDamperRate = 7500;
            maxDroop = 0;
            maxCompression = 0;
        };
        class L1 : L2 {
            boneName = "";
            center = "wheel_1_1_axis";
            boundary = "wheel_1_1_bound";
            sprungMass = 1500.0;
            springStrength = 37500;
            springDamperRate = 7500;
            maxDroop = 0;
            maxCompression = 0;
        };
        class R2 : L2 {
            boneName = "wheel_podkolop1";
            center = "wheel_2_2_axis";
            boundary = "wheel_2_2_bound";
            side = "right";
        };
        class R3 : R2 {
            boneName = "wheel_podkolop2";
            center = "wheel_2_3_axis";
            boundary = "wheel_2_3_bound";
        };
        class R4 : R2 {
            boneName = "wheel_podkolop3";
            center = "wheel_2_4_axis";
            boundary = "wheel_2_4_bound";
        };
        class R5 : R2 {
            boneName = "wheel_podkolop4";
            center = "wheel_2_5_axis";
            boundary = "wheel_2_5_bound";
        };
        class R6 : R2 {
            boneName = "wheel_podkolop5";
            center = "wheel_2_6_axis";
            boundary = "wheel_2_6_bound";
        };
        class R9 : R2 {
            boneName = "wheel_podkolop9";
            center = "wheel_2_9_axis";
            boundary = "wheel_2_9_bound";
            sprungMass = 1500.0;
            springStrength = 37500;
            springDamperRate = 7500;
            maxDroop = 0;
            maxCompression = 0;
        };
        class R1 : R2 {
            boneName = "";
            center = "wheel_2_1_axis";
            boundary = "wheel_2_1_bound";
            sprungMass = 1500.0;
            springStrength = 37500;
            springDamperRate = 7500;
            maxDroop = 0;
            maxCompression = 0;
        };
    };
	#include "sounds.hpp"
    acre_hasInfantryPhone = 0;
    acre_infantryPhoneDisableRinging = 1;
    class AcreIntercoms {
        class Intercom_1 {
            displayName = "Crew Intercom";
            shortName = "Crew";
            allowedPositions[] = { "driver", "gunner" };
            disabledPositions[] = {};
            limitedPositions[] = {
                { "cargo",
                    "all" }
            };
            masterPositions[] = {};
            numLimitedPositions = 1;
            connectedByDefault = 1;
        };
    };
    class AcreRacks {
        class Rack_1 {
            displayName = "Radio Set";
            shortName = "Radio";
            componentname = "ACRE_VRC103";
            allowedPositions[] = { "driver" };
            disabledPositions[] = {
                { "turnedout",
                    "all" }
            };
            defaultComponents[] = {};
            mountedRadio = "ACRE_PRC117F";
            isRadioRemovable = 0;
            intercom[] = { "intercom_1" };
        };
    };
    class AnimationSources : AnimationSources {
        class ReloadAnim {
            source = "reload";
            weapon = "Braf_Vhmg_M2_static";
        };
        class ReloadMagazine {
            source = "reloadmagazine";
            weapon = "Braf_Vhmg_M2_static";
        };
        class Revolving {
            source = "revolving";
            weapon = "Braf_Vhmg_M2_static";
        };
        class muzzle_rot_main {
            source = "ammorandom";
            weapon = "Braf_Vhmg_M2_static";
        };
        class muzzle_hide_main {
            source = "reload";
            weapon = "Braf_Vhmg_M2_static";
        };
        class hatchTop {
            source = "user";
            animPeriod = 1;
            initPhase = 0;
        };
        class RearDoor {
            animPeriod = 2;
            source = "user";
            initPhase = 0;
        };

        //Addons
        class acav_turret_hide {
            source = "user";
            animPeriod = 0.001;
            initPhase = 0;
            mass = -300;
        };
        class acav_br_shield_hide {
            source = "user";
            animPeriod = 0.001;
            initPhase = 0;
            mass = -300;
        };
    };
    animationList[] = {
        "acav_turret_hide", 1,
        "acav_br_shield_hide", 0
    };
    class Turrets : Turrets {
        class MainTurret : MainTurret {
            outGunnerMayFire = 1;
            forceHideGunner = 1;
            viewGunnerInExternal = 1;
            gunnerHasFlares = 1;
            gunnerAction = "CUP_M113_Gunner_EP1";
            gunnerInAction = "CUP_M113_Gunner_EP1";
            gunnerGetInAction = "GetInLow";
            gunnerGetOutAction = "GetOutLow";
            memoryPointsGetInGunner = "pos gunner";
            memoryPointsGetInGunnerDir = "pos gunner dir";
            minElev = -25;
            maxElev = 58;
            initElev = 0;
            soundServo[] = { "", "db-50", 1.0 };
            weapons[] = {
                "Braf_Vhmg_M2_static",
                "SmokeLauncher"
            };
            magazines[] = {
                "Braf_100Rnd_127x99_M",
                "Braf_100Rnd_127x99_M",
                "Braf_100Rnd_127x99_M",
                "Braf_100Rnd_127x99_M",
                "Braf_100Rnd_127x99_M",
                "Braf_100Rnd_127x99_M",
                "SmokeLauncherMag"
            };
            gunnerOpticsModel = "\a3\Weapons_f\reticle\optics_empty";
            gunnerForceOptics = 0;
            gunnerOpticsShowCursor = 0;
            gunnerOutOpticsShowCursor = 0;
            gunnerLeftHandAnimName = "OtocHlaven";
            gunnerRightHandAnimName = "OtocHlaven";
            disableSoundAttenuation = 1;
            startEngine = 0;
            turretInfoType = "RscOptics_Offroad_01";
            discreteDistance[] = { 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200, 1300, 1400, 1500 };
            discreteDistanceInitIndex = 2;
            class Turrets {
            };
            class ViewOptics {
                initAngleX = 0;
                minAngleX = -30;
                maxAngleX = 30;
                initAngleY = 0;
                minAngleY = -100;
                maxAngleY = 100;
                initFov = 0.42;
                minFov = 0.22;
                maxFov = 0.64;
            };
            ace_fcs_enabled = 0;
        };
    };
    class Damage {
        tex[] = {};
        mat[] = {
            "a3\data_f\default.rvmat",
            "a3\data_f\default.rvmat",
            "a3\data_f\default_destruct.rvmat",

            "braf\braf_tracked\M113\Data\track.rvmat",
            "braf\braf_tracked\M113\Data\track_damage.rvmat",
            "braf\braf_tracked\M113\Data\track_destruct.rvmat",

            "braf\braf_tracked\M113\data\577_interior.rvmat",
            "braf\braf_tracked\M113\data\577_interior_damage.rvmat",
            "braf\braf_tracked\M113\data\577_interior_destruct.rvmat",

            "braf\braf_tracked\M113\data\577_main.rvmat",
            "braf\braf_tracked\M113\data\577_main_damage.rvmat",
            "braf\braf_tracked\M113\data\577_main_destruct.rvmat",

            "braf\braf_tracked\M113\data\m163.rvmat",
            "braf\braf_tracked\M113\data\m163_damage.rvmat",
            "braf\braf_tracked\M113\data\m163_destruct.rvmat",

            "braf\braf_tracked\M113\data\interior.rvmat",
            "braf\braf_tracked\M113\data\interior_damage.rvmat",
            "braf\braf_tracked\M113\data\interior_destruct.rvmat",

            "braf\braf_tracked\M113\data\accessories.rvmat",
            "braf\braf_tracked\M113\data\accessories_damage.rvmat",
            "braf\braf_tracked\M113\data\accessories_destruct.rvmat",

            "braf\braf_tracked\M113\data\panel.rvmat",
            "braf\braf_tracked\M113\data\panel_damage.rvmat",
            "braf\braf_tracked\M113\data\panel_destruct.rvmat",

            "braf\braf_tracked\M113\data\track.rvmat",
            "braf\braf_tracked\M113\data\track_damage.rvmat",
            "braf\braf_tracked\M113\data\track_destruct.rvmat",

            "braf\braf_tracked\M113\data\main.rvmat",
            "braf\braf_tracked\M113\data\main_damage.rvmat",
            "braf\braf_tracked\M113\data\main_destruct.rvmat",

            "braf\braf_tracked\M113\data\unique.rvmat",
            "braf\braf_tracked\M113\data\unique_damage.rvmat",
            "braf\braf_tracked\M113\data\unique_destruct.rvmat"
        };
    };
    driverAction = "CUP_M113_Driver_EP1"; // animar
    driverInAction = "CUP_M113_Driver_EP1"; // animar
    getInAction = "GetInHigh";
    getOutAction = "GetOutHigh";
    cargoGetInAction[] = { "GetInLow" };
    cargoGetOutAction[] = { "GetOutLow" };
    cargoAction[] = {
        "CUP_M113_Cargo01_EP1",
        "CUP_M113_Cargo03_EP1",
        "CUP_M113_Cargo02_EP1",
        "CUP_M113_Cargo02_EP1",
        "CUP_M113_Cargo02_EP1",
        "CUP_M113_Cargo02_EP1",
        "CUP_M113_Cargo03_EP1",
        "CUP_M113_Cargo01_EP1",
        "CUP_M113_Cargo03_EP1",
        "CUP_M113_Cargo03_EP1",
        "CUP_M113_Cargo01_EP1"
    };
    model = "braf\braf_tracked\M113\braf_m113br.p3d";
    canFloat = 1;
    initCargoAngleY = 90;
    threat[] = { 0.9, 0.6, 0.6 };
    transportMaxMagazines = 100;
    transportMaxWeapons = 20;
    class Library {
        libTextDesc = "$STR_LIB_M113";
    };
    class Reflectors {
        class Left {
            color[] = { 0.9, 0.8, 0.8, 1.0 };
            ambient[] = { 0.1, 0.1, 0.1, 1.0 };
            coneFadeCoef = 10;
            dayLight = 0;
            flareSize = 1;
            innerAngle = 100;
            intensity = 1000;
            outerAngle = 140;
            position = "L svetlo";
            direction = "konec L svetla";
            hitpoint = "L svetlo";
            selection = "L svetlo";
            size = 1;
            brightness = 0.5;
            useFlare = 1;
            class Attenuation {
                constant = 0;
                hardLimitEnd = 60;
                hardLimitStart = 30;
                linear = 0;
                quadratic = 0.25;
                start = 1.0;
            };
        };
        class Right : Left {
            position = "P svetlo";
            direction = "konec P svetla";
            hitpoint = "P svetlo";
            selection = "P svetlo";
        };
    };
    aggregateReflectors[] = {};
    class Exhausts {
        class Exhaust1 {
            position = "vyfuk start";
            direction = "vyfuk konec";
            effect = "ExhaustEffectTankSide";
        };
    };
    class HitPoints : HitPoints {
        class HitHull : HitHull {
            armor = 1;
            material = -1;
            name = "telo";
            visual = "zbytek";
            passThrough = 0;
            minimalHit = 0.25;
            explosionShielding = 0.009;
            radius = 0.25;
        };
        class HitEngine : HitEngine {
            armor = 0.6;
            material = -1;
            name = "motor";
            passThrough = 0;
            minimalHit = 0.1;
            explosionShielding = 0.015;
            radius = 0.27;
        };
        class HitLTrack : HitLTrack {
            armor = 0.5;
            material = -1;
            name = "pas_L";
            passThrough = 0;
            minimalHit = 0.15;
            explosionShielding = 0.2;
            radius = 0.3;
        };
        class HitRTrack : HitRTrack {
            armor = 0.5;
            material = -1;
            name = "pas_P";
            passThrough = 0;
            minimalHit = 0.15;
            explosionShielding = 0.2;
            radius = 0.3;
        };
        class HitFuel : HitHull {
            armor = 0.5;
            name = "fuel";
            minimalHit = 0.15;
            radius = 0.3;
        };
    };
    memoryPointTrack1L = "Stopa LL";
    memoryPointTrack1R = "Stopa LR";
    memoryPointTrack2L = "Stopa RL";
    memoryPointTrack2R = "Stopa RR";
    dustFrontLeftPos = "dustFrontLeft";
    dustFrontRightPos = "dustFrontRight";
    dustBackLeftPos = "dustBackLeft";
    dustBackRightPos = "dustBackRight";
    slingLoadCargoMemoryPoints[] = {
        "SlingLoadCargo1",
        "SlingLoadCargo2",
        "SlingLoadCargo3",
        "SlingLoadCargo4"
    };
    smokeLauncherGrenadeCount = 4;
    smokeLauncherVelocity = 14;
    smokeLauncherOnTurret = 0;
    smokeLauncherAngle = 90;
    ace_cargo_hasCargo = 1;
    ace_cargo_space = 8;
    ace_refuel_fuelCapacity = 360;
    class VehicleTransport {
        class Cargo {
            parachuteClass = "B_Parachute_02_F";
            parachuteHeightLimit = 40;
            canBeTransported = 1;
            dimensions[] = {
                "BBox_1_1_pos",
                "BBox_1_2_pos"
            };
        };
    };
    class Components;
    class UserActions // actions available for player to interact with vehicle via action menu running scripts
    {
        class hatchTop_Open {
            userActionID = 60; /// ID for some scripts
            displayName = "Open hatch"; /// what is displayed in action menu
            displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />"; // what is displayed under the cursor (icon in this case)
            position = ""; /// start of radius where action is available
            condition = "this doorPhase 'hatchTop' < 0.5 AND Alive(this) AND (player in crew this)"; /// only openable from inside and when closed
            statement = "this animateDoor ['hatchTop', 1]"; /// sets animation source Doors to 1 via interpolation
            priority = 1.5; /// higher priority means higher in the Action menu
            radius = 1.5; /// how far from position is the action available
            showWindow = 0; /// 0 means that it is not a default action when entering the vehicle
            onlyForPlayer = 1; /// AI doesn't use this one
            shortcut = ""; /// there's no shortcut for this action
        };

        class hatchTop_Close : hatchTop_Open {
            userActionID = 61;
            displayName = "Close hatch";
            textToolTip = "Close hatch";
            condition = "this doorPhase 'hatchTop' > 0.5 AND Alive(this) AND (player in crew this)";
            statement = "this animateDoor ['hatchTop', 0]";
        };
    };
    hiddenSelections[] = {
        "hs_camo1",
        "hs_camo2",
        "hs_camo3"
    };
    class textureSources {
        class eb_01 {
            displayName = "Brazilian Army Modern";
            textures[] = {
                "\braf\braf_tracked\m113\data\main_CO.paa",
                "\braf\braf_tracked\m113\data\unique_CO.paa",
                "\braf\braf_tracked\m113\data\accessories_co.paa"
            };
        };
        class eb_02 {
            displayName = "Brazilian Army Old";
            textures[] = {
                "\braf\braf_tracked\m113\data\old\main_CO.paa",
                "\braf\braf_tracked\m113\data\old\unique_CO.paa",
                "\braf\braf_tracked\m113\data\old\accessories_co.paa"
            };
        };
    };
};

class braf_army_m113br : braf_m113_base {
    scope = 2;
    scopeCurator = 2;
    side = 2;
    displayName = "FMC M113 BR";
    model = "braf\braf_tracked\M113\braf_m113br.p3d";
    faction = "BRAF_ARMY";
    crew = "braf_army_crewman_regular_2000";
    animationList[] = {
        "acav_turret_hide", 0,
        "acav_br_shield_hide", 0
    };
    typicalCargo[] = {
        "braf_hiaf_crewman_regular_2000", "braf_hiaf_crewman_regular_2000", "braf_hiaf_crewman_regular_2000"
    };
    hiddenSelectionsTextures[] = {
        "braf\braf_tracked\M113\data\main_CO.paa",
        "braf\braf_tracked\M113\data\unique_CO.paa",
        "braf\braf_tracked\m113\data\accessories_co.paa"
    };
    class TransportMagazines {
    };
    class TransportItems {
        class _xx_FirstAidKit {
            count = 4;
            name = "FirstAidKit";
        };
        class _xx_Medikit {
            count = 1;
            name = "Medikit";
        };
        class _xx_Toolkit {
            count = 1;
            name = "Toolkit";
        };
    };
    class TransportWeapons {
        //class _xx_BRAF_arifle_m16a2
        //{
        //	count=2;
        //	weapon="BRAF_arifle_M16A1E1";
        //};
        //class _xx_BRAF_launch_m72
        //{
        //	count=3;
        //	weapon="BRAF_launch_m72a3";
        //};
    };
    class TransportBackpacks {
    };
};
/*113 para testar as animationlist
class braf_army_m113eb : braf_army_m113br {
    animationList[] = {
        "acav_turret_hide", 1,
        "acav_br_shield_hide", 1
    };
};*/
class braf_army_m577 : braf_army_m113br {
    scope = 2;
    accuracy = 0.30;
    displayName = "FMC M577";
    hasGunner = 0;
    hasCommander = 0;
    model = "\braf\braf_tracked\m113\braf_m577.p3d";
	editorPreview = "\braf\braf_insignia\editorpreview\armored\BRAF_army_m577.jpg";
    driverIsCommander = 1;
    weapons[] = { "TruckHorn" };
    cargoProxyIndexes[] = { 1, 2, 3, 4 };
    transportSoldier = 4;
    cargoAction[] = { "CUP_M113_Cargo01_EP1", "CUP_M113_Cargo03_EP1", "CUP_M113_Cargo02_EP1", "CUP_M113_Cargo02_EP1" };
    hiddenSelectionsTextures[] = {
        "\braf\braf_tracked\m113\data\577_main_co.paa",
        "\braf\braf_tracked\m113\data\main_co.paa",
        "\braf\braf_tracked\m113\data\unique_co.paa"
    };
    crew = "braf_army_crewman_regular_2000";
    typicalCargo[] = { "braf_army_crewman_regular_2000", "braf_army_crewman_regular_2000", "braf_army_crewman_regular_2000", "braf_army_crewman_regular_2000" };
    class Turrets {
    };
    class Damage {
        tex[] = {};
        mat[] = {
            "a3\data_f\default.rvmat",
            "a3\data_f\default.rvmat",
            "a3\data_f\default_destruct.rvmat",

            "braf\braf_tracked\m113\data\577_interior.rvmat",
            "braf\braf_tracked\m113\data\577_interior_damage.rvmat",
            "braf\braf_tracked\m113\data\577_interior_destruct.rvmat",

            "braf\braf_tracked\m113\data\577_main.rvmat",
            "braf\braf_tracked\m113\data\577_main_damage.rvmat",
            "braf\braf_tracked\m113\data\577_main_destruct.rvmat",

            "braf\braf_tracked\m113\data\577_interior.rvmat",
            "braf\braf_tracked\m113\data\577_interior_damage.rvmat",
            "braf\braf_tracked\m113\data\577_interior_destruct.rvmat",

            "braf\braf_tracked\m113\data\577_main.rvmat",
            "braf\braf_tracked\m113\data\577_main_damage.rvmat",
            "braf\braf_tracked\m113\data\577_main_destruct.rvmat",

            "braf\braf_tracked\m113\data\m163.rvmat",
            "braf\braf_tracked\m113\data\m163_damage.rvmat",
            "braf\braf_tracked\m113\data\m163_destruct.rvmat",

            "braf\braf_tracked\m113\data\interior.rvmat",
            "braf\braf_tracked\m113\data\interior_damage.rvmat",
            "braf\braf_tracked\m113\data\interior_destruct.rvmat",

            "braf\braf_tracked\m113\data\accessories.rvmat",
            "braf\braf_tracked\m113\data\accessories_damage.rvmat",
            "braf\braf_tracked\m113\data\accessories_destruct.rvmat",

            "braf\braf_tracked\m113\data\panel.rvmat",
            "braf\braf_tracked\m113\data\panel_damage.rvmat",
            "braf\braf_tracked\m113\data\panel_destruct.rvmat",

            "braf\braf_tracked\m113\data\track.rvmat",
            "braf\braf_tracked\m113\data\track_damage.rvmat",
            "braf\braf_tracked\m113\data\track_destruct.rvmat",

            "braf\braf_tracked\m113\data\main.rvmat",
            "braf\braf_tracked\m113\data\main_damage.rvmat",
            "braf\braf_tracked\m113\data\main_destruct.rvmat",

            "braf\braf_tracked\m113\data\unique.rvmat",
            "braf\braf_tracked\m113\data\unique_damage.rvmat",
            "braf\braf_tracked\m113\data\unique_destruct.rvmat"
        };
    };
    class TransportMagazines {
        class _xx_SmokeShell {
            count = 4;
            magazine = "SmokeShell";
        };
    };
    class TransportItems {
        class _xx_FirstAidKit {
            count = 4;
            name = "FirstAidKit";
        };
        class _xx_Medikit {
            count = 1;
            name = "Medikit";
        };
        class _xx_Toolkit {
            count = 1;
            name = "Toolkit";
        };
    };
    class TransportWeapons {
    };
    class TransportBackpacks {
    };
    class TextureSources {
        /*class merdc {
            displayName = "MERDC";
            author = "CWR III Modification";
            textures[] = {
                "\braf\braf_tracked\m113\data\variants\577_main_merdc_CO.paa",
                "\braf\braf_tracked\m113\data\variants\main_merdc_co.paa",
                "\braf\braf_tracked\m113\data\variants\unique_merdc_co.paa",
                ""
            };
            factions[] = {};
        };*/
    };
};

/*
class BRAF_M113_Med_Base : BRAF_M113_Base {
};
class BRAF_M163_Base : BRAF_M113_Base {
};
class BRAF_m113a3 : BRAF_M113_Base
{
	accuracy=0.3;
	author="BRAF";
	crew="cwr3_b_soldier_crew";
	displayName="M113A3";
	dlc="cwr3_dlc";
	editorPreview="\braf\braf_tracked\M113\preview\cwr3_b_m113a3.jpg";
	faction="cwr3_faction_usa";
	hiddenSelections[]=
	{
		"hs_camo1",
		"hs_camo2",
		"hs_camo3",
		"hs_camo4"
	};
	hiddenSelectionsTextures[] =
	{
		"braf\braf_tracked\M113\data\main_olive_CO.paa",
		"braf\braf_tracked\M113\data\unique_olive_CO.paa",
		"braf\braf_tracked\M113\data\accessories_olive_CO.paa",
		""
	};
	icon="braf\braf_tracked\M113\ui\icon_m113a3_ca.paa";
	model="braf\braf_tracked\M113\BRAF_m113a3.p3d";
	maximumLoad=5000;
	picture="braf\braf_tracked\M113\ui\picture_m113a3_ca.paa";
	scope=2;
	scopeCurator=2;
	side=1;
	typicalCargo[] =
	{
		"cwr3_b_soldier_crew",
		"cwr3_b_soldier_crew",
		"cwr3_b_soldier_crew",
		"cwr3_b_soldier_crew"
	};
	class TransportMagazines
	{
		class _xx_SmokeShell
		{
			count=4;
			magazine="SmokeShell";
		};
	};
	class TransportItems
	{
		class _xx_FirstAidKit
		{
		count=4;
		name="FirstAidKit";
		};
		class _xx_Medikit
		{
		count=1;
		name="Medikit";
		};
		class _xx_Toolkit
		{
		count=1;
		name="Toolkit";
		};
	};
	class TransportWeapons
	{
		
	};
	class TransportBackpacks
	{
		
	};
	class TextureSources
	{
		class EB
		{
			displayName="Brazilian Army";
			author="BRAF";
			textures[] =
			{
				"braf\braf_tracked\M113\data\main_olive_CO.paa",
				"braf\braf_tracked\M113\data\unique_olive_CO.paa",
				"braf\braf_tracked\M113\data\accessories_olive_CO.paa",
				""
			};
			factions[]={};
		};
	};
	class AnimationSources: AnimationSources
	{
		class top_door
		{
			source="door";
			initPhase=1;
			animPeriod=0;
		};
	};
	class UserActions
	{
		class top_door_open
		{
			userActionID 		= 60;				/// ID for some scripts
			displayname			="<t color='#faff00'>Open top Door</t>";		/// what is displayed in action menu
			displayNameDefault 	= "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />"; /// what is displayed under the cursor (icon in this case)
			position 			= "";				/// start of radius where action is available
			condition 			= "this doorPhase ""top_door"" < 0.5 AND Alive(this) AND (player in crew this)"; /// only openable from inside and when closed
			statement 			= "this animateDoor ['top_door', 1]";	/// sets animation source Doors to 1 via interpolation
			priority 			= 1.5;				/// higher priority means higher in the Action menu
			radius 				= 1.5;				/// how far from position is the action available
			showWindow 			= 0;				/// 0 means that it is not a default action when entering the vehicle
			onlyForPlayer 		= 1;				/// AI doesn't use this one
			shortcut 			= "";				/// there's no shortcut for this action
		};
	
		class top_door_close: top_door_open
		{
			userActionID 		= 61;
			displayname			= "<t color='#faff00'>Close top Door</t>";
			textToolTip 		= "Close Top";
			condition	 		= "this doorPhase ""top_door"" > 0.5 AND Alive(this) AND (player in crew this)";
			statement 			= "this animateDoor ['top_door', 0]";
		};
	};		
	class Damage
	{
		tex[]={};
		mat[] =
		{
			"a3\data_f\default.rvmat","a3\data_f\default.rvmat","a3\data_f\default_destruct.rvmat",
			"braf\braf_tracked\M113\Data\track.rvmat","braf\braf_tracked\M113\Data\track_damage.rvmat","braf\braf_tracked\M113\Data\track_destruct.rvmat",
			"braf\braf_tracked\M113\data\577_interior.rvmat","braf\braf_tracked\M113\data\577_interior_damage.rvmat","braf\braf_tracked\M113\data\577_interior_destruct.rvmat",
			"braf\braf_tracked\M113\data\577_main.rvmat","braf\braf_tracked\M113\data\577_main_damage.rvmat","braf\braf_tracked\M113\data\577_main_destruct.rvmat",
			"braf\braf_tracked\M113\data\m163.rvmat","braf\braf_tracked\M113\data\m163_damage.rvmat","braf\braf_tracked\M113\data\m163_destruct.rvmat",
			"braf\braf_tracked\M113\data\interior.rvmat","braf\braf_tracked\M113\data\interior_damage.rvmat","braf\braf_tracked\M113\data\interior_destruct.rvmat",
			"braf\braf_tracked\M113\data\accessories.rvmat","braf\braf_tracked\M113\data\accessories_damage.rvmat","braf\braf_tracked\M113\data\accessories_destruct.rvmat",
			"braf\braf_tracked\M113\data\panel.rvmat","braf\braf_tracked\M113\data\panel_damage.rvmat","braf\braf_tracked\M113\data\panel_destruct.rvmat",
			"braf\braf_tracked\M113\data\track.rvmat","braf\braf_tracked\M113\data\track_damage.rvmat","braf\braf_tracked\M113\data\track_destruct.rvmat",
			"braf\braf_tracked\M113\data\main.rvmat","braf\braf_tracked\M113\data\main_damage.rvmat","braf\braf_tracked\M113\data\main_destruct.rvmat",
			"braf\braf_tracked\M113\data\unique.rvmat","braf\braf_tracked\M113\data\unique_damage.rvmat","braf\braf_tracked\M113\data\unique_destruct.rvmat"        
		};
	};
	driverforceoptics=0;
	LODDriverTurnedIn=1100;
	LODDriverTurnedOut=1000;
	viewCargoShadow=1;
	viewGunnerShadow=1;
	viewCargoShadowDiff=0.05;
	viewCargoShadowAmb=0.5;
};
class BRAF_m113a3_mev : BRAF_M113_Med_Base
{
	accuracy=0.3;
	author="BRAF";
	crew="BRAF_Army_ArmorCrew";
	displayName="M113A3 MedEvac";
	dlc="BRAF_dlc";
	editorPreview="\braf\braf_tracked\M113\preview\cwr3_b_m113a3_mev.jpg";
	faction="BRAF_faction_usa";
	hiddenSelections[]={"hs_camo1","hs_camo2","hs_camo3","hs_camo4"};
	hiddenSelectionsTextures[] =
	{
		"braf\braf_tracked\M113\data\main_olive_CO.paa",
		"braf\braf_tracked\M113\data\unique_olive_CO.paa",
		"braf\braf_tracked\M113\data\accessories_olive_CO.paa",
		""
		//"\cwr3\general\cwr3_signs\data\sign_med_co.paa"
	};
	icon="braf\braf_tracked\M113\ui\icon_m113a3_mev_ca.paa";
	maximumLoad=5000;
	model="braf\braf_tracked\M113\BRAF_m113a3_mev.p3d";
	picture="braf\braf_tracked\M113\ui\picture_m113_mev_ca.paa";
	scope=2;
	scopeCurator=2;
	side=1;
	typicalCargo[]={"BRAF_Army_ArmorCrew","BRAF_Army_ArmorCrew","BRAF_Army_ArmorCrew","BRAF_Army_ArmorCrew"};
	class TransportItems
	{
		class _xx_FirstAidKit
		{
			count=20;
			name="FirstAidKit";
		};
		class _xx_Medikit
		{
			count=2;
			name="Medikit";
		};
		class _xx_Toolkit
		{
			count=1;
			name="Toolkit";
		};
	};
	class TextureSources
	{
		class olive
		{
			displayName="Olive Drab";
			author="BRAF";
			textures[] =
			{
				"braf\braf_tracked\M113\data\main_olive_CO.paa",
				"braf\braf_tracked\M113\data\unique_olive_CO.paa",
				"braf\braf_tracked\M113\data\accessories_olive_CO.paa",
				"",
				//"\cwr3\general\cwr3_signs\data\sign_med_co.paa"
			};
			factions[]={};
		};
	};
	class Damage
	{
		tex[]={};
		mat[] =
		{
			"a3\data_f\default.rvmat","a3\data_f\default.rvmat","a3\data_f\default_destruct.rvmat",
			"braf\braf_tracked\M113\Data\track.rvmat","braf\braf_tracked\M113\Data\track_damage.rvmat","braf\braf_tracked\M113\Data\track_destruct.rvmat",
			"braf\braf_tracked\M113\data\577_interior.rvmat","braf\braf_tracked\M113\data\577_interior_damage.rvmat","braf\braf_tracked\M113\data\577_interior_destruct.rvmat",
			"braf\braf_tracked\M113\data\577_main.rvmat","braf\braf_tracked\M113\data\577_main_damage.rvmat","braf\braf_tracked\M113\data\577_main_destruct.rvmat",
			"braf\braf_tracked\M113\data\m163.rvmat","braf\braf_tracked\M113\data\m163_damage.rvmat","braf\braf_tracked\M113\data\m163_destruct.rvmat",
			"braf\braf_tracked\M113\data\interior.rvmat","braf\braf_tracked\M113\data\interior_damage.rvmat","braf\braf_tracked\M113\data\interior_destruct.rvmat",
			"braf\braf_tracked\M113\data\accessories.rvmat","braf\braf_tracked\M113\data\accessories_damage.rvmat","braf\braf_tracked\M113\data\accessories_destruct.rvmat",
			"braf\braf_tracked\M113\data\panel.rvmat","braf\braf_tracked\M113\data\panel_damage.rvmat","braf\braf_tracked\M113\data\panel_destruct.rvmat",
			"braf\braf_tracked\M113\data\track.rvmat","braf\braf_tracked\M113\data\track_damage.rvmat","braf\braf_tracked\M113\data\track_destruct.rvmat",
			"braf\braf_tracked\M113\data\main.rvmat","braf\braf_tracked\M113\data\main_damage.rvmat","braf\braf_tracked\M113\data\main_destruct.rvmat",
			"braf\braf_tracked\M113\data\unique.rvmat","braf\braf_tracked\M113\data\unique_damage.rvmat","braf\braf_tracked\M113\data\unique_destruct.rvmat"        
		};
	};
	class Turrets: Turrets
	{
		class MainTurret: MainTurret
		{
			body=""; //these should be all void because the commander doesn't have a periscope so no animation
			gun="";
			animationSourceBody="";
			animationSourceGun="";
			weapons[]={};
			magazines[]={};
			minElev=-20; maxElev=+45; initElev=0;
			minTurn=-90; maxTurn=+90; initTurn=0;
			gunnerOpticsEffect[]={};
			isPersonTurret=1;
			personTurretAction="vehicle_turnout_2";
			minOutElev=-20;
			maxOutElev=70;
			initOutElev=0;
			minOutTurn=-90;
			maxOutTurn=90;
			initOutTurn=0;
			class ViewGunner: ViewPilot{};
			LODTurnedIn=1100;
			LODTurnedOut=1000;
		};
	};
	driverforceoptics=0;
	LODDriverTurnedIn=1100;
	LODDriverTurnedOut=1000;
	viewCargoShadow=1;
	viewGunnerShadow=1;
	viewCargoShadowDiff=0.05;
	viewCargoShadowAmb=0.5;
	gunnerHasFlares=0;
	commanderHasFlares=0;
	driverhasflares=1;
	weapons[]={"SmokeLauncher"};
	magazines[]={"SmokeLauncherMag"};
	smokeLauncherOnTurret=0;
};
class BRAF_m113a1_mev : BRAF_M113_Med_Base
{
	accuracy=0.3;
	author="BRAF";
	crew="BRAF_Army_ArmorCrew";
	displayName="M113A1 MedEvac";
	dlc="BRAF_dlc";
	editorPreview="\braf\braf_tracked\M113\preview\cwr3_b_m113a1_mev.jpg";
	faction="BRAF_faction_usa";
	hiddenSelections[]={"hs_camo1","hs_camo2","hs_camo3","hs_camo4"};
	hiddenSelectionsTextures[] =
	{
		"braf\braf_tracked\M113\data\main_olive_CO.paa",
		"braf\braf_tracked\M113\data\unique_olive_CO.paa",
		"",
		"",
		//"\cwr3\general\cwr3_signs\data\sign_med_co.paa"
	};
	icon="braf\braf_tracked\M113\ui\icon_m113a3_mev_ca.paa";
	maximumLoad=5000;
	model="braf\braf_tracked\M113\BRAF_m113a1_mev.p3d";
	picture="braf\braf_tracked\M113\ui\picture_m113_mev_ca.paa";
	scope=2;
	scopeCurator=2;
	side=1;
	typicalCargo[]={"BRAF_Army_ArmorCrew","BRAF_Army_ArmorCrew","BRAF_Army_ArmorCrew","BRAF_Army_ArmorCrew"};
	class TransportItems
	{
		class _xx_FirstAidKit
		{
		count=20;
		name="FirstAidKit";
		};
		class _xx_Medikit
		{
		count=2;
		name="Medikit";
		};
		class _xx_Toolkit
		{
		count=1;
		name="Toolkit";
		};
	};
	class TextureSources
	{
		class olive
		{
		displayName="Olive Drab";
		author="BRAF";
		textures[] =
		{
			"braf\braf_tracked\M113\data\main_olive_CO.paa",
		"braf\braf_tracked\M113\data\unique_olive_CO.paa",
		"",
		"",
		//"\cwr3\general\cwr3_signs\data\sign_med_co.paa"
		};
		factions[]={};
		};
	};
	class Damage
	{
		tex[]={};
		mat[] =
		{
		"a3\data_f\default.rvmat","a3\data_f\default.rvmat","a3\data_f\default_destruct.rvmat",
		"braf\braf_tracked\M113\Data\track.rvmat","braf\braf_tracked\M113\Data\track_damage.rvmat","braf\braf_tracked\M113\Data\track_destruct.rvmat",
		"braf\braf_tracked\M113\data\577_interior.rvmat","braf\braf_tracked\M113\data\577_interior_damage.rvmat","braf\braf_tracked\M113\data\577_interior_destruct.rvmat",
		"braf\braf_tracked\M113\data\577_main.rvmat","braf\braf_tracked\M113\data\577_main_damage.rvmat","braf\braf_tracked\M113\data\577_main_destruct.rvmat",
		"braf\braf_tracked\M113\data\m163.rvmat","braf\braf_tracked\M113\data\m163_damage.rvmat","braf\braf_tracked\M113\data\m163_destruct.rvmat",
		"braf\braf_tracked\M113\data\interior.rvmat","braf\braf_tracked\M113\data\interior_damage.rvmat","braf\braf_tracked\M113\data\interior_destruct.rvmat",
		"braf\braf_tracked\M113\data\accessories.rvmat","braf\braf_tracked\M113\data\accessories_damage.rvmat","braf\braf_tracked\M113\data\accessories_destruct.rvmat",
		"braf\braf_tracked\M113\data\panel.rvmat","braf\braf_tracked\M113\data\panel_damage.rvmat","braf\braf_tracked\M113\data\panel_destruct.rvmat",
		"braf\braf_tracked\M113\data\track.rvmat","braf\braf_tracked\M113\data\track_damage.rvmat","braf\braf_tracked\M113\data\track_destruct.rvmat",
		"braf\braf_tracked\M113\data\main.rvmat","braf\braf_tracked\M113\data\main_damage.rvmat","braf\braf_tracked\M113\data\main_destruct.rvmat",
		"braf\braf_tracked\M113\data\unique.rvmat","braf\braf_tracked\M113\data\unique_damage.rvmat","braf\braf_tracked\M113\data\unique_destruct.rvmat"        
		};
	};
	class Turrets: Turrets
	{
		class MainTurret: MainTurret
		{
			body=""; //these should be all void because the commander doesn't have a periscope so no animation
			gun="";
			animationSourceBody="";
			animationSourceGun="";
			weapons[]={};
			magazines[]={};
	
			minElev=-20; maxElev=+45; initElev=0;
			minTurn=-90; maxTurn=+90; initTurn=0;
	
			gunnerOpticsEffect[]={};
			isPersonTurret=1;
			personTurretAction="vehicle_turnout_2";
			minOutElev=-20;
			maxOutElev=70;
			initOutElev=0;
			minOutTurn=-90;
			maxOutTurn=90;
			initOutTurn=0;
			class ViewGunner: ViewPilot{};
	
			LODTurnedIn=1100;
			LODTurnedOut=1000;
		};
	};
	driverforceoptics=0;
	LODDriverTurnedIn=1100;
	LODDriverTurnedOut=1000;
	viewCargoShadow=1;
	viewGunnerShadow=1;
	viewCargoShadowDiff=0.05;
	viewCargoShadowAmb=0.5;
	gunnerHasFlares=0;
	commanderHasFlares=0;
	driverhasflares=0;
	smokeLauncherOnTurret=0;
};
class BRAF_m113a3_hq : BRAF_m113a3_mev
{
	accuracy=0.3;
	attendant=0;
	author="BRAF";
	crew="BRAF_Army_ArmorCrew";
	displayName="M113A3 HQ";
	dlc="BRAF_dlc";
	editorPreview="\braf\braf_tracked\M113\preview\cwr3_b_m113a3_hq.jpg";
	faction="BRAF_faction_usa";
	hiddenSelections[]={"hs_camo1","hs_camo2","hs_camo3","hs_camo4"};
	hiddenSelectionsTextures[] =
	{
	"braf\braf_tracked\M113\data\main_olive_CO.paa",
	"braf\braf_tracked\M113\data\unique_olive_CO.paa",
	"braf\braf_tracked\M113\data\accessories_olive_CO.paa",
	""
	};
	icon="braf\braf_tracked\M113\ui\icon_m113a3_hq_ca.paa";
	maximumLoad=5000;
	model="braf\braf_tracked\M113\BRAF_m113a3_mhq.p3d";
	picture="braf\braf_tracked\M113\ui\picture_m113_mev_ca.paa";
	scope=2;
	scopeCurator=2;
	side=1;
	typicalCargo[]={"BRAF_Army_ArmorCrew","BRAF_Army_ArmorCrew","BRAF_Army_ArmorCrew","BRAF_Army_ArmorCrew"};
		
	class TransportMagazines
	{
		class _xx_BRAF_30rnd_m16_m
		{
			count=15;
			magazine="BRAF_30Rnd_556x45_Stanag";
		};
		class _xx_BRAF_100rnd_m60_wt_m
		{
			count=5;
			magazine="BRAF_100Rnd_TE4_LRT4_Red_Tracer_762x51_Belt_M";
		};
		class _xx_BRAF_m72_m
		{
			count=3;
			magazine="BRAF_m72a3_m";
		};
		class _xx_BRAF_HandGrenade_M67
		{
			count=6;
			magazine="BRAF_HandGrenade_M67";
		};
		class _xx_SmokeShell
		{
			count=4;
			magazine="SmokeShell";
		};
	};
	class TransportItems
	{
		class _xx_FirstAidKit
		{
			count=4;
			name="FirstAidKit";
		};
		class _xx_Medikit
		{
			count=1;
			name="Medikit";
		};
		class _xx_Toolkit
		{
			count=1;
			name="Toolkit";
		};
	};
	class TransportWeapons
	{
		class _xx_BRAF_arifle_m16a2
		{
			count=2;
			weapon="BRAF_arifle_M16A1E1";
		};
		class _xx_BRAF_launch_m72
		{
			count=3;
			weapon="BRAF_launch_m72a3";
		};
	};
	class TransportBackpacks {};
	class TextureSources
	{
		class olive
		{
			displayName="Olive Drab";
			author="BRAF";
			textures[] =
			{
				"braf\braf_tracked\M113\data\main_olive_CO.paa",
				"braf\braf_tracked\M113\data\unique_olive_CO.paa",
				"braf\braf_tracked\M113\data\accessories_olive_CO.paa",
				""
			};
			factions[]={};
		};
	};
	class Damage
	{
		tex[]={};
		mat[] =
		{
			"a3\data_f\default.rvmat","a3\data_f\default.rvmat","a3\data_f\default_destruct.rvmat",
			"braf\braf_tracked\M113\Data\track.rvmat","braf\braf_tracked\M113\Data\track_damage.rvmat","braf\braf_tracked\M113\Data\track_destruct.rvmat",
			"braf\braf_tracked\M113\data\577_interior.rvmat","braf\braf_tracked\M113\data\577_interior_damage.rvmat","braf\braf_tracked\M113\data\577_interior_destruct.rvmat",
			"braf\braf_tracked\M113\data\577_main.rvmat","braf\braf_tracked\M113\data\577_main_damage.rvmat","braf\braf_tracked\M113\data\577_main_destruct.rvmat",
			"braf\braf_tracked\M113\data\m163.rvmat","braf\braf_tracked\M113\data\m163_damage.rvmat","braf\braf_tracked\M113\data\m163_destruct.rvmat",
			"braf\braf_tracked\M113\data\interior.rvmat","braf\braf_tracked\M113\data\interior_damage.rvmat","braf\braf_tracked\M113\data\interior_destruct.rvmat",
			"braf\braf_tracked\M113\data\accessories.rvmat","braf\braf_tracked\M113\data\accessories_damage.rvmat","braf\braf_tracked\M113\data\accessories_destruct.rvmat",
			"braf\braf_tracked\M113\data\panel.rvmat","braf\braf_tracked\M113\data\panel_damage.rvmat","braf\braf_tracked\M113\data\panel_destruct.rvmat",
			"braf\braf_tracked\M113\data\track.rvmat","braf\braf_tracked\M113\data\track_damage.rvmat","braf\braf_tracked\M113\data\track_destruct.rvmat",
			"braf\braf_tracked\M113\data\main.rvmat","braf\braf_tracked\M113\data\main_damage.rvmat","braf\braf_tracked\M113\data\main_destruct.rvmat",
			"braf\braf_tracked\M113\data\unique.rvmat","braf\braf_tracked\M113\data\unique_damage.rvmat","braf\braf_tracked\M113\data\unique_destruct.rvmat"        
		};
	};
	class Turrets: Turrets
	{
		class MainTurret: MainTurret
		{
			body=""; //these should be all void because the commander doesn't have a periscope so no animation
			gun="";
			animationSourceBody="";
			animationSourceGun="";
			weapons[]={};
			magazines[]={};
	
			minElev=-20; maxElev=+45; initElev=0;
			minTurn=-90; maxTurn=+90; initTurn=0;
	
			gunnerOpticsEffect[]={};
			isPersonTurret=1;
			personTurretAction="vehicle_turnout_2";
			minOutElev=-20;
			maxOutElev=70;
			initOutElev=0;
			minOutTurn=-90;
			maxOutTurn=90;
			initOutTurn=0;
			class ViewGunner: ViewPilot{};
	
			LODTurnedIn=1100;
			LODTurnedOut=1000;
		};
	};
	driverforceoptics=0;
	LODDriverTurnedIn=1100;
	LODDriverTurnedOut=1000;
	viewCargoShadow=1;
	viewGunnerShadow=1;
	viewCargoShadowDiff=0.05;
	viewCargoShadowAmb=0.5;
	gunnerHasFlares=0;
	commanderHasFlares=0;
	driverhasflares=1;
	weapons[]={"SmokeLauncher"};
	magazines[]={"SmokeLauncherMag"};
	smokeLauncherOnTurret=0;
	cargoAction[] =
	{
		"BRAF_M113_Cargo01_EP1",
		"BRAF_M113_Cargo03_EP1"
	};
	hideWeaponsCargo=0;
	transportSoldier=2;
};
class BRAF_m113a1_hq : BRAF_m113a1_mev
{
	accuracy=0.3;
	attendant=0;
	author="BRAF";
	crew="BRAF_Army_ArmorCrew";
	displayName="M113A1 HQ";
	dlc="BRAF_dlc";
	editorPreview="\braf\braf_tracked\M113\preview\cwr3_b_m113a1_hq.jpg";
	faction="BRAF_faction_usa";
	hiddenSelections[]={"hs_camo1","hs_camo2","hs_camo3","hs_camo4"};
	hiddenSelectionsTextures[] =
	{
		"braf\braf_tracked\M113\data\main_olive_CO.paa",
		"braf\braf_tracked\M113\data\unique_olive_CO.paa",
		"braf\braf_tracked\M113\data\accessories_olive_CO.paa",
		""
	};
	icon="braf\braf_tracked\M113\ui\icon_m113a3_hq_ca.paa";
	maximumLoad=5000;
	model="braf\braf_tracked\M113\BRAF_m113a1_mhq.p3d";
	picture="braf\braf_tracked\M113\ui\picture_m113_mev_ca.paa";
	scope=2;
	scopeCurator=2;
	side=1;
	typicalCargo[]={"BRAF_Army_ArmorCrew","BRAF_Army_ArmorCrew","BRAF_Army_ArmorCrew","BRAF_Army_ArmorCrew"};
	class TransportMagazines
	{
		class _xx_BRAF_30rnd_m16_m
		{
			count=15;
			magazine="BRAF_30Rnd_556x45_Stanag";
		};
		class _xx_BRAF_100rnd_m60_wt_m
		{
			count=5;
			magazine="BRAF_100Rnd_TE4_LRT4_Red_Tracer_762x51_Belt_M";
		};
		class _xx_BRAF_m72_m
		{
			count=3;
			magazine="BRAF_m72a3_m";
		};
		class _xx_BRAF_HandGrenade_M67
		{
			count=6;
			magazine="BRAF_HandGrenade_M67";
		};
		class _xx_SmokeShell
		{
			count=4;
			magazine="SmokeShell";
		};
	};
	class TransportItems
	{
		class _xx_FirstAidKit
		{
			count=4;
			name="FirstAidKit";
		};
		class _xx_Medikit
		{
			count=1;
			name="Medikit";
		};
		class _xx_Toolkit
		{
			count=1;
			name="Toolkit";
		};
	};
	class TransportWeapons
	{
		class _xx_BRAF_arifle_m16a2
		{
			count=2;
			weapon="BRAF_arifle_M16A1E1";
		};
		class _xx_BRAF_launch_m72
		{
			count=3;
			weapon="BRAF_launch_m72a3";
		};
	};
	class TransportBackpacks {};
	class TextureSources
	{
		class olive
		{
			displayName="Olive Drab";
			author="BRAF";
			textures[] =
			{
				"braf\braf_tracked\M113\data\main_olive_CO.paa",
				"braf\braf_tracked\M113\data\unique_olive_CO.paa",
				"braf\braf_tracked\M113\data\accessories_olive_CO.paa",
				""
			};
			factions[]={};
		};
	};
	class Damage
	{
		tex[]={};
		mat[] =
		{
			"a3\data_f\default.rvmat","a3\data_f\default.rvmat","a3\data_f\default_destruct.rvmat",
			"braf\braf_tracked\M113\Data\track.rvmat","braf\braf_tracked\M113\Data\track_damage.rvmat","braf\braf_tracked\M113\Data\track_destruct.rvmat",
			"braf\braf_tracked\M113\data\577_interior.rvmat","braf\braf_tracked\M113\data\577_interior_damage.rvmat","braf\braf_tracked\M113\data\577_interior_destruct.rvmat",
			"braf\braf_tracked\M113\data\577_main.rvmat","braf\braf_tracked\M113\data\577_main_damage.rvmat","braf\braf_tracked\M113\data\577_main_destruct.rvmat",
			"braf\braf_tracked\M113\data\m163.rvmat","braf\braf_tracked\M113\data\m163_damage.rvmat","braf\braf_tracked\M113\data\m163_destruct.rvmat",
			"braf\braf_tracked\M113\data\interior.rvmat","braf\braf_tracked\M113\data\interior_damage.rvmat","braf\braf_tracked\M113\data\interior_destruct.rvmat",
			"braf\braf_tracked\M113\data\accessories.rvmat","braf\braf_tracked\M113\data\accessories_damage.rvmat","braf\braf_tracked\M113\data\accessories_destruct.rvmat",
			"braf\braf_tracked\M113\data\panel.rvmat","braf\braf_tracked\M113\data\panel_damage.rvmat","braf\braf_tracked\M113\data\panel_destruct.rvmat",
			"braf\braf_tracked\M113\data\track.rvmat","braf\braf_tracked\M113\data\track_damage.rvmat","braf\braf_tracked\M113\data\track_destruct.rvmat",
			"braf\braf_tracked\M113\data\main.rvmat","braf\braf_tracked\M113\data\main_damage.rvmat","braf\braf_tracked\M113\data\main_destruct.rvmat",
			"braf\braf_tracked\M113\data\unique.rvmat","braf\braf_tracked\M113\data\unique_damage.rvmat","braf\braf_tracked\M113\data\unique_destruct.rvmat"        
		};
	};
	class Turrets: Turrets
	{
		class MainTurret: MainTurret
		{
			body=""; //these should be all void because the commander doesn't have a periscope so no animation
			gun="";
			animationSourceBody="";
			animationSourceGun="";
			weapons[]={};
			magazines[]={};

			minElev=-20; maxElev=+45; initElev=0;
			minTurn=-90; maxTurn=+90; initTurn=0;

			gunnerOpticsEffect[]={};
			isPersonTurret=1;
			personTurretAction="vehicle_turnout_2";
			minOutElev=-20;
			maxOutElev=70;
			initOutElev=0;
			minOutTurn=-90;
			maxOutTurn=90;
			initOutTurn=0;
			class ViewGunner: ViewPilot{};

			LODTurnedIn=1100;
			LODTurnedOut=1000;
		};
	};
	driverforceoptics=0;
	LODDriverTurnedIn=1100;
	LODDriverTurnedOut=1000;
	viewCargoShadow=1;
	viewGunnerShadow=1;
	viewCargoShadowDiff=0.05;
	viewCargoShadowAmb=0.5;
	gunnerHasFlares=0;
	commanderHasFlares=0;
	driverhasflares=0;
	weapons[]={};
	magazines[]={};
	smokeLauncherOnTurret=0;
	cargoAction[] =
	{
		"BRAF_M113_Cargo01_EP1",
		"BRAF_M113_Cargo03_EP1"
	};
	hideWeaponsCargo=0;
	transportSoldier=2;
};
class BRAF_m163 : BRAF_M163_Base
{
	accuracy=0.3;
	author="BRAF";
	crew="BRAF_Army_ArmorCrew";
	displayName="M163";
	dlc="BRAF_dlc";
	editorPreview="\braf\braf_tracked\M113\preview\cwr3_b_m163.jpg";
	faction="BRAF_faction_usa";
	hiddenSelections[]={"hs_camo1","hs_camo2","hs_camo3","hs_camo4","hs_camo5"};
	hiddenSelectionsTextures[] =
	{
		"braf\braf_tracked\M113\data\main_olive_co.paa",
		"braf\braf_tracked\M113\data\m163_main_olive_co.paa",
		"braf\braf_tracked\M113\data\m163_olive_co.paa",
		"braf\braf_tracked\M113\data\unique_olive_co.paa",
		"braf\braf_tracked\M113\data\accessories_olive_co.paa"
	};
	icon="braf\braf_tracked\M113\ui\icon_m163_ca.paa";
	maximumLoad=2500;
	model="braf\braf_tracked\M113\BRAF_m163.p3d";
	picture="braf\braf_tracked\M113\ui\picture_m163_ca.paa";
	scope=2;
	scopeCurator=2;
	side=1;
	typicalCargo[]={"BRAF_Army_ArmorCrew","BRAF_Army_ArmorCrew","BRAF_Army_ArmorCrew","BRAF_Army_ArmorCrew"};
	class TransportItems
	{
	class _xx_Toolkit
		{
			count=1;
			name="Toolkit";
		};
	};
	class TextureSources
	{
		class olive
		{
			displayName="Olive Drab";
			author="BRAF";
			textures[] =
			{
				"braf\braf_tracked\M113\data\main_olive_co.paa",
				"braf\braf_tracked\M113\data\m163_main_olive_co.paa",
				"braf\braf_tracked\M113\data\m163_olive_co.paa",
				"braf\braf_tracked\M113\data\unique_olive_co.paa",
				"braf\braf_tracked\M113\data\accessories_olive_co.paa"
			};
			factions[]={};
		};
	};
	class Damage
	{
		tex[]={};
		mat[] =
		{
			"a3\data_f\default.rvmat","a3\data_f\default.rvmat","a3\data_f\default_destruct.rvmat",
			"braf\braf_tracked\M113\Data\track.rvmat","braf\braf_tracked\M113\Data\track_damage.rvmat","braf\braf_tracked\M113\Data\track_destruct.rvmat",
			"braf\braf_tracked\M113\data\577_interior.rvmat","braf\braf_tracked\M113\data\577_interior_damage.rvmat","braf\braf_tracked\M113\data\577_interior_destruct.rvmat",
			"braf\braf_tracked\M113\data\577_main.rvmat","braf\braf_tracked\M113\data\577_main_damage.rvmat","braf\braf_tracked\M113\data\577_main_destruct.rvmat",
			"braf\braf_tracked\M113\data\m163.rvmat","braf\braf_tracked\M113\data\m163_damage.rvmat","braf\braf_tracked\M113\data\m163_destruct.rvmat",
			"braf\braf_tracked\M113\data\interior.rvmat","braf\braf_tracked\M113\data\interior_damage.rvmat","braf\braf_tracked\M113\data\interior_destruct.rvmat",
			"braf\braf_tracked\M113\data\accessories.rvmat","braf\braf_tracked\M113\data\accessories_damage.rvmat","braf\braf_tracked\M113\data\accessories_destruct.rvmat",
			"braf\braf_tracked\M113\data\panel.rvmat","braf\braf_tracked\M113\data\panel_damage.rvmat","braf\braf_tracked\M113\data\panel_destruct.rvmat",
			"braf\braf_tracked\M113\data\track.rvmat","braf\braf_tracked\M113\data\track_damage.rvmat","braf\braf_tracked\M113\data\track_destruct.rvmat",
			"braf\braf_tracked\M113\data\main.rvmat","braf\braf_tracked\M113\data\main_damage.rvmat","braf\braf_tracked\M113\data\main_destruct.rvmat",
			"braf\braf_tracked\M113\data\unique.rvmat","braf\braf_tracked\M113\data\unique_damage.rvmat","braf\braf_tracked\M113\data\unique_destruct.rvmat",
			"braf\braf_tracked\M113\data\m163_main.rvmat","braf\braf_tracked\M113\data\m163_main_damage.rvmat","braf\braf_tracked\M113\data\m163_main_destruct.rvmat"
		};
	};
	driverforceoptics=0;
	LODDriverTurnedIn=1100;
	LODDriverTurnedOut=1000;
	viewCargoShadow=1;
	viewGunnerShadow=1;
	viewCargoShadowDiff=0.05;
	viewCargoShadowAmb=0.5;
}
*/