mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
weapon config
This commit is contained in:
parent
bd52ff1c50
commit
0f10d7f299
@ -1,34 +1,36 @@
|
|||||||
class CfgWeapons {
|
class CfgWeapons {
|
||||||
|
class Pistol;
|
||||||
|
class Pistol_Base_F: Pistol {
|
||||||
|
class WeaponSlotsInfo;
|
||||||
|
};
|
||||||
|
|
||||||
class Pistol_Base_F;
|
|
||||||
class ACE_Flashlight_Maglite_ML300L: Pistol_Base_F {
|
class ACE_Flashlight_Maglite_ML300L: Pistol_Base_F {
|
||||||
author = ECSTRING(common,ACETeam);
|
author = ECSTRING(common,ACETeam);
|
||||||
|
scope = 2;
|
||||||
displayName = CSTRING(Maglite_ML300L_DisplayName);
|
displayName = CSTRING(Maglite_ML300L_DisplayName);
|
||||||
descriptionShort = CSTRING(Maglite_ML300L_Description);
|
descriptionShort = CSTRING(Maglite_ML300L_Description);
|
||||||
model = QPATHTOF(data\maglite_ml300l.p3d);
|
model = QPATHTOF(data\maglite_ml300l.p3d);
|
||||||
picture = QPATHTOF(UI\maglite_ml300l_ca.paa);
|
picture = QPATHTOF(UI\maglite_ml300l_ca.paa);
|
||||||
scope = 2;
|
|
||||||
|
|
||||||
magazines[] = {};
|
// Binarized version is just for testing purposes when using build.py aka makepbo.
|
||||||
recoil = "";
|
// RTMs need to be binarized to work properly.
|
||||||
recoilProne = "";
|
// Switch out for non binarized version and remove binarized RTM.
|
||||||
distanceZoomMin = 50;
|
|
||||||
distanceZoomMax = 50;
|
|
||||||
autoFire = 0;
|
|
||||||
|
|
||||||
// Binarized version is just for testing purposes when using build.py aka makepbo
|
|
||||||
// rtms need to be binarized to work properly
|
|
||||||
// switch out for non binarized version and remove binarized rtm
|
|
||||||
handAnim[] = {"OFP2_ManSkeleton", QPATHTOF(data\maglite_ml300l_binarized.rtm)};
|
handAnim[] = {"OFP2_ManSkeleton", QPATHTOF(data\maglite_ml300l_binarized.rtm)};
|
||||||
|
muzzlePos = "flash";
|
||||||
|
muzzleEnd = "flash dir";
|
||||||
|
|
||||||
class FlashLight
|
class WeaponSlotsInfo: WeaponSlotsInfo {
|
||||||
{
|
holsterScale = 0; // Item does not fit a pistol holster, so hide it.
|
||||||
|
mass = 20;
|
||||||
|
};
|
||||||
|
|
||||||
|
class FlashLight {
|
||||||
color[] = {180,180,190};
|
color[] = {180,180,190};
|
||||||
ambient[] = {0.9,0.81,0.7};
|
ambient[] = {0.9,0.81,0.7};
|
||||||
intensity = 85;
|
intensity = 85;
|
||||||
size = 1;
|
size = 1;
|
||||||
innerAngle = 5;
|
innerAngle = 5;
|
||||||
outerAngle = 60;
|
outerAngle = 80;
|
||||||
coneFadeCoef = 8;
|
coneFadeCoef = 8;
|
||||||
position = "flash dir";
|
position = "flash dir";
|
||||||
direction = "flash";
|
direction = "flash";
|
||||||
@ -36,6 +38,7 @@ class CfgWeapons {
|
|||||||
flareSize = 1.4;
|
flareSize = 1.4;
|
||||||
flareMaxDistance = 100;
|
flareMaxDistance = 100;
|
||||||
dayLight = 1;
|
dayLight = 1;
|
||||||
|
|
||||||
class Attenuation {
|
class Attenuation {
|
||||||
start = 0;
|
start = 0;
|
||||||
constant = 0.7;
|
constant = 0.7;
|
||||||
@ -44,23 +47,25 @@ class CfgWeapons {
|
|||||||
hardLimitStart = 45;
|
hardLimitStart = 45;
|
||||||
hardLimitEnd = 60;
|
hardLimitEnd = 60;
|
||||||
};
|
};
|
||||||
|
|
||||||
scale[] = {0};
|
scale[] = {0};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
class ACE_ItemCore;
|
class ACE_ItemCore;
|
||||||
class CBA_MiscItem_ItemInfo;
|
class CBA_MiscItem_ItemInfo;
|
||||||
|
|
||||||
class ACE_Flashlight_MX991: ACE_ItemCore {
|
class ACE_Flashlight_MX991: ACE_ItemCore {
|
||||||
author = ECSTRING(common,ACETeam);
|
author = ECSTRING(common,ACETeam);
|
||||||
|
scope = 2;
|
||||||
displayName = CSTRING(MX991_DisplayName);
|
displayName = CSTRING(MX991_DisplayName);
|
||||||
descriptionShort = CSTRING(MX991_Description);
|
descriptionShort = CSTRING(MX991_Description);
|
||||||
model = QPATHTOF(data\mx_991.p3d);
|
model = QPATHTOF(data\mx_991.p3d);
|
||||||
picture = QPATHTOF(UI\mx_991_ca.paa);
|
picture = QPATHTOF(UI\mx_991_ca.paa);
|
||||||
scope = 2;
|
|
||||||
class ItemInfo: CBA_MiscItem_ItemInfo {
|
class ItemInfo: CBA_MiscItem_ItemInfo {
|
||||||
mass = 1;
|
mass = 4;
|
||||||
|
|
||||||
class FlashLight {
|
class FlashLight {
|
||||||
ACE_Flashlight_Colour = "red";
|
ACE_Flashlight_Colour = "red";
|
||||||
ACE_Flashlight_Beam = QPATHTOF(UI\Flashlight_beam_red_ca.paa);
|
ACE_Flashlight_Beam = QPATHTOF(UI\Flashlight_beam_red_ca.paa);
|
||||||
@ -71,13 +76,15 @@ class CfgWeapons {
|
|||||||
|
|
||||||
class ACE_Flashlight_KSF1: ACE_ItemCore {
|
class ACE_Flashlight_KSF1: ACE_ItemCore {
|
||||||
author = ECSTRING(common,ACETeam);
|
author = ECSTRING(common,ACETeam);
|
||||||
|
scope = 2;
|
||||||
displayName = CSTRING(KSF1_DisplayName);
|
displayName = CSTRING(KSF1_DisplayName);
|
||||||
descriptionShort = CSTRING(KSF1_Description);
|
descriptionShort = CSTRING(KSF1_Description);
|
||||||
model = QPATHTOF(data\ksf_1.p3d);
|
model = QPATHTOF(data\ksf_1.p3d);
|
||||||
picture = QPATHTOF(UI\ksf_1_ca.paa);
|
picture = QPATHTOF(UI\ksf_1_ca.paa);
|
||||||
scope = 2;
|
|
||||||
class ItemInfo: CBA_MiscItem_ItemInfo {
|
class ItemInfo: CBA_MiscItem_ItemInfo {
|
||||||
mass = 1;
|
mass = 4;
|
||||||
|
|
||||||
class FlashLight {
|
class FlashLight {
|
||||||
ACE_Flashlight_Colour = "red";
|
ACE_Flashlight_Colour = "red";
|
||||||
ACE_Flashlight_Beam = QPATHTOF(UI\Flashlight_beam_red_ca.paa);
|
ACE_Flashlight_Beam = QPATHTOF(UI\Flashlight_beam_red_ca.paa);
|
||||||
@ -88,13 +95,15 @@ class CfgWeapons {
|
|||||||
|
|
||||||
class ACE_Flashlight_XL50: ACE_ItemCore {
|
class ACE_Flashlight_XL50: ACE_ItemCore {
|
||||||
author = ECSTRING(common,ACETeam);
|
author = ECSTRING(common,ACETeam);
|
||||||
|
scope = 2;
|
||||||
displayName = CSTRING(XL50_DisplayName);
|
displayName = CSTRING(XL50_DisplayName);
|
||||||
descriptionShort = CSTRING(XL50_Description);
|
descriptionShort = CSTRING(XL50_Description);
|
||||||
model = QPATHTOF(data\maglite_xl50.p3d);
|
model = QPATHTOF(data\maglite_xl50.p3d);
|
||||||
picture = QPATHTOF(UI\maglite_xl50_ca.paa);
|
picture = QPATHTOF(UI\maglite_xl50_ca.paa);
|
||||||
scope = 2;
|
|
||||||
class ItemInfo: CBA_MiscItem_ItemInfo {
|
class ItemInfo: CBA_MiscItem_ItemInfo {
|
||||||
mass = 1;
|
mass = 3;
|
||||||
|
|
||||||
class FlashLight {
|
class FlashLight {
|
||||||
ACE_Flashlight_Colour = "white";
|
ACE_Flashlight_Colour = "white";
|
||||||
ACE_Flashlight_Beam = QPATHTOF(UI\Flashlight_beam_white_ca.paa);
|
ACE_Flashlight_Beam = QPATHTOF(UI\Flashlight_beam_white_ca.paa);
|
||||||
|
Loading…
Reference in New Issue
Block a user