For bayonets not mounted as a weapon attachment, see Knife
A Bayonet is a knife, dagger, sword, or spike-shaped point blank ranged weapon designed to fit on, over or underneath the muzzle of a rifle barrel or similar weapon, effectively turning the gun into a spear. It is a close quarter combat or last-resort weapon.
The Bayonet is featured in the Battlefield 1942: The Road to Rome expansion as a melee weapon mounted on the Engineer kit's un-scoped No 4 and K98 rifles, replacing the combat knife. Switching to the bayonet still allows the player to fire their weapon, but it disables the ability to aim and replaces it with a fast melee attack. Unlike the combat knife, the bayonet is always a one-hit kill.
In Battlefield 1943, the bayonet is the melee weapon issued to the USMC (M1 variant) and the IJN (Type 5 variant) Rifleman kits and the USMC Scout kit.
For the Rifleman kits, it is mounted on the end of the rifle which gives it a bit of extra range compared to other melee weapons. For the USMC Scout kit, it is handled like a short sword, like the Type 94 Shin Gunto. Being a melee weapon, a hit will result in a guaranteed 1 hit kill.