I have not checked thoroughly, so perhaps someone may have said this, but again, if time allowed, the use of pitfalls would be effective. Also, although gruesome, a wall of human bodies (

would discourage an attack (imagine charging into a battle and seeing your closest friends headless and heaped up!) and provide an obvious barrier to the charge.