Results 1 to 11 of 11

Thread: cattj

  1. #1
    Registered User
    Join Date
    Aug 2002
    Posts
    143

    cattj

    Try dividing the z-axis by 10 on the maps when you do the conversion...

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    48
    thanks for the suggestion throx... i'll give this a try tonight
    -Cattj

  3. #3
    Registered User
    Join Date
    Dec 2001
    Posts
    118
    Just thought ya might like to know..

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

  4. #4
    Registered User
    Join Date
    Apr 2002
    Posts
    48
    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
    -Cattj

  5. #5
    Registered User
    Join Date
    Aug 2002
    Posts
    143
    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...
    Attached Files Attached Files
    Last edited by throx; 02-25-2003 at 06:06 PM.

  6. #6
    Registered User
    Join Date
    Apr 2002
    Posts
    48
    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
    Last edited by cattj; 02-27-2003 at 08:44 AM.
    -Cattj

  7. #7
    Registered User
    Join Date
    Nov 2002
    Posts
    7

    Re: Cattj

    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

  8. #8
    Registered User
    Join Date
    Apr 2002
    Posts
    48
    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.
    -Cattj

  9. #9
    Registered User
    Join Date
    Apr 2002
    Posts
    35
    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)

  10. #10
    Registered User
    Join Date
    Apr 2002
    Posts
    48
    great thanks for pointing this out... i'll put the new executables up in a bit at the same links as above
    -Cattj

  11. #11
    Registered User
    Join Date
    Apr 2002
    Posts
    48
    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
    -Cattj

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On