mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
f3fc99f3b8
ace_map now handles flashlights independently of ace_flashlights. ace_map searches for flashlight beam textures directly from weapon configs. ace_map has acc_flashlight config (so vanilla ace_map will have at least one flashlight to use).
56 lines
1.9 KiB
C++
56 lines
1.9 KiB
C++
class CfgWeapons {
|
|
|
|
class ACE_ItemCore;
|
|
class InventoryItem_Base_F;
|
|
|
|
class ACE_Map_Flashlight_MX991: ACE_ItemCore {
|
|
displayName = CSTRING(MX991_DisplayName);
|
|
descriptionShort = CSTRING(MX991_Description);
|
|
model = QPATHTOF(data\MX_991.p3d);
|
|
picture = QPATHTOF(UI\mx991_ca.paa);
|
|
scope = 2;
|
|
class ItemInfo: InventoryItem_Base_F {
|
|
mass = 1;
|
|
class ACE_Map_Flashlight {
|
|
ACE_Map_Flashlight_Color = "red";
|
|
ACE_Map_Flashlight_Beam = QUOTE(PATHTOF(UI\Flashlight_beam_red_ca.paa));
|
|
ACE_Map_Flashlight_Size = 1.75;
|
|
ACE_Map_Flashlight_Sound = 1;
|
|
};
|
|
};
|
|
};
|
|
|
|
class ACE_Map_Flashlight_KSF1: ACE_ItemCore {
|
|
displayName = CSTRING(KSF1_DisplayName);
|
|
descriptionShort = CSTRING(KSF1_Description);
|
|
model = QPATHTOF(data\KSF_1.p3d);
|
|
picture = QPATHTOF(UI\ksf1_ca.paa);
|
|
scope = 2;
|
|
class ItemInfo: InventoryItem_Base_F {
|
|
mass = 1;
|
|
class ACE_Map_Flashlight {
|
|
ACE_Map_Flashlight_Colour = "red";
|
|
ACE_Map_Flashlight_Beam = QUOTE(PATHTOF(UI\Flashlight_beam_red_ca.paa));
|
|
ACE_Map_Flashlight_Size = 1.5;
|
|
ACE_Map_Flashlight_Sound = 1;
|
|
};
|
|
};
|
|
};
|
|
|
|
class ACE_Map_Flashlight_XL50: ACE_ItemCore {
|
|
displayName = CSTRING(XL50_DisplayName);
|
|
descriptionShort = CSTRING(XL50_Description);
|
|
model = QPATHTOF(data\Maglight.p3d);
|
|
picture = QPATHTOF(UI\xl50_ca.paa);
|
|
scope = 2;
|
|
class ItemInfo: InventoryItem_Base_F {
|
|
mass = 1;
|
|
class ACE_Map_Flashlight {
|
|
ACE_Map_Flashlight_Colour = "white";
|
|
ACE_Map_Flashlight_Beam = QUOTE(PATHTOF(UI\Flashlight_beam_white_ca.paa));
|
|
ACE_Map_Flashlight_Size = 2.15;
|
|
ACE_Map_Flashlight_Sound = 1;
|
|
};
|
|
};
|
|
};
|
|
}; |