Sauerworld Forum

Screenshots Filter (by Mode and Mapname) command.

Salatiel

  • **
  • 88
  • +20/-0
    • Projects by Salatiel
Screenshots Filter (by Mode and Mapname) command.
« on: September 05, 2017, 09:40:54 pm »
This bind command takes screenshots with the name of the current map, and separates them into files with the name of the current mode, adding a number to not replace the same image...

 works like this:
Screenshots/instactf/dust2-1.png
Screenshots/instactf/dust2-2.png

or
Screenshots/effic/complex-1.png
Screenshots/efficctf/complex-1.png




To install just add the file ss-filter.cfg in the root of your Sauerbraten, then open autoexec and type:
exec ss-filter.cfg
and save.
F12 to take the Screenshot...

if you see any error, please tell me.  :D

Update: added if(isconnected) to take screenshots when the player is on the Start menu.

13/02/2019
Now it's much simpler and with some new features (I have no idea why I made it so complicated last time).
- Informations about the current match will appear in the upper right corner of the screen when taking a screenshot.
- "nohud" and "editing" will be added to the name of the screenshot to be easy to filter them.
I replaced the "crescent number" with getmillis and timeremaining.


this text only appears if you use argument 1 (/screenshotfilter 1)
« Last Edit: February 13, 2019, 06:31:28 am by Salatiel »
@Salatiel#5274