add Hiddenselection camo to bodybag for Retexturing (#4276)

* add Hiddenselection camo to bodybag

* Add default texture

* Use macro
This commit is contained in:
Joko 2016-08-24 19:42:32 +02:00 committed by PabstMirror
parent 5a83659136
commit 927d8ead8f
3 changed files with 23 additions and 1 deletions

20
addons/apl/model.cfg Normal file
View File

@ -0,0 +1,20 @@
class CfgSkeletons {
class Default {
isDiscrete = 1;
skeletonInherit = "";
skeletonBones[] = {};
};
};
class CfgModels {
class Default {
sectionsInherit="";
sections[] = {""};
skeletonName = "";
};
class ace_bodybag: Default {
sectionsInherit = "";
sections[] = {"camo"};
skeletonName = "";
};
};

View File

@ -659,7 +659,7 @@ class CfgVehicles {
scope = 1;
scopeCurator = 2;
side = -1;
model = QPATHTOEF(apl,bodybag.p3d);
model = QPATHTOEF(apl,ace_bodybag.p3d);
icon = "";
displayName = CSTRING(Bodybag_Display);
EGVAR(dragging,canDrag) = 1;
@ -667,6 +667,8 @@ class CfgVehicles {
EGVAR(dragging,dragDirection) = 0;
EGVAR(cargo,size) = 1;
EGVAR(cargo,canLoad) = 1;
hiddenSelections[] = {"camo"};
hiddenSelectionsTextures[] = {QPATHTOEF(apl,data\bodybag_co.paa)};
class ACE_Actions {
class ACE_MainActions {
displayName = ECSTRING(interaction,MainAction);