From 927d8ead8f4f884923f3f7c4840e2401b707bb34 Mon Sep 17 00:00:00 2001 From: Joko Date: Wed, 24 Aug 2016 19:42:32 +0200 Subject: [PATCH] add Hiddenselection camo to bodybag for Retexturing (#4276) * add Hiddenselection camo to bodybag * Add default texture * Use macro --- addons/apl/{bodybag.p3d => ace_bodybag.p3d} | Bin 1011356 -> 1022100 bytes addons/apl/model.cfg | 20 ++++++++++++++++++++ addons/medical/CfgVehicles.hpp | 4 +++- 3 files changed, 23 insertions(+), 1 deletion(-) rename addons/apl/{bodybag.p3d => ace_bodybag.p3d} (94%) create mode 100644 addons/apl/model.cfg diff --git a/addons/apl/bodybag.p3d b/addons/apl/ace_bodybag.p3d similarity index 94% rename from addons/apl/bodybag.p3d rename to addons/apl/ace_bodybag.p3d index 5b3622f9780be272adc8855e3ed780da73823682..e26d7ac9e7980789b6c9f55f0f65dfb555c8379d 100644 GIT binary patch delta 158 zcmbPp*LKQAyM`9V7N!>F7M2#)Eo_M$)2q&Lac|G>U^~k{eL^rl*Y@lVwu}5M$%(o7 z?Rgz+K+F!r96-#uJ+Fi7a41A7@fufq;x+E=iPw1Ms)2>J%YWs0$-MpFAD*L|AOiD( v`ArzN-(JrvtIZBFkHL;%dSM5f<8+`Jj%~MjH@w`Qahz|*qV3LE{E;jGpR+)f delta 148 zcmbQT(QeLN+lCg#7N!>F7M2#)Eo_M$+bw6X-R7UZo|St>d)*E;AZ7<*4j|^-UbllQ z*0mid1;jkt*R%4Tm7DH&hnHh}p$6~XP1}J?Q*DUAWp=&|FS(S1Q*%<2OHxymxA%YK hTgNp0-&ZcK?Y%(eA|8YsgYa}mc0Td#)>HT+Spa50IwAl7 diff --git a/addons/apl/model.cfg b/addons/apl/model.cfg new file mode 100644 index 0000000000..67bc593a78 --- /dev/null +++ b/addons/apl/model.cfg @@ -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 = ""; + }; +}; \ No newline at end of file diff --git a/addons/medical/CfgVehicles.hpp b/addons/medical/CfgVehicles.hpp index 3425fa9ad3..84bda805fd 100644 --- a/addons/medical/CfgVehicles.hpp +++ b/addons/medical/CfgVehicles.hpp @@ -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);