(05 Feb 11, 10:44PM)VenteX Wrote: A basic map layout generator; would be awesome for getting some inspiration, especially for people that frequently get mapper's block (like me!).Random terrain generator!!
(05 Feb 11, 10:44PM)VenteX Wrote: Double tapping/clicking to do a function different from single tapping/clicking (This is probably very easy to do)
[SELECT ALL] Code:
alias doubleclick [echo You double-clicked!] // Replace this with the double-click-activated command of your choice
checkinit dblclktime 250
tmp_time = 0
alias dblchk [
if (<= (- (millis) $tmp_time) $dblclktime) [doubleclick] []
tmp_time = (millis)]
add2bind MOUSE1 dblchk
(05 Feb 11, 10:44PM)VenteX Wrote: Campaign mode; Might be really cheap, but would still be pretty cool.Ask Bukz. :D
Quote:Ask Bukz. :DAsk the devs. :D
[quote='VenteX' pid='36122' dateline='1296942294']
(Now if only there was a way to return the players location...)
[quote='VenteX' pid='36122' dateline='1296942294']
Custom game modes.
(02 Feb 11, 04:56AM)Viper Wrote: Script to change the maprot for more than one game if not already done which im sure it has.
[SELECT ALL] Code:
// requires "claimadmin" script.
checkinit newmaprot []
alias maprotcount 0
alias pushmaprot [
if (currole) [] [claimadmin]
sleep 500 [
if (strcmp (at $newmaprot $maprotcount) "") [] [
setnext (at $newmaprot $maprotcount) (at $newmaprot (+ $maprotcount 1))
alias mapstartonce [pushmaprot]
+= maprotcount 2]]]
alias add2maprot [add2alias newmaprot (concat $arg1 $arg2)]
// add2maprot ctf ac_desert3
addlistonquit [maprotcount pushmaprot mapstartonce]
(02 Feb 11, 07:17PM)MykeGregory Wrote: an auto kick script for if you TK 3 times or more.
[SELECT ALL] Code:
// autotkdc -- automatically disconnect when you have killed too many teammates -- by V-Man
// To disable, type /autotkdc 0
// To view how manky TKs you have, type /echo $tkstat
checkinit autotkdc 1
alias tkstat 0
alias klist [fragged gibbed headshot splattered slashed suicided]
add2conloop [
if $autotkdc [
loop tk 6 [if_conline_has (concatword "you " (at $klist $tk) " teammate") [+= tkstat 1] []]
if (>= $tkstat 3) [say "Sorry team... Kicking myself now"; tkstat = 0; disconnect] []] []]
(02 Feb 11, 04:57AM)Gibstick Wrote: looplist from SauerCan you describe their functions? I think someone explained @ to me the other day, you'd need a wrapper in order to use it, which macm and I have basically done... But remind me what it's supposed to do anyway. :D
@ prefix from Sauer
listclients from Sauer
As y'all can probably guess, these require tools.cfg. It just makes scripting so much easier!