Jump to content

Home

min 2 players


Dreamslayer

Recommended Posts

Posted

Anyone know how to make the server not start until atleast 2 players or in or until x players are in. I want to do it like quake 3 where it waits until x players are in and says 10.9.8 blah FIGHT.

Posted

My first thought would be to use warmup times. That would give you the countdown type behavior you want. However, it wouldn't wait for 2 people to show up. There is a cvar in RtCW (also Q3 based) that I'm not sure made it into JK2. It's g_minGameClients and sets how many players need to be present before a game will "start". I don't remember there being a countdown associated with it. I'm not in a position to test the minGameClients cvar at the moment. If it does work, then perhaps a combination of that and warmup times would give you want you are looking for.

Posted

Whether or not the client reads that value is unimportant. It's a server-side setting and affects how the server behaves, not the client (directly). If the setting doesn't work, however...I would classify that as a bug. I was checking the cvar list and didn't see sv_minclients. Perhaps I missed it.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...