EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Featured Projects > EQ2MAP

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 10-15-2006, 11:57 AM
diztorded's Avatar
diztorded diztorded is offline
Crushbone - Cronique
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Crushbone
Posts: 163
Default [How To] Map making with Adobe Photoshop

This will walk you through making a map from start to finish using Paint Shop Pro. I have also included EXAMPLE.ZIP which contains a logfile and 3 graphic files you can use to test with. I have also included mapperfr.xml which can be used if you live in France and mapper.xml does not work for you.

Things you will need
  1. Perl
  2. Inkscape
  3. DDS plug-in
  4. Blank map (attached to this post)
  5. Mapper.xml (attached to this post)

Step One
  1. Download and install Perl. Install it to C:\Perl. The reason is because we will be using a Dos command that is limited in how directories are named.
  2. Make a folder called C:\Maps. We will be putting our logfile in here.
  3. Start Notepad and enter in the following text, c:\Perl\bin\perl "c:\maps\mapper.xml" "c:\maps\logfile.txt" > "c:\maps\map.svg"
  4. Save it as Map.bat.

Step Two
  1. Goto *\EverQuest II\logs\server\character and rename the logfile that is there. If one is not there, skip this part.
  2. Goto *\EverQuest II\cache\ioplans\
  3. Start EQ2 and go to the area that you want to map.
  4. Create two macros. One will be Location to do the /loc command and Map Line with the command /emote You start new map line.
  5. Put those two macros on you button bar so that you can access them easily.
  6. Now do a /log which will start a logfile in your *\EverQuest II\logs folder. (It may help to go into your chat settings and turn off everything that you do not want to be recorded)
  7. Now go around the room running the Location macro at all corners along the walls.
  8. At each break (i.e. a doorway or to stop there and to go start somewhere else), run the Map Line macro.
  9. When you are done, do /log again to stop the recording.
  10. Write down the file name of the file found in *\EverQuest II\cache\ioplans\ that matches the time/date of when you was making your map. (i.e. qey_village03+qey_adv01_oakmyst.iop)
  11. Goto *\EverQuest II\logs\server\character. There you will see your logfile.
  12. Copy this logfile to C:\Maps and name it logfile.txt

Step Three
  1. Download the attached Mapper.xml and save it to C:\Maps
  2. Download the attached map_blank.dds and save it to C:\Maps
  3. Click your Window's Start button then select run. Enter in cmd and click OK.
  4. Type in C: and press ENTER. Now type in cd maps and press ENTER. You will now be in the C:\Maps directory.
  5. Type in map and press ENTER. This will run the map.bat batch file we created earlier.

Step Four
  1. Download and install Inkscape.
  2. Click File, then Open. Goto your C:\Maps folder and select map.svg. Click OPEN.
  3. Press 4
  4. Check out your map. If it is not ok, you will have to edit it by hand. This may involve adding a start new mapline in your logfile or editing the graphic it's self. Either way, that is beyond the scope of this How-To.
  5. Click File then select Export Bitmap.
  6. Select the Drawing button at the top of the window that appeared.
  7. In the middle, you will see Bitmap Size, change the largest of the two numbers in that area to 512.
  8. Change the filename to C:\Maps\map.png.
  9. Click Export

