Jump to content
Sign in to follow this  
spreewã¤lder

g36 replacement-config

Recommended Posts

hi,

I´m trying to fix the default g36. The german g36 have no "burst"-firemode and I want to fix, but after many hours it still doesn´t work. :confused: Can anyone help me please? Here is my config:

class CfgPatches {  class spree_g36firemodefix  {   Units[] = {};   weapons[] = {};   requiredVersion = 1.02;   requiredAddons[] = {"CAWeapons"};  }; };  class Mode_SemiAuto; class Mode_FullAuto;  class CfgWeapons { class Rifle; class G36C: Rifle  {   scope = 2;   value = 4;   model = "\ca\weapons\G36\G36_C";   picture = "\ca\weapons\G36\Data\Equip\w_g36c_ca.paa";   UiPicture = "\CA\weapons\data\Ico\i_regular_CA.paa";   displayName = "$STR_DN_G36C";   dexterity = 1.8;   drySound[] = {"\ca\Weapons\Data\Sound\G36_dry_v1",0.01,1};   magazines[] = {"30Rnd_556x45_G36","100Rnd_556x45_BetaCMag","30Rnd_556x45_G36SD","30Rnd_556x45_Stanag","30Rnd_556x45_StanagSD","20Rnd_556x45_Stanag"};   bullet1[] = {"ca\sounds\weapons\shells\small_shell_metal_04",0.17782794,1,15};   bullet2[] = {"ca\sounds\weapons\shells\small_shell_metal_03",0.17782794,1,15};   bullet3[] = {"ca\sounds\weapons\shells\small_shell_metal_02",0.17782794,1,15};   bullet4[] = {"ca\sounds\weapons\shells\small_shell_metal_01",0.17782794,1,15};   bullet5[] = {"ca\sounds\weapons\shells\small_shell_dirt_07",0.31622776,1,15};   bullet6[] = {"ca\sounds\weapons\shells\small_shell_dirt_09",0.31622776,1,15};   bullet7[] = {"ca\sounds\weapons\shells\small_shell_dirt_10",0.31622776,1,15};   bullet8[] = {"ca\sounds\weapons\shells\small_shell_dirt_12",0.31622776,1,15};   bullet9[] = {"ca\sounds\weapons\shells\small_shell_soft_05",0.17782794,1,15};   bullet10[] = {"ca\sounds\weapons\shells\small_shell_soft_09",0.17782794,1,15};   bullet11[] = {"ca\sounds\weapons\shells\small_shell_soft_10",0.17782794,1,15};   bullet12[] = {"ca\sounds\weapons\shells\small_shell_soft_13",0.17782794,1,15};   soundBullet[] = {"bullet1",0.083,"bullet2",0.083,"bullet3",0.083,"bullet4",0.083,"bullet5",0.083,"bullet6",0.083,"bullet7",0.083,"bullet8",0.083,"bullet9",0.083,"bullet10",0.083,"bullet11",0.083,"bullet12",0.083};   modes[] = {"Single","Fullauto"}; ////////////////////////////////// Burst entfernt   class Single: Mode_SemiAuto   {    begin1[] = {"ca\sounds\weapons\rifles\g36_single2",2.5118864,1,1200};    begin2[] = {"ca\sounds\weapons\rifles\g36_single1",2.5118864,1,1200};    soundBegin[] = {"begin1",0.5,"begin2",0.5};    reloadTime = 0.1;    recoil = "recoil_single_primary_3outof10";    recoilProne = "recoil_single_primary_prone_3outof10";    dispersion = 0.002;    minRange = 2;    minRangeProbab = 0.1;    midRange = 150;    midRangeProbab = 0.7;    maxRange = 300;    maxRangeProbab = 0.05;   };   // class Burst: Mode_Burst   // {    // begin1[] = {"ca\sounds\weapons\rifles\g36_single2",2.5118864,1,1200};    // begin2[] = {"ca\sounds\weapons\rifles\g36_single1",2.5118864,1,1200};    // soundBegin[] = {"begin1",0.5,"begin2",0.5};    // soundBurst = 0;    // reloadTime = 0.1;    // ffCount = 3;    // recoil = "recoil_auto_primary_2outof10";    // recoilProne = "recoil_auto_primary_prone_2outof10";    // minRange = 1;    // minRangeProbab = 0.1;    // midRange = 60;    // midRangeProbab = 0.7;    // maxRange = 100;    // maxRangeProbab = 0.05;    // dispersion = 0.0016;   // };   class FullAuto: Mode_FullAuto   {    begin1[] = {"ca\sounds\weapons\rifles\g36_single2",2.5118864,1,1200};    begin2[] = {"ca\sounds\weapons\rifles\g36_single1",2.5118864,1,1200};    soundBegin[] = {"begin1",0.5,"begin2",0.5};    soundContinuous = 0;    reloadTime = 0.1;    recoil = "recoil_auto_primary_3outof10";    recoilProne = "recoil_auto_primary_prone_3outof10";    minRange = 0;    minRangeProbab = 0.1;    midRange = 20;    midRangeProbab = 0.7;    maxRange = 60;    maxRangeProbab = 0.05;    dispersion = 0.0016;   };   class Library   {    libTextDesc = "$STR_LIB_G36C";   };   descriptionShort = "$STR_DSS_G36C";  };  class G36_C_SD_eotech: G36C  {   value = 6;   model = "\ca\weapons\G36\G36_C_SD_eotech";   displayName = "$STR_DN_G36_C_SD_EOTECH";   picture = "\ca\weapons\G36\Data\Equip\w_G36_C_SD_eotech_ca.paa";   UiPicture = "\CA\weapons\data\Ico\i_regular_CA.paa";   magazines[] = {"30Rnd_556x45_G36SD","30Rnd_556x45_StanagSD"};   fireLightDuration = 0.0;   fireLightIntensity = 0.0;   distanceZoomMin = 100;   distanceZoomMax = 100;   modes[] = {"Single","Fullauto"}; ////////////////////////////////// Burst entfernt   class Single: Single   {    begin1[] = {"ca\sounds\weapons\rifles\rifle-silence-single2",1.0,1,300};    soundBegin[] = {"begin1",1};    minRange = 2;    minRangeProbab = 0.1;    midRange = 150;    midRangeProbab = 0.7;    maxRange = 300;    maxRangeProbab = 0.05;   };   // class Burst: Burst   // {    // begin1[] = {"ca\sounds\weapons\rifles\rifle-silence-single2",1.0,1,300};    // soundBegin[] = {"begin1",1};    // minRange = 1;    // minRangeProbab = 0.1;    // midRange = 30;    // midRangeProbab = 0.7;    // maxRange = 50;    // maxRangeProbab = 0.05;   // };   class FullAuto: FullAuto   {    begin1[] = {"ca\sounds\weapons\rifles\rifle-silence-single2",1.0,1,300};    soundBegin[] = {"begin1",1};    minRange = 0;    minRangeProbab = 0.1;    midRange = 10;    midRangeProbab = 0.7;    maxRange = 30;    maxRangeProbab = 0.05;   };   class Library   {    libTextDesc = "$STR_LIB_G36C_SD_eotech";   };   descriptionShort = "$STR_DSS_G36C_SD_eotech";  };  class G36a: Rifle  {   scope = 2;   value = 8;   model = "\ca\weapons\G36\G36";   picture = "\ca\weapons\G36\Data\Equip\w_g36_ca.paa";   UiPicture = "\CA\weapons\data\Ico\i_regular_CA.paa";   displayName = "$STR_DN_G36";   dexterity = 1.66;   drySound[] = {"\ca\Weapons\Data\Sound\G36_dry_v1",0.00031622776,1};   magazines[] = {"30Rnd_556x45_G36","100Rnd_556x45_BetaCMag","30Rnd_556x45_G36SD","30Rnd_556x45_Stanag","30Rnd_556x45_StanagSD","20Rnd_556x45_Stanag"};   muzzles[] = {"MuzzleFar"};   class MuzzleFar: G36C   {    optics = 1;    opticsDisablePeripherialVision = 1;    modelOptics = "\ca\weapons\G36\G36_optics";    opticsPPEffects[] = {"OpticsCHAbera1","OpticsBlur2"};    opticsZoomMin = 0.0623;    opticsZoomMax = 0.0623;    distanceZoomMin = 100;    distanceZoomMax = 100;    modes[] = {"Single","Fullauto"}; ////////////////////////////////// Burst entfernt    class Single: Mode_SemiAuto    {     begin1[] = {"ca\sounds\weapons\rifles\g36_single1",2.2387211,1,1000};     begin2[] = {"ca\sounds\weapons\rifles\g36_single2",2.2387211,1,1000};     soundBegin[] = {"begin1",0.5,"begin2",0.5};     reloadTime = 0.1;     recoil = "recoil_single_primary_3outof10";     recoilProne = "recoil_single_primary_prone_3outof10";     dispersion = 0.0007;     minRange = 2;     minRangeProbab = 0.3;     midRange = 300;     midRangeProbab = 0.7;     maxRange = 600;     maxRangeProbab = 0.05;    };    // class Burst: Mode_Burst    // {     // begin1[] = {"ca\sounds\weapons\rifles\g36_single1",2.2387211,1,1000};     // begin2[] = {"ca\sounds\weapons\rifles\g36_single2",2.2387211,1,1000};     // soundBegin[] = {"begin1",0.5,"begin2",0.5};     // soundBurst = 0;     // reloadTime = 0.1;     // ffCount = 3;     // recoil = "recoil_auto_primary_2outof10";     // recoilProne = "recoil_auto_primary_prone_2outof10";     // minRange = 1;     // minRangeProbab = 0.2;     // midRange = 100;     // midRangeProbab = 0.7;     // maxRange = 300;     // maxRangeProbab = 0.05;     // dispersion = 0.0007;    // };    class FullAuto: Mode_FullAuto    {     begin1[] = {"ca\sounds\weapons\rifles\g36_single1",2.2387211,1,1000};     begin2[] = {"ca\sounds\weapons\rifles\g36_single2",2.2387211,1,1000};     soundBegin[] = {"begin1",0.5,"begin2",0.5};     soundContinuous = 0;     reloadTime = 0.1;     recoil = "recoil_auto_primary_3outof10";     recoilProne = "recoil_auto_primary_prone_3outof10";     minRange = 0;     minRangeProbab = 0.1;     midRange = 30;     midRangeProbab = 0.7;     maxRange = 120;     maxRangeProbab = 0.05;     dispersion = 0.0007;    };   };   class Library   {    libTextDesc = "$STR_LIB_G36A";   };   descriptionShort = "$STR_DSS_G36A";   bullet1[] = {"ca\sounds\weapons\shells\small_shell_metal_04",0.17782794,1,15};   bullet2[] = {"ca\sounds\weapons\shells\small_shell_metal_03",0.17782794,1,15};   bullet3[] = {"ca\sounds\weapons\shells\small_shell_metal_02",0.17782794,1,15};   bullet4[] = {"ca\sounds\weapons\shells\small_shell_metal_01",0.17782794,1,15};   bullet5[] = {"ca\sounds\weapons\shells\small_shell_dirt_07",0.31622776,1,15};   bullet6[] = {"ca\sounds\weapons\shells\small_shell_dirt_09",0.31622776,1,15};   bullet7[] = {"ca\sounds\weapons\shells\small_shell_dirt_10",0.31622776,1,15};   bullet8[] = {"ca\sounds\weapons\shells\small_shell_dirt_12",0.31622776,1,15};   bullet9[] = {"ca\sounds\weapons\shells\small_shell_soft_05",0.17782794,1,15};   bullet10[] = {"ca\sounds\weapons\shells\small_shell_soft_09",0.17782794,1,15};   bullet11[] = {"ca\sounds\weapons\shells\small_shell_soft_10",0.17782794,1,15};   bullet12[] = {"ca\sounds\weapons\shells\small_shell_soft_13",0.17782794,1,15};   soundBullet[] = {"bullet1",0.083,"bullet2",0.083,"bullet3",0.083,"bullet4",0.083,"bullet5",0.083,"bullet6",0.083,"bullet7",0.083,"bullet8",0.083,"bullet9",0.083,"bullet10",0.083,"bullet11",0.083,"bullet12",0.083};  };  class G36K: G36a  {   dexterity = 1.8;   value = 6;   model = "\ca\weapons\G36\G36_K";   displayName = "$STR_DN_G36K";   picture = "\ca\weapons\G36\Data\Equip\w_g36k_ca.paa";   UiPicture = "\CA\weapons\data\Ico\i_regular_CA.paa";   muzzles[] = {"MuzzleFar"};   class MuzzleFar: MuzzleFar   {    modes[] = {"Single","Fullauto"}; ////////////////////////////////// Burst entfernt    class Single: Single    {     minRange = 2;     minRangeProbab = 0.1;     midRange = 250;     midRangeProbab = 0.7;     maxRange = 400;     maxRangeProbab = 0.05;     dispersion = 0.00011;    };    // class Burst: Burst    // {     // minRange = 1;     // minRangeProbab = 0.1;     // midRange = 80;     // midRangeProbab = 0.7;     // maxRange = 120;     // maxRangeProbab = 0.05;     //dispersion = 0.00011;    //};    class FullAuto: FullAuto    {     minRange = 0;     minRangeProbab = 0.1;     midRange = 25;     midRangeProbab = 0.7;     maxRange = 70;     maxRangeProbab = 0.05;     dispersion = 0.00011;    };   };   class Library   {    libTextDesc = "$STR_LIB_G36K";   };   descriptionShort = "$STR_DSS_G36K";  };  class MG36: G36C  {   value = 12;   dexterity = 1.6;   model = "\ca\weapons\G36\MG36";   picture = "\ca\weapons\G36\Data\Equip\w_MG36_ca.paa";   UiPicture = "\CA\weapons\data\Ico\i_regular_CA.paa";   displayName = "$STR_DN_MG36";   magazines[] = {"100Rnd_556x45_BetaCMag","30Rnd_556x45_G36","30Rnd_556x45_G36SD","30Rnd_556x45_Stanag","30Rnd_556x45_StanagSD","20Rnd_556x45_Stanag"};   handAnim[] = {"OFP2_ManSkeleton","\Ca\weapons\data\Anim\SAW.rtm"};   modes[] = {"Single","Burst","Fullauto","close","medium","far"};   modelOptics = "-";   class Single: Mode_SemiAuto   {    begin1[] = {"ca\sounds\weapons\rifles\g36_single1",2.2387211,1,1100};    begin2[] = {"ca\sounds\weapons\rifles\g36_single2",2.2387211,1,1100};    soundBegin[] = {"begin1",0.5,"begin2",0.5};    reloadTime = 0.1;    recoil = "recoil_single_primary_3outof10";    dispersion = 0.0007;    recoilProne = "recoil_single_primary_prone_1outof10";    minRange = 400;    minRangeProbab = 0.05;    midRange = 500;    midRangeProbab = 0.4;    maxRange = 600;    maxRangeProbab = 0.01;    showToPlayer = 1;   };   class Burst: Mode_Burst   {    begin1[] = {"ca\sounds\weapons\rifles\g36_single1",2.2387211,1,1100};    begin2[] = {"ca\sounds\weapons\rifles\g36_single2",2.2387211,1,1100};    soundBegin[] = {"begin1",0.5,"begin2",0.5};    soundBurst = 0;    reloadTime = 0.1;    ffCount = 3;    recoil = "recoil_auto_primary_2outof10";    minRange = 1;    minRangeProbab = 0.2;    midRange = 80;    midRangeProbab = 0.7;    maxRange = 120;    maxRangeProbab = 0.05;    dispersion = 0.0007;    recoilProne = "recoil_auto_primary_prone_1outof10";   };   class FullAuto: Mode_FullAuto   {    recoilProne = "recoil_auto_primary_prone_2outof10";    soundContinuous = 0;    soundBurst = 0;    minRange = 0;    minRangeProbab = 0.3;    midRange = 5;    midRangeProbab = 0.58;    maxRange = 10;    maxRangeProbab = 0.04;    showToPlayer = 1;    begin1[] = {"ca\sounds\weapons\rifles\g36_single1",2.2387211,1,1100};    begin2[] = {"ca\sounds\weapons\rifles\g36_single2",2.2387211,1,1100};    soundBegin[] = {"begin1",0.5,"begin2",0.5};    recoil = "recoil_auto_primary_3outof10";    reloadTime = 0.1;    dispersion = 0.0007;   };   class close: FullAuto   {    burst = 10;    aiRateOfFire = 0.5;    aiRateOfFireDistance = 50;    minRange = 10;    minRangeProbab = 0.05;    midRange = 20;    midRangeProbab = 0.58;    maxRange = 50;    maxRangeProbab = 0.04;    showToPlayer = 0;   };   class medium: close   {    burst = 6;    aiRateOfFire = 2;    aiRateOfFireDistance = 200;    minRange = 50;    minRangeProbab = 0.05;    midRange = 100;    midRangeProbab = 0.58;    maxRange = 200;    maxRangeProbab = 0.04;   };   class far: close   {    burst = 8;    aiRateOfFire = 4;    aiRateOfFireDistance = 400;    minRange = 200;    minRangeProbab = 0.05;    midRange = 300;    midRangeProbab = 0.58;    maxRange = 400;    maxRangeProbab = 0.04;   };   class Library   {    libTextDesc = "$STR_LIB_MG36";   };   descriptionShort = "$STR_DSS_MG36";   bullet1[] = {"ca\sounds\weapons\shells\small_shell_metal_04",0.17782794,1,20};   bullet2[] = {"ca\sounds\weapons\shells\small_shell_metal_03",0.17782794,1,20};   bullet3[] = {"ca\sounds\weapons\shells\small_shell_metal_02",0.17782794,1,20};   bullet4[] = {"ca\sounds\weapons\shells\small_shell_metal_01",0.17782794,1,20};   bullet5[] = {"ca\sounds\weapons\shells\small_shell_dirt_07",0.31622776,1,20};   bullet6[] = {"ca\sounds\weapons\shells\small_shell_dirt_09",0.31622776,1,20};   bullet7[] = {"ca\sounds\weapons\shells\small_shell_dirt_10",0.31622776,1,20};   bullet8[] = {"ca\sounds\weapons\shells\small_shell_dirt_12",0.31622776,1,20};   bullet9[] = {"ca\sounds\weapons\shells\small_shell_soft_05",0.17782794,1,20};   bullet10[] = {"ca\sounds\weapons\shells\small_shell_soft_09",0.17782794,1,20};   bullet11[] = {"ca\sounds\weapons\shells\small_shell_soft_10",0.17782794,1,20};   bullet12[] = {"ca\sounds\weapons\shells\small_shell_soft_13",0.17782794,1,20};   soundBullet[] = {"bullet1",0.083,"bullet2",0.083,"bullet3",0.083,"bullet4",0.083,"bullet5",0.083,"bullet6",0.083,"bullet7",0.083,"bullet8",0.083,"bullet9",0.083,"bullet10",0.083,"bullet11",0.083,"bullet12",0.083};  }; };

---------- Post added at 07:37 PM ---------- Previous post was at 07:32 PM ----------

uups..

class CfgPatches
{
class spree_g36firemodefix
{
 Units[] = {};
 weapons[] = {};
 requiredVersion = 1.02;
 requiredAddons[] = {"CAWeapons"};
};
};

class Mode_SemiAuto;
class Mode_FullAuto;

class CfgWeapons
{
class Rifle;
class G36C: Rifle
{
 scope = 2;
 value = 4;
 model = "\ca\weapons\G36\G36_C";
 picture = "\ca\weapons\G36\Data\Equip\w_g36c_ca.paa";
 UiPicture = "\CA\weapons\data\Ico\i_regular_CA.paa";
 displayName = "$STR_DN_G36C";
 dexterity = 1.8;
 drySound[] = {"\ca\Weapons\Data\Sound\G36_dry_v1",0.01,1};
 magazines[] = {"30Rnd_556x45_G36","100Rnd_556x45_BetaCMag","30Rnd_556x45_G36SD","30Rnd_556x45_Stanag","30Rnd_556x45_StanagSD","20Rnd_556x45_Stanag"};
 bullet1[] = {"ca\sounds\weapons\shells\small_shell_metal_04",0.17782794,1,15};
 bullet2[] = {"ca\sounds\weapons\shells\small_shell_metal_03",0.17782794,1,15};
 bullet3[] = {"ca\sounds\weapons\shells\small_shell_metal_02",0.17782794,1,15};
 bullet4[] = {"ca\sounds\weapons\shells\small_shell_metal_01",0.17782794,1,15};
 bullet5[] = {"ca\sounds\weapons\shells\small_shell_dirt_07",0.31622776,1,15};
 bullet6[] = {"ca\sounds\weapons\shells\small_shell_dirt_09",0.31622776,1,15};
 bullet7[] = {"ca\sounds\weapons\shells\small_shell_dirt_10",0.31622776,1,15};
 bullet8[] = {"ca\sounds\weapons\shells\small_shell_dirt_12",0.31622776,1,15};
 bullet9[] = {"ca\sounds\weapons\shells\small_shell_soft_05",0.17782794,1,15};
 bullet10[] = {"ca\sounds\weapons\shells\small_shell_soft_09",0.17782794,1,15};
 bullet11[] = {"ca\sounds\weapons\shells\small_shell_soft_10",0.17782794,1,15};
 bullet12[] = {"ca\sounds\weapons\shells\small_shell_soft_13",0.17782794,1,15};
 soundBullet[] = {"bullet1",0.083,"bullet2",0.083,"bullet3",0.083,"bullet4",0.083,"bullet5",0.083,"bullet6",0.083,"bullet7",0.083,"bullet8",0.083,"bullet9",0.083,"bullet10",0.083,"bullet11",0.083,"bullet12",0.083};
 modes[] = {"Single","Fullauto"}; ////////////////////////////////// Burst entfernt
 class Single: Mode_SemiAuto
 {
  begin1[] = {"ca\sounds\weapons\rifles\g36_single2",2.5118864,1,1200};
  begin2[] = {"ca\sounds\weapons\rifles\g36_single1",2.5118864,1,1200};
  soundBegin[] = {"begin1",0.5,"begin2",0.5};
  reloadTime = 0.1;
  recoil = "recoil_single_primary_3outof10";
  recoilProne = "recoil_single_primary_prone_3outof10";
  dispersion = 0.002;
  minRange = 2;
  minRangeProbab = 0.1;
  midRange = 150;
  midRangeProbab = 0.7;
  maxRange = 300;
  maxRangeProbab = 0.05;
 };
 // class Burst: Mode_Burst
 // {
  // begin1[] = {"ca\sounds\weapons\rifles\g36_single2",2.5118864,1,1200};
  // begin2[] = {"ca\sounds\weapons\rifles\g36_single1",2.5118864,1,1200};
  // soundBegin[] = {"begin1",0.5,"begin2",0.5};
  // soundBurst = 0;
  // reloadTime = 0.1;
  // ffCount = 3;
  // recoil = "recoil_auto_primary_2outof10";
  // recoilProne = "recoil_auto_primary_prone_2outof10";
  // minRange = 1;
  // minRangeProbab = 0.1;
  // midRange = 60;
  // midRangeProbab = 0.7;
  // maxRange = 100;
  // maxRangeProbab = 0.05;
  // dispersion = 0.0016;
 // };
 class FullAuto: Mode_FullAuto
 {
  begin1[] = {"ca\sounds\weapons\rifles\g36_single2",2.5118864,1,1200};
  begin2[] = {"ca\sounds\weapons\rifles\g36_single1",2.5118864,1,1200};
  soundBegin[] = {"begin1",0.5,"begin2",0.5};
  soundContinuous = 0;
  reloadTime = 0.1;
  recoil = "recoil_auto_primary_3outof10";
  recoilProne = "recoil_auto_primary_prone_3outof10";
  minRange = 0;
  minRangeProbab = 0.1;
  midRange = 20;
  midRangeProbab = 0.7;
  maxRange = 60;
  maxRangeProbab = 0.05;
  dispersion = 0.0016;
 };
 class Library
 {
  libTextDesc = "$STR_LIB_G36C";
 };
 descriptionShort = "$STR_DSS_G36C";
};
class G36_C_SD_eotech: G36C
{
 value = 6;
 model = "\ca\weapons\G36\G36_C_SD_eotech";
 displayName = "$STR_DN_G36_C_SD_EOTECH";
 picture = "\ca\weapons\G36\Data\Equip\w_G36_C_SD_eotech_ca.paa";
 UiPicture = "\CA\weapons\data\Ico\i_regular_CA.paa";
 magazines[] = {"30Rnd_556x45_G36SD","30Rnd_556x45_StanagSD"};
 fireLightDuration = 0.0;
 fireLightIntensity = 0.0;
 distanceZoomMin = 100;
 distanceZoomMax = 100;
 modes[] = {"Single","Fullauto"}; ////////////////////////////////// Burst entfernt
 class Single: Single
 {
  begin1[] = {"ca\sounds\weapons\rifles\rifle-silence-single2",1.0,1,300};
  soundBegin[] = {"begin1",1};
  minRange = 2;
  minRangeProbab = 0.1;
  midRange = 150;
  midRangeProbab = 0.7;
  maxRange = 300;
  maxRangeProbab = 0.05;
 };
 // class Burst: Burst
 // {
  // begin1[] = {"ca\sounds\weapons\rifles\rifle-silence-single2",1.0,1,300};
  // soundBegin[] = {"begin1",1};
  // minRange = 1;
  // minRangeProbab = 0.1;
  // midRange = 30;
  // midRangeProbab = 0.7;
  // maxRange = 50;
  // maxRangeProbab = 0.05;
 // };
 class FullAuto: FullAuto
 {
  begin1[] = {"ca\sounds\weapons\rifles\rifle-silence-single2",1.0,1,300};
  soundBegin[] = {"begin1",1};
  minRange = 0;
  minRangeProbab = 0.1;
  midRange = 10;
  midRangeProbab = 0.7;
  maxRange = 30;
  maxRangeProbab = 0.05;
 };
 class Library
 {
  libTextDesc = "$STR_LIB_G36C_SD_eotech";
 };
 descriptionShort = "$STR_DSS_G36C_SD_eotech";
};
class G36a: Rifle
{
 scope = 2;
 value = 8;
 model = "\ca\weapons\G36\G36";
 picture = "\ca\weapons\G36\Data\Equip\w_g36_ca.paa";
 UiPicture = "\CA\weapons\data\Ico\i_regular_CA.paa";
 displayName = "$STR_DN_G36";
 dexterity = 1.66;
 drySound[] = {"\ca\Weapons\Data\Sound\G36_dry_v1",0.00031622776,1};
 magazines[] = {"30Rnd_556x45_G36","100Rnd_556x45_BetaCMag","30Rnd_556x45_G36SD","30Rnd_556x45_Stanag","30Rnd_556x45_StanagSD","20Rnd_556x45_Stanag"};
 muzzles[] = {"MuzzleFar"};
 class MuzzleFar: G36C
 {
  optics = 1;
  opticsDisablePeripherialVision = 1;
  modelOptics = "\ca\weapons\G36\G36_optics";
  opticsPPEffects[] = {"OpticsCHAbera1","OpticsBlur2"};
  opticsZoomMin = 0.0623;
  opticsZoomMax = 0.0623;
  distanceZoomMin = 100;
  distanceZoomMax = 100;
  modes[] = {"Single","Fullauto"}; ////////////////////////////////// Burst entfernt
  class Single: Mode_SemiAuto
  {
   begin1[] = {"ca\sounds\weapons\rifles\g36_single1",2.2387211,1,1000};
   begin2[] = {"ca\sounds\weapons\rifles\g36_single2",2.2387211,1,1000};
   soundBegin[] = {"begin1",0.5,"begin2",0.5};
   reloadTime = 0.1;
   recoil = "recoil_single_primary_3outof10";
   recoilProne = "recoil_single_primary_prone_3outof10";
   dispersion = 0.0007;
   minRange = 2;
   minRangeProbab = 0.3;
   midRange = 300;
   midRangeProbab = 0.7;
   maxRange = 600;
   maxRangeProbab = 0.05;
  };
  // class Burst: Mode_Burst
  // {
   // begin1[] = {"ca\sounds\weapons\rifles\g36_single1",2.2387211,1,1000};
   // begin2[] = {"ca\sounds\weapons\rifles\g36_single2",2.2387211,1,1000};
   // soundBegin[] = {"begin1",0.5,"begin2",0.5};
   // soundBurst = 0;
   // reloadTime = 0.1;
   // ffCount = 3;
   // recoil = "recoil_auto_primary_2outof10";
   // recoilProne = "recoil_auto_primary_prone_2outof10";
   // minRange = 1;
   // minRangeProbab = 0.2;
   // midRange = 100;
   // midRangeProbab = 0.7;
   // maxRange = 300;
   // maxRangeProbab = 0.05;
   // dispersion = 0.0007;
  // };
  class FullAuto: Mode_FullAuto
  {
   begin1[] = {"ca\sounds\weapons\rifles\g36_single1",2.2387211,1,1000};
   begin2[] = {"ca\sounds\weapons\rifles\g36_single2",2.2387211,1,1000};
   soundBegin[] = {"begin1",0.5,"begin2",0.5};
   soundContinuous = 0;
   reloadTime = 0.1;
   recoil = "recoil_auto_primary_3outof10";
   recoilProne = "recoil_auto_primary_prone_3outof10";
   minRange = 0;
   minRangeProbab = 0.1;
   midRange = 30;
   midRangeProbab = 0.7;
   maxRange = 120;
   maxRangeProbab = 0.05;
   dispersion = 0.0007;
  };
 };
 class Library
 {
  libTextDesc = "$STR_LIB_G36A";
 };
 descriptionShort = "$STR_DSS_G36A";
 bullet1[] = {"ca\sounds\weapons\shells\small_shell_metal_04",0.17782794,1,15};
 bullet2[] = {"ca\sounds\weapons\shells\small_shell_metal_03",0.17782794,1,15};
 bullet3[] = {"ca\sounds\weapons\shells\small_shell_metal_02",0.17782794,1,15};
 bullet4[] = {"ca\sounds\weapons\shells\small_shell_metal_01",0.17782794,1,15};
 bullet5[] = {"ca\sounds\weapons\shells\small_shell_dirt_07",0.31622776,1,15};
 bullet6[] = {"ca\sounds\weapons\shells\small_shell_dirt_09",0.31622776,1,15};
 bullet7[] = {"ca\sounds\weapons\shells\small_shell_dirt_10",0.31622776,1,15};
 bullet8[] = {"ca\sounds\weapons\shells\small_shell_dirt_12",0.31622776,1,15};
 bullet9[] = {"ca\sounds\weapons\shells\small_shell_soft_05",0.17782794,1,15};
 bullet10[] = {"ca\sounds\weapons\shells\small_shell_soft_09",0.17782794,1,15};
 bullet11[] = {"ca\sounds\weapons\shells\small_shell_soft_10",0.17782794,1,15};
 bullet12[] = {"ca\sounds\weapons\shells\small_shell_soft_13",0.17782794,1,15};
 soundBullet[] = {"bullet1",0.083,"bullet2",0.083,"bullet3",0.083,"bullet4",0.083,"bullet5",0.083,"bullet6",0.083,"bullet7",0.083,"bullet8",0.083,"bullet9",0.083,"bullet10",0.083,"bullet11",0.083,"bullet12",0.083};
};
class G36K: G36a
{
 dexterity = 1.8;
 value = 6;
 model = "\ca\weapons\G36\G36_K";
 displayName = "$STR_DN_G36K";
 picture = "\ca\weapons\G36\Data\Equip\w_g36k_ca.paa";
 UiPicture = "\CA\weapons\data\Ico\i_regular_CA.paa";
 muzzles[] = {"MuzzleFar"};
 class MuzzleFar: MuzzleFar
 {
  modes[] = {"Single","Fullauto"}; ////////////////////////////////// Burst entfernt
  class Single: Single
  {
   minRange = 2;
   minRangeProbab = 0.1;
   midRange = 250;
   midRangeProbab = 0.7;
   maxRange = 400;
   maxRangeProbab = 0.05;
   dispersion = 0.00011;
  };
  // class Burst: Burst
  // {
   // minRange = 1;
   // minRangeProbab = 0.1;
   // midRange = 80;
   // midRangeProbab = 0.7;
   // maxRange = 120;
   // maxRangeProbab = 0.05;
   //dispersion = 0.00011;
  //};
  class FullAuto: FullAuto
  {
   minRange = 0;
   minRangeProbab = 0.1;
   midRange = 25;
   midRangeProbab = 0.7;
   maxRange = 70;
   maxRangeProbab = 0.05;
   dispersion = 0.00011;
  };
 };
 class Library
 {
  libTextDesc = "$STR_LIB_G36K";
 };
 descriptionShort = "$STR_DSS_G36K";
};
class MG36: G36C
{
 value = 12;
 dexterity = 1.6;
 model = "\ca\weapons\G36\MG36";
 picture = "\ca\weapons\G36\Data\Equip\w_MG36_ca.paa";
 UiPicture = "\CA\weapons\data\Ico\i_regular_CA.paa";
 displayName = "$STR_DN_MG36";
 magazines[] = {"100Rnd_556x45_BetaCMag","30Rnd_556x45_G36","30Rnd_556x45_G36SD","30Rnd_556x45_Stanag","30Rnd_556x45_StanagSD","20Rnd_556x45_Stanag"};
 handAnim[] = {"OFP2_ManSkeleton","\Ca\weapons\data\Anim\SAW.rtm"};
 modes[] = {"Single","Burst","Fullauto","close","medium","far"};
 modelOptics = "-";
 class Single: Mode_SemiAuto
 {
  begin1[] = {"ca\sounds\weapons\rifles\g36_single1",2.2387211,1,1100};
  begin2[] = {"ca\sounds\weapons\rifles\g36_single2",2.2387211,1,1100};
  soundBegin[] = {"begin1",0.5,"begin2",0.5};
  reloadTime = 0.1;
  recoil = "recoil_single_primary_3outof10";
  dispersion = 0.0007;
  recoilProne = "recoil_single_primary_prone_1outof10";
  minRange = 400;
  minRangeProbab = 0.05;
  midRange = 500;
  midRangeProbab = 0.4;
  maxRange = 600;
  maxRangeProbab = 0.01;
  showToPlayer = 1;
 };
 class Burst: Mode_Burst
 {
  begin1[] = {"ca\sounds\weapons\rifles\g36_single1",2.2387211,1,1100};
  begin2[] = {"ca\sounds\weapons\rifles\g36_single2",2.2387211,1,1100};
  soundBegin[] = {"begin1",0.5,"begin2",0.5};
  soundBurst = 0;
  reloadTime = 0.1;
  ffCount = 3;
  recoil = "recoil_auto_primary_2outof10";
  minRange = 1;
  minRangeProbab = 0.2;
  midRange = 80;
  midRangeProbab = 0.7;
  maxRange = 120;
  maxRangeProbab = 0.05;
  dispersion = 0.0007;
  recoilProne = "recoil_auto_primary_prone_1outof10";
 };
 class FullAuto: Mode_FullAuto
 {
  recoilProne = "recoil_auto_primary_prone_2outof10";
  soundContinuous = 0;
  soundBurst = 0;
  minRange = 0;
  minRangeProbab = 0.3;
  midRange = 5;
  midRangeProbab = 0.58;
  maxRange = 10;
  maxRangeProbab = 0.04;
  showToPlayer = 1;
  begin1[] = {"ca\sounds\weapons\rifles\g36_single1",2.2387211,1,1100};
  begin2[] = {"ca\sounds\weapons\rifles\g36_single2",2.2387211,1,1100};
  soundBegin[] = {"begin1",0.5,"begin2",0.5};
  recoil = "recoil_auto_primary_3outof10";
  reloadTime = 0.1;
  dispersion = 0.0007;
 };
 class close: FullAuto
 {
  burst = 10;
  aiRateOfFire = 0.5;
  aiRateOfFireDistance = 50;
  minRange = 10;
  minRangeProbab = 0.05;
  midRange = 20;
  midRangeProbab = 0.58;
  maxRange = 50;
  maxRangeProbab = 0.04;
  showToPlayer = 0;
 };
 class medium: close
 {
  burst = 6;
  aiRateOfFire = 2;
  aiRateOfFireDistance = 200;
  minRange = 50;
  minRangeProbab = 0.05;
  midRange = 100;
  midRangeProbab = 0.58;
  maxRange = 200;
  maxRangeProbab = 0.04;
 };
 class far: close
 {
  burst = 8;
  aiRateOfFire = 4;
  aiRateOfFireDistance = 400;
  minRange = 200;
  minRangeProbab = 0.05;
  midRange = 300;
  midRangeProbab = 0.58;
  maxRange = 400;
  maxRangeProbab = 0.04;
 };
 class Library
 {
  libTextDesc = "$STR_LIB_MG36";
 };
 descriptionShort = "$STR_DSS_MG36";
 bullet1[] = {"ca\sounds\weapons\shells\small_shell_metal_04",0.17782794,1,20};
 bullet2[] = {"ca\sounds\weapons\shells\small_shell_metal_03",0.17782794,1,20};
 bullet3[] = {"ca\sounds\weapons\shells\small_shell_metal_02",0.17782794,1,20};
 bullet4[] = {"ca\sounds\weapons\shells\small_shell_metal_01",0.17782794,1,20};
 bullet5[] = {"ca\sounds\weapons\shells\small_shell_dirt_07",0.31622776,1,20};
 bullet6[] = {"ca\sounds\weapons\shells\small_shell_dirt_09",0.31622776,1,20};
 bullet7[] = {"ca\sounds\weapons\shells\small_shell_dirt_10",0.31622776,1,20};
 bullet8[] = {"ca\sounds\weapons\shells\small_shell_dirt_12",0.31622776,1,20};
 bullet9[] = {"ca\sounds\weapons\shells\small_shell_soft_05",0.17782794,1,20};
 bullet10[] = {"ca\sounds\weapons\shells\small_shell_soft_09",0.17782794,1,20};
 bullet11[] = {"ca\sounds\weapons\shells\small_shell_soft_10",0.17782794,1,20};
 bullet12[] = {"ca\sounds\weapons\shells\small_shell_soft_13",0.17782794,1,20};
 soundBullet[] = {"bullet1",0.083,"bullet2",0.083,"bullet3",0.083,"bullet4",0.083,"bullet5",0.083,"bullet6",0.083,"bullet7",0.083,"bullet8",0.083,"bullet9",0.083,"bullet10",0.083,"bullet11",0.083,"bullet12",0.083};
};
};

Share this post


Link to post
Share on other sites

Umm, Very Werid Config, its Normaly over more than one line

But After Having to look though that Mess i think this is where you problem is

modes[] = {"Single","Fullauto"}

You dont have the Burst Firemode In their

Share this post


Link to post
Share on other sites

sorry but you don't understand me correctly or I have explaint it false .

In ARMA II are 3 firemodes (single, burst, fullauto). But I want the "burst" out of it.. because in reallife in the german forces there are only "einzelfeuer" (single) and "Feuerstoss" (fullauto). The config I have posted is an overworked original-config. :hmmm:

Share this post


Link to post
Share on other sites

Hmm, Then It Should be Working (With no Burst Firemode)

But I think it would be Something with Something else Over Writing it

If it is Getting Overwritten by something it Might be Either the Operation Arrowhead Expansion or another Mode

Share this post


Link to post
Share on other sites

this config fixes some small things for the G36 in ArmA II and OA

* false displayname of OA "G36A (camo)" now "G36 (camo)

* removed "burst" firemode because the G36 have just "single" (Einzelfeuer) and "fullauto" (Feuerstoss).. for Example the german G36-variants

* optimized the weaponsights for the firemodes like used in reallife--->

"single" crosshair

"fullauto" reflex

the weaponsights are still changeable via num-pad ;)

*BWMod compatble (known bug: when changing the weaponsight at "fullauto"reflex to "crosshair, but i think no one will use a crosshair at fullauto)

here the config for testing:

class CfgPatches
{
class spree_GER_G36
{
 units[] = {};
 weapons[] = {};
 requiredVersion = 1.02;
 requiredAddons[] = {"CAWeapons","CAWeapons_E","CAWeapons_E_G36"};
};
};
class CfgWeapons
{
class Rifle;
class G36C;
class G36C_camo: G36C
{
 model = "\CA\weapons_E\G36\G36_C_camo";
 picture = "\ca\weapons_E\Data\icons\g36_c_camo_CA.paa";
 displayName = "$STR_EP1_DN_G36C_camo";
 scope = 2;
 htMin = 1;
 htMax = 480;
 afMax = 0;
 mfMax = 0;
 mFact = 1;
 tBody = 100;
 modes[] = {"Single","Fullauto"};
};
class G36_C_SD_eotech: G36C
{
 modes[] = {"Single","Fullauto"};
};
class G36_C_SD_camo: G36_C_SD_eotech
{
 scope = 2;
 model = "\CA\weapons_E\G36\G36_C_SD_camo";
 picture = "\ca\weapons_E\Data\icons\g36_c_sd_camo_CA.paa";
 displayName = "$STR_EP1_DN_G36_C_SD_camo";
 htMin = 1;
 htMax = 480;
 afMax = 0;
 mfMax = 0;
 mFact = 1;
 tBody = 100;
};
class MuzzleFar;
class G36a: Rifle
{
 scope = 2;
 displayName = "$STR_DN_G36";
 htMin = 1;
 htMax = 480;
 afMax = 0;
 mfMax = 0;
 mFact = 1;
 tBody = 100;
 modes[] = {"Single","Fullauto"};
 muzzles[] = {"MuzzleFar","MuzzleClose"};
 class MuzzleFar: MuzzleFar
 {
  displayName = "$STR_DN_G36";
  class OpticsModes
  {
   class Scope
   {
    opticsID = 1;
    useModelOptics = 1;
    opticsPPEffects[] = {"OpticsCHAbera1","OpticsBlur1"};
    opticsZoomMin = 0.0623;
    opticsZoomMax = 0.0623;
    opticsZoomInit = 0.0623;
    memoryPointCamera = "opticView";
    visionMode[] = {"Normal"};
    opticsFlare = 1;
    opticsDisablePeripherialVision = 1;
    distanceZoomMin = 100;
    distanceZoomMax = 100;
    cameraDir = "";
   };
   class Kolimator: Scope
   {
    opticsID = 2;
    useModelOptics = 0;
    opticsFlare = 0;
    opticsDisablePeripherialVision = 0;
    opticsZoomMin = 0.7;
    opticsZoomMax = 1.1;
    opticsZoomInit = 0.7;
    distanceZoomMin = 300;
    distanceZoomMax = 300;
    memoryPointCamera = "eye";
    visionMode[] = {};
   };
  };
  modes[] = {"Single"};
 };
 class MuzzleClose: MuzzleFar
 {
  class OpticsModes
  {
   class Kolimator
   {
    opticsID = 1;
    useModelOptics = 0;
    opticsPPEffects[] = {"OpticsCHAbera1","OpticsBlur1"};
    opticsFlare = 0;
    opticsDisablePeripherialVision = 0;
    opticsZoomMin = 0.7;
    opticsZoomMax = 1.1;
    opticsZoomInit = 0.7;
    distanceZoomMin = 300;
    distanceZoomMax = 300;
    memoryPointCamera = "eye";
    visionMode[] = {};
   };
   class Scope: Kolimator
   {
    opticsID = 2;
    useModelOptics = 1;
    opticsZoomMin = 0.0623;
    opticsZoomMax = 0.0623;
    opticsZoomInit = 0.0623;
    memoryPointCamera = "opticView";
    visionMode[] = {"Normal"};
    opticsFlare = 1;
    opticsDisablePeripherialVision = 1;
    distanceZoomMin = 100;
    distanceZoomMax = 100;
    cameraDir = "";
   };
  };
  modes[] = {"Fullauto"};
 };
};
class G36A_camo: G36a
{
 scope = 2;
 model = "\CA\weapons_E\G36\G36_camo";
 picture = "\ca\weapons_E\Data\icons\g36_camo_CA.paa";
 displayName = "G36 (camo)";
 htMin = 1;
 htMax = 480;
 afMax = 0;
 mfMax = 0;
 mFact = 1;
 tBody = 100;
 modes[] = {"Single","Fullauto"};
 muzzles[] = {"MuzzleFar","MuzzleClose"};
 class MuzzleFar: MuzzleFar
 {
  displayName = "G36 (camo)";
  class OpticsModes
  {
   class Scope
   {
    opticsID = 1;
    useModelOptics = 1;
    opticsPPEffects[] = {"OpticsCHAbera1","OpticsBlur1"};
    opticsZoomMin = 0.0623;
    opticsZoomMax = 0.0623;
    opticsZoomInit = 0.0623;
    memoryPointCamera = "opticView";
    visionMode[] = {"Normal"};
    opticsFlare = 1;
    opticsDisablePeripherialVision = 1;
    distanceZoomMin = 100;
    distanceZoomMax = 100;
    cameraDir = "";
   };
   class Kolimator: Scope
   {
    opticsID = 2;
    useModelOptics = 0;
    opticsFlare = 0;
    opticsDisablePeripherialVision = 0;
    opticsZoomMin = 0.7;
    opticsZoomMax = 1.1;
    opticsZoomInit = 0.7;
    distanceZoomMin = 300;
    distanceZoomMax = 300;
    memoryPointCamera = "eye";
    visionMode[] = {};
   };
  };
  modes[] = {"Single"};
 };
 class MuzzleClose: MuzzleFar
 {
  class OpticsModes
  {
   class Kolimator
   {
    opticsID = 1;
    useModelOptics = 0;
    opticsPPEffects[] = {"OpticsCHAbera1","OpticsBlur1"};
    opticsFlare = 0;
    opticsDisablePeripherialVision = 0;
    opticsZoomMin = 0.7;
    opticsZoomMax = 1.1;
    opticsZoomInit = 0.7;
    distanceZoomMin = 300;
    distanceZoomMax = 300;
    memoryPointCamera = "eye";
    visionMode[] = {};
   };
   class Scope: Kolimator
   {
    opticsID = 2;
    useModelOptics = 1;
    opticsZoomMin = 0.0623;
    opticsZoomMax = 0.0623;
    opticsZoomInit = 0.0623;
    memoryPointCamera = "opticView";
    visionMode[] = {"Normal"};
    opticsFlare = 1;
    opticsDisablePeripherialVision = 1;
    distanceZoomMin = 100;
    distanceZoomMax = 100;
    cameraDir = "";
   };
  };
  modes[] = {"Fullauto"};
 };
};
class G36K: G36a
{
 scope = 2;
 displayName = "$STR_DN_G36K";
 htMin = 1;
 htMax = 480;
 afMax = 0;
 mfMax = 0;
 mFact = 1;
 tBody = 100;
 modes[] = {"Single","Fullauto"};
 muzzles[] = {"MuzzleFar","MuzzleClose"};
 class MuzzleFar: MuzzleFar
 {
  displayName = "$STR_DN_G36K";
  class OpticsModes
  {
   class Scope
   {
    opticsID = 1;
    useModelOptics = 1;
    opticsPPEffects[] = {"OpticsCHAbera1","OpticsBlur1"};
    opticsZoomMin = 0.0623;
    opticsZoomMax = 0.0623;
    opticsZoomInit = 0.0623;
    memoryPointCamera = "opticView";
    visionMode[] = {"Normal"};
    opticsFlare = 1;
    opticsDisablePeripherialVision = 1;
    distanceZoomMin = 100;
    distanceZoomMax = 100;
    cameraDir = "";
   };
   class Kolimator: Scope
   {
    opticsID = 2;
    useModelOptics = 0;
    opticsFlare = 0;
    opticsDisablePeripherialVision = 0;
    oopticsZoomMin = 0.7;
    opticsZoomMax = 1.1;
    opticsZoomInit = 0.7;
    distanceZoomMin = 300;
    distanceZoomMax = 300;
    memoryPointCamera = "eye";
    visionMode[] = {};
   };
  };
  modes[] = {"Single"};
 };
 class MuzzleClose: MuzzleFar
 {
  class OpticsModes
  {
   class Kolimator
   {
    opticsID = 1;
    useModelOptics = 0;
    opticsPPEffects[] = {"OpticsCHAbera1","OpticsBlur1"};
    opticsFlare = 0;
    opticsDisablePeripherialVision = 0;
    opticsZoomMin = 0.7;
    opticsZoomMax = 1.1;
    opticsZoomInit = 0.7;
    distanceZoomMin = 300;
    distanceZoomMax = 300;
    memoryPointCamera = "eye";
    visionMode[] = {};
   };
   class Scope: Kolimator
   {
    opticsID = 2;
    useModelOptics = 1;
    opticsZoomMin = 0.0623;
    opticsZoomMax = 0.0623;
    opticsZoomInit = 0.0623;
    memoryPointCamera = "opticView";
    visionMode[] = {"Normal"};
    opticsFlare = 1;
    opticsDisablePeripherialVision = 1;
    distanceZoomMin = 100;
    distanceZoomMax = 100;
    cameraDir = "";
   };
  };
  modes[] = {"Fullauto"};
 };
};
class G36K_camo: G36K
{
 scope = 2;
 model = "\CA\weapons_E\G36\G36_K_camo";
 picture = "\ca\weapons_E\Data\icons\g36_k_camo_CA.paa";
 displayName = "$STR_EP1_DN_G36K_camo";
 htMin = 1;
 htMax = 480;
 afMax = 0;
 mfMax = 0;
 mFact = 1;
 tBody = 100;
 modes[] = {"Single","Fullauto"};
 muzzles[] = {"MuzzleFar","MuzzleClose"};
  class MuzzleFar: MuzzleFar
 {
  displayName = "$STR_EP1_DN_G36K_camo";
  class OpticsModes
  {
   class Scope
   {
    opticsID = 1;
    useModelOptics = 1;
    opticsPPEffects[] = {"OpticsCHAbera1","OpticsBlur1"};
    opticsZoomMin = 0.0623;
    opticsZoomMax = 0.0623;
    opticsZoomInit = 0.0623;
    memoryPointCamera = "opticView";
    visionMode[] = {"Normal"};
    opticsFlare = 1;
    opticsDisablePeripherialVision = 1;
    distanceZoomMin = 100;
    distanceZoomMax = 100;
    cameraDir = "";
   };
   class Kolimator: Scope
   {
    opticsID = 2;
    useModelOptics = 0;
    opticsFlare = 0;
    opticsDisablePeripherialVision = 0;
    opticsZoomMin = 0.7;
    opticsZoomMax = 1.1;
    opticsZoomInit = 0.7;
    distanceZoomMin = 300;
    distanceZoomMax = 300;
    memoryPointCamera = "eye";
    visionMode[] = {};
   };
  };
  modes[] = {"Single"};
 };
 class MuzzleClose: MuzzleFar
 {
  class OpticsModes
  {
   class Kolimator
   {
    opticsID = 1;
    useModelOptics = 0;
    opticsPPEffects[] = {"OpticsCHAbera1","OpticsBlur1"};
    opticsFlare = 0;
    opticsDisablePeripherialVision = 0;
    opticsZoomMin = 0.7;
    opticsZoomMax = 1.1;
    opticsZoomInit = 0.7;
    distanceZoomMin = 300;
    distanceZoomMax = 300;
    memoryPointCamera = "eye";
    visionMode[] = {};
   };
   class Scope: Kolimator
   {
    opticsID = 2;
    useModelOptics = 1;
    opticsZoomMin = 0.0623;
    opticsZoomMax = 0.0623;
    opticsZoomInit = 0.0623;
    memoryPointCamera = "opticView";
    visionMode[] = {"Normal"};
    opticsFlare = 1;
    opticsDisablePeripherialVision = 1;
    distanceZoomMin = 100;
    distanceZoomMax = 100;
    cameraDir = "";
   };
  };
  modes[] = {"Fullauto"};
 };
};
class MG36: G36C
{
 modes[] = {"Single","Fullauto"};
};
class MG36_camo: MG36
{
 scope = 2;
 model = "\CA\weapons_E\G36\MG36_camo";
 handAnim[] = {"OFP2_ManSkeleton","\Ca\weapons_E\data\Anim\MG36.rtm"};
 picture = "\ca\weapons_E\Data\icons\mg36_camo_CA.paa";
 displayName = "$STR_EP1_DN_MG36_camo";
 htMin = 1;
 htMax = 480;
 afMax = 0;
 mfMax = 0;
 mFact = 1;
 tBody = 100;
 modes[] = {"Single","Fullauto"};
};
class BWMod_G36: G36a
{
 scope = 2;
 displayName = "$STR_DN_G36";
 htMin = 1;
 htMax = 480;
 afMax = 0;
 mfMax = 0;
 mFact = 1;
 tBody = 100;
 modes[] = {"Single","Fullauto"};
 muzzles[] = {"MuzzleFar","MuzzleClose"};
 class MuzzleFar: MuzzleFar
 {
  displayName = "$STR_DN_G36";
  class OpticsModes
  {
   class Scope
   {
    opticsID = 1;
    useModelOptics = 1;
    opticsPPEffects[] = {"OpticsCHAbera1","OpticsBlur1"};
    opticsZoomMin = 0.0623;
    opticsZoomMax = 0.0623;
    opticsZoomInit = 0.0623;
    memoryPointCamera = "opticView";
    visionMode[] = {"Normal"};
    opticsFlare = 1;
    opticsDisablePeripherialVision = 1;
    distanceZoomMin = 100;
    distanceZoomMax = 100;
    cameraDir = "";
   };
   class Kolimator: Scope
   {
    opticsID = 2;
    useModelOptics = 0;
    opticsFlare = 0;
    opticsDisablePeripherialVision = 0;
    opticsZoomMin = 0.7;
    opticsZoomMax = 1.1;
    opticsZoomInit = 0.7;
    distanceZoomMin = 300;
    distanceZoomMax = 300;
    memoryPointCamera = "eye";
    visionMode[] = {};
   };
  };
  modes[] = {"Single"};
 };
 class MuzzleClose: MuzzleFar
 {
  class OpticsModes
  {
   class Kolimator
   {
    opticsID = 1;
    useModelOptics = 0;
    opticsPPEffects[] = {"OpticsCHAbera1","OpticsBlur1"};
    opticsFlare = 0;
    opticsDisablePeripherialVision = 0;
    opticsZoomMin = 0.7;
    opticsZoomMax = 1.1;
    opticsZoomInit = 0.7;
    distanceZoomMin = 300;
    distanceZoomMax = 300;
    memoryPointCamera = "eye";
    visionMode[] = {};
   };
   class Scope: Kolimator
   {
    opticsID = 2;
    useModelOptics = 1;
    opticsZoomMin = 0.0623;
    opticsZoomMax = 0.0623;
    opticsZoomInit = 0.0623;
    memoryPointCamera = "opticView";
    visionMode[] = {"Normal"};
    opticsFlare = 1;
    opticsDisablePeripherialVision = 1;
    distanceZoomMin = 100;
    distanceZoomMax = 100;
    cameraDir = "";
   };
  };
  modes[] = {"Fullauto"};
 };
};
};
//};

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  

×