add sandbag preview image, proper editor category (#6008)

This commit is contained in:
commy2 2018-01-02 18:01:25 +01:00 committed by PabstMirror
parent 33e25535c9
commit b7dd5c5692
2 changed files with 10 additions and 3 deletions

View File

@ -1,5 +1,5 @@
class CBA_Extended_EventHandlers;
class CBA_Extended_EventHandlers_base;
class CfgVehicles {
class Man;
@ -25,6 +25,9 @@ class CfgVehicles {
scopeCurator = 2;
displayName = CSTRING(sandbagEmpty_displayName);
vehicleClass = "Items";
editorCategory = "EdCat_Equipment";
editorSubcategory = "EdSubcat_InventoryItems";
editorPreview = QPATHTOF(data\preview_sandbag.jpg);
class TransportItems {
MACRO_ADDITEM(ACE_Sandbag_empty,1);
};
@ -47,7 +50,7 @@ class CfgVehicles {
class ThingX;
class ACE_SandbagObject: ThingX {
class EventHandlers {
class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers {};
class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers_base {};
};
author = ECSTRING(common,ACETeam);
@ -79,7 +82,7 @@ class CfgVehicles {
class ACE_MainActions {
selection = "";
distance = 5;
condition = "true";
condition = "(true)";
class ACE_PickUp {
selection = "";
@ -94,6 +97,10 @@ class CfgVehicles {
};
};
};
editorCategory = "EdCat_Supplies";
editorSubcategory = QEGVAR(main,subcategory);
editorPreview = QPATHTOF(data\preview_sandbag.jpg);
};
class ACE_SandbagObject_NoGeo: ACE_SandbagObject {

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB