Advertisement
Diffusion9

Arma 3 config.bin

Mar 6th, 2015
427
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 8.00 KB | None | 0 0
  1. class CfgPatches {
  2.     class caf_c10 {
  3.         weapons[] = {"caf_c10"};
  4.         units[] = {};
  5.         requiredVersion = 1.3200001;
  6.         requiredAddons[] = {"A3_Weapons_F","caf_c8a3","caf_optics"};
  7.         author="Diffusion9";
  8.     };
  9. };
  10. // CfgPatches END
  11. class Mode_SemiAuto;
  12. class Mode_FullAuto;
  13. class CowsSlot;
  14. class PointerSlot;
  15. class WeaponSlotsInfo;
  16. class MuzzleSlot;
  17. class GunParticles;
  18. class CfgWeapons {
  19.     class Rifle;
  20.     class Rifle_Base_F : Rifle {
  21.         class WeaponSlotsInfo;
  22.     };
  23.     class caf_c10_Base_F {
  24.         magazines[]={"30Rnd_556X45_NATO","30Rnd_556x45_T_stanag","30rnd_556x45_stanag"};
  25.         reloadAction = "GestureReloadMX";
  26.         maxZeroing = 1000;
  27.         handAnim[] = {"OFP2_ManSkeleton", "\A3\Weapons_F\Rifles\MX\data\Anim\MX_afg.rtm"};
  28.         class WeaponSlotsInfo : WeaponSlotsInfo {
  29.             class MuzzleSlot : MuzzleSlot {
  30.                 linkProxy = "\A3\data_f\proxies\weapon_slots\MUZZLE";
  31.                 compatibleItems[] = {"muzzle_snds_h"};
  32.                 iconPosition[] = {0, 0.45};
  33.                 iconScale = 0.2;
  34.             };
  35.             class CowsSlot : CowsSlot {
  36.                 linkProxy="\A3\data_f\proxies\weapon_slots\TOP";               
  37.                 iconPosition[] = {0.45, 0.28};
  38.                 iconScale = 0.2;
  39.             };
  40.             class PointerSlot : PointerSlot {
  41.                 iconPosition[] = {0.35, 0.45};
  42.                 iconScale = 0.2;
  43.             };
  44.         };
  45.         class GunParticles : GunParticles {
  46.             class SecondEffect {
  47.                 positionName = "Nabojnicestart";
  48.                 directionName = "Nabojniceend";
  49.                 effectName = "CaselessAmmoCloud";
  50.             };
  51.         };
  52.         opticsZoomMin = 0.375;
  53.         opticsZoomMax = 1.1;
  54.         opticsZoomInit = 0.75;
  55.         distanceZoomMin = 300;
  56.         distanceZoomMax = 300;
  57.         caseless[] = {"", 1, 1, 1};
  58.         soundBullet[] = {"caseless", 1};
  59.         modes[] = {"Single", "FullAuto", "single_medium_optics1", "single_far_optics2", "fullauto_medium"};
  60.         drySound[] = {"A3\Sounds_F\arsenal\weapons\Rifles\Katiba\dry_Katiba", 0.562341, 1, 10};
  61.         reloadMagazineSound[] = {"A3\Sounds_F\arsenal\weapons\Rifles\Katiba\reload_Katiba", 1, 1, 10};
  62.         changeFiremodeSound[] = {"A3\Sounds_F\arsenal\weapons\Rifles\Katiba\firemode_katiba", 0.251189, 1, 5};
  63.         class Single : Mode_SemiAuto {
  64.             sounds[] = {"StandardSound", "SilencedSound"};
  65.             class BaseSoundModeType {
  66.                 weaponSoundEffect = "DefaultRifle";
  67.                 closure1[] = {"A3\Sounds_F\arsenal\weapons\Rifles\Katiba\closure_Katiba_01", 0.177828, 1, 10};
  68.                 closure2[] = {"A3\Sounds_F\arsenal\weapons\Rifles\Katiba\closure_Katiba_02", 0.177828, 1, 10};
  69.                 soundClosure[] = {"closure1", 0.5, "closure2", 0.5};
  70.             };
  71.             class StandardSound : BaseSoundModeType {
  72.                 begin1[] = {"caf_c8a3\data\sound\m4_s1", 1, 1, 1800};
  73.                 begin2[] = {"caf_c8a3\data\sound\m4_s2", 1, 1, 1800};
  74.                 begin3[] = {"caf_c8a3\data\sound\m4_s3", 1, 1, 1800};
  75.                 begin4[] = {"caf_c8a3\data\sound\m4_s4", 1, 1, 1800};
  76.                 soundBegin[] = {"begin1", 0.33, "begin2", 0.33, "begin3", 0.34, "begin4", 0.34};
  77.             };
  78.             class SilencedSound : BaseSoundModeType {
  79.                 begin1[] = {"A3\Sounds_F\arsenal\weapons\Rifles\Katiba\Silencer_Katiba_01", 0.794328, 1, 400};
  80.                 begin2[] = {"A3\Sounds_F\arsenal\weapons\Rifles\Katiba\Silencer_Katiba_02", 0.794328, 1, 400};
  81.                 begin3[] = {"A3\Sounds_F\arsenal\weapons\Rifles\Katiba\Silencer_Katiba_03", 0.794328, 1, 400};
  82.                 soundBegin[] = {"begin1", 0.33, "begin2", 0.33, "begin3", 0.34};
  83.             };
  84.             reloadTime = 0.075;
  85.             dispersion = 0.0011;
  86.             recoil = "recoil_single_ktb";
  87.             recoilProne = "recoil_single_prone_ktb";
  88.             minRange = 2;
  89.             minRangeProbab = 0.5;
  90.             midRange = 200;
  91.             midRangeProbab = 0.7;
  92.             maxRange = 400;
  93.             maxRangeProbab = 0.3;
  94.         };
  95.         class FullAuto : Mode_FullAuto {
  96.             sounds[] = {"StandardSound", "SilencedSound"};
  97.             class BaseSoundModeType {
  98.                 weaponSoundEffect = "DefaultRifle";
  99.                 closure1[] = {"A3\Sounds_F\arsenal\weapons\Rifles\Katiba\closure_Katiba_01", 0.562341, 1, 10};
  100.                 closure2[] = {"A3\Sounds_F\arsenal\weapons\Rifles\Katiba\closure_Katiba_02", 0.562341, 1, 10};
  101.                 soundClosure[] = {"closure1", 0.5, "closure2", 0.5};
  102.             };
  103.             class StandardSound : BaseSoundModeType {
  104.                 begin1[] = {"caf_c8a3\data\sound\m4_s1", 1, 1, 1800};
  105.                 begin2[] = {"caf_c8a3\data\sound\m4_s2", 1, 1, 1800};
  106.                 begin3[] = {"caf_c8a3\data\sound\m4_s3", 1, 1, 1800};
  107.                 begin4[] = {"caf_c8a3\data\sound\m4_s4", 1, 1, 1800};
  108.                 soundBegin[] = {"begin1", 0.33, "begin2", 0.33, "begin3", 0.34, "begin4", 0.34};
  109.             };
  110.             class SilencedSound : BaseSoundModeType {
  111.                 begin1[] = {"A3\Sounds_F\arsenal\weapons\Rifles\Katiba\Silencer_Katiba_01", 0.794328, 1, 400};
  112.                 begin2[] = {"A3\Sounds_F\arsenal\weapons\Rifles\Katiba\Silencer_Katiba_02", 0.794328, 1, 400};
  113.                 begin3[] = {"A3\Sounds_F\arsenal\weapons\Rifles\Katiba\Silencer_Katiba_03", 0.794328, 1, 400};
  114.                 soundBegin[] = {"begin1", 0.33, "begin2", 0.33, "begin3", 0.34};
  115.             };
  116.             reloadTime = 0.075;
  117.             dispersion = 0.0011;
  118.             recoil = "recoil_auto_trg";
  119.             recoilProne = "recoil_auto_prone_trg";
  120.             minRange = 0;
  121.             minRangeProbab = 0.9;
  122.             midRange = 15;
  123.             midRangeProbab = 0.7;
  124.             maxRange = 30;
  125.             maxRangeProbab = 0.1;
  126.             aiRateOfFire = 1e-006;
  127.         };
  128.         class fullauto_medium : FullAuto {
  129.             showToPlayer = 0;
  130.             burst = 3;
  131.             minRange = 2;
  132.             minRangeProbab = 0.5;
  133.             midRange = 75;
  134.             midRangeProbab = 0.7;
  135.             maxRange = 150;
  136.             maxRangeProbab = 0.05;
  137.             aiRateOfFire = 2;
  138.             aiRateOfFireDistance = 200;
  139.         };
  140.         class single_medium_optics1 : Single {
  141.             requiredOpticType = 1;
  142.             showToPlayer = 0;
  143.             minRange = 2;
  144.             minRangeProbab = 0.2;
  145.             midRange = 450;
  146.             midRangeProbab = 0.7;
  147.             maxRange = 600;
  148.             maxRangeProbab = 0.2;
  149.             aiRateOfFire = 6;
  150.             aiRateOfFireDistance = 600;
  151.         };
  152.         class single_far_optics2 : single_medium_optics1 {
  153.             requiredOpticType = 2;
  154.             minRange = 100;
  155.             minRangeProbab = 0.1;
  156.             midRange = 450;
  157.             midRangeProbab = 0.6;
  158.             maxRange = 800;
  159.             maxRangeProbab = 0.05;
  160.             aiRateOfFire = 8;
  161.             aiRateOfFireDistance = 800;
  162.         };
  163.         aiDispersionCoefY = 6;
  164.         aiDispersionCoefX = 4;
  165.     };
  166.     class caf_c10_F : caf_c10_Base_F {
  167.         author = "Diffusion9";
  168.         _generalMacro = "caf_c10_F";
  169.         scope = 2;
  170.         displayName = "Colt Canada C7 6.5 mm";
  171.         descriptionShort = "Assault Rifle<br />Caliber: 6.5x39 mm";
  172.         class Library {
  173.             libTextDesc = "The Colt Canada C7 rifle is a Canadian assault rifle, manufactured by Colt Canada (formerly Diemaco prior to 2005), a variant of the Armalite AR-15, and having similar design and function to the Colt M16A3. The C7 and its variants have been adopted as the standard issue rifle by the militaries of Canada, Norway (Special forces only), Denmark and the Netherlands.";
  174.         };
  175.         model = "\caf_C7A2\C7A2.p3d";
  176.         picture = "\caf_C7A2\data\inv\C7A2_st_Ca.paa";
  177.         UiPicture = "\caf_C7A2\data\inv\C7A2_x_ca.paa";
  178.         class WeaponSlotsInfo : WeaponSlotsInfo {
  179.             mass = 100;
  180.         };
  181.         inertia = 0.4;
  182.         dexterity = 1.6;
  183.         initSpeed = 900;
  184.     }; 
  185. };
  186. // CfgWeapons END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement