+1 agreed with the uselessness of modes... unless of course you have time to really go back to that new root within the scale, if you have time to do it right it can really work. just to explain precisely: modes are different starting points to a major scale, the notes are all the same. If you are just playing in the same scale but never define the modal root again, it is not "really" playing in the mode. And you should play the mode that is still the proper scale, not a g major mode over c major (although it can work, depends what you accent). for instance, you can play everything dorian, but stay in the proper major scales for the chord.
anyways, for G C D G..... I would play a G major scale pattern when the guitar is on G, C major when the guitar is on C, and D major when the guitar is on D, then back to G major... trying to make the transition as smooth or as sharp as required. I might play one of the modes, depends what root you want to use for each chord. The best bet, again if you have the time, is to fully voice the chords that are actually being played, and add 2nds, 6ths, etc that the guitar may not be playing. by going into a G major mode when the guitarist is playing C you are not fully supporting the sound of that C major chord. When the guitarist is playing C (which includes an F), it often sounds better if the bass player is also playing C and F instead of C and F# (by staying in G major) But it can sound cool, you just have to play with it and see, maybe not stay too long on the F# if the guitarist is on a C major chord, etc. maybe use it as a transition note. certainly you could just play the part of G major scale that fits with C (everything except the f#)
keep in mind, that a lot of songs don't have a key, or switch keys, and you have to make these sorts of full changes to play the proper chord a lot. like a song that goes Am, Dm, F, E. it is in C major except for the E.... so when the song goes to E you need to switch to play something in E major, or you are contracticting the harmonics of the song.
the easiest thing, if you are just starting out, is to play the scale that corresponds exactly to the guitar chord (if you have time). don't mean to sound like a broken record, and I'm not a professional musician, so if this doesn't seem proper to anyone let me know
