SA-MP Forums Archive
What material objects are using? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: What material objects are using? (/showthread.php?tid=471045)



What material objects are using? - Baltazar - 20.10.2013

I can associate a proper .txd file for every object (by searching .ide files). HOW can I know, what materials are being used in object slots? Where is that information saved? Thank You


Re: What material objects are using? - Baltazar - 21.10.2013

bump


Re: What material objects are using? - Pottus - 21.10.2013

https://sampforum.blast.hk/showthread.php?tid=470606


Re: What material objects are using? - Baltazar - 22.10.2013

Amazing! How exactly did you find out, what materials objects are using? *.ide files only contain *.txd names... thanks in advance, sir!

Edit:
By the way, are you sure, that every single material is being used by only one object (only one objectId is assigned to every material in your array)?


Re: What material objects are using? - Pottus - 22.10.2013

There are tons of duplicates in GTA's texture resource all those have been eliminated.


Re: What material objects are using? - Baltazar - 22.10.2013

Quote:
Originally Posted by [uL]Pottus
Посмотреть сообщение
There are tons of duplicates in GTA's texture resource all those have been eliminated.
I'm highly interested, where did you find, what exact materials any object is using. *.txd files usually contain more materials than object is using (more than one object can use the same *.txd file, isn't it?). Thanks, mate!