This won't be an easy job, especially for a novice. But if you really wanna give it a try, here ya go . . .
This is the basic configuration for the E36, but it may vary slightly through the years. You'll want to test and confirm connections carefully with a meter.