Conditional value for # of destroyed robots

G.M. [rogueleader]
Posts: 56

Conditional value for # of destroyed robots

Post#1 » 13 Mar 2018, 20:46

Yeah. Thats about it. It would allow the user to program the ai to recognize when it needs to go on the defensive, without using an overly complicated system of tagging and scanning for "if all allies tagged A are equal or less than (# of taged bots -1) in number". Also, if there are more that 6 bots in a match, then it makes it that much more complicated to keep track of numbers. This would help alleviate the complexity of counting, or at least when counting losses

Posts: 2926

Re: Conditional value for # of destroyed robots

Post#2 » 13 Mar 2018, 22:10

For the moment you can use counting and some assumptions.

I have a little routine that says "go catch resources if you are dominating".

It assumes that if there are 4 or more enemies, I still have to fight. If there are 3 or 2 I compare them with my allies. If there are also 3 or 2 allies (respectively) then there is numerical superiority (because "self" is a +1) and then I go catch around.

It requires more nodes, yes, but no tags and it mostly work.

Moreover online there are only 4 bots now, so it is easier to build the routine. -> Gladiabots CHAT, stats, insights and more ;

Return to “Requests”

Who is online

Users browsing this forum: No registered users and 3 guests