I think a flat cap is an exelent headwear with the kilt, and a beret is even more sutable. But this is only in a casual wear thing. In more formal kilt situations these hats are absolutly no no.
As for the baseball cap I think its a mismatch with the kilt in any situation. I don't know why, I just don't lik it.