Poll

1-on-1?

yes, add a checkbox
9 (90%)
yes, spectator-only slots
0 (0%)
no, useless option
1 (10%)

Total Members Voted: 10

Author Topic: 1-on-1 checkbox (duel mode)  (Read 3878 times)

0 Members and 1 Guest are viewing this topic.

Offline The Epic Guy

  • Soldier
  • **
  • Posts: 205
  • No more foreplay
1-on-1 checkbox (duel mode)
« on: February 06, 2009, 09:23:22 pm »
Make 1-on-1 an option like survival, realistic and advanced.

This would make additional player spots "designated spectator spots".

There arent many 2 player DM servers out there, so people often choose to go to 3+ player DM servers, and then kick anyone that comes in. Considering that there are fewer DM servers then CTF servers, this may annoy players looking for DMs.

Also, it would be fun to watch these matches once in a while.

Never know, this option may be used more than advanced mode.  [retard]

Anyone that says that this could be scripted should provide a script doing so.

Offline STM1993

  • Rainbow Warrior
  • *****
  • Posts: 2072
  • It's been a long time.
Re: 1-on-1 checkbox (duel mode)
« Reply #1 on: February 06, 2009, 10:54:22 pm »
Anyone that says that this could be scripted should provide a script doing so.
Let's all wait for a scripter to be bothered to script this.

EDIT:
http://forums.soldat.pl/index.php?topic=32627.0
^ Well, look what I found here.

1. Start a CTF Game
2. Implement THAT script. So no one would try to cap.

3. Implement THIS script as well (but you must modify it)
http://forums.soldat.pl/index.php?topic=26442.0
Modify to something like this:
Code: [Select]
[Team0]
Balance=0-
Priority=0
MaxPlayers=0

[Team1]
Balance=0-
Priority=1
MaxPlayers=1

[Team2]
Balance=0-
Priority=1
MaxPlayers=1

[Team3]
Balance=0-
Priority=0
MaxPlayers=0

[Team4]
Balance=0-
Priority=0
MaxPlayers=0

[Team5]
Balance=0
Priority=2
MaxPlayers=32

Tada.



I think it might even be possible to use JUST number 3 in a TDM or DM. I'm no scripter myself, but from what I understand, that's how it can be done.

Credits to the relevant scripters for the scripts, those are not mine.
« Last Edit: February 07, 2009, 03:04:26 am by STM1993 »

Offline chutem

  • Veteran
  • *****
  • Posts: 1119
Re: 1-on-1 checkbox (duel mode)
« Reply #2 on: February 07, 2009, 01:02:56 am »
Code: [Select]
procedure OnJoinTeam(ID, Team: byte);

begin
  if Team = 1 then begin
    if AlphaPlayers < 1 then command('/setteam1 '+Inttostr(ID));
  end else if Team = 2 then begin
    if BravoPlayers < 1 then command('/setteam2 '+Inttostr(ID));
  end;
end;
*untested, but should work*

Make sure game mode is CTF (3).

1NK3FbdNtH6jNH4dc1fzuvd4ruVdMQABvs

Offline scarface09

  • Veteran
  • *****
  • Posts: 1153
  • Arsenal Supporter For Life
Re: 1-on-1 checkbox (duel mode)
« Reply #3 on: February 07, 2009, 01:20:05 am »
F12, this sounds good.
Football is the other face of the world. If you don't like it, then you can get the hell out!

Offline GSx_Major

  • Major
  • *
  • Posts: 97
Re: 1-on-1 checkbox (duel mode)
« Reply #4 on: February 07, 2009, 04:45:51 am »
Chutem, that won't actually do anything. :)
...and headbutt the sucker through your banana suit!

Offline The Epic Guy

  • Soldier
  • **
  • Posts: 205
  • No more foreplay
Re: 1-on-1 checkbox (duel mode)
« Reply #5 on: February 07, 2009, 12:29:16 pm »
I was thinking about a checkbox that causes all players to join as spectators and if there is less than two players, will have something at the bottom saying "press space to join", or something like that.

Then you press space to join. [retard]

Offline STM1993

  • Rainbow Warrior
  • *****
  • Posts: 2072
  • It's been a long time.
