25.10.2012, 14:42
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:
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);