Capture the Flag is a team-based FPS game for the Minetest engine
Find a file
Anthony-De 49f4e6fd47
Add kill assists (#755)
* Update teams.lua

* Update teams.lua and init.lua

* Update teams.lua and init.lua

* Update teams.lua and init.lua

* Update teams.lua and init.lua Kill assist implemented

* Update init.lua Remove unused variables

* Added ctf.clearAssists function
Only awards those who did more that 50% of damage
Clears attackers stats after suicide

* Remove unused variable

* Minor modifications

renamed ctf.clearAssists to ctf.clear_assists
changed playerName to player

* Cap assist points

* Reaching full health while in combat clears assist data

* split points between assisting players by damage done

* Reworked assist data storage to work with a table rather than player metadata

* Fix lua check

* Removed duplicate scoring

* Change kill assist color

* Health regen subtracts from assist.
Suicide gives assist points

* Fixed accessing nil value for max_hp

* Corrected max_hp

* hardcode hp list for max hp
2021-02-01 08:24:29 -08:00
.github/workflows Replace Travis CI with GitHub actions (#596) 2020-10-27 10:59:23 -07:00
docs Remove false promises in class selection, add random messages 2020-03-14 20:00:32 +00:00
menu Add new game header by xenonca (#707) 2020-12-14 08:19:20 -08:00
mods Add kill assists (#755) 2021-02-01 08:24:29 -08:00
textures Re-add alternative hit texture for shooter (#659) 2020-06-04 22:14:22 +05:30
.editorconfig Add a basic EditorConfig file (#523) 2019-12-07 16:21:41 +01:00
.gitignore Remove false promises in class selection, add random messages 2020-03-14 20:00:32 +00:00
.gitmodules Update shooter to 0.6.1 2020-03-14 21:51:24 +00:00
.luacheckrc Give knights a sword with a special ability (#711) 2020-12-07 11:26:12 -08:00
build.sh Settings Cacher 2015-09-26 15:01:31 +01:00
game.conf Add min_minetest_version to game.conf 2021-01-29 23:46:14 +00:00
minetest.conf Reduce build time to 3 minutes (#697) 2020-10-29 15:53:25 -07:00
README.md Add new game header by xenonca (#707) 2020-12-14 08:19:20 -08:00
screenshot.png Add screenshot.png 2018-05-15 20:17:58 +01:00
settings_cache.csv Change build time to 3 minutes 2020-11-18 18:33:49 -08:00
settingtypes.txt Allow reports to send to Discord too 2020-12-16 09:01:42 -08:00
setup_maps.sh setup_maps.sh: Improve renaming of maps' screenshot textures 2020-04-24 00:45:29 +05:30
update.sh Nerf bandages heal reward to 1 score/use 2020-06-01 20:49:45 +05:30

Capture The Flag

Build status

  • Fast rounds of CTF games.
  • Removed nodes for focus.

Installation

Capture the flag uses several submodules. Make sure to grab them all by cloning like this:

git clone --recursive https://github.com/MT-CTF/capturetheflag.git

System Requirements

Hosting your server using the dummy backend.

Minimum

Hosting your server using the leveldb or redis backend.

Hosting using sqlite3 on an SSD or ramdisk (with this guide).

License

Created by rubenwardy. Code: LGPLv2.1+ Textures: CC-BY-SA 3.0

Textures

  • ctf_classes_skin_* created by GreenDimond/GreenXenith
    • ctf_classes_skin_rocketeer with help from Lone_Wolf
  • Header: CC BY-SA 4.0 by xenonca

Mods

Check out mods/ to see all the installed mods and their respective licenses.

update.sh

Content in this repository and its sub-modules are arranged in a manner best optimised for distribution. For all features of CTF to work properly, run update.sh instead of manually syncing the local copy. update.sh automatically pulls the latest master of the repository and all its submodules, and does some extra processing to make stuff work.