Made ``RoadCone_F` and its inhered `RoadBarrier_F`` dragable, carryable and storeable.

I remade it and removed comments and unnecessary strings. I also removed the unworking one from the last version.
This commit is contained in:
ColdEvul 2015-10-28 21:33:00 +01:00
parent 10d17a8117
commit b82350baa2
3 changed files with 20 additions and 1 deletions

View File

@ -48,6 +48,11 @@ class Extended_InitPost_EventHandlers {
init = QUOTE(_this call DFUNC(initObject); _this call DFUNC(initVehicle));
};
};
class RoadCone_F {
class ADDON {
init = QUOTE(_this call DFUNC(initObject); _this call DFUNC(initVehicle));
};
};
class Car {
class ADDON {
init = QUOTE(_this call DFUNC(initVehicle));

View File

@ -236,7 +236,15 @@ class CfgVehicles {
GVAR(size) = 6;
};
// objects
class RoadCone_F: ThingX {
GVAR(size) = 1;
GVAR(canLoad) = 1;
};
class RoadBarrier_F: RoadCone_F {
GVAR(size) = 2;
};
class Scrapyard_base_F;
class Land_PaperBox_closed_F: Scrapyard_base_F {

View File

@ -84,6 +84,12 @@ class CfgVehicles {
GVAR(canDrag) = 0;
};
// Barrier
class RoadCone_F: thingX{
GVAR(canCarry) = 1;
GVAR(canDrag) = 1;
};
class ACE_RepairItem_Base: ThingX {};
class ACE_Track: ACE_RepairItem_Base {