SA-MP Forums Archive
Texture color - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: Texture color (/showthread.php?tid=387598)



Texture color - Baboon - 25.10.2012

Once I change the texture of an index of an object, it's all fine, but once I want to give it a color overlay (in my case greenish), the object including the indexes I did not set the texture of become really dark. I used this on the pirate ship boat: ID = 8493

It only becomes a bit visible with certain weathers, like id 8 and 9 (see the pics).
Yes I am using a colormod to change my screen, but I also made screenshots on a clean GTA and the results are the same.

With texture no color:



With texture with color and weather 0:



With texture with color and weather 9:



With texture with color and weather 8:




script of setting the material:

Код:
SetObjectMaterial(objectid, 3, 964, "cj_crate_will", "CJ_FLIGHT_CASE", 0xFFB3EC91);
		SetObjectMaterial(objectid, 4, 964, "cj_crate_will", "CJ_FLIGHT_CASE", 0xFFB3EC91);
		SetObjectMaterial(objectid, 8, 964, "cj_crate_will", "CJ_FLIGHT_CASE", 0xFFB3EC91);



Re: Texture color - Mafioso97 - 25.10.2012

This seems really strange, try the "search" I heard it's amazing


Re: Texture color - Baboon - 25.10.2012

Quote:
Originally Posted by Mafioso97
Посмотреть сообщение
This seems really strange, try the "search" I heard it's amazing
You are soo smart and awesome. Dont comment if you are fkin around, its annoying, kid.


Re: Texture color - Mafioso97 - 26.10.2012

k soz boss.


Re: Texture color - Baboon - 27.10.2012

Same happens with texts!
When changing the color,
color = 0xFFFFFFFF

http://imgur.com/qkUR6,tzyOJ