//# Advis' ScreenShot Script //# Version: 1.0 //# http://advis.dhs.org/tribes2/ //Installation Instructions: // Place this file into your Tribes2\GameData\base\scripts\autoexec\ directory. // Start Tribes2. // Enter Settings -> Controls, scroll to the bottom and assign a key to "Screenshot" // Start Up a Game // Press the key you just assigned to take a screenshot. // Give feedback, good or bad, to advis@innocent.com package SShot { function OptionsDlg::onWake(%this) { if ($SShotBind $= "false") { $RemapName[$RemapCount] = "Screenshot"; $RemapCmd[$RemapCount] = "TakeScreenShot"; $RemapCount++; } parent::onWake(%this); } function TakeScreenShot() { if(SSToggle == 0) { %name = ""; %name = "screen" @ getSimTime() @ ".png"; $SSToggle = 1; screenshot(%name); } else $SSToggle = 0; } }; activatePackage(SShot); $SShotBind = "false"; $SSToggle = 0;