Jump to content

Impossible to change number of players in Atlas?


sanderd17
 Share

Recommended Posts

In Atlas, you can't change the number of players after you've set it.

Steps to reproduce:

Create a new map, and set the number of players to 2.

Give both players a CC

Start a simulation game

Reset the game

Add a third player, you get the following error:


WARNING: JavaScript warning: simulation/components/TechnologyManager.js line 245
reference to undefined property "structures/athen_civil_centre"
WARNING: JavaScript warning: simulation/components/TechnologyManager.js line 258
reference to undefined property "Structure"
WARNING: JavaScript warning: simulation/components/TechnologyManager.js line 262
reference to undefined property this.typeCountsByClass[classes[i]]
ERROR: Script message handler OnGlobalOwnershipChanged failed
ERROR: Script message handler OnGlobalOwnershipChanged failed
ERROR: Script message handler OnGlobalOwnershipChanged failed
ERROR: Script message handler OnPlayerDefeated failed
ERROR: Error in timer on entity 1, IID 48, function ProgressTimeout: TypeError: this.typeCountsByClass[classes[i]] is undefined
([object Object])@simulation/components/TechnologyManager.js:262
([object Object])@simulation/components/Player.js:537
()@simulation/components/EndGameManager.js:86
([object Object],0)@simulation/components/EndGameManager.js:58
([object Object])@simulation/components/Timer.js:93

If you now start a simulation game again, Player 1 gets a negative population of max population, and is defeated immediately. Until now, I haven't found a way to add a new player.

Edited by sanderd17
Link to comment
Share on other sites

It would probably be nice to add somewhere early on (maybe even in the title) that this is in Atlas and not in-game :)

It definitely sounds like something that should be solved though, but for now I suggest you add the number of players you want before running the simulation the first time :)

Link to comment
Share on other sites

It would probably be nice to add somewhere early on (maybe even in the title) that this is in Atlas and not in-game :)

Right, I added that.

It definitely sounds like something that should be solved though, but for now I suggest you add the number of players you want before running the simulation the first time :)

It's also the case when you load an existing map without playing the simulation a first time.

Alternative steps to reproduce:

  • open atlas
  • load a scenario map
  • change the number of players (add one)
  • run a simulation

It gives about the same problems when running, although no error when changing the number of players.

Edited by sanderd17
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...