Skip to content

CoR-Forum/Regnum.Online

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to contribute

I stopped playing Regnum a few days after creating the initial version of this map, so a lot of community help is needed to keep it up.

For now, if you have no real idea about what you're doing, please only add new data entries. Don't try to add new Layer Groups or something. I will extend it a bit in the future, so you can edit the data sources in Excel or something like that.

If you have any ideas, feel free to open an issue on github so we can discuss. There's a lot of stuff that can be done with the project domain :)

This map is fully based on Leaflet and exists out of thausands of image tiles. I know that there is some issue with loading images in certain zoom levels. I'll need to generate the image tiles with a little trick, but dunno how to do yet. It'll be fixed in the future for sure.

Map is served by BunnyCDN with a small webserver for php-based spawntimes.

Plugins

It is working with the following leaflet plugins:

leaflet-rastercoords Leaflet.awesome-markers

To generate the map tiles, I'm using gdal2tiles-leaflet. It's a bit tricky with regnums amazing coordination system.

At the moment, this is the correct script to generate the map tiles. Files can be found here.

#!/bin/bash

# do NOT forget to install `python-gdal` library
# assuming you are on a debian like OS
#sudo apt install python-gdal

# get the tool
test ! -f gdal2tiles.py \
  && curl https://raw.githubusercontent.com/joshua2504/gdal2tiles-leaflet/master/gdal2tiles.py \
  > gdal2tiles.py
# process ...
python ./gdal2tiles.py -l -p raster -z 1-5 -w none source.png /path/to/tiles

Contributers

Thanks for contributing to the following players.

  • Zeddi (Valhalla)
  • Suo (Valhalla)

About

Interactive World Map for Champions of Regnum

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published