Map Database  •  FAQ  •  RSS  •  Login

MapShot

<<

harold

Knight

Posts: 562

Joined: 19 Nov 2007, 23:00

Post 09 Mar 2009, 02:28

MapShot

I got very annoyed by a bug in my minimap renderer and just spent 4 hours fixing it. Yes, it sucked. It was a rather subtle bug, involving the order of a multiplication and an addition somewhere deeply inside an array index calculation that somehow managed to never get out of bounds.

But the result of all this, is that I made a program that takes a map as input and creates a shaded minimap of it. Scaled x2 even (and not just naively scaled up, it calculates the individual lighting and texture values)

Get it here: http://www.freewebs.com/knightsandmerchants/downloads/MapShot.zip
It works as usual, the syntax is just: mapshot path\to\map
Or drag & drop files on it. It can handle multiple files at once.
It'll create a png file with the same name as the map in the same folder.
Image
<<

Siegfried

User avatar

Knight

Posts: 494

Joined: 24 Jul 2009, 22:00

Post 09 Nov 2010, 09:18

@harold
This is awesome! Was looking for something like this for ages! Many thanks for this one!!

Keep up the good work!
<<

Krom

User avatar

Knights Province Developer

Posts: 3280

Joined: 09 May 2006, 22:00

KaM Skill Level: Fair

Location: Russia

Post 09 Nov 2010, 12:32

Alternatively you could open KaM Editor and zoom out - shading will be more natural :)
Knights Province at: http://www.knightsprovince.com
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
<<

harold

Knight

Posts: 562

Joined: 19 Nov 2007, 23:00

Post 09 Nov 2010, 12:56

Yes. This program is ancient. It just got some attention from spam.
<<

Krom

User avatar

Knights Province Developer

Posts: 3280

Joined: 09 May 2006, 22:00

KaM Skill Level: Fair

Location: Russia

Post 09 Nov 2010, 13:15

btw, I saw you have added archers in August, maybe post about that in TKE thread?
Knights Province at: http://www.knightsprovince.com
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de

Return to “Other Creations”

Who is online

Users browsing this forum: No registered users and 7 guests