Re: 1-on-1 checkbox (duel mode)
« Reply #6 on: February 07, 2009, 08:54:57 pm »
^ No offense, but did you even bother to try any of these scripts?

Offline The Epic Guy

  • Soldier
  • **
  • Posts: 205
  • No more foreplay
Re: 1-on-1 checkbox (duel mode)
« Reply #7 on: February 08, 2009, 10:37:34 am »
^ No. I only said that because someone was bound to say "could be scriped". Happens with half the topics here.

What I didn't expect was that all the scripts provided were CTF workarounds. I doubt anyone is going to look through the CTF servers for a 1-on-1 match. Isn't it possible to set a max player limit on a DM, and have the other spots for spectators?

Like you, Im no scripter either. But thats beside the point.

Offline GSx_Major

  • Major
  • *
  • Posts: 97
Re: 1-on-1 checkbox (duel mode)
« Reply #8 on: February 08, 2009, 11:18:19 am »
Code: [Select]
procedure OnJoinGame(ID, Team: Byte);
begin
  if (NumPlayers - Spectators) > 2 then
    Command('/setteam5 ' + IntToStr(ID));
end;

procedure OnPlayerSpeak(ID: Byte; Text: String);
begin
  if Text = '!join' then
    if (NumPlayers - Spectators) < 2 then
      Command('/setteam0 ' + IntToStr(ID));
end;

In theory.
...and headbutt the sucker through your banana suit!

Offline Fale

  • Major
  • *
  • Posts: 56
Re: 1-on-1 checkbox (duel mode)
« Reply #9 on: February 09, 2009, 01:33:33 am »
F12 ofcourse. That would be great update for all us playing 1v1. For an example, yesterday i played on a good 1v1 server, i lost the match so server owner asked if he can take a try - he put me on specs. After it, the one who was spectating was playing with a winner next match. More people more fun but still 1v1.

Offline chutem

  • Veteran
  • *****
  • Posts: 1119
Re: 1-on-1 checkbox (duel mode)
« Reply #10 on: February 10, 2009, 03:07:15 am »
Chutem, that won't actually do anything. :)
:/ Why not. Seems to work in my mind.
1NK3FbdNtH6jNH4dc1fzuvd4ruVdMQABvs

Offline GSx_Major

  • Major
  • *
  • Posts: 97
Re: 1-on-1 checkbox (duel mode)
« Reply #11 on: February 10, 2009, 06:52:18 am »
Code: [Select]
procedure OnJoinTeam(ID, Team: byte);

begin
  if Team = 1 then begin
    if AlphaPlayers < 1 then command('/setteam1 '+Inttostr(ID));
  end else if Team = 2 then begin
    if BravoPlayers < 1 then command('/setteam2 '+Inttostr(ID));
  end;
end;
If a player joins alpha, then it will set team to alpha, if a player joins bravo, then it will set team to bravo. Nothing else, so it doesn't limit anything.

...and headbutt the sucker through your banana suit!

Offline SpiltCoffee

  • Veteran
  • *****
  • Posts: 1579
  • Spilt, not Split!
    • SpiltCoffee's Site
Re: 1-on-1 checkbox (duel mode)
« Reply #12 on: February 10, 2009, 08:53:48 am »
Not only that, but he's put AlphaPlayers/BravoPlayers as less than one, or in other words, equal to zero, which only occurs with no one on those teams (obviously), and the OnJoinTeam procedure, I believe, is called after the player has join the specified team. Therefore, neither command will ever be sent.

Personally, I'd use GSx_Major's script. Makes more sense to me. :P
When life hands you High Fructose Corn Syrup, Citric Acid, Ascorbic Acid, Maltodextrin, Sodium Acid Pyrophosphate,
Magnesium Oxide, Calcium Fumarate, Yellow 5, Tocopherol and Less Than 2% Natural Flavour... make Lemonade!

Offline scarface09

  • Veteran
  • *****
  • Posts: 1153
  • Arsenal Supporter For Life
Re: 1-on-1 checkbox (duel mode)
« Reply #13 on: February 10, 2009, 04:04:40 pm »
F12...yeah 1 v 1 only sounds great.
Football is the other face of the world. If you don't like it, then you can get the hell out!

