.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 3: The Awakening

Reply
 
Thread Tools Display Modes
  #1  
Old June 10th, 2008, 01:15 AM

Pangeas Pangeas is offline
Private
 
Join Date: Jun 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Pangeas is on a distinguished road
Default Need help with Map Editor

Hello Dominionists. I have been having a hard time editing maps. I am able to save my maps as .tga and .map files however I can't do anything in the map editor itself. The text of the mapedit.pdf says to: "...Load in the map you have drawn and click in all borders and terrains. After the map file has been saved you can edit it manually in a text editor if you want to add some extra map commands.."
I see big stacks of the wood flag poles for provinces but they are all bunched together in weird corners of my map and I can't move them around to identify the different provinces. They are just stuck/bunched up on the edges. I've looked around and can't find any how-to's for using the map editor itself. I've tried to 'click in the borders and terrains' but nothing is working. Does anyone know what this means? Does anyone know where I can get a list of GUI map editor commands or other how-to doc? The mapedit.pdf seems to only have text editor commands.

Any help you can provide to would be greatly appreciated.

Thanks
Pangeas
Reply With Quote
  #2  
Old June 10th, 2008, 01:45 AM
Ballbarian's Avatar

Ballbarian Ballbarian is offline
Colonel
 
Join Date: May 2005
Location: Kansas, USA
Posts: 1,538
Thanks: 289
Thanked 194 Times in 94 Posts
Ballbarian will become famous soon enough
Default Re: Need help with Map Editor

Pangeas,
Your problem is white pixels (RGB 255,255,255).
Dominions knows where provinces are by these white pixels. To use white in your maps, use something like RGB 254,255,255. To the human eye it will still look white.

Once you have all of the pure white switched to off white, you can draw a single white pixel wherever you would like a province. Then the flags will only appear on these locations. Province borders must be drawn manually. You define neighbors in the map editor and terrain for individual provinces. I think that once you have your pixel problem straightened out and play around in the editor you will start to see how it works.

If you still have specific problems, feel free to ask in the Scenarios, Maps and Mods forum forum.

Oh, and welcome to the community! We can always use more maps.
__________________
RanDom v2 - Map gen & Semirandomizer.
Province Editor - Custom province creation made easier.
God Editor - Custom pretender creation made easier.
Map Forge - Map editor
Reply With Quote
  #3  
Old June 10th, 2008, 03:11 AM

Pangeas Pangeas is offline
Private
 
Join Date: Jun 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Pangeas is on a distinguished road
Default Re: Need help with Map Editor

Thanks Ballbarian! I'll give it a shot and will post my successes and questions in the appropriate location
Reply With Quote
  #4  
Old June 10th, 2008, 08:25 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: Need help with Map Editor

Visual borders aren't necessary for province neighbours, but the map editor can guess the correct neighbours better if the provinces' borders are drawn in red.
Reply With Quote
  #5  
Old June 10th, 2008, 10:29 AM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: Need help with Map Editor

some added notes:
Make sure to make the white "dots" only ONE pixel big. Dont let your paint program put a nice round dot on the province. It needs to be the absolute smallest size.

Doing the borders in red to let the program setup initial neighbors can be handy. But dont sweat it if you hate the look. You can change the border colors to anything you want when you upload the map for others to play on (in fact, you can even delete them completely)
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #6  
Old June 13th, 2008, 05:48 PM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: Need help with Map Editor

Quote:
Endoperez said:
Visual borders aren't necessary for province neighbours, but the map editor can guess the correct neighbours better if the provinces' borders are drawn in red.
I call shenanigans. Red province borders might help a human to recognize them easier, but it would certainly surprise me to see that it had any effect on the map editor. It just looks for white dots. The neighbor finding algorithm seems to be VERY basic, from what I've seen in tests: Draw a circle around a province dot. Connect all other white dots inside the circle as neighbors. So there is a hell lot of possible improvement. I've got Python code to accurately find province neighbors from map files on non-wrapped maps, plain Delaunay triangulation. I was about to extend it to handle wrapped maps, but then other things took over and I didn't complete it. Is there interest in the Python code?
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
  #7  
Old June 13th, 2008, 06:05 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: Need help with Map Editor

Johan has said that the Dom3 internal tool for map editing does prefer red borders for more logical recognition of neighbors. Apparently it does not have to be completely red (255 0 0) but I didnt play with it to find the limits.

But the game-play program does not use borders at all.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #8  
Old June 13th, 2008, 06:08 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: Need help with Map Editor

What Gandalf said. I haven't tested it, but I've heard red is supposed to help.
Reply With Quote
  #9  
Old June 13th, 2008, 06:23 PM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: Need help with Map Editor

You live to learn. If it comes from JK then I guess that it's a reliable source. I'm still in favor of Delaunay, though.
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
  #10  
Old June 14th, 2008, 12:40 AM
Ballbarian's Avatar

Ballbarian Ballbarian is offline
Colonel
 
Join Date: May 2005
Location: Kansas, USA
Posts: 1,538
Thanks: 289
Thanked 194 Times in 94 Posts
Ballbarian will become famous soon enough
Default Re: Need help with Map Editor

I can confirm that this is the case and I have even emulated it in my own neighbor finding algorithm.
__________________
RanDom v2 - Map gen & Semirandomizer.
Province Editor - Custom province creation made easier.
God Editor - Custom pretender creation made easier.
Map Forge - Map editor
Reply With Quote
Reply

Bookmarks


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 11:38 AM.


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