Why is the material index limited? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Other (
https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (
https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: Why is the material index limited? (
/showthread.php?tid=627561)
Why is the material index limited? -
FikShun - 29.01.2017
Hi guys.
http://https://sampwiki.blast.hk/wiki/SetObjectMaterial
Quote:
materialindex The material index on the object to change (0 to 15)
|
so, if that object has more than 15 materials you can't change them. Why limit? Some parts of objects do not have texture added 18: material index and it doesnt work on the object i want.
What do you think?
Re: Why is the material index limited? -
Mauzen - 29.01.2017
Are there really objects with more than 16 textures?
Re: Why is the material index limited? -
KingHual - 29.01.2017
Quote:
Originally Posted by Mauzen
Are there really objects with more than 16 textures?
|
of course not
Re: Why is the material index limited? -
FikShun - 29.01.2017
Quote:
Originally Posted by Mauzen
Are there really objects with more than 16 textures?
|
well fine.
http://dev.prineside.com/en/gtasa_sa...00-sfn_town02/
http://dev.prineside.com/en/gtasa_sa.../view/gazsfn1/
Quote:
Originally Posted by KingHual
of course not
|
you can look.
Object id 9300 Material 18: rooftarmac1 object roof section. But it doesnt work. because limit 0-15
Re: Why is the material index limited? -
wallee - 29.01.2017
I think it was limited due to bandwidth reasons
Re: Why is the material index limited? -
IceCube! - 29.01.2017
Quote:
Originally Posted by Mauzen
Are there really objects with more than 16 textures?
|
My question would be, are there any objects with LESS than 16 textures?
Re: Why is the material index limited? -
FikShun - 29.01.2017
Quote:
Originally Posted by IceCube!
My question would be, are there any objects with LESS than 16 textures?
|
This object has total 18 material textured objects but Material 0: and Material 1: null. so actually do not. Only a few objects.
This way 18, actually 16
Re: Why is the material index limited? -
kurta999 - 31.01.2017
In server side its easy (easy... time consuming but ofc possible) to bypass this limit, it would work unless it isnt limited at client side.