Commit graph

181 commits

Author SHA1 Message Date
LoneWolfHT e0a448a300 Update Maps Submodule 2020-12-31 09:10:44 -08:00
LoneWolfHT 95c2677620 Update maps submodule 2020-12-27 10:04:14 -08:00
LoneWolfHT fbf0126599
Allow more than two teams in a match at once (#724)
* Fix bugs with more than two teams

* Fix team allocation

* Fix bugz

* Fix crash

* Fix crash with crash fix
2020-12-25 10:37:02 -08:00
rubenwardy 5103a5e8b8
Add message to assertion in schem_map (#722)
* Add message to assertion in schem_map

* Update mods/ctf/ctf_map/ctf_map_core/schem_map.lua

Co-authored-by: David Leal <halfpacho@gmail.com>

Co-authored-by: David Leal <halfpacho@gmail.com>
2020-12-18 17:30:59 -08:00
LoneWolfHT b3f4218c15 Update Maps submodule 2020-12-17 08:52:48 -08:00
LoneWolfHT 441477a131 Update maps submodule 2020-12-16 09:02:46 -08:00
LoneWolfHT 0345c4e284 Update maps submodule 2020-12-13 08:43:27 -08:00
LoneWolfHT d9cc457568 Update maps submodule 2020-12-10 10:40:08 -08:00
-sniper- 6e04df9c4d
Fix new colors being a little too green (#714) 2020-12-08 13:13:18 -08:00
-sniper- 1683ba70a4
Colorize match start messages (#713)
* add minetest.colorize

* Change colors
2020-12-08 09:25:24 -08:00
LoneWolfHT 98fec72b33 Update maps/shooter submodules 2020-12-05 10:58:59 -08:00
LoneWolfHT a9c9f26caa Update maps submodule 2020-11-28 10:15:18 -08:00
LoneWolfHT f320afa4d1 Update maps submodule 2020-11-24 12:38:35 -08:00
LoneWolfHT 1299f1a4e1 Update maps submodule 2020-11-13 08:16:30 -08:00
LoneWolfHT de3697f0ed Update Maps Submodule 2020-11-04 20:49:30 -08:00
LoneWolfHT e4a2a8ba8d Update maps submodule 2020-11-01 15:48:26 -08:00
LoneWolfHT 408f6286a1 Update maps submodule properly 2020-10-26 12:42:21 -07:00
LoneWolfHT 97a5b7cda7 Update maps submodule 2020-10-23 18:51:13 -07:00
-sniper- (minetest) 88e26cf561
Fix mistake in Map maker's README (#681)
* Fix epic mistake in Map maker's README

* Add YT tutorial link and place flags line

* Move YT tutorial to top of the README
2020-09-28 09:16:45 -07:00
LoneWolfHT 779e0973a6 Re-add MTG: Trim out the remaining bloat from default 2020-09-22 15:48:35 -07:00
LoneWolfHT 65652ec405 Revert "MTG: Trim out the remaining bloat from default (#639)"
This reverts commit ec06b8edde.
2020-09-22 13:16:25 -07:00
ANAND ec06b8edde
MTG: Trim out the remaining bloat from default (#639) 2020-09-22 08:36:01 -07:00
LoneWolfHT 055598f85e Update maps submodule 2020-09-20 10:17:25 -07:00
LoneWolfHT 6ce383117a
Add mayan_legend map. wool_land changes 2020-07-29 07:49:14 -07:00
LoneWolfHT b24d1b3097
Fix swapping class items into other invs (#670)
* Fix bug with team/loot chest swapping
* Fix furnace swapping
2020-07-21 12:18:47 -07:00
ANAND a3f768acdf
Remove stone sword from default initial items 2020-06-16 16:47:42 +05:30
ANAND ff53116acf
Update maps submodule
> Remove class items from maps' initial items
2020-06-16 15:41:54 +05:30
ANAND 15dc406467
Update maps submodule
> Disable "The Maze" temporarily
> Remove shooter class items from initial items (#91)
2020-06-16 08:00:49 +05:30
ANAND 1b0b2457d7
Make stone pickaxe capable of breaking cracky=1 nodes (#663) 2020-06-12 20:33:02 +05:30
ANAND ce1bbe0246
Update maps submodule
> Tunnel: Replace legacy grenade with new ones from grenades mod (#92)
2020-05-30 17:57:14 +05:30
LoneWolfHT e2ac380985
Add workaround to prevent "swapping" items into team chest (#645) 2020-05-23 07:13:31 +05:30
ANAND e9343d9d56
Add not_in_creative_inventory to barrier nodes
Also improve item descriptions of barrier nodes
2020-05-16 15:06:25 +05:30
ANAND 6b33820447
setup_maps.sh: Improve renaming of maps' screenshot textures
Screenshot textures would be renamed to "<mapname>_screenshot.png", making it explicit that this texture is a screenshot texture.

This fixes a potential bug wherein the screenshot texture could unintentionally override other textures if the map's name matches the texture name. e.g. moon.png - this would now be renamed to moon_screenshot.png.
2020-04-24 00:45:29 +05:30
ANAND ff483a2092
Update maps submodule
> Add Moon map (#83)
2020-04-21 13:22:25 +05:30
-sniper- (minetest) 7188d1b3fa
map_maker/README.md: Improve documentation (#552) 2020-04-21 13:03:00 +05:30
rubenwardy ac24f09417 Automatically fix incorrect chest zones in map configs 2020-03-15 01:00:04 +00:00
rubenwardy 02d527eaf5 Add class items 2020-03-14 20:00:32 +00:00
rubenwardy 34d891c6c5 Add classes 2020-03-14 20:00:32 +00:00
ANAND 0e784b2c69 map_maker: Refactor GUI into separate file 2020-01-19 06:38:53 +05:30
ANAND 38e7b46e49
Update maps submodule
> Add custom treasures for Tunnel map (#82)
2019-12-29 20:52:43 +05:30
ANAND 19d9b3efb8 ctf_map_core: Move treasure registration into meta_helpers.lua (#545) 2019-12-28 10:34:26 +01:00
ANAND e5793d7c7f
ctf_map_core: Fix per-map treasures not being registered 2019-12-28 11:05:31 +05:30
ANAND c908af6ccd
Update maps submodule
> Add custom chest zones to "Towers" map (#79)
2019-12-24 20:04:34 +05:30
ANAND 99f2a20cfd
Update maps submodule
> Add "The Maze" map by Waterbug (#63)
2019-12-24 19:01:32 +05:30
MinetestSam 06a1fb3d22 Update pro-section criteria label (#524) 2019-12-15 18:23:51 +05:30
ANAND 9974e3d509
ctf_map_core: Make 'physics' an optional dependency 2019-12-15 15:53:30 +05:30
ANAND e09d79301c
Update maps submodule
> Fix missing barriers underwater and other holes (#76)
2019-12-15 10:59:44 +05:30
ANAND a37df650d6 ctf_map: Re-implement random map selection in a better way (#498) 2019-12-08 11:25:59 +01:00
ANAND dc83862df6 Add support for per-map physics modifiers (#488)
Three new map meta fields are now available to map makers:

- `phys_speed`: Speed multiplier
- `phys_jump`: Jump multiplier
- `phys_gravity`: Gravity multiplier
2019-12-07 10:23:02 +01:00
ANAND f0a8327c18 tsm_chests: Fix floating chests; remove extra bloat (#492) 2019-12-06 06:07:46 +01:00
ANAND 6e35425e4c Add ctf_stats.is_pro; consolidate "pro-ness" calculations (#517) 2019-12-05 19:33:38 +01:00
ANAND ba2c1fdf05
Update maps submodule 2019-12-05 06:49:53 +05:30
ANAND e7d9465d2a
ctf_map: Convert to modpack; split map maker into separate mod (#475) 2019-11-28 10:51:59 +05:30
Thomas--S a8aa3f98c9 Maps catalog: Fix crash when index is invalid (#515) 2019-11-25 11:47:23 +05:30
ANAND 4de074dc17 ctf_stats: Add map name to match summary (#495) 2019-11-24 21:38:15 +01:00
ANAND e3d2a3424f Maps catalog: Add "Skip to map" and "Set as next map" buttons 2019-11-23 12:55:35 +01:00
ANAND a98d759b35 Support optionally specifying map name in /ctf_next 2019-11-23 12:55:35 +01:00
ANAND fa595b681d
Update maps submodule
> Remove extraneous newlines
> Remove screenshot meta field from all the maps (#72)
> Add "A Kingdom In The Nether" map by Waterbug (#66)
2019-11-11 08:07:48 +05:30
ANAND 6f56bfde5b
Update maps submodule
>  Update directory structure of maps, according to #435 (#39)
2019-11-10 17:23:55 +05:30
ANAND b36d54ec76 Auto-detect screenshots without requiring a map meta field 2019-11-10 17:20:38 +05:30
ANAND cbee83a2ac Improve directory structure of maps
- 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`
2019-11-10 17:20:38 +05:30
ANAND 739eac1d10 ctf_map: Consolidate outer barrier node selection into a local function 2019-11-10 07:15:22 +05:30
ANAND 5df1a7d260 ctf_map: Auto-replace stone with ind_stone_red when placing barriers
Also make the c_id variable names more explicit
2019-11-10 07:15:22 +05:30
ANAND 67dfb30ead
Map maker: Fix crash when submitting fields in /gui 2019-11-09 08:59:44 +05:30
ANAND 6662139380
Map maker: Simplify storage of barrier_rot config value 2019-11-07 21:05:44 +05:30
ANAND b19523e6a7
Map maker: Fix incorrect field set in mod_storage during reset 2019-11-07 17:38:50 +05:30
ANAND 72c02d81cb
Update maps submodule
> 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)
2019-11-07 12:36:17 +05:30
ANAND e84a321143 Make snow non-slippery again (#484) 2019-11-05 13:25:49 +01:00
ANAND 680dd4c87c Fix crash upon invoking /maps_reload (#486) 2019-10-31 10:49:34 +01:00
ANAND f364e73707
Map maker: Fix barrier rotation and outer barrier placement issues (#485) 2019-10-31 12:32:41 +05:30
ANAND ef16fc9971
Add indestructible torch [ctf_map:torch] (#473) 2019-10-30 10:44:56 +05:30
ANAND 17a974c1c3
ctf_map: Move on_joinplayer callback for skybox mgmt. into time_sky.lua 2019-10-29 15:23:15 +05:30
ANAND 179c993ee7 Add per-map skybox support
The skybox textures have to follow this naming convention to be auto-detected by `ctf_map`: `<mapname>_skybox_<1-6>.png`
2019-10-29 12:30:35 +05:30
ANAND baa15e39a6 Optimise map parsing for more flexibility 2019-10-29 12:30:35 +05:30
ANAND 5eb5d3311a
Improve log messages (#422)
- Add log messages wherever required/useful
- Remove unnecessary log messages and print statements
- Convert print statements to minetest.log
- Fix incorrect log level for some messages
- Trivial code-style fixes
2019-10-18 11:22:18 +05:30
ANAND 21e7daa183
Add support for optionally setting start time and time speed per-map (#478) 2019-10-17 10:48:06 +05:30
ANAND 96c21f2ef5
ctf_map: Fix crash due to missing item description for some stairs 2019-10-11 17:22:36 +05:30
ANAND 3797c703ad
ctf_map: Fix description of ind. stairs and wool 2019-10-10 19:15:32 +05:30
ANAND 136211a073 ctf_map: Add missing documentation for some map meta fields 2019-10-09 20:20:14 +05:30
ANAND 526031473b ctf_map/base.lua: Fix code-style 2019-10-09 20:20:14 +05:30
ANAND c4e3683071 Map maker: Add support for optionally specifying base node 2019-10-09 20:20:14 +05:30
ANAND 0eb5b71648
Update maps submodule
- Repair Plain Battle
2019-10-09 12:31:49 +05:30
ANAND fcb0fedf32
Update maps submodule
Changes:
- "Abandoned Isles" by gimp and caoutiouspotato
- "Towers" by Atmozpheric
- Improvements to "Tunnel"
- Addition of 5 torches to initial_stuff of "Ice Age"
2019-10-06 13:42:32 +05:30
ANAND da245981aa
Update maps submodule
> Add license to existing maps (#49)
2019-09-17 23:46:21 +05:30
ANAND 5e3578ae00
ctf_map: Dofile base.lua only when ctf exists
This prevents a crash when running in map-maker mode, as base.lua (which is unnecessarily dofile'd) contains code which re-defines `ctf.get_spawn`
2019-08-31 12:48:46 +05:30
Panquesito7 515b0ca1f7
Use mod.conf and modpack.conf
Replaces depends.txt, description.txt, and modpack.txt
2019-08-31 10:31:14 +05:30
ANAND 99338c3013 Implement random spawn within 3x3 area around flag (#437) 2019-07-24 15:54:14 +02:00
ANAND b5d19bcf5b Fix recursive registration of ind. stairs and wool (#424) 2019-07-24 15:38:53 +02:00
ANAND 97f810e0d0
Update maps submodule 2019-07-16 13:15:28 +05:30
Thomas--S 967afeb5b8 Add IRC support for maps catalog (#415) 2019-07-14 14:48:40 +05:30
ANAND ed7b1ce902
Update maps submodule 2019-07-13 17:04:17 +05:30
ANAND da8a166902
Update maps submodule 2019-07-12 15:52:08 +05:30
ANAND 2abd4098fc
Update ctf_pvp_engine and maps 2019-07-11 13:00:59 +05:30
ANAND d4c612d2fb Fix flag claimed right after creation (#433)
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`
2019-07-11 08:57:10 +02:00
ANAND f3cd2a0539
Update maps submodule 2019-07-06 14:03:19 +05:30
ANAND c30d3d84d9
ctf_map: Fix per-map treasures registering at server startup (#421)
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.
2019-07-06 10:16:04 +05:30
ANAND 102792032a
Update maps submodule 2019-07-05 19:57:35 +05:30
Lone_Wolf 03f368743e ctf_map: Force-register aliases (#423)
Fixes aliases not being registered, as they are names of existing items.
2019-07-05 06:21:13 +05:30
ANAND 62eb068c35
Increase capacity of team-chest (#380)
+ cosmetic and code-style improvements
2019-06-23 12:34:15 +05:30
Thomas--S 74c8531de4 Maps catalog: Use textareas for hint and license, add others (#413) 2019-05-15 20:34:25 +05:30