Call of Duty 4: Modern Warfare & Modern Warfare Remastered
In the level "Death From Above", the Bofors L/60 40mm cannon is a usable weapon of the AC-130. It has a medium fire rate compared to the other 105mm and 25mm guns on the aircraft.
Call of Duty 4: Modern Warfare (Nintendo DS)
In the level "Spectre, the Bofors cannon is usable from the AC-130.
Call of Duty: World at War (Nintendo DS)
In the level "Dangerous Waters", the player will start our on a Squad mount 40mm Bofors Anti-Aircraft cannon to destroy Japanese Kamikaze planes and protect the ships in the fleet.
Call of Duty: Modern Warfare 2
In the Special Ops mission Overwatch, the player controlling the AC-130 gunner is able to use a 40mm Bofors cannon.
Call of Duty: Modern Warfare: Mobilized
In the level "Clearing the Way", the player assumes control of an AC-130 gunner. The 40mm Bofors cannon is one of the usable weapons.
Find Makarov: Operation Kingfish
The Bofors is used by the AC-130 (callsign Spectre 6-4) to provide support for the team.
The 40mm Bofors cannon seen between the 25mm Gatling Gun and the 105mm M102 Cannon
Call of Duty: Modern Warfare 3
In the level "Iron Lady", the Bofors cannon is available to the AC-130 gunner when the player's controls switch to him.
Call of Duty: Modern Warfare 3: Defiance
In the level "Clearing Out", the Bofors is usable from the AC-130.
Call of Duty: WWII
The Bofors 40mm cannon appears in some sections of the campaign. Multiple of them also appear in the multiplayer map "USS Texas", as the cannons are mounted on the battleship and multiplayer map "Gibraltar" on a roof top and three of them on the ground.