There are a few methods, all pretty separate from 3.5 mechanics. What you can do is follow a more wargame mechanics for when no PC's are involved. Group the different goblins or mercs into a unit with its own stats. Then just create a basic combat system that would put the large combat into a few rolls. Of course you'd probably want to sub divide it down to individual creatures if the PCs got involved in the combat.