Assault rifle (Doom)



The rifle was a weapon in the pre-release versions of Doom, an implementation of Tom Hall's initial Doom Bible idea for a "machine pistol" with a knife attachment. Presumably intended to be the player's starting weapon, it was replaced with the pistol in the Doom press release beta and does not appear as a usable weapon in final versions. The player character and trooper sprites still depict them wielding rifles, however.

Additionally, the rifle was to accept the bayonet as an attachment, which would serve as the basic melee attack. This feature also did not make it into the final releases, being replaced by the spiked knuckleduster.

Doom Bible
The machine pistol is described as such in the Doom Bible:

At this point in time, the bayonet was called the knife, though it was still intended to attach to the pistol. It is likewise described in the Doom Bible: "Attachment to the machine pistol. Does minimum damage, more on back attack."

- Doom Bible

Doom 0.2
The Doom v0.2 alpha refers to the gun weapon simply as the pistol in the unused HUD lump. A picture of the weapon's silhouette is found in the likewise unused lump.

The knife likewise appears in the and  lumps.

Doom 0.3
The rifle makes its first full appearance, replacing the earlier machine pistol concept, in the Doom v0.3 alpha. It is owned by default in this version of the game and can be fired, albeit without any effect on the environment other than a light flash. It uses the HUD sprite. Its HUD information file has changed its name to. It has no proper pickup sprite, as one is still included for the pistol as a crude temporary graphic named, which is so badly drawn that it includes a text caption and arrow pointing at the item in order to explain what it is supposed to be. This graphic, like all pickup items in 0.3, is still using the v0.2 palette. The HUD icon gives stats of 5 damage and 2 rounds per second for the weapon.

The knife has likewise been changed into the bayonet, and functions as a separate weapon which appears as the rifle with the attachment on its end. It makes its first full appearance here, also owned by default, and using the HUD sprite. It no longer has an information lump for the HUD at all, and is likewise missing a pickup sprite - one is still included for the knife concept as the lump.

Doom 0.4
There are no changes in the Doom v0.4 alpha to the rifle or bayonet. However, the previous pistol and knife pickup sprites have been removed.

Doom 0.5
The rifle's HUD sprites have been entirely redrawn in Doom v0.5, giving the weapon a slightly more sleek and futuristic appearance. The bayonet has not been redrawn, however, leaving it inconsistent with the new rifle. It is also referenced by the and  graphics for the status bar.

Press release beta
The Doom press release beta finally replaces both the rifle and its bayonet with the pistol and fist that are found in the release version. No further references to a rifle or bayonet can be found in the game's files.

Trivia

 * Ammo clips resemble assault rifle magazines more than those for a pistol, even in the release versions.
 * The first-person sprites depict a fairly conventional-looking rifle, while the player and trooper sprites display a more futuristic weapon that appears to have a design.