|
|
|
 |

June 10th, 2008, 03:11 AM
|
Private
|
|
Join Date: Jun 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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 
|

June 10th, 2008, 08:25 AM
|
 |
National Security Advisor
|
|
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
|
|
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.
|

June 10th, 2008, 10:29 AM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
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!)
|

June 13th, 2008, 05:48 PM
|
 |
General
|
|
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
|
|
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?
|

June 13th, 2008, 06:05 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
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!)
|

June 13th, 2008, 06:08 PM
|
 |
National Security Advisor
|
|
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
|
|
Re: Need help with Map Editor
What Gandalf said. I haven't tested it, but I've heard red is supposed to help.
|

June 13th, 2008, 06:23 PM
|
 |
General
|
|
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
|
|
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.
|

June 14th, 2008, 12:40 AM
|
 |
Colonel
|
|
Join Date: May 2005
Location: Kansas, USA
Posts: 1,538
Thanks: 289
Thanked 194 Times in 94 Posts
|
|
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. 
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|