PDA

View Full Version : cattj



throx
02-24-2003, 10:41 PM
Try dividing the z-axis by 10 on the maps when you do the conversion...

cattj
02-25-2003, 09:51 AM
thanks for the suggestion throx... i'll give this a try tonight

Fatal
02-25-2003, 10:24 AM
Just thought ya might like to know..

Your maps have been downloaded 10,000 times from Eqtoolbox. 5000 times since yesterday.

cattj
02-25-2003, 10:55 AM
hahah wow thats a lot!!

thanks for the info... i'm really glad that wasn't on my site hahah it would have killed my bandwidth

throx
02-25-2003, 06:02 PM
Here's the code to convert cattj's maps for the z-order to work. It's just a straight divide by 10. I haven't touched the labels because they don't have a z-order anyway.

Enjoy...


// fixmaps.cpp : Defines the entry point for the console application.
//

#include "stdio.h"

int _tmain(int argc, _TCHAR* argv[])
{
while (!feof(stdin))
{
// Get the line code
char line[4096];
gets(line);
if (*line == 'L')
{
int r,g,b;
double x1,x2, y1,y2, z1,z2;
char code;
sscanf(line, "%c %lf, %lf, %lf, %lf, %lf, %lf, %d, %d, %d", &code, &x1, &y1, &z1, &x2, &y2, &z2, &r, &g, &b);
printf("%c %.4lf, %.4lf, %.4lf, %.4lf, %.4lf, %.4lf, %d, %d, %d\n", code, x1, y1, z1/10, x2, y2, z2/10, r, g, b);
}
else
puts(line);
}

}

Excuse the formatting - vBoard removes leading spaces. Not sure if the attachment worked or not. Sorry for the noobishness...

cattj
02-26-2003, 07:25 AM
ok i've added the divide by 10 to the z (thanks throx) and also per someone's suggestion converted the whites and grays to black so that the maps look better on the parchment background.

you can get the new exe/src here as well as the maps:

http://www.eq-toolbox.com


enjoy

mantra71
02-26-2003, 09:16 AM
Heh, just finished converting your maps when I found your reply here. Managed to get my friend to make a converter that supported wildcards for the filenames.

Cant wait to get home to try it.

Well done though :)

cattj
02-26-2003, 09:20 AM
the converter has a batch file in the zip that will do wildcarding too... it takes all the .map files in the current directory and converts them.

i'm going to add an option today that allows you to keep all the original colors (for those of you that have switched to a black background) and one that replaces white and grays with black for those of you that use the parchment background.

Dok
02-26-2003, 11:28 AM
Looks great Cattj. Just one more thing. EQ is parsing the description after the first space in some situations. ("The Nexus" turns into "The"). In the EQ version, they all have _ in place of a space in all the locations. (The_Nexus)

cattj
02-26-2003, 11:33 AM
great thanks for pointing this out... i'll put the new executables up in a bit at the same links as above

cattj
02-26-2003, 12:34 PM
ok that change should be in... as well as the change for switching between the two color schemes... -c for the original -w for the no white...

enjoy