it's worth fighting for. Take your time and don't be in a hurry. Insurance company's want you settle fast.
Same exact thing happened to my 90 miata about three years ago. The book was about three thousand dollars then, and hail damaged the rear plastic window, hood, trunk and all four fenders. They wanted to total it for $3,000, but it was highly customized for auto-crossing and I did not want to loose all the customization...they don't pay for that unless you pay extra to insure it. Since the car was still operable, I was able to convince them to settle with me and not total it out. Remember you have to give them the title in order for them to sell it back to you.
I settled with them for around $2,100 something I found a guy that completely disassembled the car body to repaint every part, even taking care of some rusty wheel wells and pinstrping in a little over two weeks. He charged me $1,600 cash. He wanted to charge me $800 more to replace the top, so I had to replace the top myself which cost a whopping $275 and about six hours on a Saturday, and it looks fantastic!
Point is, Try not to let them salvage the car. Work it out with them. Don't be in a hurry either especially if the car's still drivable. If it's still perfectly drivable, then there is really no reason for them to send it to salvage. So what if you drive it around with dents for a while, it's still an e34, and dents in the hood do no affect the drive!
Look around for a good body person that's not BMW...you may be surprised what you find. You won't get the whole value of the car, but you should get enough to get it repaired better than it was before....heck, it's 12 years old, and could probibly use a good paint going over anyway.
It makes me sad to hear this.

Good Luck