From 7188d1b3fa5489aa6274582a59d2716442e437c1 Mon Sep 17 00:00:00 2001 From: "-sniper- (minetest)" <47271658+JostP@users.noreply.github.com> Date: Tue, 21 Apr 2020 09:33:00 +0200 Subject: [PATCH] map_maker/README.md: Improve documentation (#552) --- mods/ctf/ctf_map/map_maker/README.md | 55 ++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/mods/ctf/ctf_map/map_maker/README.md b/mods/ctf/ctf_map/map_maker/README.md index 6a6568a..2494bec 100644 --- a/mods/ctf/ctf_map/map_maker/README.md +++ b/mods/ctf/ctf_map/map_maker/README.md @@ -78,6 +78,26 @@ format. Refer to the `treasures` sub-section for more details. * `phys_jump`: [Optional] Player jump multiplier. Accepts any valid number. Defaults to 1. * `phys_gravity`: [Optional] Player gravity multiplier. Accepts any valid number. Defaults to 1. +#### `license` + +* Every map must have its own license. Once you've chosen your license, simply add the following line to the map's `.conf` file: + + ```lua + license = + ``` + +* If attribution is required (for example if you modify other's map and you have to tell who is author of the original map), that has to be appended to the `license` field. +If you want to tell more infomation, you can use: + + ```lua + others = + ``` + +* If you don't know which license to use, [this list of CC licenses](https://creativecommons.org/use-remix/cc-licenses/) can help you. +* We can only accept Free Software licenses, e.g.`CC BY-SA 4.0`. +* Please know what you are doing when choosing a certain license. For example, you can read information about various licenses and/or consult a lawyer. + + #### `treasures` `treasures` is a list of treasures to be registered for this map in serialized format. @@ -89,3 +109,38 @@ treasures = default:pick_steel,0.5,5,1,10;shooter:shotgun,0.04,2,1;shooter:grena ``` (See [here](../../../other/treasurer/README.md) to understand the magic numbers) + +### `screenshot` + +Every map must have its own screenshot in map's folder. It should have an aspect ratio of 3:2 (screenshot 600x400px is suggested). + +It should be named `screenshot.png`. + +### `skybox` [Optional] + +Six images which should be in map's folder. + +* `skybox_1.png` - up +* `skybox_2.png` - down +* `skybox_3.png` - east +* `skybox_4.png` - west +* `skybox_5.png` - south +* `skybox_6.png` - north + +You have to include skybox license in `license` in `.conf` file. We can only accept Free Software licenses, e.g. `CC0`, `CC BY 3.0`, `CC BY 4.0`, `CC BY-SA 3.0`, `CC BY-SA 4.0`. + +You can find some good skyboxes with suitable licenses at [https://opengameart.org](https://opengameart.org/art-search-advanced?field_art_tags_tid=skybox). + +## Editing exported map + +The easiest way to edit exported maps is the following: +* Create a world using `singlenode` mapgen. Enable `WorldEdit` and `ctf_map` mod, +* Go in the world's folder, create a folder named `schems`, and place the `.mts` file inside, +* Start the game, `/grantme all` and enable `fly` (there is no ground in singlenode mapgen), +* Do `//1` to set the position where you will generate the map, +* Do `//mtschemplace yourschematic` (where `yourschematic` is the name of the mts file without `.mts`). + +When you finish: + +* Place `//1` and `//2` exactly in opposite corners of map (cube), +* Do `//mtschemcreate ` to create new edited `.mts` file. It will be saved in `schems` folder.