WhiteTreePaladin Posted June 1, 2017 Report Share Posted June 1, 2017 (edited) I thought I'd ask some questions related to the non-visual autostart. Is there a way to adjust the speed to be faster than 20x? I was thinking it could be useful as an auto-resolve for a campaign mode idea I had. Will the full JSON summary file output be added later? (The current summary output seems to be lacking details compared to the regular summary JSON file.) Edited June 1, 2017 by WhiteTreePaladin 1 Quote Link to comment Share on other sites More sharing options...
elexis Posted June 1, 2017 Report Share Posted June 1, 2017 20x is only the upper limit, the CPU is the bottleneck. When simulating many AIs players on a larger map with greater pop counts, it becomes increasingly slow and often one can reach only 2x gamespeed at most. So setting a greater number in game_speeds.json doesn't have any effect. The non-visual modes (replay and autostart) will run a bit faster as they don't have to render anything. That is mostly useful to debug code or test AI results. I didn't get into touch with the JSON summary output yet. Quote Link to comment Share on other sites More sharing options...
WhiteTreePaladin Posted June 2, 2017 Author Report Share Posted June 2, 2017 Would it be possible to simulate faster than 20x for the nonvisual if the processor can handle it? Quote Link to comment Share on other sites More sharing options...
elexis Posted June 2, 2017 Report Share Posted June 2, 2017 Sure, just edit game_speeds.json. But our code uses 100% of a single core and I don't think that even the most recent CPU will help in reaching that number. It helps more to reduce the mapsize, number of AIs and population count. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.