Map: (insert name here)

Map: (insert name here)

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

Moderator: Moderators

User avatar
Sucky_Lord
Posts: 531
Joined: 22 Aug 2008, 16:29

Map: (insert name here)

Post by Sucky_Lord »

Im designing a new map and need some help. What size should the map be, i want it to be taller than dsd, and the slightly wider.

Every time i have a new question ill post it here :)
User avatar
SirArtturi
Posts: 1164
Joined: 23 Jan 2008, 18:29

Re: Map: (insert name here)

Post by SirArtturi »

Sucky_Lord wrote:Im designing a new map and need some help. What size should the map be, i want it to be taller than dsd, and the slightly wider.

Every time i have a new question ill post it here :)
:shock:
Sucky_Lord wrote:What size should the map be, i want it to be taller than dsd, and the slightly wider.
Ah, I know the answer. It's quite simple math, please something harder next time: 12x22
User avatar
Sucky_Lord
Posts: 531
Joined: 22 Aug 2008, 16:29

Re: Map: (insert name here)

Post by Sucky_Lord »

How is it measured though? As in how many pixels tall?
User avatar
SirArtturi
Posts: 1164
Joined: 23 Jan 2008, 18:29

Re: Map: (insert name here)

Post by SirArtturi »

Okay, you should state your questions a bit better mister.
Anyway, read the tutorials!
And I use this because its hard for me to memorialize numbers:
http://springrts.com/wiki/MapSizes
User avatar
Sucky_Lord
Posts: 531
Joined: 22 Aug 2008, 16:29

Re: Map: (insert name here)

Post by Sucky_Lord »

I understand it now, thanks
User avatar
Sucky_Lord
Posts: 531
Joined: 22 Aug 2008, 16:29

Re: Map: (insert name here)

Post by Sucky_Lord »

How many pixels long does a slope need to be if the top is white and the bottom is black for a vehicle to get down it?
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Map: (insert name here)

Post by Beherith »

Seriously?

(hmax-hmin)/(8*tan(27*pi/180))=N

or more simply:

(hmax-hmin)/4.07 =N

where N is the number of hmap pixels.

But reading the topic 5 posts down from your post also helps :)
http://springrts.com/phpbb/viewtopic.php?f=13&t=22251
User avatar
Sucky_Lord
Posts: 531
Joined: 22 Aug 2008, 16:29

Re: Map: (insert name here)

Post by Sucky_Lord »

Yep after i asked it Llamadeus explained about setting heights for black and white on the height map, my plan is to have a small range between max and min height so the whole map is accessible for vehicles
User avatar
SirArtturi
Posts: 1164
Joined: 23 Jan 2008, 18:29

Re: Map: (insert name here)

Post by SirArtturi »

Sucky_Lord wrote:Yep after i asked it Llamadeus explained about setting heights for black and white on the height map, my plan is to have a small range between max and min height so the whole map is accessible for vehicles
Sounds intriguing but will look bad...
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Re: Map: (insert name here)

Post by SinbadEV »

WARNING: THE FOLLOWING INFORMATION MAY NOT BE ACCURATE

Actually I think the math should be really simple. How many "Texture pixels" of height is 1 unit of heightmap height units... it's either 1 to 1, if that's the scale then it's
Rise (Delta Vertical Change) over run (distance changed in map pixels)

so: for a 0.5 (45 degrees) slope tolerance you would need-

100 Height for 100 pixels of distance... (so if your min height was 0 and your max height was 100 you would need 100 or more pixels distance for a unit with a slope tolerance of 0.5 to be able to climb it.)
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Map: (insert name here)

Post by Beherith »

SinbadEV wrote:WARNING: THE FOLLOWING INFORMATION MAY NOT BE ACCURATE
Please disregard Sinbad's post, it literally did not contain a single piece of truth or relevant info.

You wanted the equation, you got it in my previous post.
User avatar
Wombat
Posts: 3379
Joined: 15 Dec 2008, 15:53

Re: Map: (insert name here)

Post by Wombat »

Sucky_Lord wrote:i want it to be taller than dsd, and the slightly wider.
lol
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Re: Map: (insert name here)

Post by SinbadEV »

Beherith wrote:
SinbadEV wrote:WARNING: THE FOLLOWING INFORMATION MAY NOT BE ACCURATE
Please disregard Sinbad's post, it literally did not contain a single piece of truth or relevant info.

You wanted the equation, you got it in my previous post.
I currently will work on the assumption that you are right... where does one put the desired slope tolerance in your equations?
User avatar
FireStorm_
Posts: 666
Joined: 19 Aug 2009, 16:09

Re: Map: (insert name here)

Post by FireStorm_ »

SirArtturi wrote:will look bad...
doesn't have to be
for instance:

http://www.cnsm.csulb.edu/departments/g ... Dec05S.jpg

you seem less patient that usual today, :-)
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Map: (insert name here)

Post by Beherith »

Beherith wrote: (hmax-hmin)/(8*tan(27*pi/180))=N
I used 27 here as the amount of degrees BA vecs can climb.
It is defined as slopetolerance in TDF files.
Slopetolerance * 1.5 = amount of degrees a unit can climb
So to put any desired desired spring tolerance into this:

(hmax-hmin)/(8*tan(tolerance*1.5*pi/180))=N

But I still recommend either of the methods mentioned in the other thread. Both are free, simple and work in real time while you edit.
User avatar
SirArtturi
Posts: 1164
Joined: 23 Jan 2008, 18:29

Re: Map: (insert name here)

Post by SirArtturi »

FireStorm_ wrote: you seem less patient that usual today, :-)
Must be the yesterdays fin - usa hockey match fucked up my head...
User avatar
KaiserJ
Community Representative
Posts: 3113
Joined: 08 Sep 2008, 22:59

Re: Map: (insert name here)

Post by KaiserJ »

for me, i find the easiest way to measure my slopes (because i fear numbers) is to draw my heightmap in a graphics program, and then load the edited heightmap into springmapedit... enable slope view, and bing bang bong there you go!

beyond that, you can also adjust the maxheight in SME, in case your map is almost but not quite perfect ;)

and don't worry artturi, canadas got finlands back!
User avatar
Sucky_Lord
Posts: 531
Joined: 22 Aug 2008, 16:29

Re: Map: (insert name here)

Post by Sucky_Lord »

Thanks for the help people, its coming along nicely. Im hoping by then end of the weekend i'll have the draft height map out and ill let you all have a sneak preview.. ooh how exciting ;D
User avatar
Sucky_Lord
Posts: 531
Joined: 22 Aug 2008, 16:29

Re: Map: (insert name here)

Post by Sucky_Lord »

Ok i have saved the heightmap as Height.bmp (its 1/8+1 size of the real map) and im trying to import it into L3DT but i get an error message:

CMapGroup::LoadMapFile2 error
- error loading file

L3DTio_BigBitmap::ExtLoadMapFile error:
- unsupported bit depth (32) for map type (20)

CExtDLL::LoadMapFile error
- call to DLL function 'LoadMapFile' failed

CMapGroup::LoadMapFile2 error
- error loading file

Can anyone help?
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Map: (insert name here)

Post by Beherith »

Sucky_Lord wrote: L3DTio_BigBitmap::ExtLoadMapFile error:
- unsupported bit depth (32) for map type (20)
Save as 24bit bmp.
Post Reply

Return to “Map Creation”