Jump to content
Sign in to follow this  
PN11A

Custom head Stuck in-between legs

Recommended Posts

Ive searched the forums for the solution to this, it seemed that it happened to someone else in Arma2. I didn't see how he fixed the issue. I moved the head up higher in o2 but then it jumped way into the air. It seems like there is no sweet spot its either between his legs or in the sky.

Share this post


Link to post
Share on other sites

Have you defined the .p3d it in the model.cfg that comes with the A3 sample model (under class cfgModels), and does it have the relevant names selections like Head, Neck etc.?

Share this post


Link to post
Share on other sites
Have you defined the .p3d it in the model.cfg that comes with the A3 sample model (under class cfgModels), and does it have the relevant names selections like Head, Neck etc.?

No Im not sure where to define it in the cfg models class

Share this post


Link to post
Share on other sites

Well, defining the object in a model.cfg that contains the "OFP2_ManSkeleton" has been a requirement for making new uniform items that attach to 'man' class units, such as helmets, vests, rucksacks etc. - otherwise they just appear between the unit's legs like you've experienced with your head model. So I'll go out on a limb and say it's probably required for new head models too.

In the A3 character samples pack there should be a file called model.cfg, copy and paste this file into the directory that contains your head model, then open it with a text editor.

At the bottom of the model.cfg there is a section called class cfgModels which contains two classes, class Default and class ArmaMan, you need to add your model class to cfgModels after ArmaMan, using it to inherit skeletal information for your head model so that it follows the animations that the Man class unit performs.

This should be as simple as adding the line:

class NameOfYourHeadModel : ArmaMan {};

"NameOfYourHeadModel" absolutely must match the filename of the .p3d that you're attempting to add to the skeleton.

e.g. if your model is called "PN11A_Head1.p3d", the line would have to be:

class PN11A_Head1 : ArmaMan {};

Make sure it's still inside the final }; bracket at the close of class cfgModels though.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×