HomeWildfire Games

Let Atlas provide a default AI seed.

Description

Let Atlas provide a default AI seed.

This addresses the Simulation2 warning about a gamesetup mechanism not having decided explicitly about the RNG.

Differential Revision: https://code.wildfiregames.com/D1187
Reviewed By: mimo
Refs #4917, rP20700 / D1178

Event Timeline

elexis added inline comments.Dec 23 2019, 4:39 PM
/ps/trunk/source/tools/atlas/AtlasUI/ScenarioEditor/Sections/Map/Map.cpp
275

Concern, this seems to save the AISeed to the JSON blob in the XML file (otherwise I dont know why newer maps have this property).
But the seed is randomized on gamestart and should not be fixed per map, so it should not be saved here.

Stan added a subscriber: Stan.Dec 23 2019, 4:43 PM
Stan added inline comments.
/ps/trunk/source/tools/atlas/AtlasUI/ScenarioEditor/Sections/Map/Map.cpp
275

There is currently no way to change it in Atlas right?