Created
November 21, 2010 01:24
-
-
Save xeoncross/708338 to your computer and use it in GitHub Desktop.
assaultcube scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//////////////////////////////////// | |
//screenshot @ end of game | |
start_intermission = [ | |
sleep 20 [ screenshot ] //sleep because you might get a black screen otherwise | |
] | |
// Hide the "GHOST" notice when watching | |
// /hidespecthud 1 | |
//////////////////////////////////// | |
// Alt pistol weapon use via GeneralDisarray | |
// Mouse1 is switch to or fire primary; | |
// Mouse 3 is switch to or fire pistol, | |
// f is quicknade. Hold down Q until it swings the knife, press Q to swing again. | |
bind f [ if $editing [solid 1] [quicknadethrow]] | |
bind q [ if $editing [ domodifier 1 ] [melee; attack]] | |
bind MOUSE3 [if (= (curweapon) 7) [attack] [secondary; attack]] | |
bind MOUSE1 [primary; attack] | |
// Select the following Alt-attack or knife... | |
//bind MOUSE2 [ if $editing [ showmenu editing ] [ altaction ] ] | |
//bind MOUSE2 [ if $editing [ showmenu editing ] [melee; attack] ] | |
alias pistolero [if (|| (= (curweapon) 1) (= (curweapon) 7)) [attack] [if ((curweapon) != 1) [weapon 1]]] | |
//end of pistol script | |
//////////////////////////////////// | |
//Takes a screen shot of a person IP | |
alias banshot [ | |
if (> (listlen $arg2) 0) [setadmin 1 $arg2] [] | |
sleep 300 [whois $arg1] | |
sleep 600 [vote 2; toggleconsole]; sleep 200 [screenshot] | |
sleep 900 [toggleconsole; setadmin 0] | |
] | |
//////////////////////////////////// | |
alias sensitivitychange [ | |
if (= (curweapon) 0) [sensitivity 2.6] [] //knife | |
if (= (curweapon) 1) [sensitivity 2.6] [] //pistol | |
if (= (curweapon) 2) [sensitivity 2.6] [] //shotgun | |
if (= (curweapon) 3) [sensitivity 1.8] [] //subgun | |
if (= (curweapon) 5) [sensitivity 2.2] [] //assault rifle | |
if (= (curweapon) 6) [sensitivity 2.6] [] //grenades | |
if (= (curweapon) 7) [sensitivity 2.2] [] //sniper rifle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Cleanshot/Clean HUD toggle script - Original script/idea by Mr.Floppy - remade/updated for AC 1.1+ by DES|Bukz | |
alias gethudsets [ | |
clockdisplay_tmp = $clockdisplay | |
crosshairsize_tmp = $crosshairsize | |
crosshairteamsign_tmp = $crosshairteamsign | |
hidecompass_tmp = $hidecompass | |
hideconsole_tmp = $hideconsole | |
hidectfhud_tmp = $hidectfhud | |
hidedamageindicator_tmp = $hidedamageindicator | |
hidehudequipment_tmp = $hidehudequipment | |
hidehudmsgs_tmp = $hidehudmsgs | |
hideradar_tmp = $hideradar | |
hideteam_tmp = $hideteam | |
hidevote_tmp = $hidevote | |
hudgun_tmp = $hudgun | |
showstats_tmp = $showstats | |
] | |
alias hudsetslist [clockdisplay crosshairsize crosshairteamsign hidecompass hideconsole hidectfhud hidedamageindicator hidehudequipment hidehudmsgs hideradar hideteam hidevote hudgun showstats] | |
alias newhudsetslist [0 0 0 1 1 1 1 1 1 1 1 1 0 0] | |
alias clearhud [ | |
if (= $arg1 1) [ | |
gethudsets | |
loop hudloop (listlen $newhudsetslist) [ | |
(at $hudsetslist $hudloop) (at $newhudsetslist $hudloop) | |
] | |
] [] | |
] | |
alias resethud [ | |
if (= $arg1 1) [ | |
loop hudloop (listlen $hudsetslist) [ | |
(at $hudsetslist $hudloop) (getalias (format "%1_tmp" (at $hudsetslist $hudloop))) | |
] | |
] [] | |
] | |
alias cleanshot [ | |
clearhud 1 | |
sleep 10 [screenshot] | |
sleep 20 [resethud 1] | |
] | |
// bind KEY [cleanshot] | |
// bind LALT [cleanshot] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment