Rope attack? Stop the walker and have troops remove the ropes. AT-AT saved. Done.
(works in Starwars Empire At War, though all you need to do is stop a moving AT-AT if it's roped, otherwise it'll trip and you'll loose the valuable transport :3 Probably will work in starwars Battlefront II, though the rope attack always fails as the ship is shot out of the sky by the said AT-AT, or crashing into the nearby one)
(But even though I saw only 1 rope-attack on an AT-AT in the Starwars films, "Starwars battlefront II" and "Starwars Empre at War" has the AT-AT and the rope-attack... (They may be in other starwars games, but I only have the said 2 games) They seem linked...)