Step Five
  1. Download the DDS Plug-in and install it.
  2. Start Photoshop
  3. Click File then Open. Goto your C:\Maps and select map_blank.dds then click Open.
  4. Click File then Open. Goto your C:\Maps and select map.png then click Open.
  5. Select the Map.png window. Do a CTRL+A then a CTRL+C (this will select the entire image of map.png and copy it)
  6. Select the map_blank.dds window.
  7. Press CTRL+V (This will paste your map onto the blank as a new layer.)
  8. Press V to select the Move Tool and move your map to the proper place on the blank.
  9. If you must resize, press CTRL+T and adjust theW and H on the tool bar. Make sure you keep these the same! (i.e. 95% and 95%)
  10. In the Layers Pallet, right click the new layer (Layer 1) and select Duplicate Layer then click OK.
  11. Click the eye beside Layer 1 to make it invisible.
  12. Click Layer 1 Copy to select it.
  13. Press W to select the Magic Wand Tool.
  14. At the top, you will see a toolbar for the magic wand tool now.Change the settings to Tolerance: 65, Contiguous and Anti-Alias.
  15. Click inside the main wall of your map. A dotted line will appear along all the borders. A shadow will be coming from this dotted line so hold down the SHIFT key and select the areas inside the main wall of your map that you do not want a shadow coming from. As you select these areas, the dotted line that surrounded them will go away.
  16. I am still working on the best way to do this.. will update soon!
  17. This will have made a shadow going all around your map. Now press F12. Change type to DDS *[*.dds]. Name it map_****.dds where **** is the part of the file name you wrote down earlier (i.e. qey_village03+qey_adv01_oakmyst.iop would be map_qey_adv01_oakmyst.dds) and click Save. Click Yes at the promt.
  18. Change format to DXT1 ARGB [1 bit Aplha], 2D Texture, No MIP maps. Click Save
  19. Save it as JPG if you want to post a picture of it for people to see.
  20. Your done!!

*** If you want to get the ZONERECT, read on***

Tonyis3l33t has made a great little tool that will figure out the zonerect for you. My only problem was when I tried to use it, it required Excel, which I do not own. Instead, I downloaded the free office suite called Open Office...


Step Six
  1. Download eq2log XYZ + Zonerect + Elevation Extractor.
  2. Run the script. It will ask you for the logfile's name. Put that in.
  3. For the output, make it a slightly different name and end it with .TXT.

Open Office
  1. Click File then Open.
  2. Change files of type to: Text CSV
  3. Select your output file and click open.
  4. Under Seperator options, deselect TAB, select OTHER and put in %
  5. Click OK.

Excel
  1. Go to Data->Import External Data->Import Data
  2. Find and open the OUTPUT file
  3. Check the Delimited Option, say NEXT
  4. Click in the OTHER field, type in %
  5. Click Finish, OK

Once the file is loaded, you will see all your /loc. Scroll down to the bottom of these and you will see the zonerect.
Attached Files
File Type: dds map_blank.dds (128.1 KB, 646 views)
File Type: xml mapper.xml (1.5 KB, 696 views)

Last edited by diztorded : 10-15-2006 at 12:36 PM.
Reply With Quote
  #2  
Unread 10-15-2006, 12:53 PM
Dolby's Avatar
Dolby Dolby is offline
Bacon Eater
Premium Member
EQ2Interface Admin
This person is a EQ2Map developer.
 
Join Date: Feb 2004
Posts: 2,452
Default

Nice guide diztorded but I think you'll like this better...


http://www.eq2interface.com/download...fo.php?id=3936


This gives you crosshairs with the /loc of them. you paste the map onto the background... resize however you want, then use photoshop to get the pixel loc of the crosshairs and enter everything into tacomans calc and you got a really solid zonrect.

Then if you have to slice a map in half..

http://www.eq2interface.com/download...fo.php?id=4162

Last edited by Dolby : 10-15-2006 at 12:58 PM.
Reply With Quote
  #3  
Unread 10-20-2006, 06:43 PM
sstair sstair is offline
Scuba Steve
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Everfrost
Posts: 150
Default

Quote:
Originally Posted by Dolby
http://www.eq2interface.com/download...fo.php?id=3936
This gives you crosshairs with the /loc of them. you paste the map onto the background... resize however you want, then use photoshop to get the pixel loc of the crosshairs and enter everything into tacomans calc and you got a really solid zonrect.
When I tried to use this for the Vaults map, the crosshairs weren't on anyplace that you can walk to, so they didn't help. I ended up just writing down the image coords of some particular feature in one corner and the opposite corner of the map, then going in game and writing down the in game coords of those locations, and plugging them into taco's tool.
Reply With Quote
  #4  
Unread 10-20-2006, 07:18 PM
Dolby's Avatar
Dolby Dolby is offline
Bacon Eater
Premium Member
EQ2Interface Admin
This person is a EQ2Map developer.
 
