Jump to content

Recommended Posts

I downloaded a psd texture of the A-164 (here). The file comes with 4 files (copies of each, 1 .tga and 1 .psd): 

 

plane_cas_01_ext01_coplane_cas_01_ext02_co.

ext01 is the main body / cockpit of the A-164 and ext02 is the wings and tail. I've edited both textures and have created a mission file and placed both .jpegs into it.

 

I've used this script on the A-164 int:

 this SetObjectTexture [0,"plane_cas_01_ext01_co"] 
 this SetObjectTexture [0,"plane_cas_01_ext02_co"] 

however only one of the textures loads on the plane, looking like this:

NWvl0a4.jpgHYCORYb.png

 

I know I'm doing something wrong, and I'm wondering how I can get both the body (ext01) and the wing textures (ext02) to load on the plane at the same time?

 

Any help is appreciated, Thank You.

 

Share this post


Link to post
Share on other sites

You're setting texture 0 twice. Try:

 

Quote

this SetObjectTexture [0,"plane_cas_01_ext01_co"];
this SetObjectTexture [1,"plane_cas_01_ext02_co"]

 

  • Like 1

Share this post


Link to post
Share on other sites
6 minutes ago, dreadpirate said:

You're setting texture 0 twice. Try:

 

 

Thanks!

Would that also work for other types of vehicles with 3+ textures?

 

Just change texture to 0,1,2,etc. ?

Share this post


Link to post
Share on other sites
1 hour ago, Trinket said:

Thanks!

Would that also work for other types of vehicles with 3+ textures?

 

Just change texture to 0,1,2,etc. ?

Yes. I think some vehicles have 4 textures.

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

×