################################################################################
################################################################################
--- OVERVIEW -------------------------------------------------------------------
SotAMapper is a tool for SotA which uses a list of "items of interest" in a .csv file and renders them graphically along with the current player position (which is obtained from the SotA log files).
It is necessary to manually use the /loc command in game once each time the player enters a map for which there is a map data .csv file to sync.
Initially the set of map data files is pretty limited. The intent is that over time people will create maps and contribute them (send them to coder1024@gmail.com) and they will be included in a future release. So to see this in action without creating any additional data, you'll need to go into a map for which there is a map data file and type /loc while running the app.
The idea also is that it provides an easy way for you to record locations while playing on a map and see them graphically.
--- SYSTEM REQUIREMENTS --------------------------------------------------------
--- MAP DATA FILES -------------------------------------------------------------
A separate .csv file is needed for each SotA map and should be in the "data/maps" directory having a name matching the SotA map name as reported in the /loc command.
The map data .csv file must be plain text format, make sure you're text editor isn't saving it as RTF or some other format.
For example, suppose the /loc command printed out the below. In this case, there should be a file "data/maps/Novia_R1_City_Soltown.csv" which contains a list of items for that map.
Area: Soltown (Novia_R1_City_Soltown) Loc: (-15.7, 28.0, 23,2)
The map .csv file contains name and position for each item to be shown on the map. As you discover items on a map, you can add them to the .csv file and they will be shown on the map (although you need to exit and restart the application to show changes to the .csv file). Here are some examples of items in a map .csv file. An example file is provided also as a starting point.
Name,X,Y,Z
Cotton,-93.2,19.1,21.8
Bear Cave,-88,18.8,-88.9
Mandrake,-53.8,18.5,3.5
Note that this tool only uses the X and Z values, but all (X, Y, and Z) are expected in the file. This is done to avoid confusion between going from what is shown in game and what goes in the file. The middle value (Y) represents the elevation which, of course, is not used for a 2D map. Having it here for completeness may help if this data were to be used in other tools also.
When building a map .csv file, the /loctrack command can be helpful. This causes the location to be continually shown on screen.
You can also click the Add button in SotAMapper to add an item to the map at the current player location. With this feature, there's no need to type in coordinate values!
If you have Excel installed, you can double-click on the .csv files and edit them in that, just make sure to save them out as .csv if prompted.
--- MAP COORD SYS --------------------------------------------------------------
Different maps in SotA have different coordinate systems. If things don't appear at the correct orientation in SotAMapper its possible the wrong coord sys is being used. To figure this out, turn on /loctrack and see which of the below applies. The letters on the below indicate positive direction. So you can walk north while watching the loc values and then do the same thing walking east and figure out which one it is. Here are the possible choices.
//
// X
// |
// |
// Z----*
//
XZ_NorthWest,
//
// Z
// |
// |
// *----X
//
ZX_NorthEast,
//
// *----Z
// |
// |
// X
//
ZX_EastSouth,
//
// X----*
// |
// |
// Z
//
ZX_SouthWest
Once you figure out which one is in use, add a line like the below somewhere in the map .csv file. That will specify which coord sys to use for that map. The default, if not specified, is XZ_NorthWest.
MapCoordSys,ZX_NorthEast
--- MAP ICONS ------------------------------------------------------------------
By default, map items are rendered as text labels with dots at the map location. If a .PNG file is present in the "data/icons" directory which matches the name of the item in the map data .csv file, then the image will be shown instead.
################################################################################
################################################################################
Project Creator, Programmer
coder1024 (coder1024@gmail.com)
Data Files (Maps, Icons, etc.)
LiquidSky
lollie
moko
Testing Feedback, Suggestions, Bug Reports
Berek
Bom
Bushmaster
cartodude
Frostll
Kabalyero
Link_of_Hyrule
LiquidSky
lollie
moko
Umuri
Womby
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
2016.09.21, v1.7
2016.09.20, v1.6
2016.09.19, v1.5
2016.09.19, v1.4
2016.09.11, v1.3
2016.09.08, v1.2
2016.09.04, v1.1
2016.09.03, v1.0