Here are the cheats for the PC version of Star Wars: Battlefront II:
456123 — unlock all campaign levels
mostimpressive — invincibility
agoodblasteratyourside — unlimited ammunition
usetheforceluke — turns off the HUD
Those are the only cheats available for the game.