SA-MP Forums Archive
Problems with texturing - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Problems with texturing (/showthread.php?tid=554537)



Problems with texturing - Manolito - 04.01.2015

Hello all. When I made a map for my server and started texturing, I got a BIG problem. Some objects become black. For example: object ID 17007.
When I trying paint it: SetObjectMaterial(objectid,0,3855,"gay_xref","ws_g ayflag1"), all OK:

But when I trying paint it red: SetObjectMaterial(objectid,0,10368,"cathedral_sfs" ,"concpanel_la",0xFFFF0000);, it becomes black:
How can I paint it red?


Re: Problems with texturing - Th3UnKnOwN - 04.01.2015

I've been having similar issues with objects, and I think it's just some textures aren't big enough, or can't be used. I'll let you know if I have found a solution though.


Re: Problems with texturing - Manolito - 04.01.2015

Quote:
Originally Posted by Th3UnKnOwN
Посмотреть сообщение
I've been having similar issues with objects, and I think it's just some textures aren't big enough, or can't be used. I'll let you know if I have found a solution though.
It could be a truth, but whole object becomes black, not only one materialindex.


Re: Problems with texturing - ATGOggy - 04.01.2015

Try this
PHP код:
SetObjectMaterial(objectid,0,10368,"cathedral_sfs" ,"concpanel_la",0xFFF000); 



Re: Problems with texturing - Manolito - 04.01.2015

Quote:
Originally Posted by ATGOggy
Посмотреть сообщение
Try this
PHP код:
SetObjectMaterial(objectid,0,10368,"cathedral_sfs" ,"concpanel_la",0xFFF000); 
No, it isn't working
P.S. Object becomes black always, when color isn't 0


Re: Problems with texturing - Manolito - 05.01.2015

Up...


Re: Problems with texturing - Manolito - 09.01.2015

Problem resolved. Close thread, please