Why is the material index limited?
#1

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

Are there really objects with more than 16 textures?
Reply
#3

Quote:
Originally Posted by Mauzen
Посмотреть сообщение
Are there really objects with more than 16 textures?
of course not
Reply
#4

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
Reply
#5

I think it was limited due to bandwidth reasons
Reply
#6

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

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
Reply
#8

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


Forum Jump:


Users browsing this thread: 1 Guest(s)