Offline chutem

  • Veteran
  • *****
  • Posts: 1119
Re: 1-on-1 checkbox (duel mode)
« Reply #14 on: February 10, 2009, 09:47:08 pm »
Code: [Select]
procedure OnJoinTeam(ID, Team: byte);

begin
  if Team = 1 then begin
    if AlphaPlayers < 1 then command('/setteam1 '+Inttostr(ID));
  end else if Team = 2 then begin
    if BravoPlayers < 1 then command('/setteam2 '+Inttostr(ID));
  end;
end;
If a player joins alpha, then it will set team to alpha, if a player joins bravo, then it will set team to bravo. Nothing else, so it doesn't limit anything.


Oh shit I'm such an idiot, this is what I meant:
Code: [Select]
procedure OnJoinTeam(ID, Team: byte);

begin
  if Team = 1 then begin
    if AlphaPlayers > 1 then command('/setteam5 '+Inttostr(ID));
  end else if Team = 2 then begin
    if BravoPlayers > 1 then command('/setteam5 '+Inttostr(ID));
  end;
end;
1NK3FbdNtH6jNH4dc1fzuvd4ruVdMQABvs

Offline KYnetiK

  • Camper
  • ***
  • Posts: 314
  • Something Else
    • KYnetiK ART
Re: 1-on-1 checkbox (duel mode)
« Reply #15 on: February 11, 2009, 01:44:46 pm »
F12.

This would be an enjoyable and much used mode if made part of the core...
I asked God for a bike, but I know God doesn’t work that way. So I stole a bike and then asked for forgiveness.
_____________
WARNING! This user may use sarcasm and cynicism in a way you are not accustomed to.

[Barret]  /  [saw]
*Shakes Fist*

Offline Clawbug

  • Veteran
  • *****
  • Posts: 1393
  • 1184!
Re: 1-on-1 checkbox (duel mode)
« Reply #16 on: February 12, 2009, 12:28:46 pm »
My suggestion: Open up duel servers. If there is a demand for them(there is!) they won't be there for nothing.
Fight! Win! Prevail!

Offline Oneshiningstar

  • Major(1)
  • Posts: 5
Re: 1-on-1 checkbox (duel mode)
« Reply #17 on: February 14, 2009, 12:28:28 am »
How duel servers should work: Warsow style.
When you enter, 2 men are fighting and the rest are queuing up. Instead of Alpha/Bravo, it reads 'Join Queue'.
You are now placed at the back of the queue.
Loser goes to back of queue, winner stays. Guy in front of queue goes up against winner.
All the rest spectate. A number on top of the screen tells you how many more ppl before your turn.

Offline scarface09

  • Veteran
  • *****
  • Posts: 1153
  • Arsenal Supporter For Life
Re: 1-on-1 checkbox (duel mode)
« Reply #18 on: February 15, 2009, 12:14:35 am »
Don't forget to make a poll...should encourage more users to vote...
Football is the other face of the world. If you don't like it, then you can get the hell out!

Offline The Epic Guy

  • Soldier
  • **
  • Posts: 205
  • No more foreplay
Re: 1-on-1 checkbox (duel mode)
« Reply #19 on: February 15, 2009, 03:54:32 pm »
As much as I like my own idea, I believe having player slots seperate from spectator slots is a good idea also. It would be much more versatile as you can choose how many of each can join into a server.

However, 1-on-1 checkbox would probably be better if we had it the way shiningstar said it, so the same 2 people can't stay on a server all the time.

Offline TradeMAAK

  • Soldier
  • **
  • Posts: 154
Re: 1-on-1 checkbox (duel mode)
« Reply #20 on: March 09, 2009, 09:09:16 pm »
This is great idea as I myself have made some duel maps specifically for a mod like this!
destroy

Offline Furai

  • Administrator
  • Veteran
  • *****
  • Posts: 1905
    • TransHuman Design
Re: 1-on-1 checkbox (duel mode)
« Reply #21 on: March 10, 2009, 12:32:28 pm »
F12'ed, I would like to see it implemented. ;d
"My senses are so powerful that I can hear the blood pumping through your veins."