Minimaps

Content and general development discussion, including quest scripts and server code. TMW Classic is a project comprising the Legacy tmwAthena server & the designated improved engine server based on evolHercules.


Forum rules

This forum houses many years of development, tracing back to some of the earliest posts that exist on the board.

Its current use is for the continued development of the server and game it has always served: TMW Classic.

Post Reply
User avatar
Jaxad0127
Manasource
Manasource
Posts: 4209
Joined: 01 Nov 2007, 17:35
Location: Internet

Minimaps

Post by Jaxad0127 »

I've been working on a tool to programatically generate minimaps. It works by mapping each tileset tile to an opacity and merging the layers of opacity. I've run it on maps 1 and 3 (Tulimshar and the desert south of it) using three different methods to merge layers:

Method 1 (last non-zero opacity):
ImageImage

Method 2 (most opaque value):
ImageImage

Method 3 (average of non-zero opacities):
ImageImage

These methods treat extra hight tiles as single height tiles, though this is easy to change.
Image
Matt
Grand Knight
Grand Knight
Posts: 1759
Joined: 07 Aug 2004, 10:47
Location: Germany->Bavaria

Re: Minimaps

Post by Matt »

I can't see the difference between the three methods, but I like them :)
User avatar
Jaxad0127
Manasource
Manasource
Posts: 4209
Joined: 01 Nov 2007, 17:35
Location: Internet

Re: Minimaps

Post by Jaxad0127 »

Matt wrote:I can't see the difference between the three methods, but I like them :)
The differences are hard to see on these two maps, but you can see a slight difference in the booths in the bazaar.
Image
User avatar
Superkoop
Warrior
Warrior
Posts: 265
Joined: 11 Feb 2008, 00:09
Location: South Dakota in the US of A
Contact:

Re: Minimaps

Post by Superkoop »

I see only a slight difference.

Would it be possible to scale the maps? Like using SVG? I think that was one of the big bad things about the current maps.
In game I am Xaru
On forums I am Superkoop
IRL I am John
-View World map-
User avatar
Shaggy
Novice
Novice
Posts: 132
Joined: 22 Apr 2008, 12:56
Location: Liverpool, England

Re: Minimaps

Post by Shaggy »

Like has been said, the differences are minimal.

I agree that they are beautiful

One question, though? What's the purpose of the 'If you see this, go back'?
Enjoyed The Mana World? Then check out Aethyra (http://www.aethyra.com).
User avatar
Superkoop
Warrior
Warrior
Posts: 265
Joined: 11 Feb 2008, 00:09
Location: South Dakota in the US of A
Contact:

Re: Minimaps

Post by Superkoop »

Shaggy wrote:One question, though? What's the purpose of the 'If you see this, go back'?
That is part of the actual map, and it's just a bit of humor. :)
In game I am Xaru
On forums I am Superkoop
IRL I am John
-View World map-
User avatar
leeor_net
Novice
Novice
Posts: 180
Joined: 03 Feb 2008, 09:17
Location: Ohio, USA
Contact:

Re: Minimaps

Post by leeor_net »

An easter egg of sorts... very funny... :)

I think the third looks best. While the difference is nominal, it's a bit less harsh while still providing all of the necessary information.

I think it's very well done. How did you implement the code? Tiled plugin or stand-alone program?
- Leeor

"Oh, no thanks. I ate a boulder on the way in." - Shrek
User avatar
Jaxad0127
Manasource
Manasource
Posts: 4209
Joined: 01 Nov 2007, 17:35
Location: Internet

Re: Minimaps

Post by Jaxad0127 »

leeor_net wrote:How did you implement the code? Tiled plugin or stand-alone program?
It's stand-alone.

I've done some more:

Desert Mine, level 1
ImageImageImage

Hermits Cave, level 1 (Bat Cave)
ImageImageImage

Desert Mine, level 2
ImageImageImage

Underground of new desert map southeast of snake desert
ImageImageImage

You can see some slight differences in the upper right of desert mine, level 2.
Image
User avatar
Jaxad0127
Manasource
Manasource
Posts: 4209
Joined: 01 Nov 2007, 17:35
Location: Internet

Re: Minimaps

Post by Jaxad0127 »

Image
User avatar
Jaxad0127
Manasource
Manasource
Posts: 4209
Joined: 01 Nov 2007, 17:35
Location: Internet

Re: Minimaps

Post by Jaxad0127 »

I've done the snow maps. I hope they're close enough to the desired style for my utility to be used.

Snow field
ImageImageImage

Snow village
ImageImageImage

Here are the opacity maps used (they're text files, but the server thinks they're images :? ):
Snow building
Snow x2
Snow x3
Snow set
Image
User avatar
Shaggy
Novice
Novice
Posts: 132
Joined: 22 Apr 2008, 12:56
Location: Liverpool, England

Re: Minimaps

Post by Shaggy »

Would your code reveal any secret passages or not?
Enjoyed The Mana World? Then check out Aethyra (http://www.aethyra.com).
User avatar
Rotonen
TMW Adviser
TMW Adviser
Posts: 3154
Joined: 08 Sep 2004, 19:48
Location: Bern, Switzerland

Re: Minimaps

Post by Rotonen »

Shaggy wrote:Would your code reveal any secret passages or not?
Retouching minimaps by hand afterwards for that effect is not out of the question.
This message used to be meaningful.
User avatar
Jaxad0127
Manasource
Manasource
Posts: 4209
Joined: 01 Nov 2007, 17:35
Location: Internet

Re: Minimaps

Post by Jaxad0127 »

Shaggy wrote:Would your code reveal any secret passages or not?
Only if you create a map for the collision layer.
Image
Post Reply