.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars > Scenarios, Maps & Mods

Reply
 
Thread Tools Display Modes
  #1  
Old August 30th, 2005, 07:45 AM
bruno_bac's Avatar

bruno_bac bruno_bac is offline
Private
 
Join Date: Aug 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
bruno_bac is on a distinguished road
Default Yes, this is a silly question

How I make a map? I savad a Photoshop hand made map as a targa 24bit format, then opened with the map editor, but it shows the region white banners everywhere... where I don't want them. I don't manage to move them, I can't do anything at all. Reading the help PDF, it seems all so easy, seems you can just do whatever you need... hardly any attention is given to the making of the map, so I think it's REALLY easy and there's a gross misunderstanding on my part.

Someone is so kind to enlighten me?
Thanks in advance...

Bruno.
Reply With Quote
  #2  
Old August 30th, 2005, 12:05 PM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: Yes, this is a silly question

Every pure white pixel (255,255,255) is considered a province. The players might think of it as only a center of a province, but for the game, everything else is just fluff. If you happen to have lots of white pixels around, every one of them in considered a province. You have to change them to merely look like white.

Photoshop, of course, has tools for choosing all the white pixels at once. It can be used to select areas of similar color, but if you just set the tolerance to zero and main color to white, it will select all pure white pixels and nothing more. Then change the color (255, 255, 255) to (*254*, 255, 255) or so, and you will have no capitals. Then you have to manually re-enter them. The map editor of DomII can't add these pixels, it just helps you to connect neighbours and choose terrains when the map is ready.
Reply With Quote
  #3  
Old August 31st, 2005, 07:32 AM
bruno_bac's Avatar

bruno_bac bruno_bac is offline
Private
 
Join Date: Aug 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
bruno_bac is on a distinguished road
Default Re: Yes, this is a silly question

Ok now I will try... by the way, this was NOT in the manual... was it?
Thank you for your help!
Reply With Quote
  #4  
Old August 31st, 2005, 12:29 PM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: Yes, this is a silly question

Probably not. And I couldn't find it from the the mapedit.pdf located in \Dominions II\doc\ . It does contain much information for how to make some provinces special, adding sites or special defenders, spesifing independent type for a province, spesifying start locations etc. If you were to make that kind of version of your map available, you would better also include a version with no specials except start locations, so that it is more accessible in multiplayer.
Reply With Quote
  #5  
Old September 1st, 2005, 01:44 PM
bruno_bac's Avatar

bruno_bac bruno_bac is offline
Private
 
Join Date: Aug 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
bruno_bac is on a distinguished road
Default Re: Yes, this is a silly question

I would really make the map available (where to post it?) if I can finish it... Right now I found a white 2 pixel spot, meaning a duplicate province, when editing region borders and data. It messed all my work. Do you Photoshop-using guys know of a system to be certain (when you click with the pencil) to leave ONLY one white pixel on the map?
Thanks for answering, everyone.
Bruno
Reply With Quote
  #6  
Old September 1st, 2005, 02:06 PM

Kaljamaha Kaljamaha is offline
Private
 
Join Date: Nov 2003
Location: Helsinki, Finland
Posts: 44
Thanks: 0
Thanked 1 Time in 1 Post
Kaljamaha is on a distinguished road
Default Re: Yes, this is a silly question

Quote:
bruno_bac said:
I would really make the map available (where to post it?) if I can finish it...
You can post it in this forum, just attach it to your post. The limit is 30 Mb, if I remember correctly. Any reasonable sized (compressed) targa should fit in that, and the space the map file takes up is negligible.

Quote:
Right now I found a white 2 pixel spot, meaning a duplicate province, when editing region borders and data. It messed all my work. Do you Photoshop-using guys know of a system to be certain (when you click with the pencil) to leave ONLY one white pixel on the map?

Zoom in real close and check? What I did was have one layer where I would place black circles to mark provinces, sort of slap them in where I thought appropriate. Then, on another layer on top of that, place the actual provinces, that is, the 255,255,255 pixels. The dark background helps to see the white dot, and also spot any anomalies. When you're happy, just turn the layer with the black circles invisible.

Also, at least in GIMP (and therefore, I would assume also in Photoshop) there's a tool that counts the pixels of each color on the current layer. Use it to see if the number matches your province count.


K.

Edit: typos
__________________
Mental health is an extremely serious issue, which, if not detected and treated early on, will drive you mad.
Reply With Quote
  #7  
Old September 2nd, 2005, 02:07 PM
bruno_bac's Avatar

bruno_bac bruno_bac is offline
Private
 
Join Date: Aug 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
bruno_bac is on a distinguished road
Default Re: Yes, this is a silly question

Thanks, the idea of the black spots is really useful (I will learn to use layers, too).

Let's see if I can do it....
Reply With Quote
  #8  
Old September 3rd, 2005, 06:37 AM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: Yes, this is a silly question

You could also make a new brush that makes 1 white pixel with 4 pixels of another color (I think dark would work better than light). This would make the capital pixels more visible even without extra layers, and while playing. The Faerun maps' capitals are done this way, IIRC.
Reply With Quote
  #9  
Old September 3rd, 2005, 05:46 PM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default Re: Yes, this is a silly question

The Faerun map's capitals are done by painting a star around the white spot (a solid ring of full 0, 0, 0 black and then adding single pixels at the cardinal compass points). Did those by hand and then copy-pasted an entire 5x5 block into the palces where I wanted them.

Edi
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 01:11 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.