Jump to content
Sign in to follow this  
Martin_BM

Problem with hidden selection

Recommended Posts

Hi

I made parts of the head as a hidden selection, when i want this selection to be visible i have weird bug. Is there another way to make hidden selection visible than using _unit SetObjectTexture [0, "blabla.paa"] ?

Screens :

When selections is hidden :

http://img241.imageshack.us/img241/4638/hiddenselectionsfg2.jpg

When i use SetObjectTexture :

http://img519.imageshack.us/img519/6130/hiddenbugvp9.jpg

Please help me sad_o.gif

Share this post


Link to post
Share on other sites

As far as I can see, your hidden selection is working the way it is supposed to work. You're just using the wrong face texture file which does not match the already visible part of the face.

I don't think that there's a command to get the texture file which is currently applied to a selection, so you could apply the correct texture to the hidden selection.

But you can make the always visible part of the face as a normal selection too and then apply the same texture to it as to the hidden selection. Only problem here: It might look strange when a soldier is "exchanging his head" during a mission.

Share this post


Link to post
Share on other sites
Quote[/b] ]As far as I can see, your hidden selection is working the way it is supposed to work. You're just using the wrong face texture file which does not match the already visible part of the face.
I added correct face texture but i dont know how to make my hidden selection works like "oblice" because rest of the head have bis's random face.

Share this post


Link to post
Share on other sites

The only way I can see for you to get it working would be to remove the random face selection (if I recalle correct its 'OSOBNOST'wink_o.gif entirely (so the head only has one texture). Then you'd have to generate a random setobjecttexture script (to randomly select one of a set number of face textures).

Overall:

+ve: It should technically work and have the entire head as the right texture

-ve: It wont allow you to use custom faces, and if its being used in MP (where most players use custom faces) you might run into issues.

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  

×