Salatiel | 2017-09-12 03:37
Screenshots Filter
10
points ]
 (1 vote)
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)
10
points
 (1 vote)
User login
Users on Quadropolis
4 guests & no users online
Created 2018-07-15 07:17
11 hours 52 min ago
26
points ]
 (3 votes)
Created 2018-07-12 17:59
3 days 1 hour ago
Sauce
18
points ]
 (2 votes)
Created 2018-07-10 17:07
5 days 2 hours ago
Ao1 Pointblank
73
points ]
 (8 votes)
Created 2018-03-22 02:14
16 weeks 3 days ago
Ao1 Pointblank
65
points ]
 (7 votes)
Created 2018-06-05 23:45
5 weeks 4 days ago
62
points ]
 (7 votes)
Created 2018-05-04 17:27
10 weeks 2 days ago
DeathStarPC
10
points ]
 (1 vote)
Created 2018-06-10 06:37
5 weeks 12 hours ago
33
points ]
 (4 votes)
Created 2018-04-25 02:24
11 weeks 4 days ago
7YearBitch
33
points ]
 (4 votes)
Created 2018-03-30 18:06
15 weeks 2 days ago
15
points ]
 (2 votes)
Created 2018-03-25 15:52
16 weeks 3 hours ago
nopnotme
12
points ]
 (2 votes)
Created 2017-09-29 21:52
41 weeks 1 day ago
7YearBitch
22
points ]
 (3 votes)
Created 2018-03-30 17:47
15 weeks 2 days ago
7YearBitch
28
points ]
 (4 votes)
Created 2018-02-28 00:20
19 weeks 4 days ago
7
points ]
 (1 vote)
Created 2018-04-20 14:42
12 weeks 2 days ago
15
points ]
 (2 votes)
Created 2018-03-02 09:43
19 weeks 2 days ago
sevnnseven
15
points ]
 (2 votes)
Created 2018-03-02 09:41
19 weeks 2 days ago
42
points ]
 (5 votes)
Created 2015-06-11 00:04
3 years 5 weeks ago
sevnnseven
25
points ]
 (3 votes)
Created 2018-03-01 19:26
19 weeks 2 days ago
25
points ]
 (3 votes)
Created 2018-02-13 11:00
21 weeks 5 days ago
32
points ]
 (4 votes)
Created 2012-08-30 04:30
5 years 45 weeks ago
Who's new
  • DON
  • sevnnseven
  • 7YearBitch
  • Mustangflier
  • Ao1 Pointblank