Author Topic: Tontow's MapMaker Tool 2.0  (Read 3898 times)

Tontow

  • Hydlaa Resident
  • *
  • Posts: 189
    • View Profile
Tontow's MapMaker Tool 2.0
« on: October 28, 2008, 07:03:49 pm »
Vershion 2.0 is here!  
Changlog for 2.0:
Adds:
-Flip buttons. - Can be used at any time.  Useing the Flip Vertically once is all you really need to do, but you may need to adjust all points after useing.  Works by: x = x - 100000 then  x= |x| then x = x - 100000 and the same for y
-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.) - Can be used any time, suggest useing very often.
-Scroll bar for bottom right textbox.

Adjusted size and position of textboxes and buttons.


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://sites.google.com/site/tontowmerlin/

To Install:  Unzip the tool program into the same folder as your logs.


1.   Start up the program
2.   Input the Full name of your charater’s SYSTEM log IE: tontow_system.txt
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!!!





If you just want to play with it, then copy and past the following into the lower right textbox and start playing.  (Unmodifyed points used to make the example map.)
Quote
<ln pts="8 -129 6.73 -127.98"/><ln pts="11 -125 7.83 -129.17"/><ln pts="10 -124 10.85 -125.4"/><ln pts="11 -120 9.53 -124.35"/><ln pts="12 -119 10.67 -119.6"/><ln pts="11 -115 12.11 -119.16"/><ln pts="10 -115 11.03 -114.82"/><ln pts="7 -111 9.58 -115.16"/><ln pts="7 -110 6.51 -111.43"/><ln pts="3 -108 7.15 -109.79"/><ln pts="2 -109 2.98 -108.02"/><ln pts="-3 -109 2.3 -109.36"/><ln pts="-3 -108 -2.51 -109.47"/><ln pts="-7 -110 -3.14 -108.01"/><ln pts="-7 -111 -7.36 -109.99"/><ln pts="-10 -115 -6.73 -111.29"/><ln pts="-11 -115 -9.74 -115.32"/><ln pts="-12 -119 -11.31 -114.96"/><ln pts="-11 -120 -12.38 -119.32"/><ln pts="-10 -125 -10.66 -119.74"/><ln pts="-11 -126 -9.56 -124.54"/><ln pts="-8 -129 -10.64 -125.69"/><ln pts="-7 -128 -8.23 -129.24"/><ln pts="-2 -130 -6.7 -128.19"/><ln pts="-2 -132 -2.34 -130.47"/><ln pts="2 -132 -2.35 -131.89"/><ln pts="2 -130 2.26 -131.57"/><ln pts="7 -128 2.41 -130.2"/><ln pts="-58 -146 -49.28 -156.8"/><ln pts="-62 -149 -58.1 -145.79"/><ln pts="-54 -160 -62.25 -149.44"/><ln pts="-58 -146 -53.97 -160.23"/><ln pts="4 -32 2.2 -31.7"/><ln pts="7 -30 4.29 -31.55"/><ln pts="25 -51 6.65 -29.67"/><ln pts="26 -50 24.65 -51.22"/><ln pts="8 -28 26.44 -49.62"/><ln pts="10 -27 7.81 -28.48"/><ln pts="13 -26 10.14 -26.51"/><ln pts="13 -24 12.76 -26.01"/><ln pts="17 -15 12.71 -23.9"/><ln pts="45 -15 17.12 -14.78"/><ln pts="44 -13 44.86 -15.07"/><ln pts="17 -13 44.24 -13.04"/><ln pts="17 14 17.19 -12.97"/><ln pts="46 14 17.22 14.38"/><ln pts="46 16 45.63 14.12"/><ln pts="16 19 45.63 16.03"/><ln pts="16 23 16.31 19.46"/><ln pts="12 30 15.62 22.52"/><ln pts="8 37 12.5 29.94"/><ln pts="35 46 8.44 36.78"/><ln pts="34 49 35.04 46.14"/><ln pts="8 38 34.11 48.64"/><ln pts="10 47 7.86 38.21"/><ln pts="10 42 9.97 47.2"/><ln pts="8 52 9.86 42.33"/><ln pts="4 56 8.24 51.52"/><ln pts="-3 56 4.34 55.54"/><ln pts="-8 52 -2.91 55.57"/><ln pts="-11 47 -7.72 52.26"/><ln pts="-8 38 -10.65 47.07"/><ln pts="-11 39 -7.71 38.42"/><ln pts="-33 48 -10.53 39.24"/><ln pts="-34 47 -33.33 47.81"/><ln pts="-8 37 -33.71 46.59"/><ln pts="-17 16 -8.49 36.74"/><ln pts="-46 16 -17.26 15.82"/><ln pts="-46 15 -46.04 16.03"/><ln pts="-17 14 -46.14 14.55"/><ln pts="-17 -13 -17.4 14.33"/><ln pts="-45 -13 -17.31 -12.78"/><ln pts="-45 -13 -45.2 -12.8"/><ln pts="-17 -15 -45.17 -13.44"/><ln pts="-9 -30 -17.4 -15.42"/><ln pts="-27 -50 -9.03 -29.5"/><ln pts="-25 -51 -26.73 -49.71"/><ln pts="-4 -32 -25.16 -51.01"/><ln pts="2 -32 -3.83 -31.65"/><ln pts="4 -32 2.27 -31.75"/>

