From bfc5af32f3c3477232e2a738174328320bd3c3a7 Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Fri, 30 Sep 2016 16:29:48 -0500 Subject: [PATCH] Add model.cfg for medical blood (#4489) --- addons/medical_blood/XEH_preInit.sqf | 8 ++++---- .../data/{drop_1.p3d => ace_drop_1.p3d} | Bin .../data/{drop_2.p3d => ace_drop_2.p3d} | Bin .../data/{drop_3.p3d => ace_drop_3.p3d} | Bin .../data/{drop_4.p3d => ace_drop_4.p3d} | Bin addons/medical_blood/data/model.cfg | 19 ++++++++++++++++++ 6 files changed, 23 insertions(+), 4 deletions(-) rename addons/medical_blood/data/{drop_1.p3d => ace_drop_1.p3d} (100%) rename addons/medical_blood/data/{drop_2.p3d => ace_drop_2.p3d} (100%) rename addons/medical_blood/data/{drop_3.p3d => ace_drop_3.p3d} (100%) rename addons/medical_blood/data/{drop_4.p3d => ace_drop_4.p3d} (100%) create mode 100644 addons/medical_blood/data/model.cfg diff --git a/addons/medical_blood/XEH_preInit.sqf b/addons/medical_blood/XEH_preInit.sqf index 2845c08ebc..fd97dfda93 100644 --- a/addons/medical_blood/XEH_preInit.sqf +++ b/addons/medical_blood/XEH_preInit.sqf @@ -18,10 +18,10 @@ GVAR(models) = [] call CBA_fnc_createNamespace; GVAR(models) setVariable [_name, _model]; } forEach [ // higher number means bigger model - ["blooddrop_1", QPATHTOF(data\drop_1.p3d)], - ["blooddrop_2", QPATHTOF(data\drop_2.p3d)], - ["blooddrop_3", QPATHTOF(data\drop_3.p3d)], - ["blooddrop_4", QPATHTOF(data\drop_4.p3d)] + ["blooddrop_1", QPATHTOF(data\ace_drop_1.p3d)], + ["blooddrop_2", QPATHTOF(data\ace_drop_2.p3d)], + ["blooddrop_3", QPATHTOF(data\ace_drop_3.p3d)], + ["blooddrop_4", QPATHTOF(data\ace_drop_4.p3d)] ]; ADDON = true; diff --git a/addons/medical_blood/data/drop_1.p3d b/addons/medical_blood/data/ace_drop_1.p3d similarity index 100% rename from addons/medical_blood/data/drop_1.p3d rename to addons/medical_blood/data/ace_drop_1.p3d diff --git a/addons/medical_blood/data/drop_2.p3d b/addons/medical_blood/data/ace_drop_2.p3d similarity index 100% rename from addons/medical_blood/data/drop_2.p3d rename to addons/medical_blood/data/ace_drop_2.p3d diff --git a/addons/medical_blood/data/drop_3.p3d b/addons/medical_blood/data/ace_drop_3.p3d similarity index 100% rename from addons/medical_blood/data/drop_3.p3d rename to addons/medical_blood/data/ace_drop_3.p3d diff --git a/addons/medical_blood/data/drop_4.p3d b/addons/medical_blood/data/ace_drop_4.p3d similarity index 100% rename from addons/medical_blood/data/drop_4.p3d rename to addons/medical_blood/data/ace_drop_4.p3d diff --git a/addons/medical_blood/data/model.cfg b/addons/medical_blood/data/model.cfg new file mode 100644 index 0000000000..9f1696ab51 --- /dev/null +++ b/addons/medical_blood/data/model.cfg @@ -0,0 +1,19 @@ +class CfgSkeletons { + class Default { + isDiscrete = 1; + skeletonInherit = ""; + skeletonBones[] = {}; + }; +}; + +class CfgModels { + class Default { + sectionsInherit = ""; + sections[] = {""}; + skeletonName = "Default"; + }; + class ace_drop_1: Default {}; + class ace_drop_2: Default {}; + class ace_drop_3: Default {}; + class ace_drop_4: Default {}; +};