Starting about 20 years ago, I got some time in the Navy’s small arms training/combat simulator.
It was built and delivered very rapidly after the events of 911, when the Navy needed to step up force protection and security at many installations, as well as ships around the world.
A good friend of mine was CEO of the company that won the contract, which was designed to develop sailors into security forces specifically, addressing roles, like gate guard, quarterdeck watch, and the like.
Actual 9 mm pistols were used, as well as actual M4s, and later, crew served weapons, and the entire thing was built with laser scoring, and realistic sound and operation (action cycling, recoil, and occasionally, malfunction), in every weapon.
Room, clearing, rapid identification of targets, friend, or foe, response to what started as a benign contact scenario, and quickly escalated into force on force, or worse, terrorist action (big, orange ball, everyone died) were all part of the scenario set.
Very realistic, very good training. Very high stress.
I’ve received even better training with the federal air marshals, but that’s a somewhat more confidential matter.