Commit 26b979b8 authored by Mark Broome's avatar Mark Broome

adds nem to lockable vics,makes it repair vic, adds a forgotten boat to maglock as well

parent 26258ad7
class CBA_Extended_EventHandlers;
class CfgVehicles
{
#include "CfgSupplyPods.hpp"
......@@ -7,6 +8,7 @@ class CfgVehicles
class OPTRE_UNSC_falcon_unarmed;
class OPTRE_Pelican_armed;
class OPTRE_Pelican_unarmed;
class B_APC_Tracked_01_CRV_F;
class OPTRE_UNSC_falcon: OPTRE_falcon_base
{
......@@ -94,6 +96,13 @@ class CfgVehicles
class VES_D77HTCI: OPTRE_Pelican_unarmed
{
tf_range=30000;
};
};
];
class B_APC_Tracked_01_CRV_F;
[
ace_repair_canRepair = 1;
];
class B_T_APC_Tracked_01_CRV_F: B_APC_Tracked_01_CRV_F
[
ace_repair_canRepair = 1;
];
};
\ No newline at end of file
class CfgWeapons
{
class ItemCore;
class ACE_ItemCore;
class CBA_MiscItem_ItemInfo;
class InventoryFirstAidKitItem_Base_F;
class MedikitItem;
class Rifle_Base_F;
......@@ -47,4 +52,15 @@ class CfgWeapons
"OPTRE_12Rnd_8Gauge_Beanbags"
};
};
};
\ No newline at end of file
};
class ACE_Painkiller: ACE_ItemCore {
scope = 2;
displayName = "Adpil";
picture = ;
model = ;
descriptionShort = "don't sue us big pharma";
descriptionUse = "Dont take too many at once";
class ItemInfo: CBA_MiscItem_ItemInfo {
mass = .1;
};
};
\ No newline at end of file
......@@ -99,6 +99,16 @@ switch true do {
_veh setDir 180;
_loaded = true;
};
case (_veh isKindOf "B_APC_Tracked_01_CRV_F" or _veh isKindOf "B_T_APC_Tracked_01_CRV_F"):
{
_veh attachTo [_pelican,[0.0430558,-4.81432,-0.456545]];
_loaded = true;
};
case (_veh isKindOf "B_Lifeboat"):
{
_veh attachTo [_pelican,[0.0181665,-3.41999,0.530018]];
_loaded = true;
};
};
if (_loaded) then
......
......@@ -23,7 +23,10 @@ if (
(_x isKindOf "B_MBT_01_arty_F") OR
(_x isKindOf "B_T_APC_Tracked_01_AA_F") OR
(_x isKindOf "B_APC_Tracked_01_AA_F") OR
(_x isKindOf "Land_Device_slingloadable_F")
(_x isKindOf "Land_Device_slingloadable_F") OR
(_x isKindOf "B_APC_Tracked_01_CRV_F") OR
(_x isKindOf "B_T_APC_Tracked_01_CRV_F") OR
(_x isKindOf "B_Lifeboat")
} count _vehicles > 0
)
) then {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment