Jump to content
Teutch

Create hiddenSelections to a model and config

Recommended Posts

I'm looking to add to a vehicle I'm creating for arma 3, the possibilty to retexture it.

It should look like this in my config :

 

hiddenSelections[]=
        {
            "camo1",
            "camo2"
        };
hiddenSelectionsTextures[]=
        {
            "tankbody.paa",
            "tankturret.paa"
        };

 

However how on object builder can i create a hiddenSelections like "camo1" ?

 

Also, I'd like to make it so that when a certain part is touched, a damaged texture is added on top (using an rvmat).

I think it should be added like that :

 

class Damage
        {
            tex[]={};
            mat[]=
            {
                bodydamage.rvmat",
		turretdamage.rvmat"
            };
        };

 

But once again, how do you configure it ? How does the order work ? Does it also depend on hiddenSelections ?

 

Thanks in advance !

Share this post


Link to post
Share on other sites
50 minutes ago, Teutch said:

I'm looking to add to a vehicle I'm creating for arma 3, the possibilty to retexture it.

It should look like this in my config :

 


hiddenSelections[]=
        {
            "camo1",
            "camo2"
        };
hiddenSelectionsTextures[]=
        {
            "tankbody.paa",
            "tankturret.paa"
        };

 

However how on object builder can i create a hiddenSelections like "camo1" ?

[...]

 

You simply need to create those named selections in Object Builder. Select faces and vertices that use the texture you want to assign to "camo1", then right click in the named-selection window and create new selection then call it 'camo1'. Repeat the process for 'camo2', 'camo3,' 'camo4' etc as many times as needed.

Then you need to add those selections to your model.cfg in both the 'cfgSkeletonsskeletonBones' list, and the 'cfgModels  > sections' list.

 

As to the rest of your query, sadly I am unable to help as my experience working with vehicles is rather limited.

 

  • Like 1

Share this post


Link to post
Share on other sites

Thank you again for your precious help Jackal326 !

If someone is able to help on the problem of a damaged texture, I would appreciate !

 

13 hours ago, Teutch said:

However how on object builder can i create a hiddenSelections like "camo1" ?

 

Also, I'd like to make it so that when a certain part is touched, a damaged texture is added on top (using an rvmat).

I think it should be added like that :

 


class Damage
        {
            tex[]={};
            mat[]=
            {
                bodydamage.rvmat",
		turretdamage.rvmat"
            };
        };

 

But once again, how do you configure it ? How does the order work ? Does it also depend on hiddenSelections ?

 

Thanks in advance !

 

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

×