SA-MP Forums Archive
image to an object - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP DL Edition (https://sampforum.blast.hk/forumdisplay.php?fid=92)
+--- Forum: SA-MP 0.3.DL (https://sampforum.blast.hk/forumdisplay.php?fid=90)
+--- Thread: image to an object (/showthread.php?tid=645022)



image to an object - m4karow - 18.11.2017

hey there

how it's possible to set an image to object?
example pic : https://i.imgur.com/dkIzc0s.png


Re: image to an object - OKStyle - 18.11.2017

add img like texture


Re: image to an object - m4karow - 18.11.2017

Quote:
Originally Posted by OKStyle
Посмотреть сообщение
add img like texture



Re: image to an object - OKStyle - 18.11.2017

Send me these files, may be you don't add alpha.


Re: image to an object - m4karow - 18.11.2017

i followed theese instructions to import the image and set to a texture and it has alpha channel by default.


Re: image to an object - OKStyle - 18.11.2017

1st. You must rename layer of txd for used texture on dff (not txd file name). I'm check Zanoza Modeller (2.2.4) and now I know, that layer name must be "info2" instead of "png" (Import -> info.dff, in the bottom was name of setted texture layer).



2nd. You must compressed layer (DXT3 for Aplha) (4mb -> 1mb)



3rd. For integrate new objects with SAMP you must add collision to model.




Re: image to an object - m4karow - 18.11.2017

many thanks to you!



Re: image to an object - OKStyle - 19.11.2017

And 4th: resize texture to 256 px, I think 1024 is to much for this object.