There's something I don't get about maps out of sharpmap...

There's something I don't get about maps out of sharpmap...

Discuss maps & map creation - from concept to execution to the ever elusive release.

Moderator: Moderators

Post Reply
Doomweaver
Posts: 704
Joined: 30 Oct 2004, 14:14

There's something I don't get about maps out of sharpmap...

Post by Doomweaver »

How do I load a map that came out of sharpmap into Spring? :oops:
Gnomre
Imperial Winter Developer
Posts: 1754
Joined: 06 Feb 2005, 13:42

Post by Gnomre »

You can't in current versions, as there isn't a version of Sharpmap for the NMF yet...
Doomweaver
Posts: 704
Joined: 30 Oct 2004, 14:14

Post by Doomweaver »

oh, okay, so what program do I use?
Gnomre
Imperial Winter Developer
Posts: 1754
Joined: 06 Feb 2005, 13:42

Post by Gnomre »

Doomweaver
Posts: 704
Joined: 30 Oct 2004, 14:14

Post by Doomweaver »

Thanks, but how about the other material it mentions it needs?
User avatar
genblood
Posts: 862
Joined: 19 Jan 2005, 03:37

Post by genblood »

Doomweaver,

What do you mean by material? Do you mean the apps and
utils used to make a map?

I use 7-Zip to compress the 3 files into a .sd7

I use Paint Shop Pro to make the .bmps
I also, use MS paint too

You have a height map, a metal map, a texture and what I call
the Y bmp to change the surface speeds for units on the ground.
You combine all 4 .bmps with proper sytax and you get a
.smf and .smt files. You need to add a .smd to make it 3.

I just take the 3 files copy into a dir call maps and use 7-zip
to archive it to a .sd7 file ...

Take that file an put in into your maps folder. If you did it
right it will show as a map.
Doomweaver
Posts: 704
Joined: 30 Oct 2004, 14:14

Post by Doomweaver »

Is there a guide for this somewhere? I know there was one for the old mapconv, but some extensions need to be changed and now I am just confused.
What do you mean by material? Do you mean the apps and
utils used to make a map?
I don't know, it mentioned something on the download page about needing the previous material... ?
Gnomre
Imperial Winter Developer
Posts: 1754
Joined: 06 Feb 2005, 13:42

Post by Gnomre »

Download the old set of map tools, then download the new mapconv, and replace the old mapconv with the new one... the new one still uses the nvidia compression tools and stuff, but that's unchanged. Only the mapconv.exe program is new.

And just do a mapconv -h in the commandline to get help on the new commands and stuff...
User avatar
hrmph
Posts: 1054
Joined: 12 May 2005, 20:08

Post by hrmph »

After you download the newest mapconv, open up the mapper.bat file. It should tell you what command line parameters you need to change. Then open mapper.bat in notepad and enter your heightmap, metal map, and texturemap filenames into the correct places. Then run mapper.bat. You should end up with two files, a .smt and .smf Now you can put both of those files, along with the .smd for the map, into a maps folder, and either 7zip it, or normal zip it. After that, rename the file, if it is 7zip rename to .sd7 and if it is normal zip rename to .sdz. Now you can put the .sd7 or .sdz file into your taspring/maps directory and it will work.

I hope this cleared up any confusion. I think the 'previous material' that it mentioned was implying if you were converting a map from the old version to the new, you need the previous heightmap,metalmap, etc.
User avatar
Buggi
Posts: 875
Joined: 29 Apr 2005, 07:46

Post by Buggi »

I know quite a few people are waiting a new beta of SharpMap and I appoligize for the delay. I have lots going on right now and bills to pay, so I will thank everyone in advance for their patience. :-)

The next beta of SharpMap will not have the ability to choose different texture files for maps. This will ensure the software gets out the fastest it can.

-Buggi
Doomweaver
Posts: 704
Joined: 30 Oct 2004, 14:14

Post by Doomweaver »

Should I use 7zip?
Doomweaver
Posts: 704
Joined: 30 Oct 2004, 14:14

Post by Doomweaver »

The heights and colors arnen't aligned, so should I remove the -l ?
User avatar
hrmph
Posts: 1054
Joined: 12 May 2005, 20:08

Post by hrmph »

Yea use 7zip it has great compression. if it isn't aligned try removing/adding -i
Doomweaver
Posts: 704
Joined: 30 Oct 2004, 14:14

Post by Doomweaver »

Okay, I have everything working, except for one thing. Here's my heightmap:
http://img359.imageshack.us/my.php?image=height7em.jpg
I need to smooth it somehow so that it is more playable. See, The hills are right, but the small detail is a pain in the arse. Can anyone help with that? Is it possible with the GIMP?
User avatar
hrmph
Posts: 1054
Joined: 12 May 2005, 20:08

Post by hrmph »

There are a few ways to smooth out the heightmap. Photoshop has the smudge (little finger) tool, and the waterdrop tool. Both tools can be used to blur specific areas of the heightmap. Personally I think the smudge tool (finger) works best, moving it back and forth where you want it too smooth the heightmap. I haven't used GIMP in a long time but I remember the tools were almost an exact copy of Photoshop's, so I'm sure those tools are in there somewhere. Also if your trying to blur the whole heightmap you can try the blur, or gaussian blur filter; although I don't recommend this for a map like yours because it would probably remove a good amount of detail from the heightmap (It might be worth trying just to see if it makes a positive difference). Hope this helps.
User avatar
Weaver
Posts: 644
Joined: 07 Jul 2005, 21:15

Post by Weaver »

The GIMP has a blur brush and a several blur filters, Gaussian is handy as you can set very small amounts of blur, 0.5 is a good start.
Post Reply

Return to “Map Creation”