Salatiel | 2017-09-12 03:37
Screenshots Filter
Command to take Screenshots with the name of the current map, and separates them into files with the name of the current mode.

This 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...
This script replaces only the F12 key bind, and the file directory works like this:

Screenshots/instactf/dust2-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.

=)

(idk how to post images here, the img tag does not work, but anyway, here's the link to imgur: https://imgur.com/a/U5kZh xD)

Check if the mapname exists

if (=s $mapname "")[ss_mapname = "[newmap]"][ss_mapname = $mapname]

Check if the gamemode is Coop, to save the screenshot...

ss_coop_screenshotnum = (+ $ss_coop_screenshotnum 1)
ss_coop_screenshotname = (format "%1-%2" $ss_mapname $ss_coop_screenshotnum)
if (= $getmode 1)[gamemodename = "Coop" ; screenshot (format "%1 Mode/%2" $gamemodename $ss_coop_screenshotname)]

(all others modes are present in the script)

ss-filter.zip (1.38 KB)
0
points
 (0 votes)
User login
Users on Quadropolis
5 guests & no users online
12
points ]
 (2 votes)
Created 2017-09-17 12:33
2 days 8 hours ago
Created 2017-09-18 17:38
1 day 3 hours ago
Created 2016-07-28 12:06
1 year 7 weeks ago
DeathStarPC
Created 2017-09-11 03:47
1 week 1 day ago
Created 2017-09-12 03:37
1 week 17 hours ago
20
points ]
 (3 votes)
Created 2010-03-04 23:30
7 years 28 weeks ago
DeathStarPC
Created 2017-09-11 03:32
1 week 1 day ago
20
points ]
 (2 votes)
Created 2017-06-22 03:17
12 weeks 5 days ago
Created 2017-04-24 15:32
21 weeks 1 day ago
Created 2017-04-15 03:38
22 weeks 3 days ago
LandRiders7th
Created 2017-05-06 00:42
19 weeks 3 days ago
Created 2017-04-24 15:13
21 weeks 1 day ago
30
points ]
 (9 votes)
Created 2011-06-16 13:56
6 years 13 weeks ago
10
points ]
 (1 vote)
Created 2017-02-02 00:22
32 weeks 5 days ago
74
points ]
 (9 votes)
Created 2012-07-01 13:12
5 years 11 weeks ago
Flitzpiepe
Created 2017-01-28 22:59
33 weeks 2 days ago
214
points ]
 (22 votes)
Created 2012-10-20 09:56
4 years 47 weeks ago
AtlasSteal
31
points ]
 (4 votes)
Created 2016-12-27 04:35
38 weeks 16 hours ago
theradical
Created 2016-12-26 16:25
38 weeks 1 day ago
theradical
11
points ]
 (2 votes)
Created 2016-12-20 14:15
39 weeks 7 hours ago
Who's new
  • arCABAL
  • Flitzpiepe
  • M16
  • theradical
  • torben