Jump to content
Sign in to follow this  
maxjoiner

Set hidetexture in .p3d

Recommended Posts

Hi all, I have a .p3d model (divided in two part) I would to set on one part the possibility to change color (or to add a new texture) with "setobjectexture" what do I do???

Share this post


Link to post
Share on other sites

Select all the faces that would change (try Ctrl double-click the texture name in the list window)

Right click in the Named Selections, New, call it something like "skin"

Do this in ALL LODs

Then in the MODEL.CFG, add "skin" to the sections[]={ of the CFGModels section.

In CONFIG.CPP, add hiddenSelections[] = {"skin"};

Use hiddenSelectionsTextures[] = { to set the default color or texture

Should work.

Share this post


Link to post
Share on other sites

Thanks for Your reply @[APS]Gnat

I solved with a script and two models :yay:

Edited by maxjoiner

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  

×