Hi @ all
Some infos about the used programs
(btw : I develop under linux therefore I don't know if these infos are the same under wind***

)
@ratix
you guys have a program to do that now..? Where can i get it....?
The
tileset_sticher.pl comes along with the mapmaker-package.
You can find it under
<folder_where_you_installed_mapmaker_package>/maps/utilsTo use it you need
http://www.perl.org )
- the GD-Library (
http://www.libgd.org )
- the GD.pm (perl-module) (
http://search.cpan.org/dist/GD )[/list]
Some infos about the MWC
You can download it from
http://home.tiscali.de/sammydesign/mwc.tarThe tar file holds the following files :
- mwc.cpp (the main program)
- Bitmap.h (the bitmap header file)
- License (the GNU public License)
- mwc_palette.bmp (the fixed colour palette for creating a mapset by bitmap)
How to use the MWC
Installation1. Unpack this in a folder where you want to create your mapset.
2. compile the mwc
3. start the mwc in a terminal
creating mapsAnswer the following questions
- Please enter the author of the mapset : (No spaces allowed !)
- Please enter the name of the mapset : (No spaces allowed !)
- Please enter the areasize (max 15) (x * maps) :
- Please enter the areasize (max 15) (y * maps) :
- Is this an outdoor mapset ? (1-yes / 2-no) :
- Please enter the heightlevel : (0 for groundlevel / 1-5 for sublevel / 11-15 for upper level) :
After answering the questions the mwc creates the filenames for the maps as follows
lowercase(Name) + "_" + "heightlevel_" + "number"
The heightlevel is replaced by "f_" | "e_" | ... | "" | ... "1_" | "2_" | ... | "5_"
The number is replaced by "0101" | "0201" | ... | "areasize_x01" | "0201" | "0202" | ... | "areasize_xareasize_y"
After this the mwc asks if you want to create the maps with or without a bitmap.
create maps with a bitmapIf yes you have to give the filename of the bitmap.
The bitmap has to be a 24bit BMP - file and its height and width has to be dividable by 24.
For example if you entered an areasize_x of 5 and an areasize_y of 3 the bitmap has to be a 120 x 45 pixel wide bitmap.
Normally I use the GIMP for this task (you can find the GIMP here
http://www.gimp.org)
To make the mwc understand the data from this bitmap you have to use the colours shown in the mwc_palette.bmp file that comes along with the mwc.tar package.

[/list]
If you've done everything right the maps are created automatically.
create maps with a given terrain or a textfileIf you don't use a bitmap for mapcreating
you are asked by the mwc for each map what you want to do :
test_0101 : (1-gras / 2-stone / 3-water / 4-earth / 5-forrest / 6-from file) :
Here you can choose from several terrains or you can choose a textfile to create the mapcontent.
If you choose
6-from file then you have to create a textfile before using the mwc.
The filename of this textfile must be the same like the mapfilename plus the .txt extension (test_0101.txt for the map test_0101)
An examplefile could be something like that :
gggggggggggggggggggggggg
gggggggggggggggggggggggg
gggggggggggggggggggggggg
ggggGGGGGGGGgggggggggggg
ggggggGGGGGGGggggggggggg
ggggggggggGGGGGggggggggg
gggggggggggggggggggggggg
gggggggggggggggggggggggg
gggggggggggggggggggggggg
gggggggggggggggggggggggg
ssssssgggggggggggggggggg
gggsssssssgggggggggggggg
gggggggssssssggggggggggg
ggggggggggssssssssgggggg
gggggggggggggggssssssggg
ggggggggggggggggggssssss
gggggggggggggggggggggggg
gggggggggggggggggggggggg
gggggggggggggggggggggggg
gggggggggggggggggggggggg
gggggggggggggggggggggggg
gggggggggggggggggggggggg
gggggggggggggggggggggggg
gggggggggggggggggggggggg
Each letter stands for a special floortile. Here are the letters for the floortiles
g -- normal gras
G -- thick gras
e -- earth
E -- earth dark
w -- water
W -- water deep
0 -- water deepest (a zero !!!)
s -- stone
S -- floor_nstone
f -- flagstone
F -- floor_flagm
r -- road
R -- road (dark)
b -- bricks (grey)
B -- bricks (dark)
If you've done everything right the maps are created automatically.
Each map created with the mwc is automatically connected to their neighbour-maps. Only the outer limits of your maparea have to be connected by hand to other mapsets using the daimonin editor.
If you used the mwc and want to make an overview with the tileset_stitcher remeber to create previews of your maps (again using the daimonin editor)
I hope thats all for the moment :roll:
Have fun ... (if you have comments about the mwc contact me here in the forum or pm me)
Cya all
Sammy (aka Tammy)
btw : I know that my coding style isn't the best :wink:
(edited 1 time)