Screenshots

From C4 Engine Wiki
Jump to navigation Jump to search

The C4 Engine can take screenshots and store them on the disk as TGA files. There are two different methods by which a screenshot can be taken, using the menu command in the C4 Menu or using the shot console command. The console command can also be bound to an input control so that screenshots can be taken at the press of a button while playing a game.

Screenshots are always stored in the user's documents directory in the C4 Engine subfolder.

Menu Command

If the strip is visible at the bottom of the screen, then the Take Screenshot command in the C4 Menu can be used to take a screenshot. The shortcut Ctrl-\ can also be used when any interface window, such as the main menu or command console, is visible. When a screenshot is taken with this method, the name of the file is C4_shot_xxxx.tga, where xxxx is replaced by a number that starts at 1 and gets incremented every time a screenshot is taken.

Console Command

The shot name command takes a screenshot and saves it as name.tga. If a # character appears in the name, then the name from that point on is replaced with a screenshot count that starts at 1 and gets incremented each time it is used in a screenshot name.