Garry's Mod

Garry's Mod

963 ratings
Scanner Screenshots
4
2
4
4
2
3
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Movie, Roleplay
File Size
Posted
Updated
12.071 KB
22 May @ 8:34pm
24 May @ 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.
Popular Discussions View All (2)
6
24 Aug @ 7:47pm
my image viewer doesn't recognize scanner's screenshots
bulkmoerls
0
4 Jul @ 1:54am
addon causes physics props to bounce and phase through walls
duelingaxe
133 Comments
MAPLESHADE [REMASTERED] 23 Aug @ 9:15pm 
I'm aware of the potential repercussions
Vuthakral  [author] 23 Aug @ 4:50pm 
You will break other engine effects by modifying it.
MAPLESHADE [REMASTERED] 23 Aug @ 12:43pm 
do you happen to know the file location of the shared material for the scanner flash, or perhaps how to disable it?
dusta 15 Aug @ 5:30am 
im stupid and blind
Vuthakral  [author] 28 Jul @ 5:21pm 
It says in the description RIGHT THERE that you can turn off saving either raw or filtered images with a convar.
dusta 28 Jul @ 11:35am 
add a setting that lets you only have raw or edited
REDACTED_yt 23 Jul @ 6:53pm 
it wont work the commands arent recognized and there no file the mod IS enabled and i unenabled it and reenabled it pls help
Dotin 19 Jul @ 5:40pm 
I'm sure this has been said before, but you should make it (if possible) that either in this mod or another mod that Manhacks record videos while they're active. I think it'd be really cool :3
evoL 7 Jul @ 6:27am 
Thanks for making this!:facepunch:
Doom Slayer 5 Jul @ 7:57am 
Yeah,I saw your comments about unable to hide the flash I was not asking about that, I am pretty sure adjustable delay before the capture will reduce the amount of produced images with solid white color. It's still going to fade out eventually, is it not? It's capturing it's own flash in 8 out of 10 shots.