Author Topic: Cartography is now working!! - Tontow's MapMaker Tool 1.0  (Read 1597 times)

Tontow

  • Hydlaa Resident
  • *
  • Posts: 189
    • View Profile
Cartography is now working!! - Tontow's MapMaker Tool 1.0
« on: October 28, 2008, 12:08:42 am »

Forum Mods:
I have been given a green light by the GM Team Leader Kerol to post this program ALONG with a sample map of the HY plaza to show what the program can do so far.
And please don't shove this in some unread corner of the forums.  I would have put this in PS Mods, but that is under artwork and I’m not sure it fits.


Sorry, Windows only. – (Unless you run an OS that supports Microsoft Visual Basic 6.0)
If the program wont run, goggle the visual basic 6.0 runtime library from Microsoft and install.

If someone wants to make an honest effort to rewrite this in some form of C so that it is cross platform, then I will make the source code available.  Program is written in Microsoft Visual Basic 6.0 (only programming language I know well enough so far to do this in).


http://www.geocities.com/tontowmerlin/MapMaker/MapMaker.html

Edit: unzip the tool program into the same folder as your logs.


1.   Start up the program
2.   Input the name of your charater’s SYSTEM log
3.   For ease of use.  Make a /pos  shortcut.
4.   Hit your pos shortcut once.
5.   Alt tab to the MapMaker Tool and delete that that line in the bottom right textbox, because its garbage (Will fix soonℱ).
6.   Start walking around while hitting your pos shortcut.  The program will look in your system log for new lines that have the resulting /pos command data and phrase it accordingly.
7.   If your done walking around and hitting pos, then it is time to adjust your points. (If you haven’t guessed by now we are working with a 2d X,Y graph.)
8.   IT IS A GOOD IDEA TO MAKE A COPY OF THE TEXT IN THE LOWER RIGHT TEXTBOX AT THIS POINT IN TIME!!!!!  Makes it easier to come back and add more to your map or if some data is lost for some reason.
9.   Under the ‘ajust all points’ button (yes I know, spelling
.) you will see 2 text boxes; one labeled X and the other Y.  Fill these with positive numbers and then press the ‘ajust all points’ button.   Your objective in doing this is to get all positive numbers since when the game draws the map the point 0,0 is in the upper left and lines with negative points either run off the map or are deleted by the game >:|
10.   Scale is best used at this point and is used for resizing.  Values of 1 = 100%   2 = 200%   0.5 = 50% etc.
11.    Rotate is used to rotate your map (duh).  Can be used before or after step 9, but you may need to repeat step 9 after using rotate.
12.   Go buy a blank map.  (Time for the cream filling)
13.   Edit your map.  (USE SHORTCUTS, GAME WILL CRASH IF YOU CLICK MAP ICONS!!!!!!)
14.   Make your map as big as possible.
15.   Name your map.
16.   Save your map.
17.   Go to your “Application Data\PlaneShift\sketches” folder and Open your map .xml file with notepad.
18.   You should be looking at something like (with different numbers maby) <pages><page l="38" t="94" w="933" h="590"></page></pages>
19.   On the MapMaker Tool, copy (ctrl-c = copy or ctrl-x = cut) the text in the lower right textbox.  This is the line point data list the game uses to graph/draw the map lines.
20.   Between <pages><page l="38" t="94" w="933" h="590">  AND  </page></pages> past the text (ctrl-v = past) you just copied from the tool.  THERE SOULD BE NO SPACES BETWEEN THE >< AND NO RETURNS. It should all be on one line.
21.   Save the .xml map
22.   Load your map and enjoy!!!


And, Yes, I do need to add a flip function so that the maps come out correctly. – the example maps are currently mirror images of what the final product ‘should’ be.
« Last Edit: October 28, 2008, 12:17:50 am by Tontow »
Tontow's MapMaker Tool 2.0 : http://hydlaaplaza.com/smf/index.php?topic=33954.0 - Make your own maps by walking around and useing the /pos Command!
Site: http://sites.google.com/site/tontowmerlin/

Tuxide

  • Hydlaa Notable
  • *
  • Posts: 715
    • View Profile
    • Banker
Re: Cartography is now working!! - Tontow's MapMaker Tool 1.0
« Reply #1 on: October 28, 2008, 01:00:06 am »
Might be useful to write a tutorial for acraig's engine documentation thing on how to integrate some functionality like this into the engine, but then again this is in VB so I don't know.

neko kyouran

  • Guest
Re: Cartography is now working!! - Tontow's MapMaker Tool 1.0
« Reply #2 on: October 28, 2008, 08:28:37 am »
I think the mods section is quite appropriate for things like this. :)

Manar

  • Hydlaa Resident
  • *
  • Posts: 73
  • 瓜田李下
    • View Profile
    • XG profile
Re: Cartography is now working!! - Tontow's MapMaker Tool 1.0
« Reply #3 on: October 28, 2008, 10:27:45 am »
I haven't tried it yet, but it looks nice!
I collected a lot data for my own maps the same way, if not quite as automated as this. :)
— Maanahr Ilde, Cartographer, Scout in the Explorers Guild.

Tontow

  • Hydlaa Resident
  • *
  • Posts: 189
    • View Profile
Re: Cartography is now working!! - Tontow's MapMaker Tool 1.0
« Reply #4 on: October 28, 2008, 06:48:45 pm »
Vershion 2.0 is here!  \\o//

Adds:
Flip buttons
Preview Window (I got tired of going back and forth, so enjoy.  Dose not show exactly how maps will look like in game scail wise, but is close enough for me.)
Tontow's MapMaker Tool 2.0 : http://hydlaaplaza.com/smf/index.php?topic=33954.0 - Make your own maps by walking around and useing the /pos Command!
Site: http://sites.google.com/site/tontowmerlin/

Tontow

  • Hydlaa Resident
  • *
  • Posts: 189
    • View Profile
Re: Cartography is now working!! - Tontow's MapMaker Tool 1.0
« Reply #5 on: February 06, 2010, 06:50:54 am »
Sadly, It seems I'm in need of a place to host this file. :'(

Dose anyone Have an suggestions?  :detective:
Tontow's MapMaker Tool 2.0 : http://hydlaaplaza.com/smf/index.php?topic=33954.0 - Make your own maps by walking around and useing the /pos Command!
Site: http://sites.google.com/site/tontowmerlin/

ThomPhoenix

  • Testers
  • Forum Addict
  • *
  • Posts: 2678
  • A Phoenix, what'd you expect?
    • View Profile
Re: Cartography is now working!! - Tontow's MapMaker Tool 1.0
« Reply #6 on: February 06, 2010, 06:59:54 am »
I can host it, PM me if you think that's okay.
We're not evil. We're simply amazing.

Rigwyn

  • Guest
Re: Cartography is now working!! - Tontow's MapMaker Tool 1.0
« Reply #7 on: February 06, 2010, 09:11:00 am »

If you set up a free google sites account you can host all kinds of stuff there ... Web pages, files, etc..

MishkaL1138

  • Veteran
  • *
  • Posts: 1175
  • Meh.
    • View Profile
Re: Cartography is now working!! - Tontow's MapMaker Tool 1.0
« Reply #8 on: September 11, 2010, 05:37:10 am »
Why don't you try to use mediafire? It's just a suggestion


"It's all fun and games until someone stabs someone else in the eye."