Jump to content
Sign in to follow this  
StNickBG

Can i use 2 textures on one selection?

Recommended Posts

Hello there guys i am Nickolay and i need your assistance. From a week i read and try and read and try and i still have not any success. In short words i want to do this:

bmp2.png (bmp will spawn with this texture)...than i want to add this:

flags.png thats a texture with transperant background that i want to load over the first one...and to recieve this:

complete.png or cool BMP with Bulgarian markings who hide (cover the opfor ones) (i am Bulgarian btw). So do its possible to make some "layer texture stuff"?

Since now i make it in one .paa file and i did a bulgarian bmp texture, and it can be seen on our server fighting for BLUFOR it looks as this:

bmp2_bg_left.PNGbut the problem is that its close to 3 mb (the texture of the body)...+ the mission = 6 mb...and if i want to make and another Bulgarian marked vehicle = 9 mb...its really boring for the players to wait everything to download.

Please give me a tip, i will not stop to read here and there, but in general will wait your support!

Edited by StNickBG

Share this post


Link to post
Share on other sites

Ok, may be i did not ask my question right, but it was early morning... What i did till now:

- unpack pbo file

- convert .paa file with the body of the BMP2 vehicle to .png file and open it with PhotoShop

- than i redraw it save it back as .png and than convert it again in .paa

- load the texture myObj setObjectTexture [0, "edited_file_co.paa"]

i did the same and for turet file of the BMP2 and set it as myObj setObjectTexture [1, "edited1_file_co.paa"]

In fact it works great even in the multiplayer - all players see it and so on, but the bad part is that the reedited files must be in the mission directory and always need to be downloaded from the player when he join the server.

So i start to search a way to do following. I prepare a transparent image and on it there was only the bulgarian flags and marking signs - the background was transparent. And i try to apply it over the existing original texture, result was - completly transparent vehicle, only the marking signs was visible....

Than i try and this (found it in one forum):

myObj setObjectTexture [0, "\ca\Data\tracked\someexistingingametexture.paa"]; myObj setObjectTexture [0, "mytransparentfilewithmarkings.paa"]...the same result :(

And finaly i post a topic here after days of trys...do its possible to "mix" apply both texture files one by other - first to be the camouflage of the machine, the second only markings.

Idea is - on the map to appear existing ingame texture (so not need for the client/player to load it), and over it to be second layer only with Bulgarian markings and signs. On this way - files in the mission directory will be more "light".

Do its possible to be done on this way? Or i am in wrong direction...thanks in advance.

Edited by StNickBG

Share this post


Link to post
Share on other sites

Nick,

Unless you are the owner of the 3d model and are releasing a new version of that addon with more flexible marking flag and faces, you can not do what youre trying to do, any better than you are.

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  

×