2015-01-17 21:14:56 +00:00
|
|
|
class Mode_SemiAuto;
|
|
|
|
class Mode_Burst;
|
|
|
|
class Mode_FullAuto;
|
|
|
|
|
|
|
|
class CfgWeapons {
|
2016-06-26 02:07:30 +00:00
|
|
|
class Rifle_Base_F;
|
|
|
|
class Rifle_Long_Base_F;
|
2015-01-17 21:14:56 +00:00
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
//////////// SMALL ARMS WEAPONS ///////////////////////////////////////////////
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
// Weapon updates:
|
|
|
|
// 1. Do string update.
|
|
|
|
// 2. Fix magazine compatibility as needed.
|
|
|
|
// 3. Fix firing modes as needed.
|
|
|
|
// 4. Fix accessory compatibility as needed.
|
|
|
|
|
|
|
|
// Grenade launchers /////////////////////////////////////
|
|
|
|
// Updated strings are in weapon configs.
|
|
|
|
class GrenadeLauncher;
|
2016-03-06 08:12:49 +00:00
|
|
|
class UGL_F: GrenadeLauncher {};
|
2015-01-17 21:14:56 +00:00
|
|
|
|
|
|
|
// MXs ////////////////////////////////////////////////////
|
|
|
|
|
2016-03-06 08:12:49 +00:00
|
|
|
class arifle_MX_Base_F: Rifle_Base_F {
|
|
|
|
class Single: Mode_SemiAuto {
|
2015-01-17 21:14:56 +00:00
|
|
|
reloadTime = 0.075;
|
|
|
|
};
|
|
|
|
|
|
|
|
class FullAuto: Mode_FullAuto {
|
|
|
|
reloadTime = 0.075;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-03-06 08:12:49 +00:00
|
|
|
class arifle_MX_SW_F: arifle_MX_Base_F {
|
2015-01-17 21:14:56 +00:00
|
|
|
modes[] = {"Single", "manual", "close", "short", "medium", "far_optic1", "far_optic2"};
|
|
|
|
|
2016-03-06 08:12:49 +00:00
|
|
|
//class Single: Single {};
|
|
|
|
//class manual: FullAuto {};
|
2015-01-17 21:14:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
// Katibas ////////////////////////////////////////////////////
|
|
|
|
|
2016-03-06 08:12:49 +00:00
|
|
|
class arifle_katiba_Base_F: Rifle_Base_F {
|
2015-01-17 21:14:56 +00:00
|
|
|
// http://world.guns.ru/assault/iran/khaybar-kh2002-e.html
|
|
|
|
// 800 rpm
|
|
|
|
|
2016-03-06 08:12:49 +00:00
|
|
|
class Single: Mode_SemiAuto {
|
2015-01-17 21:14:56 +00:00
|
|
|
reloadTime = 0.075;
|
|
|
|
};
|
|
|
|
|
|
|
|
class FullAuto: Mode_FullAuto {
|
|
|
|
reloadTime = 0.075;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
// SDAR //////////////////////////////////////////////////
|
|
|
|
|
2016-03-06 08:12:49 +00:00
|
|
|
class SDAR_base_F: Rifle_Base_F {
|
2015-01-17 21:14:56 +00:00
|
|
|
modes[] = {"Single", "FullAuto"}; // Leave in the imaginary full-auto mode because, whatever.
|
|
|
|
};
|
|
|
|
|
|
|
|
// Tavor TRG ////////////////////////////////////////////////
|
|
|
|
|
2016-03-06 08:12:49 +00:00
|
|
|
class Tavor_base_F: Rifle_Base_F {
|
2015-01-17 21:14:56 +00:00
|
|
|
// http://www.israel-weapon.com/files/brochure_2012/IWI_TAVOR_AR.pdf
|
|
|
|
// 700 ~1000 rpm (850)
|
2016-03-06 08:12:49 +00:00
|
|
|
class Single: Mode_SemiAuto {
|
2015-01-17 21:14:56 +00:00
|
|
|
reloadTime = 0.07;
|
|
|
|
};
|
|
|
|
|
|
|
|
class FullAuto: Mode_FullAuto {
|
|
|
|
reloadTime = 0.07;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
// Mk20 (F2000) //////////////////////////////////////////////////
|
|
|
|
|
2016-03-06 08:12:49 +00:00
|
|
|
class mk20_base_F: Rifle_Base_F {
|
2015-01-17 21:14:56 +00:00
|
|
|
// http://www.fnherstal.com/primary-menu/products-capabilities/rifles/technical-data/product/182/232/182/1/_/fn-f2000R-standard.html
|
|
|
|
// 850 rpm
|
2016-03-06 08:12:49 +00:00
|
|
|
class Single: Mode_SemiAuto {
|
2015-01-17 21:14:56 +00:00
|
|
|
reloadTime = 0.07;
|
|
|
|
};
|
|
|
|
|
|
|
|
class FullAuto: Mode_FullAuto {
|
|
|
|
reloadTime = 0.07;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
// SMG Vermin ////////////////////////////////////////////////////
|
|
|
|
|
2016-03-06 08:12:49 +00:00
|
|
|
class SMG_01_Base: Rifle_Base_F {
|
2015-01-17 21:14:56 +00:00
|
|
|
// http://kriss-usa.com/pdf/operatormanual/
|
|
|
|
// 1200 rpm
|
2016-03-06 08:12:49 +00:00
|
|
|
class Single: Mode_SemiAuto {
|
2015-01-17 21:14:56 +00:00
|
|
|
reloadTime = 0.05;
|
|
|
|
};
|
|
|
|
|
2016-03-06 08:12:49 +00:00
|
|
|
class Burst: Mode_Burst {
|
2015-01-17 21:14:56 +00:00
|
|
|
burst = 2;
|
|
|
|
reloadTime = 0.05;
|
|
|
|
};
|
|
|
|
|
|
|
|
class FullAuto: Mode_FullAuto {
|
|
|
|
reloadTime = 0.05;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
// SMG Scorpion ////////////////////////////////////////////////////
|
|
|
|
|
2016-03-06 08:12:49 +00:00
|
|
|
class SMG_02_base_F: Rifle_Base_F {
|
2015-01-17 21:14:56 +00:00
|
|
|
//http://www.czub.cz/zbrojovka/cz-manual/Instruction-Manual-Scorpion-EVO-3-A1_en.pdf
|
|
|
|
// 1150 rpm
|
|
|
|
|
2016-03-06 08:12:49 +00:00
|
|
|
class Single: Mode_SemiAuto {
|
2015-01-17 21:14:56 +00:00
|
|
|
// http://www.stengg.com/upload/915fGdhTi3ggnnGQGGL.pdf
|
|
|
|
// 900-1100 rpm (1000rpm)
|
|
|
|
reloadTime = 0.052;
|
|
|
|
};
|
|
|
|
|
2016-03-06 08:12:49 +00:00
|
|
|
class Burst: Mode_Burst {
|
2015-01-17 21:14:56 +00:00
|
|
|
reloadTime = 0.052;
|
|
|
|
};
|
|
|
|
|
|
|
|
class FullAuto: Mode_FullAuto {
|
|
|
|
reloadTime = 0.052;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
// SMG PDW2000 ///////////////////////////////////////////////////
|
|
|
|
|
|
|
|
class pdw2000_base_F: Rifle_Base_F {
|
|
|
|
modes[] = {"Single", "FullAuto"}; // No burst on this thing
|
|
|
|
|
2016-03-06 08:12:49 +00:00
|
|
|
class Single: Mode_SemiAuto {
|
2015-01-17 21:14:56 +00:00
|
|
|
// http://www.stengg.com/upload/915fGdhTi3ggnnGQGGL.pdf
|
|
|
|
// 900-1100 rpm (1000rpm)
|
|
|
|
reloadTime = 0.06;
|
|
|
|
};
|
|
|
|
|
|
|
|
class FullAuto: Mode_FullAuto {
|
|
|
|
reloadTime = 0.06;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
// Pistols //////////////////////////////////////////////
|
|
|
|
|
2016-03-06 08:12:49 +00:00
|
|
|
/*class hgun_P07_F: Pistol_Base_F {};
|
|
|
|
class hgun_Rook40_F: Pistol_Base_F {};
|
|
|
|
class hgun_ACPC2_F: Pistol_Base_F {};
|
2015-01-17 21:14:56 +00:00
|
|
|
class hgun_Pistol_heavy_01_F: Pistol_Base_F {};
|
|
|
|
class hgun_Pistol_heavy_02_F: Pistol_Base_F {};*/
|
|
|
|
|
|
|
|
// LMGs //////////////////////////////////////////////
|
|
|
|
|
2016-03-06 08:12:49 +00:00
|
|
|
class LMG_Mk200_F: Rifle_Long_Base_F {
|
2015-01-17 21:14:56 +00:00
|
|
|
modes[] = {"manual", "Single", "close", "short", "medium", "far_optic1", "far_optic2"};
|
|
|
|
|
2016-03-06 08:12:49 +00:00
|
|
|
class manual: Mode_FullAuto {
|
2015-01-17 21:14:56 +00:00
|
|
|
// http://www.defensereview.com/kac-stoner-lmg-belt-fed-5-56mm-nato-lightweight-light-machine-gun-squad-automatic-weapon-lmgsaw-displayed-at-sofic-2010/
|
|
|
|
// 550 rpm
|
|
|
|
reloadTime = 0.109;
|
|
|
|
};
|
|
|
|
|
|
|
|
// Add semi-auto mode.
|
|
|
|
// Inherit from 'manual' for sound reasons.
|
2016-03-06 08:12:49 +00:00
|
|
|
class Single: manual {
|
2015-01-17 21:14:56 +00:00
|
|
|
reloadTime = 0.109;
|
|
|
|
dispersion = 0.00175; // radians. Equal to 6 MOA.
|
|
|
|
autofire = 0;
|
|
|
|
burst = 1;
|
|
|
|
displayname = "Semi";
|
|
|
|
texturetype = "semi";
|
|
|
|
showToPlayer = 1;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class LMG_Zafir_F: Rifle_Long_Base_F {
|
|
|
|
modes[] = {"FullAuto", "Single", "close", "short", "medium", "far_optic1", "far_optic2"};
|
|
|
|
|
2016-03-06 08:12:49 +00:00
|
|
|
class FullAuto: Mode_FullAuto {
|
2015-01-17 21:14:56 +00:00
|
|
|
reloadTime = 0.070; // 850 RPM on gas position 1
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
// Sniper and anti-materiel rifles /////////////////////////////////
|
|
|
|
|
2016-03-06 08:12:49 +00:00
|
|
|
class EBR_base_F: Rifle_Long_Base_F {
|
2015-01-17 21:14:56 +00:00
|
|
|
// EMR/EBR is typically issued semi-auto AFAIK
|
|
|
|
modes[] = {"Single", "single_close_optics1", "single_medium_optics1", "single_far_optics1"};
|
|
|
|
cursor = "arifle";
|
|
|
|
};
|
|
|
|
|
2016-03-06 08:12:49 +00:00
|
|
|
class LRR_base_F: Rifle_Long_Base_F {
|
2015-01-17 21:14:56 +00:00
|
|
|
cursor = "arifle";
|
|
|
|
};
|
|
|
|
|
2016-03-06 08:12:49 +00:00
|
|
|
class GM6_base_F: Rifle_Long_Base_F {
|
2015-01-17 21:14:56 +00:00
|
|
|
cursor = "arifle";
|
|
|
|
|
|
|
|
// Fuck your balancing, BI.
|
2016-03-06 08:12:49 +00:00
|
|
|
class Single: Mode_SemiAuto {
|
2015-01-17 21:14:56 +00:00
|
|
|
// 250 rpm is probably the limit of the finger on a heavy bullpup trigger like this thing must have.
|
|
|
|
reloadTime = 0.24;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
//////////// WEAPON ATTACHMENTS ///////////////////////////////////////////////
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
/* Handgun flashlight
|
|
|
|
class ItemCore;
|
|
|
|
class InventoryItem_Base_F;
|
|
|
|
class InventoryMuzzleItem_Base_F;
|
|
|
|
class InventoryFlashLightItem_Base_F;
|
|
|
|
|
|
|
|
class ACE_acc_flashlight_tls: ItemCore {
|
|
|
|
author = "$STR_A3_Bohemia_Interactive";
|
|
|
|
_generalMacro = "ACE_acc_flashlight_tls";
|
|
|
|
scope = 1; //2;
|
|
|
|
displayName = "$STR_A3_cfgWeapons_acc_flashlight0";//
|
|
|
|
descriptionUse = "$STR_A3_cfgWeapons_use_flashlight0";//
|
|
|
|
picture = "\A3\weapons_F\Data\UI\gear_accv_flashlight_tls_ca.paa";
|
|
|
|
model = "\A3\weapons_f\acc\accv_flashlight_TLS_F";
|
|
|
|
descriptionShort = "$STR_A3_cfgWeapons_acc_flashlight1";//
|
|
|
|
class ItemInfo: InventoryFlashLightItem_Base_F {
|
|
|
|
mass = 4;
|
|
|
|
class FlashLight {
|
|
|
|
color[] = {180,156,120};
|
|
|
|
ambient[] = {0.9,0.78,0.6};
|
|
|
|
intensity = 20;
|
|
|
|
size = 1;
|
|
|
|
innerAngle = 20;
|
|
|
|
outerAngle = 80;
|
|
|
|
coneFadeCoef = 5;
|
|
|
|
position = "flash dir";
|
|
|
|
direction = "flash";
|
|
|
|
useFlare = 1;
|
|
|
|
flareSize = 1.4;
|
|
|
|
flareMaxDistance = "100.0f";
|
|
|
|
dayLight = 0;
|
|
|
|
class Attenuation {
|
|
|
|
start = 0.5;
|
|
|
|
constant = 0;
|
|
|
|
linear = 0;
|
|
|
|
quadratic = 1.1;
|
|
|
|
hardLimitStart = 20;
|
|
|
|
hardLimitEnd = 30;
|
|
|
|
};
|
|
|
|
scale[] = {0};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
inertia = 0.1;
|
|
|
|
};*/
|
|
|
|
};
|