To unlock the Rail Gun 3 in the Transformers: Revenge of the Fallen DS game, you'll need to connect via Wi-Fi. As for whether there's actually a Rail Gun 3, I'm doubtful. Under Rail Gun 2 there may instead be something that transforms your character into Sideswipe, Bumblebee, or Prime, but don't get your hopes up too much.