Jump to content
Sign in to follow this  
drunken officer

headgear and vest always on the ground

Recommended Posts

Hello. I've trouble with my modells. The headgear and the vest are always on ground, if i load my own object. If i load a arma object, everyting is fine.

 

Here me code:

cfg

class CfgWeapons

{

    class ItemCore;            

    class iteminfo;      

    class Uniform_Base;        

    class UniformItem;        

    class Vest_Camo_Base;

    class vest_base;    

    class VestItem;        

    class HeadgearItem;        

 

     

    

    class DOF_Polizei_muetze : H_Cap_blu

    {

        displayName = "Polizeibasecap";

        model   = "\DOF_Polizeimod\obj\schirmmuetze.p3d";

        picture = "\A3\characters_f\Data\UI\icon_H_Cap_blu_CA.paa";

        hiddenSelections[] = {"camo"};

        hiddenSelectionsTextures[] = {""};

            class ItemInfo : HeadgearItem

        {

            mass = 10; /// combined weight and volume of the cap, this equals to single magazine

            uniformModel = "\DOF_Polizeimod\obj\schirmmuetze.p3d";    /// what model is used for this cap

            allowedSlots[] = {801,901,701,605};    /// this cap is so small and flexible that it fits everywhere

            modelSides[] = {6}; /// available for all sides

            armor = 0;    /// this cap doesn't provide any protection

            passThrough = 1; /// this cap doesn't provide any protection

            hiddenSelections[] = {"camo"}; /// what selection in model could have different textures

        };    

            

    };

The position and the selection "head" is a 1:1 copy from the bis sample_F Basecap.

 

here a a picture how it looks in game. The cap is betwen the leg on ground.

2015-11-09_00001.jpg

 

 

And here is a pic from Oxygen:

cap.png

 

Can somebody tell me, what my mistake is?

 

Greetz

Share this post


Link to post
Share on other sites

No.

 

Edit:

I have a model.cfg right now. Now the problem is a other one.

The good thing is, the cap turns left and right together with the head. The bad thing is, this cap is not on head, it's in the middle to the model. :(

Share this post


Link to post
Share on other sites

Please make sure you have the autocenter property in the Geometry LOD set to 0. That might do the trick.

Share this post


Link to post
Share on other sites

Glad to help. :) And, erm… sorry for not being more specific about where to find the property.  ^_^

Share this post


Link to post
Share on other sites

Sorry for replying in someone elses thread: however Im after exactly the same fix  - care to share?

 

First time making 3d models and have quite a nice vest made that simply sits on the ground!

Cheers,

V

 

 

edit:

so, managed to figure out how to open property: ctl+1

autocenter is on 0

canocclude is on 0

canbeoccluded is on 1

 

However they still appear on the ground rather than in the currect place

Share this post


Link to post
Share on other sites

Sorry for replying in someone elses thread: however Im after exactly the same fix  - care to share?

 

First time making 3d models and have quite a nice vest made that simply sits on the ground!

Cheers,

V

 

 

edit:

so, managed to figure out how to open property: ctl+1

autocenter is on 0

canocclude is on 0

canbeoccluded is on 1

 

However they still appear on the ground rather than in the currect place

Its not just a matter of having the named properties, do you also have a correctly functioning model.cfg that defines all the headgears as a part of the ArmA human skeleton? Also, are the items you're making part of the 'Head' selection etc.

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  

×