omf2097 / openomf

One Must Fall 2097 Remake
http://www.openomf.org
MIT License
372 stars 40 forks source link

AM and BM tags: HARs should walk to enemy HARs on scrap. #255

Open katajakasa opened 10 years ago

katajakasa commented 10 years ago

Currently, the HARs do not know how to walk to the enemy HAR on scrap.

Vagabond commented 9 years ago

This is controlled by the bm and the 'am' tag (with the 'e' modifier to 'end' at the opponent). Shadow uses the 'cf' tag to walk to the corner of the arena.

I have implemented the 'cf' tag now (via a giant hack), since shadow's scrap is the only animation in the game which uses it.

To actually implement 'walk to' we will need a 'sub animation' or something that returns to the current animation once we reach the target coordinates.