What prevents Dwarf size planet having more than 6 players?

zoomer61

Chieftain
Joined
Nov 16, 2014
Messages
24
I can find the criteria for the default number of players for WORLDSIZE_TINY (dwarf) but cannot find what is stopping me from having more than 6 players on the map. Any thoughts? Thanks
 
It's hard coded (in AdvancedSetup.lua) as 150% of the default number of players

Code:
local defaultPlayers = GameInfo.Worlds[worldSize].DefaultPlayers;
maxPlayers = defaultPlayers + math.floor(defaultPlayers * 0.5);

Sarcasm Alert!

Way to go Firaxis :goodjob: Why bother putting configuration in the database when you can hard-code it :goodjob:
 
Back
Top Bottom