Jump to content
Sign in to follow this  
LoOni3r

custom items with other image clone toolkit

Recommended Posts

Hello everybody,

 

 

it is possible, for example, to clone the toolkit and give it another texture?

 

i would like to have small custom objects without function on my server.

 

 

greetings

 

Share this post


Link to post
Share on other sites

You could de-pbo the original toolkit, extract the .paa-grafics-file and re-texture it.
1.) Then you have to rebuild your toolkit and put all your stuff into your own mod and load it to your server and to your clan-mates.
2.) Try to name the toolkit and try "setObjectTextureGlobal":

myFakeToolkit setObjectTextureGlobal [0, "\pictures\tooltime.paa"];


 

Share this post


Link to post
Share on other sites

Maybe it does, just try it.
You just need the .paa-file and retexture it.

I did this with a police-officers uniform, and it worked, but I dont know, if it works with your toolkit.
But should...

Try it.

 

Share this post


Link to post
Share on other sites

 

thanks for your information. can you give me the code of your uniform as an example?

Share this post


Link to post
Share on other sites

No, the picture will not work, because the textures a completely different.
but heres the  code:

myFakeToolkit setObjectTextureGlobal [0, "\pictures\tooltime.paa"];

Just change the name of your toolkit (myFakeToolkit) and the new texture (tooltime.paa) to your belongings.
Safe the .paa-picture in a folder called "pictures" in your mission-root-folder.
Then copy the adapted code from above into the toolkits init.

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  

×