Transforming img files into maps

Discussion of all aspects of multiplayer development: unit balancing, map development, server development, and so forth.

Moderator: Forum Moderators

Post Reply
User avatar
PapaSmurfReloaded
Posts: 819
Joined: November 17th, 2007, 1:10 pm
Location: Argentina

Transforming img files into maps

Post by PapaSmurfReloaded »

Is there any currently working way to transform an image into a wesnoth map?
User avatar
Sapient
Inactive Developer
Posts: 4453
Joined: November 26th, 2005, 7:41 am
Contact:

Re: Transforming img files into maps

Post by Sapient »

Are you talking about terrain art maps (red represented by lava, etc.)?
It would probably be a fun image manipulation programming project if anyone hasn't done that already. But, the last time I needed to do that, I just loaded the image in paintshop pro and used a hex tile filter.
http://www.wesnoth.org/wiki/User:Sapient... "Looks like your skills saved us again. Uh, well at least, they saved Soarin's apple pie."
User avatar
PapaSmurfReloaded
Posts: 819
Joined: November 17th, 2007, 1:10 pm
Location: Argentina

Re: Transforming img files into maps

Post by PapaSmurfReloaded »

Sapient wrote:Are you talking about terrain art maps (red represented by lava, etc.)?
It would probably be a fun image manipulation programming project if anyone hasn't done that already. But, the last time I needed to do that, I just loaded the image in paintshop pro and used a hex tile filter.
I meant transforming the silhouete of an image into a wesnoth map.
Example: An image of an island in white and the sea around in black, transform it into a wesnoth map of a give size(let's say 100x100) that has Ww terrain in black areas and Gg in the white areas.
User avatar
The_Gnat
Posts: 2215
Joined: October 10th, 2016, 3:06 am
Contact:

Re: Transforming img files into maps

Post by The_Gnat »

That would be really good if it was possible! And if you took it to one step farther you could generate different terrains depending on the color. (green = grass, grey = mountains, blue = water, etc.) :D

But it probably would be easier to merely make the map editor paint tool more effective.
User avatar
PapaSmurfReloaded
Posts: 819
Joined: November 17th, 2007, 1:10 pm
Location: Argentina

Re: Transforming img files into maps

Post by PapaSmurfReloaded »

The_Gnat wrote:That would be really good if it was possible! And if you took it to one step farther you could generate different terrains depending on the color. (green = grass, grey = mountains, blue = water, etc.) :D

But it probably would be easier to merely make the map editor paint tool more effective.
From what I've seen it was possible in the past, but the software or methods used no longer work.
I'm quite a fan of making accurate maps of things myself.
Post Reply