mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Added the cellphone as a item.
This commit is contained in:
parent
357927902d
commit
f2ef53168b
@ -47,6 +47,20 @@ class CfgWeapons {
|
||||
ACE_Range = 100;
|
||||
ACE_Detonator = 1;
|
||||
|
||||
class ItemInfo: ACE_ExplosiveItem {
|
||||
mass = 2;
|
||||
uniformModel = "\A3\weapons_F\ammo\mag_univ.p3d";
|
||||
};
|
||||
};
|
||||
class ACE_Cellphone: ACE_ItemCore {
|
||||
scope = 2;
|
||||
displayName = $STR_ACE_Explosives_cellphone_displayName;
|
||||
descriptionShort = $STR_ACE_Explosives_cellphone_description;
|
||||
picture = PATHTOF(Data\UI\Cellphone_UI.paa);
|
||||
model = "\A3\weapons_F\ammo\mag_univ.p3d";
|
||||
ACE_Range = 15000;
|
||||
ACE_Detonator = 1;
|
||||
|
||||
class ItemInfo: ACE_ExplosiveItem {
|
||||
mass = 2;
|
||||
uniformModel = "\A3\weapons_F\ammo\mag_univ.p3d";
|
||||
|
BIN
addons/explosives/Data/UI/Cellphone_UI.paa
Normal file
BIN
addons/explosives/Data/UI/Cellphone_UI.paa
Normal file
Binary file not shown.
@ -3,7 +3,7 @@
|
||||
class CfgPatches {
|
||||
class ADDON {
|
||||
units[] = {};
|
||||
weapons[] = {"ACE_Clacker", "ACE_DefusalKit", "ACE_M26_Clacker", "ACE_DeadManSwitch"};
|
||||
weapons[] = {"ACE_Clacker", "ACE_DefusalKit", "ACE_M26_Clacker", "ACE_DeadManSwitch", "ACE_Cellphone"};
|
||||
requiredVersion = REQUIRED_VERSION;
|
||||
requiredAddons[] = {"ace_common", "ace_interaction"};
|
||||
author[] = {"Garth 'L-H' de Wet"};
|
||||
|
Loading…
Reference in New Issue
Block a user