Add custom texture to a object
#1

I know, it can be done by .inc or other method.

How I can do that with using SetObjectMaterial and something like that?
Reply
#2

What do you exactly want? that function is self-explanatory, here's a step by step guide:
1- Save the object ID returned by CreateObject (locally or globally, depending on when you want to texture it)
2- Find data about texture you want (texture refrence site: https://textures.xyin.ws/?page=textures)
3- Find the object index you want to change (You can guess or use the map editor to find out, there's a guide somewhere)
4- Use it with SetObjectMaterial
Reply
#3

Quote:
Originally Posted by PrO.GameR
Посмотреть сообщение
What do you exactly want? that function is self-explanatory, here's a step by step guide:
1- Save the object ID returned by CreateObject (locally or globally, depending on when you want to texture it)
2- Find data about texture you want (texture refrence site: https://textures.xyin.ws/?page=textures)
3- Find the object index you want to change (You can guess or use the map editor to find out, there's a guide somewhere)
4- Use it with SetObjectMaterial
If you ever saw my threads I already done few mappings and retextures.

I am asking about Picture to Mapping textures, not object default textures.
Reply
#4

It cannot be done without modding GTASA.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)