zyrax2301 posted...As for how they tell friend from foe, I ain't gonna question what kind of wizardry they have going on when a man can turn another man into paste with his cool turbo-arms.
In Deus Ex, given how advanced the technology is in that game, probably some sort of IFF that the people in the secured location have on them. The camera detects this IFF, reads the person walking as a friend, and does not act on them. Jensen, who does not possess this IFF, would be seen as an intruder.
There's most likely some sort of "size restriction" on how big an intruder has to be to be detected, which is why the "cameras" don't see you when you're too far from them, but can see you when you're ducked or crouched in close proximity to them.
As for the ammo thing, depending on how the gun is mounted and the ammo is fed into it, the ammo could be located above the gun and camera and fed down into it from a large reservoir. I doubt the threat would be so prolonged that all that ammo would be "used" before the threat was dealt with, as there are a number of guards in the facility that would respond to such an alarm and provide another back-up plan.