Except for permanent magnet generators, a generator produces output voltage proportional to the magnetic field, which is proportional to the excitation current; if there is no excitation current there is zero voltage.
Except for permanent magnet motors, a generator produces output voltage proportional to the magnetic field, which is proportional to the excitation current. For example, if there is no excitation current there is zero voltage.