Grass texture.
#1

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?
Reply
#2

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..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)