For me, once I get a drum beat and know what notes the guitarist is playing I just sorta noodle around on the scale or arpeggio until I get something that sounds good. Maybe I'll spend some time refining it on my own.
What about you guys? Is there a certain process you follow?
I prefer keeping things relatively simple until moments of tension in the song. Counter Melody and leading the vocals go very far when used sparingly.
My old group had a song where the bass part was actually pretty boring but everytime I would repeat a phrase I would change my selection of notes to bring the feeling of motion.
So initially the bass line like sat around an open A and the 2-4 fret area, then I would move 5th on E, 7th D etc. Basically moving the phrase higher and higher without changing the function of the baseline.
So to the listener, our bass line remains familiar but still feels fresh. Eventually when we hit the high point of the song my last note ended beyond the 12 fret and became the first note of the rhythm guitarists line and the launching point for the lead guitarists' solo.
This creates a huge feeling of motion from the entire band using what was originally a simple, unassuming baseline.
I don't really think with scales, I think of what would work well to write over, trying to create a starting platform for the rest of whatever song. I almost exclusively create baselines when I songwrite tho