--mod's note.  changed it to a quote instead of code since it broke the page formatting
« Last Edit: February 10, 2010, 05:39:17 pm 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/

Tontow

  • Hydlaa Resident
  • *
  • Posts: 189
    • View Profile
Re: Tontow's MapMaker Tool 2.0
« Reply #1 on: October 29, 2008, 05:07:07 pm »
How much intrest is there for this to be cross platform?

It is possable for me to setup a web page that can do almost the same thing - (would have to copy and past system logs to a textbox, but it would work).  I dont think .js script can access files on a computer....  (been along time sence i used .js )
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: Tontow's MapMaker Tool 2.0
« Reply #2 on: October 29, 2008, 05:24:43 pm »
Very cool that you're taking the time to make such tools! :D I'm really interested in what's possible with such apps.
We're not evil. We're simply amazing.

Tontow

  • Hydlaa Resident
  • *
  • Posts: 189
    • View Profile
Re: Tontow's MapMaker Tool 2.0
« Reply #3 on: October 29, 2008, 06:49:10 pm »
Very cool that you're taking the time to make such tools! :D I'm really interested in what's possible with such apps.

Thankyou.

Right now the program is mainly text manipulation with a little math.  Very small and simple. 
And I could add alot more if I felt it worth it (once I think of new stuff to add).  Such apps can do quite a bit. 

Did anyone have any feature requests?
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/

Mythryndel

  • Testers
  • Hydlaa Notable
  • *
  • Posts: 605
    • View Profile
Re: Tontow's MapMaker Tool 2.0
« Reply #4 on: October 30, 2008, 03:58:14 pm »
um... linux support? I don't run windows... :(

Omni-Tom

  • Traveller
  • *
  • Posts: 12
    • View Profile
Re: Tontow's MapMaker Tool 2.0
« Reply #5 on: November 11, 2008, 03:54:00 pm »
 Im running Linux-64 here. Also the more playable the game gets the more it will be a linux standard rpg game.

 Sounds interesting and was thinking of something before I got linked to this post.

 As for the mapping thought it would be need to have a in game magic map. This would work an purchasing a magic map from say a merchant or magic store and so something similar to your code to generate a general map of the area you are in. As for usage it may be a normal in game magical item or something used by a mage or both. Also may be interesting to have a atlas book where maps could be scribed into it.

 Generally could be something similar to a online web map page worked into the game with advanced book, copy and scribe capabilities.

 Thing is can they implement your script into the game.

 Usable maps and atlas books in game sound really interesting.

yanom

  • Hydlaa Resident
  • *
  • Posts: 55
    • View Profile
Re: Tontow's MapMaker Tool 2.0
« Reply #6 on: November 30, 2008, 03:05:02 pm »
Code: [Select]
rewrite this in some form of C
ARE YOU KIDDING ME??????????????????
You are really going to make it harder for yourself? For crying out loud, use Python!

Tontow

  • Hydlaa Resident
  • *
  • Posts: 189
    • View Profile
Re: Tontow's MapMaker Tool 2.0
« Reply #7 on: November 30, 2008, 04:11:21 pm »
But which form of Python should I use?  I have also looked at Java: very cross platform and I can attach it to a web page.
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/

tsharky87

  • Traveller
  • *
  • Posts: 16
    • View Profile
Re: Tontow's MapMaker Tool 2.0
« Reply #8 on: December 18, 2008, 10:49:39 pm »
 :oops: I can't figure out how to delete my own posts..
« Last Edit: December 18, 2008, 10:57:03 pm by tsharky87 »

Samno

  • Traveller
  • *
  • Posts: 40
    • View Profile
Re: Tontow's MapMaker Tool 2.0
« Reply #9 on: December 20, 2008, 10:41:45 am »
If you could make it web based, that would be nice, as I run on a mac.

Kempeth Damari

  • Guest
Re: Tontow's MapMaker Tool 2.0
« Reply #10 on: January 07, 2009, 05:01:25 am »
Hi Tontow.

I've also stated with a map making program a while back and just found out about your tool. I've written mine in Java so if you are interested in pursuing a cross-platform version we could maybe combine our efforts...

AndyM

  • Wayfarer
  • *
  • Posts: 3
    • View Profile
Re: Tontow's MapMaker Tool 2.0
« Reply #11 on: February 09, 2010, 07:22:39 pm »
Brilliant idea

LigH

  • Forum Legend
  • *
  • Posts: 7096
    • View Profile
Re: Tontow's MapMaker Tool 2.0
« Reply #12 on: February 10, 2010, 03:16:47 am »
404

Quote
Sorry, the GeoCities web site you were trying to reach is no longer available.

GeoCities has closed, but there's a lot more to explore on Yahoo!

Gag Harmond
Knight and Ambassador
The Royal House of Purrty

Tontow

  • Hydlaa Resident
  • *
  • Posts: 189
    • View Profile
Re: Tontow's MapMaker Tool 2.0
« Reply #13 on: February 10, 2010, 05:38:56 pm »
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/

bilbous

  • Guest
Re: Tontow's MapMaker Tool 2.0
« Reply #14 on: February 10, 2010, 05:52:23 pm »
it doesn't appear that there is anything there but your announcement yet on your google page and a link back to this thread. Does it depend on IE to see the download?

that said I was hoping you had a screenshot of the example map because I don't really do windows either and I was curious.