04 Dec 11, 02:51AM
[cubescript]// cleanshot - Take a "clean" screenshot with no HUD items.
const cs_sets "clockdisplay crosshairsize hidecompass hideconsole hidectfhud hidedamageindicator hidehudequipment hidehudmsgs hideradar hidespecthud hideteam hidevote hudgun spechudgun showstats showtargetname"
const cs_newsets "0 0 1 1 1 1 1 1 1 1 1 1 0 0 0 0"
const disablehud [ storesets $cs_sets tmp_old_sets; loop csl (listlen $cs_sets) [ (at $cs_sets $csl) (at $cs_newsets $csl) ] ]
const enablehud [ if (checkalias tmp_old_sets) [ loop ros (listlen $cs_sets) [ (at $cs_sets $ros) (at $tmp_old_sets $ros) ] ] ]
const cleanshot [ disablehud; sleep 10 [ screenshot ]; sleep 90 [ enablehud ] ][/cubescript]
This is the exact script for cleanshot in SVN. I see no reason for it to not work in edit mode, but I'll look into it ASAP. :)
const cs_sets "clockdisplay crosshairsize hidecompass hideconsole hidectfhud hidedamageindicator hidehudequipment hidehudmsgs hideradar hidespecthud hideteam hidevote hudgun spechudgun showstats showtargetname"
const cs_newsets "0 0 1 1 1 1 1 1 1 1 1 1 0 0 0 0"
const disablehud [ storesets $cs_sets tmp_old_sets; loop csl (listlen $cs_sets) [ (at $cs_sets $csl) (at $cs_newsets $csl) ] ]
const enablehud [ if (checkalias tmp_old_sets) [ loop ros (listlen $cs_sets) [ (at $cs_sets $ros) (at $tmp_old_sets $ros) ] ] ]
const cleanshot [ disablehud; sleep 10 [ screenshot ]; sleep 90 [ enablehud ] ][/cubescript]
This is the exact script for cleanshot in SVN. I see no reason for it to not work in edit mode, but I'll look into it ASAP. :)