Page 1 of 2

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

PostPosted: Sat Aug 17, 2013 16:00
by rubenwardy
Subgame | 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.

+ Old Topic

PostPosted: Sat Aug 17, 2013 16:04
by kaeza
Very good work with this game.
I hope to see someone host a server with it to see how well it performs in multiplayer.

PostPosted: Sat Aug 17, 2013 17:14
by webdesigner97
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

PostPosted: Sat Aug 17, 2013 20:18
by jojoa1997
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

PostPosted: Sat Aug 17, 2013 22:54
by DeepGaze
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+

PostPosted: Sun Aug 18, 2013 08:56
by Mito551
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!

PostPosted: Mon Aug 19, 2013 16:18
by rubenwardy
[h]Updated[/h]

  • Fixed flag disappear bug
  • Expanded /team command

PostPosted: Mon Aug 19, 2013 21:19
by Mito551
Hybrid Dog wrote:I guess I still can't get the enemy's flag.

+1

PostPosted: Tue Aug 20, 2013 15:05
by rubenwardy
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:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
if cf.players and cf.team(team) and cf.player(player) and cf.player(player).team then

PostPosted: Tue Aug 20, 2013 16:15
by Mito551
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:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
if cf.players and cf.team(team) and cf.player(player) and cf.player(player).team then


i still can't.

PostPosted: Tue Aug 20, 2013 16:16
by rubenwardy
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:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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.

PostPosted: Tue Aug 20, 2013 16:24
by Mito551
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.

PostPosted: Tue Aug 20, 2013 16:29
by rubenwardy
Latest version?

PostPosted: Tue Aug 20, 2013 17:19
by Mito551
rubenwardy wrote:Latest version?

now yes. now works. sorry to bother.

PostPosted: Sun Oct 20, 2013 17:05
by rubenwardy
Updated bug fixes and flag teleport.

Adds a flag tab to team gui.

PostPosted: Mon Jan 06, 2014 20:13
by rubenwardy
[h]0.2 Released![/h]

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

PostPosted: Wed Feb 05, 2014 03:34
by Idanwin
Is there any server running this?

PostPosted: Wed Feb 05, 2014 08:47
by rubenwardy
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.

PostPosted: Sun Mar 09, 2014 23:53
by Jace
rocket items crash your game

PostPosted: Mon Mar 10, 2014 10:48
by rubenwardy
That is a problem with kaeza's mod.

PostPosted: Wed Mar 12, 2014 17:23
by LandMine
Game Crashes when you try to add an owner to a team, is there a way to do this within the ctf.txt manually?

PostPosted: Wed Mar 12, 2014 20:35
by Jace
can the maker make it more stable

PostPosted: Thu Mar 13, 2014 09:04
by rubenwardy
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:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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?

PostPosted: Thu Mar 13, 2014 09:14
by rubenwardy
Fixed a bug with /team join player team

PostPosted: Thu Mar 27, 2014 21:21
by banninga.j.m
Does this game support more than two teams?

PostPosted: Fri Mar 28, 2014 09:07
by rubenwardy
It supports infinite teams in theory, however there is only three colors of flags given with the mod.
You could make your own flags.

Re: [Game] Capture the Flag / City VS City combat [0.2][capt

PostPosted: Thu Jul 24, 2014 18:23
by pmpeetamellark
How Do I Shoot?! Guns are not functioning even with ammo in the item selector!

Re: [Game] Capture the Flag / City VS City combat [0.2][capt

PostPosted: Thu Jul 24, 2014 18:30
by Krock
Try to reload the guns

Re: [Game] Capture the Flag / City VS City combat [0.2]

PostPosted: Sun Dec 21, 2014 19:29
by maier.nathan
Hi,
I am trying to add a player to a default team when a new player join. Any ideas how?
there's minetest.register_on_newplayer. This is for a subgame.
Thanks very much,
Bikemare

Re: [Game] Capture the Flag / City VS City combat [0.2]

PostPosted: Fri Dec 26, 2014 21:21
by CreeperLord700
ruben, i cant seem to be on a team, i do /join team singleplayer CR and team fails, i place flag and pops up " you are not part of a team!"