PDA

View Full Version : Grass texture.


budelis
01/11/2012, 09:26 AM
Hi,

I want to change my object material to grass texture.

SetObjectMaterial(OBJECT1, 0, 11297, "none", "none", 0);

But it's no change, i think i need to add grass texture name, but now i use "none".

Map Construction is not working for me, maybe anybody can write name of grass texture?

budelis
01/11/2012, 09:58 AM
I want to ask what need use material index?

OBJEKT = CreateObject(11340, -2079.9531, 159.2031, 30.8672, 0.0000,0.0000,0.0000);
OBJEKT2 = CreateObject(10983, -2076.6484, 222.8516, 31.2188, 0.0000,0.0000,0.0000);

SetObjectMaterial(OBJEKT, 0, 10972, "groundbit_sfse", "desgreengrass", 0);
SetObjectMaterial(OBJEKT2, 1, 10972, "groundbit_sfse", "desgreengrass", 0);

I remove global objects and create my self them all is okey, but no material happin..