Right, i don't want to be just another bassist who just plays the root note and follows rythm all the time and I would like to start coming up with some really nice riffs over the top of the rythm, but my theory knowledge isn't too great.
Background, i know my fretboard notes and i also know about 5th, 7th, octaves harmonics etc and i know how to make notes/riffs go together from this. I can and do write music, but just not on a 'high' level (i use the above knowledge and sometimes i go with 'if it sounds good use it') I have come up with some pretty nice things, but all i can seem to write is metal and i now play in a punk band. I am wanting to increase my theory knowledge to help write these punk lines(chris #2 style

)
Basically there is a song my band has made and it is just begging for a really nice bassline over the top of it. The main chorus is GCB and i don't know how to expand from this. Do i make the riff from notes in the G(or C, or B) scale or do i need to stick to the right key (which i have no idea what the key is...)or what do i do?
help much appreciated,
Thanks
(i did search and didn't exactly find what i wanted with everything together that i needed to know, including the key. i was also unsure where to put this, so misc is it)