Garry's Mod

Garry's Mod

481 ratings
Scanner Screenshots
3
3
3
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Movie, Roleplay
File Size
Posted
Updated
12.071 KB
May 22 @ 8:34pm
May 24 @ 1:14pm
2 Change Notes ( view )

Subscribe to download
Scanner Screenshots

Description
A script born in a single night out of "I bet this is doable, and it's funny."

"Scanner screenshots" is an addon that makes it so whenever Combine Scanners take photographs they take actual screenshots of what they're targeting.

The images taken are stored in garrysmod\garrysmod\data\cscanners\.

Images can also be viewed ingame using an in-game photo viewer accessed via the console command scannerscreenshots_gallery

Convars
  • cl_scannerphotos_enabled 0/1 -- Enable/Disable the mod from taking screenshots.
  • cl_scannerphotos_quality 1-100 (defaulted at 90): How close to uncompressed the saved jpg file should be.
  • cl_scannerphotos_dimensions 16-1024 (defaulted at 512): The resolution of the screenshots.
  • cl_scannerphotos_debug 0/1 -- When set to 1 the script will print to the console whenever & whatever a scanner is taking a screenshot of.
  • cl_scannerphotos_saveraw 0/1 -- Enable/Disable saving raw captures
  • cl_scannerphotos_savefiltered 0/1 -- Enable/Disavle saving filtered captures

This also supports claw (shield) scanners, and it's supposed to support ceiling cameras as well, but their detection method seems to escape glua logic so those currently don't work -- but may some day if sounds from them get emitted by them and not the world.

Support me on Ko-fi[ko-fi.com]
If you need immediate help with any of my addons, or just want to know what I'm working on or etc, then consider joining my Discord[discord.gg] server.
54 Comments
in the virtual end 8 minutes ago 
it starts with
rudestholiday1225 1 hour ago 
this would legit be the ultimate player surveillance tool i get why the combine use these things
Cat 7 hours ago 
"Can i run away from 5000 scanners for an HOUR?"

"In this challenge i'll be running from 5000 city scanners for a total of one hour. they always know where i am, and when im still, klick. My Hard drive is a Terabyte large, lets see how quick they fill it up!"
Vuthakral  [author] 7 hours ago 
Limitation of an engine issue. The white flash overlay displays in all render contexts.
NotTfue2063 7 hours ago 
For some reason whenever the scanner takes a screenshot and I open the picture its just a white screen for both of them.
Vuthakral  [author] 8 hours ago 
That's cool. If you don't tell me what the error was I can't fix it though.
alexandcleo2016 8 hours ago 
It gave me an error.
Vuthakral  [author] 8 hours ago 
Update is that I added an in-game image viewer (accessed from the console via scannerscreenshots_gallery), added convars to disable saving either the raw or filtered captures if you only want one or the other, and fixed the scanner injured filter for filtered captures. The in-game image viewer also has a nuclear "delete all scanner photos" button at the bottom.
Box-Chan 8 hours ago 
Really awesome. The other cameras being a bit buggy is a shame but that's how source be sometimes. :mbnecoup:
Figglebottom 9 hours ago 
Incredible concept. Do you think you could make something similar that takes videos? Like having a still camera that records videos and saves them?