Hi,
I have prepared nice little zip files with meshes in .spr files, their textures and a little icon 64x64.
I want to load this items in my PS (where with my I mean the modified version)..
From what I know the tables I have to look at are the items one, but also common_strings.
Now, some question about common_strings table.
+-----+---------------------------------------------+
| id | string |
+-----+---------------------------------------------+
| 28 | weapons#doubleaxe01a |
+-----+---------------------------------------------+
+-----+---------------------------------------------+
| id | string |
+-----+---------------------------------------------+
| 29 | /planeshift/weapons/doubleaxe01a_icon.png |
+-----+---------------------------------------------+
For example. I have understood that the doubleaxe01a mesh is called with weapons#doubleaxe01a and then, the icon is referred in the string under it.
But...
Does PS knows that weapons.zip (or the directory, in the case of the CVS version) is in /planeshift/art/things? If yes, it is because it is mounted in celsomething (I don\'t remember the point of the code, sorry?)?
Second.
When I was creating my items zip files, by mistake, I was creating files like \"food.zip, weapons.zip\". When it was loading such files from the code (in the point above, the one that I don\'t remember) it was crashing. I have renamed those files and then it went fine.
Why did that happen? Is there some rule on how to create those files or.. something else?
Third
The categories are the zip files name or it doesn\'t matter? (item_categories table)
Fourth
Is there an extensive guide, somewhere for (taken from item_stats)
stat_type
flags
item_type
and if there would be some explanation also over the other fields it would make things easier...
No other questions come up in my head, for the moment.
Thanks,
Ary