From e73b3ebbda4334be659631139bd28d31c63fb004 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Tue, 14 Apr 2020 22:31:08 +0300 Subject: [PATCH] Updated URL parameters (markdown) --- URL-parameters.md | 1 + 1 file changed, 1 insertion(+) diff --git a/URL-parameters.md b/URL-parameters.md index 972a953..7704d5e 100644 --- a/URL-parameters.md +++ b/URL-parameters.md @@ -1,5 +1,6 @@ Here is a list of parameters you can add to URL in order to set generator options and/or control behavior by link. Use it like `http://azgaar.github.io/Fantasy-Map-Generator/?seed=123456789&width=1536&height=722&options=default`, which should generate the same map for everyone using this link. +## Azgaar's Fantasy Map Generator parameters: * `maplink` - open .map file from the provided URL, use like `https://azgaar.github.io/Fantasy-Map-Generator/?maplink=https://dl.dropboxusercontent.com/s/xgs3y1awlokio7x/Atlas%20046.map?dl=1`. Due to CORS restrictions, it works only for some servers * `seed` - map seed, actual map generation depends not only on seed, but also on options and map size. So to share the same map via a link you need to use it like `http://azgaar.github.io/Fantasy-Map-Generator/?seed=123456789&width=1536&height=722&options=default`. It will work only if codebase is the same, so till the next generator update. To share exactly the same map you have to send a .map file (e.g. via `maplink`) * `options` - set to `default` to allow generator to ignore options set by user. It's required for sharing the same map, see above