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
Created 2017-09-18 17:38
18 weeks 11 hours ago
29
points ]
 (3 votes)
Created 2018-01-11 11:11
1 week 4 days ago
nopnotme
3
points ]
 (2 votes)
Created 2017-09-29 22:12
16 weeks 3 days ago
2
points ]
 (1 vote)
Created 2017-09-29 22:03
16 weeks 3 days ago
15
points ]
 (2 votes)
Created 2017-11-20 13:55
9 weeks 15 hours ago
9
points ]
 (1 vote)
Created 2017-11-23 23:59
8 weeks 4 days ago
nopnotme
1
 point ]
 (1 vote)
Created 2017-09-29 21:59
16 weeks 3 days ago
nopnotme
19
points ]
 (2 votes)
Created 2017-09-29 21:56
16 weeks 3 days ago
nopnotme
9
points ]
 (1 vote)
Created 2017-09-29 21:52
16 weeks 3 days ago
28
points ]
 (4 votes)
Created 2017-09-17 12:33
18 weeks 1 day ago
DeathStarPC
Created 2017-09-11 03:47
19 weeks 1 day ago
10
points ]
 (1 vote)
Created 2016-07-28 12:06
1 year 25 weeks ago
10
points ]
 (1 vote)
Created 2017-09-12 03:37
19 weeks 1 hour ago
20
points ]
 (3 votes)
Created 2010-03-04 23:30
7 years 46 weeks ago
DeathStarPC
Created 2017-09-11 03:32
19 weeks 1 day ago
20
points ]
 (2 votes)
Created 2017-06-22 03:17
30 weeks 5 days ago
Created 2017-04-24 15:32
39 weeks 13 hours ago
Created 2017-04-15 03:38
40 weeks 3 days ago
LandRiders7th
Created 2017-05-06 00:42
37 weeks 3 days ago
Created 2017-04-24 15:13
39 weeks 14 hours ago
Who's new
  • arCABAL
  • Flitzpiepe
  • M16
  • theradical
  • torben