Join Date: Feb 2004
Posts: 2,452
Default

Quote:
Originally Posted by sstair
When I tried to use this for the Vaults map, the crosshairs weren't on anyplace that you can walk to, so they didn't help. I ended up just writing down the image coords of some particular feature in one corner and the opposite corner of the map, then going in game and writing down the in game coords of those locations, and plugging them into taco's tool.
The crosshairs arent sapose to be anywhere you can walk. The game /loc of those corsshairs are written at the bottom of the image by the program. Making for a near perfect zonrect.

Here is an example of a map I'm working on. I added some notes and arrows to explain better. Ofcourse you remove the text and +'s before you send out the map to us.
Attached Thumbnails
Click image for larger version

Name:	zonrect.jpg
Views:	767
Size:	285.8 KB
ID:	5299  

Last edited by Dolby : 10-20-2006 at 07:25 PM.
Reply With Quote
  #5  
Unread 10-22-2006, 09:43 PM
diztorded's Avatar
diztorded diztorded is offline
Crushbone - Cronique
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Crushbone
Posts: 163
Default

Quote:
Originally Posted by Dolby
Nice guide diztorded but I think you'll like this better...


http://www.eq2interface.com/download...fo.php?id=3936


This gives you crosshairs with the /loc of them. you paste the map onto the background... resize however you want, then use photoshop to get the pixel loc of the crosshairs and enter everything into tacomans calc and you got a really solid zonrect.

Then if you have to slice a map in half..

http://www.eq2interface.com/download...fo.php?id=4162

This is sweet Dolby!! Going to have to try it out then make the changes to my 2 guides. Thanks a ton!
Reply With Quote
  #6  
Unread 09-06-2007, 12:39 AM
brammator's Avatar
brammator brammator is offline
A Grassland Beetle
 
Join Date: Aug 2006
Server: Barren Sky
Posts: 64
Default

I have some problems with .dds exporting. Tried DXT1 and DXT3 with no difference. Any advice?
Attached Thumbnails
Click image for larger version

Name:	mmis_export01.png
Views:	589
Size:	146.7 KB
ID:	5910  Click image for larger version

Name:	mmis_export02.png
Views:	577
Size:	21.6 KB
ID:	5911  
Reply With Quote
  #7  
Unread 09-06-2007, 12:50 AM
Dolby's Avatar
Dolby Dolby is offline
Bacon Eater
Premium Member
EQ2Interface Admin
This person is a EQ2Map developer.
 
Join Date: Feb 2004
Posts: 2,452
Default

Try... DXT1 ARGB [1 bit Aplha], 2D Texture, No MIP maps
Reply With Quote
  #8  
Unread 09-06-2007, 12:56 AM
brammator's Avatar
brammator brammator is offline
A Grassland Beetle
 
Join Date: Aug 2006
Server: Barren Sky
Posts: 64
Default

Quote:
Originally Posted by Dolby View Post
Try... DXT1 ARGB [1 bit Aplha], 2D Texture, No MIP maps
tried that with no effect.
Reply With Quote
  #9  
Unread 09-06-2007, 04:35 AM
Othesus's Avatar
Othesus Othesus is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Lucan DLere
Posts: 847
Default

Quote:
Originally Posted by brammator View Post
I have some problems with .dds exporting. Tried DXT1 and DXT3 with no difference. Any advice?
What's the problem? Here's a post with some links to a lot of DDS and DXT compression information.
http://www.eq2interface.com/forums/s...9403#post59403

DXT1, DXT3, and DXT5 all compress color information the same way. Use DXT1 if you don't need an alpha channel or a 1 bit alpha channel.
__________________

Visit Othesus World!
Reply With Quote
  #10  
Unread 12-29-2008, 02:17 PM
Rathorius's Avatar
Rathorius Rathorius is offline
A Young Mystail Rat
 
Join Date: Mar 2007
Server: Unrest
Posts: 3
Default Other apps

Is there anyway this can be converted so you can use Macromedia Flash 8 Professional instead of Photoshop?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 06:39 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI