Author Topic: Freeze Tag Gamemode  (Read 4646 times)


I knew abandonment was gonna happen.
I handed the latest copy I have over to Legodude77 for testing.

I actually started a Tag Gamemode Project, I planned on 3 types of tag cycling in a round-like system, but I only got the base of it made, and idk If Ill get around to finishing it ever.

Thorfin, just post your code and I'll let you know if it'll make the round end.

I haven't put in the frozen check you suggested, I wanted to see if the one I came up with works or not first.
Code: [Select]
function isEveryoneFrozen(%client)
{
if(!%client.player.isFrozen)
return;
// %mini = %client.minigame;
// %frozen = %mini.team.getFrozen();
// if(%frozen >= %mini.numMembers)
// {
// %mini.endRound();
// return;
// }

%team = %client.getTeam();
%count = clientGroup.getCount();
for(%i=0; %i<%count; %i++)
{
%target = clientGroup.getObject(%i);
if(%client.minigame !$= %target.minigame)
continue;
if(%target.getTeam() !$= %team)
{
%team2 = %target.getTeam();
continue;
}
%teamCount++;
if(!%target.player.isFrozen)
continue;
%frozenCount++;
}
if(%frozenCount == %teamCount)
{
%client.minigame.endRound(%team2);
}
}
function Slayer_TeamSO::getFrozen(%this)
{
%frozen = 0;
for(%i=0; %i < %this.numMembers; %i++)
{
if(%this.member[%i].player.frozen)
%frozen ++;
}
return %frozen;
}

Sorry, I just haven't had any time to test it. You better want to give it to somebody like Greek for more testing.

Sorry, I just haven't had any time to test it. You better want to give it to somebody like Greek for more testing.
I handed the latest copy I have over to Legodude77 for testing.
Oh sorry for the misconception again...

A freeze tag game opened last night got on it
nuff said.


Bump, progress?

<_> Sorry for the bumps, but I'd really like this to happen.

I guess I'll have to test it this week then. I'll bump this when I'm gonna host for tests.

This should be super fun in Blockland! I played it on Quake Live a couple days ago and I loved it. Any progress on testing?

Sorry between work and moving from one place to another I haven't had time to test it, but if you want you can test it. It's set up for a team vs team thing instead of 1 v many.

Has anyone else tried it? I can't because of my bad internet...