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
2 guests & no users online
15
points ]
 (2 votes)
Created 2017-11-20 13:55
2 days 22 hours ago
Created 2017-09-29 22:03
7 weeks 5 days ago
nopnotme
Created 2017-09-29 22:12
7 weeks 5 days ago
nopnotme
Created 2017-09-29 21:59
7 weeks 5 days ago
nopnotme
Created 2017-09-29 21:56
7 weeks 5 days ago
nopnotme
Created 2017-09-29 21:52
7 weeks 5 days ago
18
points ]
 (3 votes)
Created 2017-09-17 12:33
9 weeks 4 days ago
DeathStarPC
Created 2017-09-11 03:47
10 weeks 3 days ago
Created 2017-09-18 17:38
9 weeks 2 days ago
10
points ]
 (1 vote)
Created 2016-07-28 12:06
1 year 16 weeks ago
10
points ]
 (1 vote)
Created 2017-09-12 03:37
10 weeks 2 days ago
20
points ]
 (3 votes)
Created 2010-03-04 23:30
7 years 37 weeks ago
DeathStarPC
Created 2017-09-11 03:32
10 weeks 3 days ago
20
points ]
 (2 votes)
Created 2017-06-22 03:17
22 weeks 9 hours ago
Created 2017-04-24 15:32
30 weeks 2 days ago
Created 2017-04-15 03:38
31 weeks 5 days ago
LandRiders7th
Created 2017-05-06 00:42
28 weeks 5 days ago
Created 2017-04-24 15:13
30 weeks 2 days ago
30
points ]
 (9 votes)
Created 2011-06-16 13:56
6 years 23 weeks ago
10
points ]
 (1 vote)
Created 2017-02-02 00:22
42 weeks 12 hours ago
Who's new
  • arCABAL
  • Flitzpiepe
  • M16
  • theradical
  • torben