mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
45 lines
1.1 KiB
C++
45 lines
1.1 KiB
C++
|
|
class CfgWeapons {
|
|
class ItemCore;
|
|
class ACE_ItemCore: ItemCore {
|
|
type = 4096;//4;
|
|
detectRange = -1;
|
|
simulation = "ItemMineDetector";
|
|
};
|
|
|
|
class Rifle;
|
|
class Rifle_Base_F: Rifle {
|
|
class WeaponSlotsInfo;
|
|
};
|
|
|
|
class ACE_FakePrimaryWeapon: Rifle_Base_F {
|
|
scope = 2;
|
|
displayName = "";
|
|
model = "";
|
|
picture = "";
|
|
magazines[] = {"ACE_FakeMagazine"};
|
|
discreteDistance[] = {};
|
|
discreteDistanceInitIndex = 0;
|
|
|
|
class WeaponSlotsInfo: WeaponSlotsInfo {
|
|
mass = 0;
|
|
};
|
|
};
|
|
|
|
class InventoryItem_Base_F;
|
|
class ACE_Banana: ACE_ItemCore {
|
|
author = "$STR_ACE_Common_ACETeam";
|
|
scope = 2;
|
|
displayName = "$STR_ACE_Common_bananaDisplayName";
|
|
descriptionShort = "$STR_ACE_Common_bananaDescr";
|
|
model = PATHTOF(data\banana.p3d);
|
|
picture = PATHTOF(data\icon_banana_ca.paa);
|
|
icon = "iconObject_circle";
|
|
mapSize = 0.034;
|
|
class ItemInfo: InventoryItem_Base_F {
|
|
mass = 1;
|
|
};
|
|
};
|
|
};
|
|
|