Jump to content

setObjectMaterial function


Y_MAN

Recommended Posts

Posted

I think it is an excellent idea is to change the texture of an object.

Such a function is not yet in MTA.

setObjectMaterial(object theObject, int materialindex, int modelid, string txdname, string texturename, int r = 0, int g = 0, int b = 255, int a = 255) 

Posted

Via shaders you can change texture of specified object. But still would be nice to change only material (it depeneds what sound of walking you can hear etc.) without replacing model.

Posted (edited)

What Y_MAN is suggesting is that we would be able to change the texture of an object to some texture already in GTA without having to load it using shaders or engine functions. We don't have that ability.

Edited by Guest
  • 1 month later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...