[0.17.14] Creating more teams during a PvP scenario doesn't fully work

Bugs that are actually features.
Post Reply
Llama
Inserter
Inserter
Posts: 32
Joined: Tue Mar 01, 2016 1:50 am
Contact:

[0.17.14] Creating more teams during a PvP scenario doesn't fully work

Post by Llama »

What did you do?
I tried to create a 3rd team in a PvP scenario in-game with commands* which did work according to a team-counting command**, but it did not register on the Teams or Admin menu in the top left. Using commands to make a player join the team did also not work.***

Creating team*
/c game.create_force("Team Dom")

Checking name of forces:**
/c for name, force in pairs (game.forces) do
game.print(name)
end

Forcing player to join team***
/c game.players["Dom"].force = game.forces["Team Dom"]

as per:
https://wiki.factorio.com/Multiplayer#Forces



What happened?
Commands were executed without error, and the team-counting command confirmed the forces had been created but players could not join new forces.

What did you expect to happen instead?
I expected the newly-created teams to show up in the Teams or Admin menu in the top left, and I expected to be able to make a player join new teams via commands.

Steps to reproduce:
  • Host PvP scenario (having added yourself to the admin list for good luck)
  • Press ` key to open chat
  • Press Ctrl-V to paste pre-prepared command:
    /c game.create_force("Team Dom")
  • Press Enter
  • Press ` key to open chat
  • Press Ctrl-V to paste pre-prepared command:
    /c for name, force in pairs (game.forces) do game.print(name)end
  • Press Enter
  • LMB click Teams menu in the top left to look for new team
  • LMB click Admin menu in the top left to look for new team
  • Press ` key to open chat
  • Press Ctrl-V to paste pre-prepared command: (change player name "Dom" as necessary for testing)
    /c game.players["Dom"].force = game.forces["Team Dom"]
  • Press Enter
  • Sadly accept that it's not happening
It has happened every time I have attempted it
Attachments
JimAndy017_aa.zip
save file
(11.82 MiB) Downloaded 83 times
note that the chat suggests there are many teams, PvP menu does not
note that the chat suggests there are many teams, PvP menu does not
factorio_2019_03_18_17_52_37_927.jpg (953.13 KiB) Viewed 1988 times

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5150
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [0.17.14] Creating more teams during a PvP scenario doesn't fully work

Post by Klonan »

Creating a team runtime in the middle of a round isn't supported, all teams must be set up during the round setup config.

moullcz
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat Mar 12, 2022 9:56 am
Contact:

Re: [0.17.14] Creating more teams during a PvP scenario doesn't fully work

Post by moullcz »

Hello, is this still unrealizationable? anyone knows how to add new team during match?

Post Reply

Return to “Not a bug”