[Modpack] CTF PvP Engine [1.0] [ctf_pvp_engine]

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

[Modpack] CTF PvP Engine [1.0] [ctf_pvp_engine]

by rubenwardy » Post

Game | CTF_PvP_Engine modpack | Server


Image

A highly modular framework for the Minetest game engine, in order to allow the development of Capture the Flag / City vs City games. Good for any sort of game where players can join teams - flags are optional, everything is highly configurable.

Subgames Download
Latest Version = 1.0 - RC (Release Candidate)
View on Github

License
Created by: rubenwardy.
Copyright (c) 2013 - 2015
Code: LGPL 2.1 or later.
Textures: CC-BY-SA 3.0

Modules
  • ctf
    • core - adds saving, loading and settings. All modules depend on this.
    • teams - add the concepts of teams and players. All modules except core depend on this.
    • diplomacy - adds inter team states of war, peace and alliances. Requires ctf.teams
    • gui - adds the team gui on /team. Allows tabs to be registered.
    • hud - adds the name of the team in the TR of the screen, and sets the color of a player's name.
  • ctf_chat - adds chat commands and chat channels.
  • ctf_flag - adds flags and flag taking.
  • ctf_protect - Adds node ownership / protection to teams. Requires ctf_flag.
Spoiler
Image

Supports capture the flag style games, City vs City games (Players build fortresses, cities and outposts to combat each other and to get as rich as possible) and more!
  • Players join teams; where they share node protection and a team gui
  • The team gui provides news about the team, diplomacy, and more
  • Every thing is configurable, and can be turned off
See below for feature list

Image

Download

Please note that this game is not finished yet. Many things are in the todo list.
Please feel free to request features!

License: LGPL 2.1 or later for code, CC BY-SA 3.0 or later for textures
Download: latest version
...or browse the code

Forks:
  • ClanWars - adds medieval style mods and NPCs.

Feature List

There is no guarantee that this is complete, but I do try.
  • Flags
    • Use GUI to name or remove flags (team owner only)
    • Players respawn at their flag.
    • Flags can be captured immediately, or need to be taken to the attacking players flag
    • Nodes are protected around the flag.
  • Team GUI (do /team):
    • About - (coming soon) an article board describing rules, etc
    • News - alerts players to flag captures, war declaring and more
    • Flags - Lists your team's flags. Teleport to these flags, or to spawn
    • Diplomacy - see below
    • Settings - change the settings for your team: flag color
  • Players can be automatically assigned to teams.
  • Diplomacy - Declare war, peace or alliance with other teams. (allied teams share node protection)
  • Firearms, traps and automatic turrets to defend bases.
  • Includes chat plus
    • Chat is limited to team mates
    • Can chat to every one using global channel: /all
  • Easy API
  • 100% configurable with minetest.conf:

Chat Commands

Players
  • /team - view team panel
  • /team all - list all teams and their statistics
  • /team <team> - print team information (players, etc)
  • /team player <name> - print player information (their team)
  • /join <team> - join the team <team>
  • /all <msg> - chat on the global channel
Team owners
  • /post <msg> - posts a msg to the news board (configurable: ctf_team_owners_post)
Administrators only
Uses priv "team"
  • /post <msg> - posts a msg to the news board
  • /team add name - add a team called name
  • /team join player team - add 'player' to team 'team' (admin only)
  • /team_owner <name> - make a player the mod or not off the team (toggle)
  • /reload_ctf - reload the core and settings
  • /ctf - run debug functions and clean functions

Mods

Included mods:
All mods in default minetest_game are included plus:
  • ctf (new mod by me)
  • ctf_protector (new mod by me, node protection)
  • ctf_turret (modified mod)
