Garry's Mod

Garry's Mod

864 ratings
Scanner Screenshots
2
3
4
4
2
3
   
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 (1)
2
27 May @ 6:14am
my image viewer doesn't recognize scanner's screenshots
bulkmoerls
115 Comments
Vuthakral  [author] 18 Jun @ 5:32am 
Sadly an engine issue that I can't fix. The white flash is drawn even in separate render contexts. Some others like the red screen on taking damage also have this issue.
CatFridge 16 Jun @ 3:43pm 
Every time it takes a picture of me, the flash that appears from player view covers the entire screenshot. How can I fix this?
Waks4f 16 Jun @ 1:39pm 
this is completely useless, perfect for my modpack.
Bob 13 Jun @ 5:59am 
will you make this addon for cameras?
Dorotpole 11 Jun @ 12:38pm 
it works when i dont have any other addons, but i kinda dont want to test which of my 375 addons conflict lol
stupidratsmakevids 11 Jun @ 12:28pm 
me to
Dorotpole 11 Jun @ 12:11pm 
doesnt work for me
Vuthakral  [author] 9 Jun @ 10:10am 
Unpause your game
celovekcrnj 9 Jun @ 5:13am 
When I want to see screenshots, it doesn't crash, I just get this error

[Scanner Screenshots] lua/autorun/scanner_screenshots.lua:235: Tried to use a NULL Panel!
1. SetSize - [C]:-1
2. unknown - lua/autorun/scanner_screenshots.lua:235
Vuthakral  [author] 2 Jun @ 5:27am 
And you can't just close it?