Three new map meta fields are now available to map makers:
- `phys_speed`: Speed multiplier
- `phys_jump`: Jump multiplier
- `phys_gravity`: Gravity multiplier
- Each map will have its own sub-dir, containing
- `map.conf` (used to be `<map_name>.conf`)
- `map.mts` (used to be `<map_name>.mts`)
- `screenshot.png` (used to be `<map_name>.png`)
- `skybox_<n>.png` (used to be `<map_name>_skybox_<n>.png`)
- The `ctf_map` post-processing actions for maps has been moved into a dedicated shell script `setup_maps.sh`. This script appropriately renames all the textures to while copying them over to the mod's textures/ sub-dir. e.g.
- `cool_map/screenshot.png` ---> `cool_map.png`
- `awesome_map/skybox_2.png` ---> `awesome_map_skybox_2.png`
> Add torches as initial item on Abandoned Isles (#68)
> Add 'Big Ocean' by gameit (#67)
> README.md: Remove outdated map reviews wiki link
> Add "Wool land" by -sniper- (#45)
> Swap positions of pickaxe and pistol in inventory (#62)
> Add custom chest zones in Hunting Season (#61)
Changes:
- "Abandoned Isles" by gimp and caoutiouspotato
- "Towers" by Atmozpheric
- Improvements to "Tunnel"
- Addition of 5 torches to initial_stuff of "Ice Age"
Regression introduced by abbd62ac:
- Since abbd62ac, all map metas are loaded at server startup.
- In `ctf_match.create_teams`, `map.teams.pos` is passed to `ctf_flag.add`.
- As tables are passed by reference, properties added to `ctf.team("team_name").flags[i]` are also added to ctf_map.map.teams.
- This means that the next time this table is passed to `ctf_flag.add`, this table would already contain the `claimed` property, that holds the name of the player who last claimed the flag at this pos, and the name of their team.
This is fixed by simply passing `map.teams.pos` to `ctf_flag.add` using `table.copy`
Fixes regression introduced by abbd62ac, which calls `load_map_meta` for all maps right at server startup, instead of calling it per-map for every new match.