Yolo Joe 11 Posted June 23, 2017 Hi everyone. I have been trying to add my own helmet into the game but I keep getting this error when equipping the item ingame: Error "Could not open \AddonsByJoe\IronHelmet\IronHelmet.p3d ". The helmet is showing in Bulldozer with textures. I have also checked that the location is correct with the config.cpp. The files are placed like this: P:\AddonsByJoe\IronHelmet. In the IronHelmet folder is where the IronHelmet.3pd file is. I also have another folder in there called data where I put all the textures and .cpp and .cfg files. Here is the config.cpp. I think this is where the error is. I do see how it could be anything else. class CfgPatches { class YoloJoe { author = "YoloJoe"; units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = { }; }; }; class cfgWeapons { class HeadgearItem; class ItemCore; class Vest_Camo_Base; class VestItem; class UniformItem; class Uniform_Base : ItemCore { class ItemInfo; }; class YoloJoeHelmet : ItemCore { scope = 2; author = "YoloJoe"; displayName = "Iron Helmet"; picture = ""; model = "\AddonsByJoe\IronHelmet\IronHelmet.p3d"; hiddenSelections[] = { "Camo1" }; hiddenSelectionsTextures[] = { "\AddonsByJoe\IronHelmet\data\helmetplate01.paa" }; class ItemInfo : HeadgearItem { mass = 30; uniformModel = "AddonsByJoe\IronHelmet\IronHelmet.p3d"; mmodelsides[] = { 3,1 }; armor = 300; allowedSlots[] = { 6 }; explosionShielding = 0.4; hiddenSelections[] = { "Camo1" }; minimalHit = 0.01; passThrough = 0.01; class HitpointsProtectionInfo { class Head { hitpointName = "HitHead"; // reference to the hit point class defined in the man base class armor = 300; // addition to armor of referenced hitpoint passThrough = 0.1; // multiplier of base passThrough defined in referenced hitpoint }; }; }; }; }; I also have the model.cfg here, if needed class CfgSkeletons { class Default { isDiscrete=1; skeletonInherit=""; skeletonBones[]={}; }; class OFP2_ManSkeleton { isDiscrete=0; skeletonInherit=""; skeletonBones[]= { "Pelvis", "", "Spine", "Pelvis", "Spine1", "Spine", "Spine2", "Spine1", "Spine3", "Spine2", "Camera", "Pelvis", "weapon", "Spine1", "launcher", "Spine1", "neck", "Spine3", "neck1", "neck", "head", "neck1", "Face_Hub", "head", "Face_Jawbone", "Face_Hub", "Face_Jowl", "Face_Jawbone", "Face_chopRight", "Face_Jawbone", "Face_chopLeft", "Face_Jawbone", "Face_LipLowerMiddle", "Face_Jawbone", "Face_LipLowerLeft", "Face_Jawbone", "Face_LipLowerRight", "Face_Jawbone", "Face_Chin", "Face_Jawbone", "Face_Tongue", "Face_Jawbone", "Face_CornerRight", "Face_Hub", "Face_CheekSideRight", "Face_CornerRight", "Face_CornerLeft", "Face_Hub", "Face_CheekSideLeft", "Face_CornerLeft", "Face_CheekFrontRight", "Face_Hub", "Face_CheekFrontLeft", "Face_Hub", "Face_CheekUpperRight", "Face_Hub", "Face_CheekUpperLeft", "Face_Hub", "Face_LipUpperMiddle", "Face_Hub", "Face_LipUpperRight", "Face_Hub", "Face_LipUpperLeft", "Face_Hub", "Face_NostrilRight", "Face_Hub", "Face_NostrilLeft", "Face_Hub", "Face_Forehead", "Face_Hub", "Face_BrowFrontRight", "Face_Forehead", "Face_BrowFrontLeft", "Face_Forehead", "Face_BrowMiddle", "Face_Forehead", "Face_BrowSideRight", "Face_Forehead", "Face_BrowSideLeft", "Face_Forehead", "Face_Eyelids", "Face_Hub", "Face_EyelidUpperRight", "Face_Hub", "Face_EyelidUpperLeft", "Face_Hub", "Face_EyelidLowerRight", "Face_Hub", "Face_EyelidLowerLeft", "Face_Hub", "EyeLeft", "Face_Hub", "EyeRight", "Face_Hub", "LeftShoulder", "Spine3", "LeftArm", "LeftShoulder", "LeftArmRoll", "LeftArm", "LeftForeArm", "LeftArmRoll", "LeftForeArmRoll", "LeftForeArm", "LeftHand", "LeftForeArmRoll", "LeftHandRing", "LeftHand", "LeftHandRing1", "LeftHandRing", "LeftHandRing2", "LeftHandRing1", "LeftHandRing3", "LeftHandRing2", "LeftHandPinky1", "LeftHandRing", "LeftHandPinky2", "LeftHandPinky1", "LeftHandPinky3", "LeftHandPinky2", "LeftHandMiddle1", "LeftHand", "LeftHandMiddle2", "LeftHandMiddle1", "LeftHandMiddle3", "LeftHandMiddle2", "LeftHandIndex1", "LeftHand", "LeftHandIndex2", "LeftHandIndex1", "LeftHandIndex3", "LeftHandIndex2", "LeftHandThumb1", "LeftHand", "LeftHandThumb2", "LeftHandThumb1", "LeftHandThumb3", "LeftHandThumb2", "RightShoulder", "Spine3", "RightArm", "RightShoulder", "RightArmRoll", "RightArm", "RightForeArm", "RightArmRoll", "RightForeArmRoll", "RightForeArm", "RightHand", "RightForeArmRoll", "RightHandRing", "RightHand", "RightHandRing1", "RightHandRing", "RightHandRing2", "RightHandRing1", "RightHandRing3", "RightHandRing2", "RightHandPinky1", "RightHandRing", "RightHandPinky2", "RightHandPinky1", "RightHandPinky3", "RightHandPinky2", "RightHandMiddle1", "RightHand", "RightHandMiddle2", "RightHandMiddle1", "RightHandMiddle3", "RightHandMiddle2", "RightHandIndex1", "RightHand", "RightHandIndex2", "RightHandIndex1", "RightHandIndex3", "RightHandIndex2", "RightHandThumb1", "RightHand", "RightHandThumb2", "RightHandThumb1", "RightHandThumb3", "RightHandThumb2", "LeftUpLeg", "Pelvis", "LeftUpLegRoll", "LeftUpLeg", "LeftLeg", "LeftUpLegRoll", "LeftLegRoll", "LeftLeg", "LeftFoot", "LeftLegRoll", "LeftToeBase", "LeftFoot", "RightUpLeg", "Pelvis", "RightUpLegRoll", "RightUpLeg", "RightLeg", "RightUpLegRoll", "RightLegRoll", "RightLeg", "RightFoot", "RightLegRoll", "RightToeBase", "RightFoot" }; pivotsModel="A3\anims_f\data\skeleton\SkeletonPivots.p3d"; }; }; class CfgModels { class Default { sectionsInherit=""; sections[]={}; skeletonName=""; }; class YoloJoeHelmet: Default { htMin=60; htMax=1800; afMax=30; mfMax=0; mFact=1; tBody=37; sections[]= { "Head", "Camo1" }; skeletonName="OFP2_ManSkeleton"; }; }; Share this post Link to post Share on other sites