Is there a way to avoid having the round restart when a player joins a currently single player game? I just want the round to play out normally before it switches over to multiplayer.
I can't really think of anything outside of using a script to check the number of players, then wait for the end of a round to switch the number of SP_TEAMS_MAX to a value higher than 1. I'm just hoping there's a built-in way to do this? The GAME_TYPE is also 0, and bots don't play against you in SP.
Thanks in advanced for any help or ideas.
Single to Multiplayer Transition
- delinquent
- Match Winner
- Posts: 773
- Joined: Sat Jul 07, 2012 3:07 am
Re: Single to Multiplayer Transition
Try auto-team 0, that might stop a player from automatically joining a team upon entrance, and subsequently ending the current session. It may also be wise to require a login to play.
Other than that, I don't think it's possible without modifying the server, which presents a whole load of new problems.
Other than that, I don't think it's possible without modifying the server, which presents a whole load of new problems.
-
- Adjust Outside Corner Grinder
- Posts: 2003
- Joined: Tue Nov 07, 2006 6:02 pm
- Location: paris
- Contact:
Re: Single to Multiplayer Transition
SP_TEAMS_MAX 1 seems correct to me, does the server not accept the new player at all if you set it?
AUTO_TEAM and authentication have nothing to do with this.
AUTO_TEAM and authentication have nothing to do with this.
- Phytotron
- Formerly Oscilloscope
- Posts: 5042
- Joined: Thu Jun 09, 2005 10:06 pm
- Location: A site or situation, especially considered in regard to its surroundings.
- Contact:
Re: Single to Multiplayer Transition
Yeah, I was going to suggest that and/or the [SP_]MIN_PLAYERS settings(s). I'm fairly sure it can be done, and that I've inadvertently done it before. But the interaction of all those settings twists my brain a little, and I can't recall.
Re: Single to Multiplayer Transition
The SP_TEAMS_MAX if set to 1 don't allow a second person to join and take it to multiplayer. It was my first idea. d: I would control this with a script before modifying the whole server though. That's just a bit unnecessary for something so small. It's not really a big deal I guess, I just was hoping there was a way already available without trying to rig something up.
Thanks anyways. (:
Thanks anyways. (: