AwarE wrote:I think you guys want me to add markers so that the new maps can be played by all Human players in ranked competition and on the same map be able to play against a good AI.
yes exactly. The markers should allow the AI to take over a player spot, behave properly and not only derp around (i.e. so one can just put an AI in when there are an odd number of players and start the game. Ofc the AI wont perform as good as a player but it would be good when its not only an empty spot).
AwarE wrote:This idea has a few problems, I'm not sure that the method I use to set FA markers will be compatible with these maps where resources can disappear.
Another issue is that to produce a strong AI performance I set markers in one direction, as I am telling the AI what paths to use, the location of resources and how to defend against/attack the Humans.
If it was possible to place AI in say 2 or 3 start positions on only a particular side of the map the marker layout would easier.
hm I understand the problem but it the main goal is to allow for a maximum of flexibility...
AwarE wrote:Is it possible to restrict the AI to certain start positions using code?
yes and no. You can just not spawn it when it is somewhere, where a player "should be". It is impossible to add the "add AI" options to only a few spots in the lobby. And if you want to play 8v8 with some ai, you should be allowed to do so.
However it is possible to add markers specifically linked to player positions to the save.lua file. This basically means that one could put all the AI marker in some separate file and then add only those markers to the save.lua file when the AI linked to the spot is actually present.
AwarE wrote:Can you write code so that the resources spawned for the AI are different than those spawned for Humans?
what exactly do you mean? the resources are linked to player spawns and are explicitly not spawned when a player is absent.
AwarE wrote:The maps that I make are generally not balanced for Human v Human ranked games.
Since this map series is supposed to replace all of those specific versions by putting them all into one map, these maps have to be balanced.
AwarE wrote:Anyway I will have a go at doing one and submit the *.save.lua
Great!