Automating the map creation process: Difference between revisions
 Wording, formating, '''added links''' - no longer a [https://www.warlight.net/wiki/Special:DeadendPages dead-end page]  | 
				 update links to my stuff  | 
				||
| Line 9: | Line 9: | ||
Inkcape extension plugin for automatically assigning selected Paths ID is available here: https://dl.dropbox.com/u/89026778/WLExtension.zip    | Inkcape extension plugin for automatically assigning selected Paths ID is available here: https://dl.dropbox.com/u/89026778/WLExtension.zip    | ||
Other tool that makes every path have a [[Territories|territory]] ID automatically can be found here:   | Other tool that makes every path have a [[Territories|territory]] ID automatically can be found here: https://www.dropbox.com/s/0agz210n839tvdq/warlight_territories.exe?dl=1. It only works on Inkscape-made maps.  | ||
== Centerpoints ==  | == Centerpoints ==  | ||
A tool that can create centerpoints is available on [[Forum|forums]]: http://warlight.net/Forum/Thread.aspx?ThreadID=2452. It calculates the centroid of every territory-polygon and places the centerpoints. It does not work correctly on multipart territories. Source code (in Ruby) is available here: https://github.com/MatmaRex/Warlight-Tools  | A tool that can create centerpoints is available on [[Forum|forums]]: http://warlight.net/Forum/Thread.aspx?ThreadID=2452. It calculates the centroid of every territory-polygon and places the centerpoints. It does not work correctly on multipart territories.  | ||
* Source code (in Ruby) is available here: https://github.com/MatmaRex/Warlight-Tools  | |||
* Executable download: https://www.dropbox.com/s/aznaxp2ax73wtiq/centerpoints_uploader.exe?dl=1  | |||
== Connections ==  | == Connections ==  | ||
A tool that can create connections is available on forums: http://warlight.net/Forum/Thread.aspx?ThreadID=2668. It checks every pair of territories and every pair of their points - and considers them neighbors if the distance between any pair of points is less than 5 pixels. It does not work correctly on multipart territories, can take a long time to finish (up to a few hours on large maps), and may be overzealous, connecting territories that don't actually touch (but are pretty close). Source code (in Ruby) is available here: https://github.com/MatmaRex/Warlight-Tools  | A tool that can create connections is available on forums: http://warlight.net/Forum/Thread.aspx?ThreadID=2668. It checks every pair of territories and every pair of their points - and considers them neighbors if the distance between any pair of points is less than 5 pixels. It does not work correctly on multipart territories, can take a long time to finish (up to a few hours on large maps), and may be overzealous, connecting territories that don't actually touch (but are pretty close).  | ||
* Source code (in Ruby) is available here: https://github.com/MatmaRex/Warlight-Tools  | |||
* Executable download: https://www.dropbox.com/s/4scz8dgqeb9u350/connection_uploader.exe?dl=1  | |||
[[Category:Map Making]]  | [[Category:Map Making]]  | ||
Revision as of 16:29, 30 December 2016
There are several tools available that allow you to quicken up the map creation process.
Vision creation
You could just start with a map in SVG format. These can be most easily found on Wikimedia Commons or a Wikipedia in your language.
Various raster (ie., not SVG) maps are viable for conversion to SVG format - two most used tools for this are potrace (bundled with Inkscape, available as Path -> Trace Bitmap.. command) and AutoTrace (available for online use here). The clearer the map, the better results you can get - single-color borders on single-color background, or differently colored territories, work best.
IDs
Inkcape extension plugin for automatically assigning selected Paths ID is available here: https://dl.dropbox.com/u/89026778/WLExtension.zip
Other tool that makes every path have a territory ID automatically can be found here: https://www.dropbox.com/s/0agz210n839tvdq/warlight_territories.exe?dl=1. It only works on Inkscape-made maps.
Centerpoints
A tool that can create centerpoints is available on forums: http://warlight.net/Forum/Thread.aspx?ThreadID=2452. It calculates the centroid of every territory-polygon and places the centerpoints. It does not work correctly on multipart territories.
- Source code (in Ruby) is available here: https://github.com/MatmaRex/Warlight-Tools
 - Executable download: https://www.dropbox.com/s/aznaxp2ax73wtiq/centerpoints_uploader.exe?dl=1
 
Connections
A tool that can create connections is available on forums: http://warlight.net/Forum/Thread.aspx?ThreadID=2668. It checks every pair of territories and every pair of their points - and considers them neighbors if the distance between any pair of points is less than 5 pixels. It does not work correctly on multipart territories, can take a long time to finish (up to a few hours on large maps), and may be overzealous, connecting territories that don't actually touch (but are pretty close).
- Source code (in Ruby) is available here: https://github.com/MatmaRex/Warlight-Tools
 - Executable download: https://www.dropbox.com/s/4scz8dgqeb9u350/connection_uploader.exe?dl=1