Quote:
Originally Posted by Royale-Adio
I think they are hard coded too. I took a glance at them also, and I saw exactly what you described. Theres the Shapes folder which contains SHP files that, when opened with text, looks like jibberish. It look like HEX, but I'm no expert so I'm not sure.
|
I looked into the .shp files, that is what I found:
Not sure about the first number, maybe it is a color.
The second number gives you number of dots. I.e. 28 means that there are 28 dots.
The three-numbers rows following are the XYZ coordinates of those dots. Since we are talking about 2d shapes - z is always 0. X and Y are just that - X and Y. So if you take MS Excel or OO Calc and make it to plot XY graph on the coordinates given in the first part of our file - you can roughly see the actual shape coded in the file. Try it for example on the ring.shp file - the name is self-explanatory.
I guess the second part gives you shapes (thickness, maybe color) of the lines between the dots. But I cannot figure out what do the numbers mean.
However even knowing this I just do not undertand how and what to those .shp files are used in the game,