PlaneShift
Development => PlaneShift Mods => Topic started by: Tontow on October 29, 2008, 01:03:49 am
-
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.)
<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
-
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 )
-
Very cool that you're taking the time to make such tools! :D I'm really interested in what's possible with such apps.
-
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?
-
um... linux support? I don't run windows... :(
-
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.
-
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!
-
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.
-
:oops: I can't figure out how to delete my own posts..
-
If you could make it web based, that would be nice, as I run on a mac.
-
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...
-
Brilliant idea
-
404
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!
-
http://sites.google.com/site/tontowmerlin/
-
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.
-
I'm still hammering the site out. :detective:
-
It may be a bit unusual that there is a menu on the right side, but there are links like "Screen Shots" and "Download". Visible in Opera 10. Unfortunately, there seems to be no content yet. I guess Tontow is rebuilding the page at the moment.
Heh ... missed page 2 of this thread. :-[
-
good to see I'm not the only one jumping the gun :)
-
Downloads are up, I'm putting a few final touches on the site now. I may add more but its up. \\o//
-
I'm debating on weather or not to do a version 3.0 of this....
Dose anyone even use it?
-
I am new here, and i am interested in using your program but i have one problem.
Input the Full name of your charater’s SYSTEM log IE: tontow_system.txt
Where is my system log?
It's the log of the game? I've looked arround in PS folder and i don't see it.
Can you please help me?
-
You would have to enable the logging of system messages first in your Chat options, because they can start to contain a lot of junk, especially if you are crafting or fighting. So I'd recommend to enable it not before starting your walk, and to disable it right after.
It will be in the same location as your chat log. Which depends on the operating system you are using. Under Windows, it is usually: "%APPDATA%\PlaneShift\logs" (you can type that in the Explorer's address line).
-
as a side note, I like to keep the .exe in the same folder as the system log and then make a short cut on my desktop to it.
-
I've tried using this but get a 'Run-time error 9. Subscript out of range' error as soon as I press the '/pos' shortcut key.
-
To make this app cross-platform in a simple way, I would recommend using the Mono stack. It have a good Visual Basic .NET implementation, works on Windows, Linux, OS X (and your app could be ported to Android and iOS lately). The only real new thing is a GTK# for the UI, but MonoDevelop / Xamarin Studio have a good visual designer, at least for C#-based projects.
Personally, I have very positive experience with Mono stack using C#. Examples of usefull programs: Tomboy Notes (note taking app), Tasque (simple planner), BlessHex (hexadecimal editor), Banshee (mediaplayer), Pinta (graphical editor), MonoDevelop IDE itself.
Some points:
http://www.mono-project.com/VisualBasic.NET_support (http://www.mono-project.com/VisualBasic.NET_support)
http://www.mono-project.com/GtkSharp (http://www.mono-project.com/GtkSharp)
http://monodevelop.com/Download (http://monodevelop.com/Download)