Grid line width
Moderators: dorpond, trevor, Azhrei
Forum rules
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior.
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior.
-
- Kobold
- Posts: 2
- Joined: Tue Feb 16, 2016 8:23 pm
Grid line width
I am trying to make maps using downloaded images, however the maps I have downloaded have one extra pixel in between each grid square as a line. If it was two pixels, I could just increase the grid size, but no matter what I try I cant get all the squares to match up perfectly.
Is there a way to make the grid lines one pixel thick? Or is there another way to solve this problem?
Is there a way to make the grid lines one pixel thick? Or is there another way to solve this problem?
- JamzTheMan
- Great Wyrm
- Posts: 1872
- Joined: Mon May 10, 2010 12:59 pm
- Location: Chicagoland
- Contact:
Re: Grid line width
So a 10x10 grid with 50px squares is 510x510 pixels?
You could load it up in Photoshop/Gimp (or really any cheap photo editor that shows pixel size) and resize the image to 500x500 (or what ever the grid size would be). It's always better to change/stretch the image to the grid and keep the grid to 50x50 or 100x100 (or what ever you choose to use) vs changing MT's grid to 53x53 or some strange number like 71x71. You find a lot of artwork is either 50x50 or 100x100 so you would have to resize objects as on abnormal grid sizes.
If you are on MT 1.4, you can try the new Resize Map option too. Right-click on the image/stamp in MT, select a number of cells/grids (say 10x10 area) and then input what you selected. (Zoom in so you can get somewhat exact).
It should the auto adjust it for you. It'll average out the pixels the best it can. If you find what you selected was like 501x502 or something, you can change that to 500x500 if you sure you are dealing with even grid sizes as it can be hard to select the exact center of a grid line sometimes. It should get you pretty close.
It also works well on maps that have that stupid half cell/grid around the map by changing the offset of the image so the grid intersection on the map aligns with MT's grid.
You could load it up in Photoshop/Gimp (or really any cheap photo editor that shows pixel size) and resize the image to 500x500 (or what ever the grid size would be). It's always better to change/stretch the image to the grid and keep the grid to 50x50 or 100x100 (or what ever you choose to use) vs changing MT's grid to 53x53 or some strange number like 71x71. You find a lot of artwork is either 50x50 or 100x100 so you would have to resize objects as on abnormal grid sizes.
If you are on MT 1.4, you can try the new Resize Map option too. Right-click on the image/stamp in MT, select a number of cells/grids (say 10x10 area) and then input what you selected. (Zoom in so you can get somewhat exact).
It should the auto adjust it for you. It'll average out the pixels the best it can. If you find what you selected was like 501x502 or something, you can change that to 500x500 if you sure you are dealing with even grid sizes as it can be hard to select the exact center of a grid line sometimes. It should get you pretty close.
It also works well on maps that have that stupid half cell/grid around the map by changing the offset of the image so the grid intersection on the map aligns with MT's grid.
-Jamz
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
Custom TokenTool 2.0 Fork: tokentool.nerps.net
More information here: MapTool Nerps! Fork
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
Custom TokenTool 2.0 Fork: tokentool.nerps.net
More information here: MapTool Nerps! Fork
Re: Grid line width
I'm not sure, but he may be talking about how MT treats images with an odd pixel dimension and with a rotated image. It's like 1/2 a pixel off because of how it centers it.
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools
- JamzTheMan
- Great Wyrm
- Posts: 1872
- Joined: Mon May 10, 2010 12:59 pm
- Location: Chicagoland
- Contact:
Re: Grid line width
Possibly. Screenshots always help! Otherwise we're all guessing.
-Jamz
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
Custom TokenTool 2.0 Fork: tokentool.nerps.net
More information here: MapTool Nerps! Fork
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
Custom TokenTool 2.0 Fork: tokentool.nerps.net
More information here: MapTool Nerps! Fork
- Full Bleed
- Demigod
- Posts: 4736
- Joined: Sun Feb 25, 2007 11:53 am
- Location: FL
Re: Grid line width
This.JamzTheMan wrote:You could load it up in Photoshop/Gimp (or really any cheap photo editor that shows pixel size) and resize the image to 500x500 (or what ever the grid size would be). It's always better to change/stretch the image to the grid and keep the grid to 50x50 or 100x100 (or what ever you choose to use) vs changing MT's grid
Rather than monkeying around in MT, this will get the best results.
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."
-
- Kobold
- Posts: 2
- Joined: Tue Feb 16, 2016 8:23 pm
Re: Grid line width
Thanks for the help, I guess I have some image editing to do
- JamzTheMan
- Great Wyrm
- Posts: 1872
- Joined: Mon May 10, 2010 12:59 pm
- Location: Chicagoland
- Contact:
Re: Grid line width
Also, I wouldn't worry to much about getting it "perfect". Close it good enought generally. If the map has grid lines, turn off MT's gridlines so you won't see doubles. As long as the majority of the token sits in the the maps grid, it's good enough to move and act. You probably won't even notice during game play.
-Jamz
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
Custom TokenTool 2.0 Fork: tokentool.nerps.net
More information here: MapTool Nerps! Fork
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
Custom TokenTool 2.0 Fork: tokentool.nerps.net
More information here: MapTool Nerps! Fork
- Full Bleed
- Demigod
- Posts: 4736
- Joined: Sun Feb 25, 2007 11:53 am
- Location: FL
Re: Grid line width
Feel free to upload an image for one of us to modify if you want to see what a sample edit would look like.SebastianW wrote:Thanks for the help, I guess I have some image editing to do
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."
-
- Kobold
- Posts: 10
- Joined: Fri Jan 29, 2016 4:23 pm
Re: Grid line width
MapScaleTool has been a HUGE help to me with fixing that annoying problem.
http://www.davebeauvais.com/mapscaletool/
http://www.davebeauvais.com/mapscaletool/
- JamzTheMan
- Great Wyrm
- Posts: 1872
- Joined: Mon May 10, 2010 12:59 pm
- Location: Chicagoland
- Contact:
Re: Grid line width
And FYI: This is also basically what "Auto Resize..." does for you in MT 1.4. I always hated having to do all this outside of MT which is why I added into MT.mistamichal wrote:MapScaleTool has been a HUGE help to me with fixing that annoying problem.
http://www.davebeauvais.com/mapscaletool/
-Jamz
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
Custom TokenTool 2.0 Fork: tokentool.nerps.net
More information here: MapTool Nerps! Fork
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
Custom TokenTool 2.0 Fork: tokentool.nerps.net
More information here: MapTool Nerps! Fork
Re: Grid line width
Thanks for reminding me. Works like a charm.JamzTheMan wrote:And FYI: This is also basically what "Auto Resize..." does for you in MT 1.4. I always hated having to do all this outside of MT which is why I added into MT.mistamichal wrote:MapScaleTool has been a HUGE help to me with fixing that annoying problem.
http://www.davebeauvais.com/mapscaletool/
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools
-
- Kobold
- Posts: 10
- Joined: Fri Jan 29, 2016 4:23 pm
Re: Grid line width
Nice! I need to update to 1.4!JamzTheMan wrote:
And FYI: This is also basically what "Auto Resize..." does for you in MT 1.4. I always hated having to do all this outside of MT which is why I added into MT.
- Full Bleed
- Demigod
- Posts: 4736
- Joined: Sun Feb 25, 2007 11:53 am
- Location: FL
Re: Grid line width
How do, and it what cases, do you use this in MT?JamzTheMan wrote:And FYI: This is also basically what "Auto Resize..." does for you in MT 1.4. I always hated having to do all this outside of MT which is why I added into MT.
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."
Re: Grid line width
I just posted a video online: https://www.youtube.com/watch?v=GCV7FmXlmYE
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools
- JamzTheMan
- Great Wyrm
- Posts: 1872
- Joined: Mon May 10, 2010 12:59 pm
- Location: Chicagoland
- Contact:
Re: Grid line width
As you probably already guessed by the video, but basically for any map with grid lines baked in that don't match your current MapTool grid spacing.Full Bleed wrote:How do, and it what cases, do you use this in MT?JamzTheMan wrote:And FYI: This is also basically what "Auto Resize..." does for you in MT 1.4. I always hated having to do all this outside of MT which is why I added into MT.
So even if you have a 200x200 grid map and want to use it on a 50x50 pixel MT grid, you can use it to shrink the map as well as expand it.
-Jamz
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
Custom TokenTool 2.0 Fork: tokentool.nerps.net
More information here: MapTool Nerps! Fork
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
Custom TokenTool 2.0 Fork: tokentool.nerps.net
More information here: MapTool Nerps! Fork