Code Monkey home page Code Monkey logo

automatedscreenshots's Introduction

AutomatedScreenshots (AS)

A mod to grab automated screenshots at specific time intervals and special events

Additionally, can do automated saves.

This mod will take screenshots at specified intervals.

The following are the ways that screenshots can be taken:

  1. The intervals can be specified by time in seconds between each screenshot.
    The smallest interval allowed is approximately 0.03 sec, if you really want to kill your performance and disk
  2. Screenshots can be taken at each scene change
  3. Screenshots can be taken at special events.
  4. The UI can be hidden during the screenshots. Be aware that this will be visible, the UI will flicker off and then on during the screenshot.
  5. If options to both show and hide the UI are specified, then two screenshots will be taken, one with and one without the UI
  6. Pre crash/landing detection is added, so if specified, then faster screenshots will be taken just before crashes

New Feature:

  1. Integration with Historian. If Historian is loaded and configured, AS will call Historian before each screenshot to activate the ribbon

New Feature:

  1. Automatic Saves. The mod will now do automatic saves at specified intervals. It will only keep a specified number of save files.

The screenshots are saved as PNG files. PNG files can be big, so you can also specify that the PNG files be converted to JPG files, and optionally delete the PNG file after conversion.

The filename is fully configurable, by using variables in the file name.

The following are the "variables" available in file names:

[date] = Parsed DateString [UT] = Current in-game time in seconds [save] = Name of current save game [vessel] = Active Vessel name [body] = Current primary celestial body name [situation] = Active Vessel situation (PRELAUNCH, FLYING, ORBITING, etc.) [biome] = Current Active Vessel biome [year] = Current in-game year (as seen in top left during flight (1, 2, etc.)) [day] = Current in-game day (similar to year) [hour] = in-game hour [min] = in-game minute [sec] = in-game seconds [evt] = event flag

Event Flag

If a screenshot by time interval: time If by scene change: scene If by special event: event

An example (ridiculous) possible filename is: AS_[date][save][vessel][body][biome]_[situation]_Y[year]_D[day]_H[hour]_M[min]_S[sec]_UT[UT]

which could turn out to be: AS_2015-04-30-22-22_KSPv1.0.0_SaveGameTest_Kerbal#X_Kerbin_Shores_PRELAUNCH_Y1_D10_H5_M7_S36_UT212856.png

The code for the JPG conversion and the custom filenames was taken from the Sensible Screenshot mod, written by magico13

Automated Saves

The mod will now do automatic saves at specified intervals. it will only keep a specified number of save files. Automatic saves is turned on by hitting Ctrl-F5

automatedscreenshots's People

Contributors

coteyr avatar linuxgurugamer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.