2015-08-11 17:59:50 +00:00
|
|
|
class CfgWeapons {
|
2019-11-30 17:36:31 +00:00
|
|
|
class Pistol;
|
|
|
|
class Pistol_Base_F: Pistol {
|
|
|
|
class WeaponSlotsInfo;
|
|
|
|
};
|
2015-08-11 17:59:50 +00:00
|
|
|
|
2019-11-21 17:20:05 +00:00
|
|
|
class ACE_Flashlight_Maglite_ML300L: Pistol_Base_F {
|
|
|
|
author = ECSTRING(common,ACETeam);
|
2019-11-30 17:36:31 +00:00
|
|
|
scope = 2;
|
2019-11-21 17:20:05 +00:00
|
|
|
displayName = CSTRING(Maglite_ML300L_DisplayName);
|
|
|
|
descriptionShort = CSTRING(Maglite_ML300L_Description);
|
|
|
|
model = QPATHTOF(data\maglite_ml300l.p3d);
|
|
|
|
picture = QPATHTOF(UI\maglite_ml300l_ca.paa);
|
2019-12-03 05:51:02 +00:00
|
|
|
cursor = "";
|
|
|
|
cursorAim = "";
|
2019-11-21 17:20:05 +00:00
|
|
|
|
2019-12-03 14:32:27 +00:00
|
|
|
// binarized rtm, animation in "extras/assets/maglite"
|
|
|
|
handAnim[] = {"OFP2_ManSkeleton", QPATHTOF(data\maglite_ml300l.rtm)};
|
2019-12-03 05:51:02 +00:00
|
|
|
recoil = "empty";
|
2019-11-30 17:36:31 +00:00
|
|
|
muzzlePos = "flash";
|
|
|
|
muzzleEnd = "flash dir";
|
2019-11-30 18:56:14 +00:00
|
|
|
magazines[] = {"FakeMagazine"}; // Required for the weapon info box to work correctly.
|
2019-11-30 18:56:01 +00:00
|
|
|
textureType = "default"; // empty texture
|
|
|
|
weaponInfoType = "RscWeaponEmpty";
|
2019-11-30 17:36:31 +00:00
|
|
|
|
|
|
|
class WeaponSlotsInfo: WeaponSlotsInfo {
|
|
|
|
holsterScale = 0; // Item does not fit a pistol holster, so hide it.
|
|
|
|
mass = 20;
|
2019-11-30 18:56:01 +00:00
|
|
|
|
|
|
|
class MuzzleSlot {};
|
|
|
|
class CowsSlot {};
|
2019-11-30 17:36:31 +00:00
|
|
|
};
|
2019-11-24 20:10:01 +00:00
|
|
|
|
2019-11-30 18:56:01 +00:00
|
|
|
inertia = 0.2;
|
|
|
|
dexterity = 1.8;
|
|
|
|
|
2019-11-30 17:36:31 +00:00
|
|
|
class FlashLight {
|
2019-11-21 17:26:31 +00:00
|
|
|
color[] = {180,180,190};
|
2019-11-21 17:20:05 +00:00
|
|
|
ambient[] = {0.9,0.81,0.7};
|
|
|
|
intensity = 85;
|
|
|
|
size = 1;
|
|
|
|
innerAngle = 5;
|
2019-11-30 17:36:31 +00:00
|
|
|
outerAngle = 80;
|
2019-11-21 17:20:05 +00:00
|
|
|
coneFadeCoef = 8;
|
2019-11-21 17:26:31 +00:00
|
|
|
position = "flash dir";
|
2019-11-21 17:20:05 +00:00
|
|
|
direction = "flash";
|
2019-11-21 17:26:31 +00:00
|
|
|
useFlare = 1;
|
2019-12-02 13:21:01 +00:00
|
|
|
flareSize = 0.8;
|
2019-11-21 17:20:05 +00:00
|
|
|
flareMaxDistance = 100;
|
|
|
|
dayLight = 1;
|
2019-11-30 17:36:31 +00:00
|
|
|
|
2019-11-21 17:26:31 +00:00
|
|
|
class Attenuation {
|
2019-12-02 13:21:01 +00:00
|
|
|
start = 0.25;
|
|
|
|
constant = 0;
|
|
|
|
linear = 0;
|
|
|
|
quadratic = 1;
|
|
|
|
hardLimitStart = 140;
|
|
|
|
hardLimitEnd = 150;
|
2019-11-21 17:20:05 +00:00
|
|
|
};
|
2019-11-30 17:36:31 +00:00
|
|
|
|
2019-11-21 17:20:05 +00:00
|
|
|
scale[] = {0};
|
2019-11-21 17:26:31 +00:00
|
|
|
};
|
2019-11-21 17:20:05 +00:00
|
|
|
};
|
|
|
|
|
2015-08-11 17:59:50 +00:00
|
|
|
class ACE_ItemCore;
|
2017-09-13 04:23:45 +00:00
|
|
|
class CBA_MiscItem_ItemInfo;
|
2015-08-11 17:59:50 +00:00
|
|
|
|
2016-06-12 22:33:37 +00:00
|
|
|
class ACE_Flashlight_MX991: ACE_ItemCore {
|
2017-11-13 22:54:34 +00:00
|
|
|
author = ECSTRING(common,ACETeam);
|
2019-11-30 17:36:31 +00:00
|
|
|
scope = 2;
|
2015-08-11 17:59:50 +00:00
|
|
|
displayName = CSTRING(MX991_DisplayName);
|
|
|
|
descriptionShort = CSTRING(MX991_Description);
|
2019-11-21 15:55:27 +00:00
|
|
|
model = QPATHTOF(data\mx_991.p3d);
|
|
|
|
picture = QPATHTOF(UI\mx_991_ca.paa);
|
2023-07-21 19:39:48 +00:00
|
|
|
ACE_isTool = 1;
|
2019-11-30 17:36:31 +00:00
|
|
|
|
2017-09-13 04:23:45 +00:00
|
|
|
class ItemInfo: CBA_MiscItem_ItemInfo {
|
2019-11-30 17:36:31 +00:00
|
|
|
mass = 4;
|
|
|
|
|
2016-06-15 23:31:05 +00:00
|
|
|
class FlashLight {
|
2016-06-15 21:58:07 +00:00
|
|
|
ACE_Flashlight_Colour = "red";
|
|
|
|
ACE_Flashlight_Beam = QPATHTOF(UI\Flashlight_beam_red_ca.paa);
|
|
|
|
ACE_Flashlight_Size = 1.75;
|
2015-08-11 17:59:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-06-12 22:33:37 +00:00
|
|
|
class ACE_Flashlight_KSF1: ACE_ItemCore {
|
2017-11-13 22:54:34 +00:00
|
|
|
author = ECSTRING(common,ACETeam);
|
2019-11-30 17:36:31 +00:00
|
|
|
scope = 2;
|
2015-08-11 17:59:50 +00:00
|
|
|
displayName = CSTRING(KSF1_DisplayName);
|
|
|
|
descriptionShort = CSTRING(KSF1_Description);
|
2019-11-21 15:05:36 +00:00
|
|
|
model = QPATHTOF(data\ksf_1.p3d);
|
|
|
|
picture = QPATHTOF(UI\ksf_1_ca.paa);
|
2023-07-21 19:39:48 +00:00
|
|
|
ACE_isTool = 1;
|
2019-11-30 17:36:31 +00:00
|
|
|
|
2017-09-13 04:23:45 +00:00
|
|
|
class ItemInfo: CBA_MiscItem_ItemInfo {
|
2019-11-30 17:36:31 +00:00
|
|
|
mass = 4;
|
|
|
|
|
2016-06-15 23:31:05 +00:00
|
|
|
class FlashLight {
|
2016-06-15 21:58:07 +00:00
|
|
|
ACE_Flashlight_Colour = "red";
|
|
|
|
ACE_Flashlight_Beam = QPATHTOF(UI\Flashlight_beam_red_ca.paa);
|
|
|
|
ACE_Flashlight_Size = 1.5;
|
2015-08-11 17:59:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-06-12 22:33:37 +00:00
|
|
|
class ACE_Flashlight_XL50: ACE_ItemCore {
|
2017-11-13 22:54:34 +00:00
|
|
|
author = ECSTRING(common,ACETeam);
|
2019-11-30 17:36:31 +00:00
|
|
|
scope = 2;
|
2015-08-11 17:59:50 +00:00
|
|
|
displayName = CSTRING(XL50_DisplayName);
|
|
|
|
descriptionShort = CSTRING(XL50_Description);
|
2019-11-21 15:09:28 +00:00
|
|
|
model = QPATHTOF(data\maglite_xl50.p3d);
|
|
|
|
picture = QPATHTOF(UI\maglite_xl50_ca.paa);
|
2023-07-21 19:39:48 +00:00
|
|
|
ACE_isTool = 1;
|
2019-11-30 17:36:31 +00:00
|
|
|
|
2017-09-13 04:23:45 +00:00
|
|
|
class ItemInfo: CBA_MiscItem_ItemInfo {
|
2019-11-30 17:36:31 +00:00
|
|
|
mass = 3;
|
|
|
|
|
2016-06-15 23:31:05 +00:00
|
|
|
class FlashLight {
|
2016-06-15 21:58:07 +00:00
|
|
|
ACE_Flashlight_Colour = "white";
|
|
|
|
ACE_Flashlight_Beam = QPATHTOF(UI\Flashlight_beam_white_ca.paa);
|
|
|
|
ACE_Flashlight_Size = 2.15;
|
2015-08-11 17:59:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2017-09-13 04:23:45 +00:00
|
|
|
};
|