![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 | |
Officer
![]() Join Date: Jul 2009
Posts: 238
Downloads: 119
Uploads: 5
|
![]() Quote:
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. |
|
![]() |
![]() |
![]() |
#2 |
Ace of the deep .
|
![]()
The only shp files i have found are dds files ?
|
![]() |
![]() |
![]() |
#3 |
Officer
![]() Join Date: Jul 2009
Posts: 238
Downloads: 119
Uploads: 5
|
![]()
I meant in the menu folder.
|
![]() |
![]() |
![]() |
#4 | |
Lieutenant
![]() Join Date: Nov 2006
Location: St. Petersburg, Russia
Posts: 264
Downloads: 72
Uploads: 0
|
Quote:
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, |
|
![]() |
![]() |
![]() |
#5 |
Pacific Aces Dev Team
![]() |
![]()
I intend to publish my Shape Viewer in a few days.
I developed this tool in the past for some of my own map mods. The viewer can display the shapes, export / import to/from OFF so editing of the shapes in others app is also possible. ![]()
__________________
-- Vapor-ware is always easier to sell because there's no limit what it can do! |
![]() |
![]() |
![]() |
#6 |
Lieutenant
![]() Join Date: Nov 2006
Location: St. Petersburg, Russia
Posts: 264
Downloads: 72
Uploads: 0
|
![]()
Wow! Great news! Thank you so much! Now I don't have to spend my whole night looking into those files.
|
![]() |
![]() |
![]() |
#7 |
Black Magic
![]() |
![]()
the color is done by a shader and yes the color can be removed and set to just one color
![]() Now trying to take the color away from the contact lines...... |
![]() |
![]() |
![]() |
#8 |
The Old Man
![]() Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
|
![]()
Nice work TDW. Now you should replace all the different icon .dds files with the same one.
__________________
![]() He sank 198,650 tons....who you ask?....Erich Topp, that's who! |
![]() |
![]() |
![]() |
#9 |
Black Magic
![]() |
![]() |
![]() |
![]() |
![]() |
|
|