Star Wars: Battlefront Cheats & Codes for PC 

Star Wars: Battlefront is a series of first- and third-person shooter video games based on the Star Wars films. Players take the role of soldiers in either of two opposing armies in different time periods of the Star Wars universe.
Cheat codes, console commands, secrets:
Unlimited health or ammunition:
Stand, crouch, or lay near any one of the replenishment depots.
Camp there with a sniper rifle and keep firing.

Battle Of Hoth (Galactic Civil War): Destroying AT-Ats:
Another way to defeat the walkers is to take control of the Snowspeeder
as the pilot. When you get near the walkers, switch places so that you
are in control of firing the tow cable. When the cable is attached, the
CPU pilot in the speeder with you will complete the final wrap around.

Killing Jedis:
Killing a Jedi is difficult. Get a vehicle that is able to fly. Go to the
enemy Jedi and wait until he stands still. Then, land on top of him.
He will respawn. Do this as many times as desired.
Cheat codes, console commands, secrets and system requirements for Star Wars: Battlefront free online.

Game description

Game Developer:
Pandemic Studios (2004–05) Free Radical Design (2006–08) Rebellion Developments (2007–09) Slant Six Games (2009–10) LucasArts (2008–13) EA DICE (since 2013) Criterion Games (2016–2017) Motive Studios (since 2017)
Game Publisher:
LucasArts (2004–13)
On other platforms and consoles:
PS/PS2 Xbox