Commit graph

647 commits

Author SHA1 Message Date
MinetestSam
1f10fd9e22 Remove unused team ownership code; improve team listing (#512) 2019-11-25 13:05:45 +05:30
Thomas--S
a8aa3f98c9 Maps catalog: Fix crash when index is invalid (#515) 2019-11-25 11:47:23 +05:30
ANAND
7e73ff05eb
Refactor ctf_stats [Part 1] (#491)
Move all chat-commands into separate file - chat.lua
2019-11-25 10:31:53 +05:30
-sniper- (minetest)
3dded7ef3b Remove stone sword from default treasure registration (#516) 2019-11-24 21:39:35 +01:00
ANAND
2845448e6e Combine server join message into team join message (#499) 2019-11-24 21:38:56 +01:00
ANAND
4de074dc17 ctf_stats: Add map name to match summary (#495) 2019-11-24 21:38:15 +01:00
ANAND
64793ea22c Improve /report; add report API (#163) 2019-11-24 21:37:44 +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
MinetestSam
67cb9b255d Remove unused textures diplo_*.png (#511) 2019-11-16 19:01:36 +05:30
MinetestSam
1c439b163b Remove unused function ctf.post() (#513) 2019-11-16 19:01:02 +05:30
MinetestSam
2dd7a14e31 Improve map makers call-for-action random message (#509) 2019-11-15 17:51:23 +05:30
ANAND
67be903881
Fix collision boxes of dead players not being restored on new match (#508) 2019-11-15 14:07:49 +05:30
ANAND
2c08fa4056
Remove redundant chat-command /post 2019-11-15 07:02:32 +05:30
TSafa-23
1a1d37822e Remove redundant /all chat-command (#507) 2019-11-15 07:01:26 +05:30
ANAND
47374a06db
Require interact and shout privs for /t 2019-11-15 06:47:35 +05:30
MinetestSam
2e3a487ef5 Increase damage of spikes to 7 HP/sec to justify its cost (#503) 2019-11-13 19:30:49 +05:30
ANAND
30ff0b9eb2
ctf_match: Increase skip vote's required majority ratio to 0.6 (#500) 2019-11-13 14:21:01 +05:30
ANAND
720f29adc6 Disable knockback completely 2019-11-11 20:57:10 +05:30
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
579d449ef4 ctf/core.lua: Fix incorrect indentation 2019-11-09 12:25:45 +05:30
ANAND
38c27736f6 Improve format of ctf.log 2019-11-09 12:25:45 +05:30
ANAND
67dfb30ead
Map maker: Fix crash when submitting fields in /gui 2019-11-09 08:59:44 +05:30
ANAND
28189920d4
Remove leftover debug messages from 2653a09 2019-11-08 08:00:46 +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
2653a09329
Allocate players into teams on the basis of cumulative team scores (#319)
Implement `ctf.custom_alloc`, which recalculates cumulative team scores and returns the name of the team with the lowest cumulative score.
2019-10-31 20:00:50 +05:30
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
04ac8223a9
ctf_treasure/init.lua: Align lines using whitespaces for improved readability 2019-10-29 12:39:50 +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
MinetestSam
b04f904f8b Fixing documentation for reinforced cobble (#482) 2019-10-28 19:03:48 +01:00
MinetestSam
e282ed405b Add damage cobble to default treasure registration (#481) 2019-10-28 19:01:19 +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
KaylebJay
a39b1c8950 Add stone and steel axes to default treasures (#474) 2019-10-13 11:49:57 +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
MinetestSam
31ba4286fe Colorize random messages (#467) 2019-10-09 19:19:41 +05:30
MinetestSam
2d6b16de43 Remove collision boxes of dead players (#468) 2019-10-09 19:19:03 +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
MinetestSam
552a79a54e Add eligibility criteria for participating in kick votes (#463)
Players should have a score of 1000 or greater to be able to vote in kick votes.
2019-10-02 20:02:09 +05:30
ANAND
2ae401d4f5
ctf_chat: Add colored PMs (#449)
- Sender name is colorized according to their team color.
- Message body is colorized according to the setting `ctf_chat.message_color`; defaults to `#E043FF`.
2019-09-18 02:28:17 +08:00
ANAND
da245981aa
Update maps submodule
> Add license to existing maps (#49)
2019-09-17 23:46:21 +05:30
Panquesito7
08cbc41409
dropondie: Fix deprecated API function calls 2019-09-07 14:36:18 +05:30
ANAND
d16d7fa09c
Improve attribution of shooter_explode.ogg 2019-09-02 13:04:43 +05:30
ANAND
67c1dfa4ee
Replace shooter_explode.ogg with the new, licensed sound from MTG 2019-09-02 06:32:19 +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
ANAND
f04663fc6c
Fix depends.txt present in mods from ctf_pvp_engine 2019-08-31 11:40: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
rubenwardy
aa0cc1ab53 Update Lib ChatCmdBuilder 2019-08-28 18:57:11 +01:00
rubenwardy
ebf4316594 Fix issues found by luacheck 2019-08-28 18:54:24 +01:00
rubenwardy
450027c3b7 Dissolve ctf_pvp_engine modpack into other modpacks 2019-08-28 18:46:14 +01:00
rubenwardy
9f05af002e Remove ctf GUI 2019-08-28 18:46:14 +01:00
rubenwardy
e53732f41e Remove saving from ctf_pvp_engine 2019-08-28 18:46:14 +01:00
rubenwardy
a735266eb3 Add ctf_pvp_engine mods directly in the repo 2019-08-28 18:46:14 +01:00
Panquesito7
1032a78a6c Use "modpack.conf" instead of "modpack.txt" (#441) 2019-08-20 13:06:41 +08:00
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
39b573de53
Merge branch 'master' of https://github.com/MT-CTF/capturetheflag 2019-07-13 07:23:08 +05:30
ANAND
8a37dac73d
Update ctf_pvp_engine 2019-07-13 07:23:04 +05:30
MinetestSam
0829d4c700 ctf_bandages: Show coloured alert to target when being healed (#436)
Also increase the spawn rate of bandages.

Co-Authored-By: ANAND <ClobberXD@gmail.com>
2019-07-13 06:48:48 +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
99bb09def6
ctf_events: Fix grenade kills not being detected (#428) 2019-07-10 15:49:33 +05:30
ANAND
b289da8344
Update ctf_pvp_engine
This is so annoying...
2019-07-10 14:56:04 +05:30
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
Lone_Wolf
045281e60d Fix crash due to missed updation of ctf_color.get_color in ctf_bounties (#427) 2019-07-05 21:48:59 +05:30
ANAND
102792032a
Update maps submodule 2019-07-05 19:57:35 +05:30
ANAND
82c4dab2bf
Update ctf_pvp_engine 2019-07-05 16:12:45 +05:30
ANAND
60d3f2600e
Merge branch 'master' of https://github.com/MT-CTF/capturetheflag 2019-07-05 15:49:06 +05:30
ANAND
85959ba913
Fix deprecated API method calls 2019-07-05 15:48:59 +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
1aca94fd8c
medkits: Fix missing return statement
This fixes the flags not being capture-able
2019-07-03 12:24:54 +05:30
rubenwardy
0d6c80642c Update ctf_pvp_engine 2019-07-03 06:17:49 +01:00
ANAND
37d88a88a1
Disable respawn immunity message when hitting teammates (#417) 2019-06-25 18:54:57 +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
Thomas--S
0d04bfd081 Add random message for maps catalog (#414) 2019-05-14 13:24:02 +05:30
ANAND
72f48db70d
Update maps submodule
Screenshots have been added for all existing maps
2019-05-12 23:37:37 +05:30
Thomas--S
16ba9ef044 update.sh: Move map screenshots to ctf_map/textures/ (#411) 2019-05-12 23:06:39 +05:30