Howdy Goose.
From what I've seen, the Nazi flag was used on German armour, using the typical red-white-black colouring. Also, from what I've seen, this was more prevalent in the earlier parts of the war. You are correct that its main use was identification for friendly aircraft.
Cheers,
Cokes.