Hi, here's my first post!
When there's one client connected to a server, the single-player settings (SP_*) take over, right? I'm trying to set up my server so that when there's only one human player connected, he's playing on one team with two AIs against another team of three AIs. I thought the following in settings_custom.cfg would do it:
SP_TEAMS_MAX 2
SP_TEAMS_MIN 2
SP_TEAM_MIN_PLAYERS 3
SP_MIN_PLAYERS 6
SP_TEAM_MAX_IMBALANCE 0
but I'm getting the player on Team Blue, one AI on Team Gold, and the other four AIs on Team Red. What am I doing wrong? Or have I misunderstood the behavior of Armagetron when only one player is connected?
Team play for single connected client
The mistake is the MIN_PLAYERS setting; all AI players added by this fight on their own (Team red in your case, although it should be named "AI Team"). You should use
Beware: the AIs don't know a lot about teamplay. They know precicely one thing, when looking for a target to trace, they don't choose teammates. Lots of accidents happen 
Code: Select all
SP_MIN_PLAYERS 0
SP_TEAM_MIN_PLAYERS 3

-
- On Lightcycle Grid
- Posts: 31
- Joined: Thu Oct 26, 2006 9:02 pm
- Location: Greenlawn, NY
- Contact:
Thanks for responding, z-man.
I've tried it, but it doesn't seem to be working. Here's my current settings_custom.cfg file in its entirety (sans password):
Any advice would be appreciated.
I've tried it, but it doesn't seem to be working. Here's my current settings_custom.cfg file in its entirety (sans password):
Now I'm getting just one AI versus the one player. SP_TEAM_MIN_PLAYERS seems to have no effect. I've tried various combinations, but none seem to put AIs on the player's team.# Single human player
SP_WALLS_STAY_UP_DELAY 1
SP_SIZE_FACTOR -1
SP_SCORE_WIN 1
SP_LIMIT_SCORE 10
SP_LIMIT_ROUNDS 10
SP_LIMIT_TIME 30
SP_TEAM_MIN_PLAYERS 3
SP_TEAMS_MIN 2
SP_MIN_PLAYERS 0
# Multiple human players
WALLS_STAY_UP_DELAY 1
SIZE_FACTOR -1
TEAM_BALANCE_WITH_AIS 0
TEAM_MAX_PLAYERS 1
FINISH_TYPE 0
SCORE_WIN 1
SCORE_SUICIDE -2
SCORE_KILL 1
SCORE_DIE 0
LIMIT_SCORE 10
LIMIT_ROUNDS 20
LIMIT_TIME 30
Any advice would be appreciated.
-
- On Lightcycle Grid
- Posts: 31
- Joined: Thu Oct 26, 2006 9:02 pm
- Location: Greenlawn, NY
- Contact:
Making progress!
I've added that line to the config file listed above. Now when I enter the grid, I am the sole member of Team Stormcrow. Three AIs are members of Team Blue. Two AIs are not alive, and not members of a team. When subsequent rounds begin, there is a message that the AI "wants to join Team Stormcrow, but isn't currently allowed to."
If I manually switch to Team Blue, everything is as I want it. There are two AIs on Team Blue with me, and there are three AIs on Team Gold.
What stops the AIs from joining my team automatically?
I've added that line to the config file listed above. Now when I enter the grid, I am the sole member of Team Stormcrow. Three AIs are members of Team Blue. Two AIs are not alive, and not members of a team. When subsequent rounds begin, there is a message that the AI "wants to join Team Stormcrow, but isn't currently allowed to."
If I manually switch to Team Blue, everything is as I want it. There are two AIs on Team Blue with me, and there are three AIs on Team Gold.
What stops the AIs from joining my team automatically?