Furniture texture data. Table design and loading
#5

This is the layout of my table, I have five material indexes for each furniture.
I use sscanf to separate with "|" delimiter and then set the object material according to the created dynamic object.
When saving the furniture I just retrieve the object material using GetDynamicObjectMaterial text and then format the first five slots like this "xx|xx|xx|xx", for example: http://i.imgur.com/dkMzwau.png

model|txdname|texturename|color, 0 = default

Reply


Messages In This Thread
Furniture texture data. Table design and loading - by dusk - 12.02.2015, 20:35
Re: Furniture texture data. Table design and loading - by dusk - 14.02.2015, 21:45
Re: Furniture texture data. Table design and loading - by Vince - 14.02.2015, 22:39
Re: Furniture texture data. Table design and loading - by Kar - 14.02.2015, 23:23
Re: Furniture texture data. Table design and loading - by PaulDinam - 15.02.2015, 00:19
Re: Furniture texture data. Table design and loading - by dusk - 15.02.2015, 07:11

Forum Jump:


Users browsing this thread: 1 Guest(s)