how to put custom textures on any object
# support-forum
f
Hello, in samp 03dl i can easily creaet custom screen textdraws, but how can I set custom textures on any object using textures studio or any other way?
g
f
Yeah I did it, but assume I need to set texture on any other object and I've many textures in one txd like -1004:posterint so how can i put it?
g
I dont know. Never used 0.3DL.
f
what?
g
I dont know how to answer you. Ive never used 0.3DL (Version with custom models)
f
well its okay but i really need to know about this
g
head over to #231799180127895553
its more active tho;
f
yeah i saw it, i've post it many time there but i coudn't get any help
s
SetDynamicObjectMaterial has 3 arguments for the texture - model id, txd name and texture name. For modelid you'll use your custom object's model that uses that texture by default, for txdname the name of the txd file where the texture is in and for texturename the name of the texture inside the txd.
That is how it works for GTA textures. If that does not work I suppose 0.3DL does not read it from custom models properly. But if I remember correctly it should work.
You can use TXD Workshop to check the exact name of the texture inside txd files btw
f
txd name some like -1004? i guess
like we use mdl-1004:texturename ,
for textdraw
@refined-city-73475
r
it’s not possible to use custom textures as object materials
only as text draw sprites
f
Lemme show you
r
those were custom objectd
f
Ohhh
r
we probably just took an original poster asset from the game and replaced the image
f
I got it

https://cdn.discordapp.com/attachments/1089856874112876576/1091090748356698202/IMG_20230331_013448.jpg

That's made much confusion for me
2 Views