From ef34ac71e3de727b94a6fe3e14d9488ec9613d69 Mon Sep 17 00:00:00 2001 From: commy2 Date: Sat, 30 Nov 2019 17:30:51 +0100 Subject: [PATCH] fix formatting model.cfg --- addons/flashlights/data/model.cfg | 66 +++++++++++++++++++------------ 1 file changed, 40 insertions(+), 26 deletions(-) diff --git a/addons/flashlights/data/model.cfg b/addons/flashlights/data/model.cfg index 46959e14aa..58bc63eb8d 100644 --- a/addons/flashlights/data/model.cfg +++ b/addons/flashlights/data/model.cfg @@ -1,17 +1,14 @@ -class CfgSkeletons -{ - class Default - { +class CfgSkeletons { + class Default { isDiscrete = 1; skeletonInherit = ""; skeletonBones[] = {}; }; - class OFP2_ManSkeleton - { + + class OFP2_ManSkeleton { isDiscrete = 0; skeletonInherit = ""; - skeletonBones[] = - { + skeletonBones[] = { "Pelvis","", "Spine","Pelvis", "Spine1","Spine", @@ -128,34 +125,51 @@ class CfgSkeletons "RightFoot","RightLegRoll", "RightToeBase","RightFoot" }; + // location of pivot points (local axes) for hierarchical animation - pivotsModel="A3\anims_f\data\skeleton\SkeletonPivots.p3d"; + pivotsModel = "A3\anims_f\data\skeleton\SkeletonPivots.p3d"; }; }; -class CfgModels -{ - class Default - { - sectionsInherit=""; +class CfgModels { + class Default { + sectionsInherit = ""; sections[] = {}; skeletonName = ""; }; - class ArmaMan: Default - { - htMin = 60; // Minimum half-cooling time (in seconds) - htMax = 1800; // Maximum half-cooling time (in seconds) - afMax = 30; // Maximum temperature in case the model is alive (in celsius) - mfMax = 0; // Maximum temperature when the model is moving (in celsius) - mFact = 1; // Metabolism factor - number from interval <0, 1> (0 - metabolism has no influence, 1 - metabolism has full influence (no other temperature source will be considered)). - tBody = 37; // Metabolism temperature of the model (in celsius) + class ArmaMan: Default { + htMin = 60; // Minimum half-cooling time (in seconds) + htMax = 1800; // Maximum half-cooling time (in seconds) + afMax = 30; // Maximum temperature in case the model is alive (in celsius) + mfMax = 0; // Maximum temperature when the model is moving (in celsius) + mFact = 1; // Metabolism factor - number from interval <0, 1> (0 - metabolism has no influence, 1 - metabolism has full influence (no other temperature source will be considered)). + tBody = 37; // Metabolism temperature of the model (in celsius) - sections[] = - { - "osobnost","Head_Injury","Body_Injury","l_leg_injury","l_arm_injury","r_arm_injury","r_leg_injury", "injury_body", "injury_legs", "injury_hands", - "clan","clan_sign","Camo","CamoB","Camo1","Camo2","personality","hl", "injury_head", "insignia", "ghillie_hide" + sections[] = { + "osobnost", + "Head_Injury", + "Body_Injury", + "l_leg_injury", + "l_arm_injury", + "r_arm_injury", + "r_leg_injury", + "injury_body", + "injury_legs", + "injury_hands", + "clan", + "clan_sign", + "Camo", + "CamoB", + "Camo1", + "Camo2", + "personality", + "hl", + "injury_head", + "insignia", + "ghillie_hide" }; + skeletonName = "OFP2_ManSkeleton"; }; };