.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Scenarios, Maps and Mods (http://forum.shrapnelgames.com/forumdisplay.php?f=146)
-   -   Need help with some basic map stuff. (http://forum.shrapnelgames.com/showthread.php?t=38495)

Atreides April 22nd, 2008 09:21 PM

Need help with some basic map stuff.
 
So in looking through the map making and tutorial sections on the boards, the one thing that I have not been able to figure out is how to draw borders for my map. I have an image, in the proper format and able to be loaded up by dominions 3, and when I load it, there are a couple hundred indy flags in the NW corner of the map. Where along the way can I draw borders and have the map editor read them? Thanks for the help everybody, sorry this is such a newb question, I've done plenty of modding, just virtually nothing with modding maps.
- Atreides

Ballbarian April 22nd, 2008 09:35 PM

Re: Need help with some basic map stuff.
 
Provinces in a map image are defined by a single white pixel - RGB(255,255,255). It sounds like your image may have other white in it. Change the non province pixels to an off white - RGB(255,255,250) or something along those lines. You will have to manually draw your own borders. Making those borders pure red will help dom3 guess neighbors, but it will not be perfect. I prefer to just remove all neighbors and then manually set them from within the dom3 editor.

Atreides April 22nd, 2008 09:40 PM

Re: Need help with some basic map stuff.
 
I was definitely intending to draw my own borders because this is a scenario map, but that explanation solves my problem perfectly. So to remove the current province indicators I should just change the color of certain areas, no problem, does that mean for each province I want to insert, I should just put a little white dot somewhere within the boundaries i intend to draw and the game will auto pick up on it? Thanks for the help Ballbarian.

Ballbarian April 22nd, 2008 10:23 PM

Re: Need help with some basic map stuff.
 
Yes, a little white dot. Just make sure that the dot is only 1 pixel in size (1x1). Be wary of drawing tools that are circles instead of squares or else you will likely find additional pixels were inserted. If the program you are using supports layers, it would be worth it to draw your province pixels and borders on separate layers from the terrain, but of course this is not required.

(Your welcome! http://forum.shrapnelgames.com/images/smilies/happy.gif )

Atreides April 22nd, 2008 10:46 PM

Re: Need help with some basic map stuff.
 
Ah, I see I'm going to have a lot to learn, obviously the layered idea makes much more sense. Hmm... time to explore the world of map modding.


All times are GMT -4. The time now is 05:52 AM.

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