AMAI icon indicating copy to clipboard operation
AMAI copied to clipboard

Additional creep checks cannot be cancelled

Open jzy-chitong56 opened this issue 6 months ago • 4 comments

This check is mainly to avoid certain maps,creep and mine The distance is too far,When the system checks, it is assumed that there are no monsters here

but in reality, when build an expansion,creep Can attack

Although this type of map may not be many, it does exist

jzy-chitong56 avatar Feb 24 '24 18:02 jzy-chitong56

Yes, the distance needs to be large enough to cover this but not too large that invalid creep groups are picked up. This happens very early now so its unlikely creeps have been tricked away from the locations at time of check.

SMUnlimited avatar Feb 25 '24 11:02 SMUnlimited

Some maps are initially placed at a large distance, which was intentionally set by the creator

jzy-chitong56 avatar Feb 25 '24 11:02 jzy-chitong56

(4)Avalanche_LV

The size of the grille is large , the distance will let AI think here no creep Even if there are no issues here, it cannot be ruled out that other maps or map authors may encounter this situation

So I designed an additional check And I insist that it cannot be deleted

image

jzy-chitong56 avatar Feb 26 '24 02:02 jzy-chitong56

Sight radius of a creep is max 1400 Minimum attack notification begins at 1250

Current expansion radius is 1000. So is too low based on the above and needs to be one of the above numbers to catch creeps that are a danger to the expansion. Also in theory that needs to be based on where the expansion would actually be placed on the ground and do the distance check from there.

That still doesn't necessarily help all cases as that really requires a check to see if the expansion pathing unit comes across creeps on its way to the mine that could attack the peon so all groups need to be taken out before claiming the expansions.

SMUnlimited avatar Feb 26 '24 17:02 SMUnlimited