Page 1 of 2

Help with roads

Posted: Mon Dec 24, 2012 2:25 am
by budd
So i trying to make a map. what ever i try the roads just don't turn out. I started with paintnet and now i'm trying gimp2. I start by opening the template in the manual folder, adding a layer that is the map i want to draw and then adding a blank layer to draw on. I use the dropper to sample the color from the coh map palette and use the pencil to draw the roads. I've tried various sizes and tips for the roads. I delete the map that i'm copying and flatten the other 2 layers and save as a jpg. The map parses just fine, i guess but the roads are always messed up, straight lines are curled, sections are missing and it ends up looking like an ink blot. I'm trying to do a Bastogne map so roads are important. Any advice, tips, tricks basically anything that you think will help. This is my first shot at doing a map, i'm a bit frustrated having spent the last 8 hours on just the roads. Gotta start somewhere. Thx for any help you can provide.

RE: Help with roads

Posted: Mon Dec 24, 2012 2:42 am
by Jamm
The roads will not ususually be straight in the 3d map
And the road flows into the center of hexes so sometimes it looks zig zaggy.
If this is what you mean.
Maybe post a pic

RE: Help with roads

Posted: Mon Dec 24, 2012 2:44 am
by junk2drive
Did you find the info on the wiki page? Main thing is to have antialias off so that the line that you draw are jagged. Jamm has made a few maps so hopefully he will help you.

Edit: looks like he posted first.

RE: Help with roads

Posted: Mon Dec 24, 2012 3:03 am
by budd
i deleted everything, i'll throw some roads down and snap a shot. Usually the roads are missing alot of sections and some look like interchanges even though the lines are mostly straight. I read thru the manual and the wiki several times. I saw the jagged line remark, i can't find any setting in paint.net or gimp that refers to antialias but i'll check again. so is the way i set it up and save it fine? I start with a hex map of Bastogne and then add the hex template from the manual folder as a layer and then i add a blank layer to draw on. Draw in the roads and then delete the bastogne map and flatten[i've also merged the 2 layers]the 2 layers, save as a jpg with the _input on the end and parse it into the editor. I'll go throw something together and screenshot it.

RE: Help with roads

Posted: Mon Dec 24, 2012 3:12 am
by junk2drive
Top middle dropdown


Image

RE: Help with roads

Posted: Mon Dec 24, 2012 3:31 am
by budd
thx junk maybe i'll go back to paint. This was done in gimp2, antialias was not checked. I threw it together fast, it looks close to the other input files in the map folder no idea why my roads aren't even close.

Image

RE: Help with roads

Posted: Mon Dec 24, 2012 9:25 am
by Jamm
OK, yeah I've had that happen to my roads before.
Once you've parsed the map, you'll just have to edit those roads in the editor.
With map tiles just clear the funky road tiles, redraw the terrain and then redraw them in the editor.
You should be able to get what you're looking for that way.
Bastogne map looks pretty cool.
Have fun

RE: Help with roads

Posted: Mon Dec 24, 2012 1:26 pm
by ericbabe
I tried to overlay the hex template over your input map. It seems that your road lines sometimes overlap hex edges and vertices. This will cause the sorts of problems you are seeing. I've circled a few of the problem-seeming areas in blue.

Image

RE: Help with roads

Posted: Mon Dec 24, 2012 1:33 pm
by ericbabe
Try to make your roads avoid the vertices and running along edges. The engine works by creating a road between any hexes in which road color appears on both sides of a hex edge. So if an east-west road runs along a hex edge it will create a north-south road between the hexes sharing that edge, which is not what one intends with an east-west road. Try to make your roads look like the roads in example A below.

Example B contain roads that are logically equivalent to example C when parsed by the engine.

Also, be sure to turn off the hex grid before saving the input file for parsing. The grid might cause all sorts of problems.

Image

RE: Help with roads

Posted: Mon Dec 24, 2012 2:55 pm
by budd
that should help, thx guys. any requirement on the thickness of the lines. Just using the pencil, [which in paint.net has no size adjustment]is fine for roads? I looked at some of the games input map files and was wondering if there is limit per hex, like putting houses in, is the best way alot of dots in one hex or is there a limit. Tree's also, what happens if i'm doing a forest, can i color the whole hex or do i put a bunch of dots in a hex to make a forest and again is there a limit. What does changing the brush size do, give me more tree's. Thanks for your patience i've never tried to build a map before, like you couldn't tell[:)]. hope you don't mind the questions. The visual examples really helped.

RE: Help with roads

Posted: Mon Dec 24, 2012 3:43 pm
by Jamm
Size doesn't matter , snicker,...
More dots in a hex do not equal more trees, houses etc.
But you can have more than one type of terrain in a single hex, as long as you have some color of appropriate terrain
eg. brown hill hex with trees and a road.

RE: Help with roads

Posted: Mon Dec 24, 2012 6:33 pm
by ericbabe
The minimum amount of colored pixels to trigger terrain is very small. I can't remember what it is, but maybe something like 10 pixels, so as long as you get one green dot in the hex it'll be forest, or a road that's 5 pixels wide to trigger a road.

RE: Help with roads

Posted: Mon Dec 24, 2012 7:28 pm
by budd
did something change with the update? I cant get any terrain to show after the _input map parsed, nothing, no buildings, no roads, no tree's. here's some shots of what i'm doing. don't know why nothing shows up. top shot is my setup, reference map, then hex template, and a top layer to draw on. I have antialiasing off. Nothing shows up, i'm not doing anything different than yesterday? any idea's

Image

RE: Help with roads

Posted: Mon Dec 24, 2012 7:44 pm
by budd
well got stuff to show on map, hmmm only thing i did differently was name the file rather than leave it untitled_input. No idea what else i did different, something i sure.Well now i'll take my time doing it.

Image

RE: Help with roads

Posted: Mon Dec 24, 2012 7:46 pm
by junk2drive
I make the obvious mistakes. Saving to the wrong folder, saving with the wrong name, forget to put new files in place of old ones, forget to point to the new files if the name has changed. Check the time stamps on your files and make sure they are the newest.

RE: Help with roads

Posted: Mon Dec 24, 2012 10:17 pm
by Ratzki
I have had Paint.net change the colours slightly when it converted the file to a .jpg file. I don't know why and the colour change was only noticable when checked inside Paint.net program. Alot of times it will fix itself if I reflatten and safe again as a .jpg.

RE: Help with roads

Posted: Tue Dec 25, 2012 8:43 pm
by ericbabe
Make sure you're using the editor with 3D graphics and not with the paper maps. I think there might be some graphics things that don't update properly when using the paper maps; I saw some weirdness when using this mode in the editor the other day. I'll try to fix this for the next big update.

RE: Help with roads

Posted: Tue Dec 25, 2012 10:51 pm
by budd
havent really got that far yet.is there more info on the editor? nothing in the wiki that i saw. The pdf in some parts are really hard to read and its sideways in some parts. Is there a better source to aquire the pdf.

Image

RE: Help with roads

Posted: Wed Dec 26, 2012 2:58 pm
by ericbabe
I didn't know some pages in the PDF are sideways. I can't remember who put this together. There isn't really more information on the editor than this at the moment. If there is continued interest in this, I'll update the wiki as time permits. Feel free to post questions here and I'll try to answer them as best I can.

RE: Help with roads

Posted: Wed Dec 26, 2012 5:03 pm
by budd
thx will do. Well i can flip the page but doesn't make it easier to read. The info doesn't seem very in depth. I'm not that far and I'll be using paint trying to get the map done for awhile, if i get far enough i'll ask away. thx.