why would you apply a ramp texture to the particles? for the trail to dissolve? in case this is your intention here (tell me if I missunderstood) you might simply vary the lifetime of your particles left behind from the comet.
everything starts and ends in the right place at the right time.