Coming soon
  • Skins for players
  • More colours
  • Get flag taking working better:
    • player can be seen holding the flag
    • safer flag taking (bulletproof)
    • Timers (only certain amount of time to return it.
    • How the player is stopped - add tag, drop on death and return on death options
    • Allow flags to be passed between players
  • Items:
    • Deco flags
  • Flag finder / some way for a player to locate a flag
  • Awards
  • Add more settings etc
  • Opening and closing teams to new members
  • Use privileges for team_owners
Last edited by rubenwardy on Fri Mar 25, 2016 13:30, edited 22 times in total.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
kaeza
Moderator
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza
Location: Montevideo, Uruguay
Contact:

by kaeza » Post

Very good work with this game.
I hope to see someone host a server with it to see how well it performs in multiplayer.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal

User avatar
webdesigner97
Member
Posts: 1328
Joined: Mon Jul 30, 2012 19:16
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97
Location: Cologne, Germany
Contact:

by webdesigner97 » Post

kaeza wrote:Very good work with this game.
I hope to see someone host a server with it to see how well it performs in multiplayer.
+1

User avatar
jojoa1997
Member
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Post

webdesigner97 wrote:
kaeza wrote:Very good work with this game.
I hope to see someone host a server with it to see how well it performs in multiplayer.
+1
Yeah me too. +2
Coding;
1X coding
3X debugging
12X tweaking to be just right

User avatar
DeepGaze
Member
Posts: 332
Joined: Fri May 10, 2013 00:49
GitHub: DeepGaze
IRC: DeepGaze
In-game: DeepGaze
Location: Take your best guess

by DeepGaze » Post

jojoa1997 wrote:
webdesigner97 wrote:
kaeza wrote:Very good work with this game.
I hope to see someone host a server with it to see how well it performs in multiplayer.
+1
Yeah me too. +2
make it a 3+
there's no place like 127.0.0.1
The deep life Minetest text page
minetest cards

User avatar
Mito551
Member
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

by Mito551 » Post

guys, i'm making a temporary server, but i need (at least) two team captains. volunteer!

UPD: I have failed to understand how to 'capture' the flag. it won't let me dig it. it's like "you're not part of a team". but i am!
Last edited by Mito551 on Sun Aug 18, 2013 18:34, edited 1 time in total.

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

by rubenwardy » Post

Updated

  • Fixed flag disappear bug
  • Expanded /team command
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
Mito551
Member
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

by Mito551 » Post

Hybrid Dog wrote:I guess I still can't get the enemy's flag.
+1

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

by rubenwardy » Post

Why not?

You need to be on an opposing team that is at war with the team you are attacking

Just click the flag and a message will come up "team has captured team's flag at (x,y)"

If it says "you are not part of a team!" then one of these conditions is wrong:

Code: Select all

if cf.players and cf.team(team) and cf.player(player) and cf.player(player).team then
Last edited by rubenwardy on Tue Aug 20, 2013 15:07, edited 1 time in total.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
Mito551
Member
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

by Mito551 » Post

rubenwardy wrote:Why not?

You need to be on an opposing team that is at war with the team you are attacking

Just click the flag and a message will come up "team has captured team's flag at (x,y)"

If it says "you are not part of a team!" then one of these conditions is wrong:

Code: Select all

if cf.players and cf.team(team) and cf.player(player) and cf.player(player).team then
i still can't.
Last edited by Mito551 on Tue Aug 20, 2013 16:24, edited 1 time in total.

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

by rubenwardy » Post

Mito551 wrote:
rubenwardy wrote:Why not?

You need to be on an opposing team that is at war with the team you are attacking

Just click the flag and a message will come up "team has captured team's flag at (x,y)"

If it says "you are not part of a team!" then one of these conditions is wrong:

Code: Select all

if cf.players and cf.team(team) and cf.player(player) and cf.player(player).team then
i still can't.
What messages are you getting?

If none, it might be to do with cf.area.get_flag(pos) not returning a result or cf.area.get_flag(pos).team not being defined.
Last edited by rubenwardy on Tue Aug 20, 2013 16:17, edited 1 time in total.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
Mito551
Member
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

by Mito551 » Post

i get "you're not part of a team"
i tried making myself a team owner and just a member of a team - nothing helps.

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

by rubenwardy » Post

Latest version?
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
Mito551
Member
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

by Mito551 » Post

rubenwardy wrote:Latest version?
now yes. now works. sorry to bother.
Last edited by Mito551 on Tue Aug 20, 2013 17:26, edited 1 time in total.

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

by rubenwardy » Post

Updated bug fixes and flag teleport.

Adds a flag tab to team gui.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

by rubenwardy » Post

0.2 Released!

Change log
  • Flag fetching - flags have to be taken back to the attacking player's flag to be captured (option)
  • Flag teleporting
  • More commands
  • Bug fixing
Last edited by rubenwardy on Wed Feb 05, 2014 08:47, edited 1 time in total.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

Idanwin
Member
Posts: 22
Joined: Tue Apr 23, 2013 14:41

by Idanwin » Post

Is there any server running this?
This is a signature virus. Add me to your signature so that I can multiply.

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

by rubenwardy » Post

Idanwin wrote:Is there any server running this?
Not at the moment, it is still in active development.

I will eventually (maybe in September) run my own City vs City server using this.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

Jace
Member
Posts: 15
Joined: Fri Jan 03, 2014 14:00

by Jace » Post

rocket items crash your game

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

by rubenwardy » Post

That is a problem with kaeza's mod.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
LandMine
Member
Posts: 312
Joined: Tue May 01, 2012 16:44
Location: Mexico City
Contact:

by LandMine » Post

Game Crashes when you try to add an owner to a team, is there a way to do this within the ctf.txt manually?
List Of My Creative Servers - http://planetminetest.com
The Walls - PvP Map - http://minetest.net/forum/viewtopic.php?id=2906

Jace
Member
Posts: 15
Joined: Fri Jan 03, 2014 14:00

by Jace » Post

can the maker make it more stable

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

by rubenwardy » Post

LandMine wrote:Game Crashes when you try to add an owner to a team, is there a way to do this within the ctf.txt manually?
You have to set auth=1 on the players table. It might be hard to find though. It'll look like this:

Code: Select all

_[6]{ ['name'] = "landmine", ['team'] = "teamname", ['auth'] = 1}
Try searching for the user name in the file, maybe. I will try and fix that, and fix other bugs.

It needs more stability (this game mode does).

Was there a crash message?
Last edited by rubenwardy on Thu Mar 13, 2014 09:05, edited 1 time in total.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

by rubenwardy » Post

Fixed a bug with /team join player team
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

banninga.j.m
Member
Posts: 22
Joined: Sun Nov 10, 2013 23:39

by banninga.j.m » Post

Does this game support more than two teams?

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests