|
Scripts
|
|
20 Jun 10, 04:48PM
(This post was last modified: 28 Nov 11 12:01AM by Ronald_Reagan.)
Post: #1
|
|||
|
|||
|
Scripts
Post your scripts here (with a short explanation what it does).
"Credit goes to original autor" To use this scripts copy&paste them in your "autoexec.cfg" you can find it in the "config"-section of you Assaultcube. 1. Quick knife script: cubescript code :
To activate this script you have to press and hold "q" ingame. You will draw your knife and attack. When you stop pressing "q" you'll automaticly change back to your previous weapon. 2. Knifeattack script: cubescript code :
This script will make you change to kinfe/primary weapon everytime you press "q" 3. Zoom script by stef: cubescript code :
//zoom script by stef with fog 1024 trick added, a must for a sniperWith this script you can zoom with your sniper. Just scroll with your scrollwheel while you scope. 4. Out of ammo script: cubescript code :
// out of ammo -> pistolWith this script you will automaticly change to the pistol when your primary weapon is out of ammo. (To use it with the SMG/AR you may have to set "autoreload" off or press the mousebutton again when you are out of ammo) 5. Teamchange script: cubescript code :
alias swapteams [sleep 100 [autoteam 0]; sleep 200 [forceteam 0]; sleep 300 [forceteam 1]; sleep 400 [forceteam 2]; sleep 500 [forceteam 3]; sleep 600 [forceteam 4]; sleep 700 [forceteam 5]; sleep 800 [forceteam 6]; sleep 900 [forceteam 7]; sleep 1000 [forceteam 8]; sleep 1100 [forceteam 9]; sleep 1200 [forceteam 10]; sleep 1300 [forceteam 11]; sleep 1400 [forceteam 12]; sleep 1500 [forceteam 13]; sleep 1600 [autoteam 1]]You need to be admin for this script. When you type "/swapteams" ingame (or bind it to a key/in a menu) every player will change the team. (For some reason it doesn't work properly for me. If the author of this script could have a look at this and tell me if it's wrong or something, I'd be very happy :) ) 6. "Get rid of suckers" - script aka force script cubescript code :
alias force_cn -1;You need to be admin for this script. When you type "/force cn" ingame the player with the choosen cn will get changed to the enemy team ever 5 second or something, till you press F8 or he leaves. This is a nice altanative to kick/ban :) Mod Edit: Upgraded [code] tags to [cubescript] tags |
|||
|
20 Jun 10, 05:30PM
Post: #2
|
|||
|
|||
|
RE: Scripts
I'm the author of the teamchange script and it works well for me and some other people.
I don't know what problem you encounter. |
|||
|
20 Jun 10, 05:34PM
(This post was last modified: 20 Jun 10 05:34PM by Andrez.)
Post: #3
|
|||
|
|||
|
RE: Scripts
7. AFK Script
Code: //AFK Script |
|||
|
20 Jun 10, 06:34PM
(This post was last modified: 20 Jun 10 06:37PM by a_slow_old_man.)
Post: #4
|
|||
|
|||
|
RE: Scripts
Improved swapteams script by Cid:
Code: //fixed up swapteams script |
|||
|
20 Jun 10, 06:56PM
Post: #5
|
|||
|
|||
|
RE: Scripts
"AUTOEXEC Me" - Auto-applied dynamic mode specific settings...
|
|||
|
20 Jun 10, 07:19PM
Post: #6
|
|||
|
|||
|
RE: Scripts
by grenadier
Quote:// scrolling with use mouse in output console have anyone script for write team message with my healts/armor/ammo ? |
|||
|
20 Jun 10, 07:21PM
Post: #7
|
|||
|
|||
|
RE: Scripts
Yes me.
But I had to modify my client to do that... :/ There is a script that says your current weapon, ammo and clips to your teammates at the AcWiki. |
|||
|
20 Jun 10, 07:29PM
(This post was last modified: 20 Jun 10 07:34PM by LiFe..)
Post: #8
|
|||
|
|||
|
RE: Scripts
1. Quick knife script:
Code: alias quickknife [ if (!= (curweapon) 6) [melee] attack onrelease [ sleep 1 [ if (= (curweapon) 0) [weapon (prevweapon)] ] ] ] bind Q quickknife To activate this script you have to press and hold "q" ingame. You will draw your knife and attack. When you stop pressing "q" you'll automaticly change back to your previous weapon. -> about that, there is not something for when i press q, it just take the knife, ataack and come back? i mean, no need to hold, just press. thx |
|||
|
20 Jun 10, 07:38PM
Post: #9
|
|||
|
|||
| RE: Scripts | |||
|
21 Jun 10, 08:19AM
Post: #10
|
|||
|
|||
|
RE: Scripts
a slow old man: you ripped some of my scripts i posted on the old forum, it would've been kind to mention the autor, but np
|
|||
|
21 Jun 10, 11:36AM
(This post was last modified: 21 Jun 10 11:38AM by Gibstick.)
Post: #11
|
|||
|
|||
|
RE: Scripts
Code: bind f [ if $editing [solid 1] [quicknadethrow]]Make the 2 key switch to Akimbo by default: Code: bind 2 [ if $editing [ domodifier 7 ] [weapon 7; secondary] ]Code: //Volume script, "cylvol radius height" |
|||
|
21 Jun 10, 12:50PM
Post: #12
|
|||
|
|||
RE: Scripts
(21 Jun 10 08:19AM)Kirin Wrote: a slow old man: you ripped some of my scripts i posted on the old forum, it would've been kind to mention the autor, but np Sure, just tell me which are yours. I just skipped through my autoexec.cfg and when there is no "//made by Kirin" or something idk who made it ^^ |
|||
|
21 Jun 10, 02:17PM
(This post was last modified: 21 Jun 10 02:23PM by Kirin.)
Post: #13
|
|||
|
|||
|
RE: Scripts
the quick knife is mine
and the zoom script is the modified version i made (the original version of the script was of stef) and the Out of ammo script those are all fairly simple that's why i didnt add credits, but when posrting them ah "Credit goes to original autor" would have been more than enough |
|||
|
21 Jun 10, 06:09PM
Post: #14
|
|||
|
|||
|
RE: Scripts
lol copyright....
and yes there is a such script that says your gun and ammo to your teammate. i used it before and then i lost it xD. |
|||
|
21 Jun 10, 08:53PM
Post: #15
|
|||
|
|||
|
RE: Scripts
Meh, humble GeneralDisarray doesn't care if his name shows in my scripts. Neither does V-Man.
|
|||
|
21 Jun 10, 09:07PM
Post: #16
|
|||
|
|||
|
RE: Scripts
infact i didnt want to be mentioned...
but it's rude to let ppl intend you made them :) |
|||
|
22 Jun 10, 09:24AM
Post: #17
|
|||
|
|||
|
RE: Scripts
I really don't like that "force"-script. It isn't just annoying to the player targeted but to the whole match in progress - especially if the targeted player isn't too well versed in AC you'll start seeing a lot of TKs, just because he notices too late he was switched.
This is, in fact, one thing I'm going to try and improve on - making such a switch be more prominent, so's you don't become a TK in the heat of battle because upon spawn you happen to see an old opponent and your reflexes make you hit attack. A potential option here would be to send an offending player to the spectator "team" - of course, only possible once 1.1 is released - but until then I'd really urge you to kick players instead of messing with the ongoing match any more than they already are. |
|||
|
25 Jun 10, 02:13AM
(This post was last modified: 25 Jun 10 02:15AM by Viper.)
Post: #18
|
|||
|
|||
|
RE: Scripts
Right now I'm working on a "bedtime" script. My problem so far is letting the system continuously check timestring, which causes AC to crash. If anyone has any creative ideas on how to get around this please say so.
Basically I can get the game to let you insert a bedtime, but I run into trouble when executing the command, i,e, AC crashes and sometimes the entire computer. I might have crashed idis 8010 last night, lol, by "saying" instead of echoing. XD It crashed my computer. edit: I'm currently using the while command and having an arg for bedtime which is checked to the time. |
|||
|
25 Jun 10, 03:08AM
Post: #19
|
|||
|
|||
|
RE: Scripts
So you want a script where you put the time your bedtime is so AC quits at that time?
|
|||
|
25 Jun 10, 03:11AM
Post: #20
|
|||
|
|||
|
RE: Scripts
I'm sure it'd be easier to find a program to just shut off your computer at your 'bedtime' :P
|
|||
|
25 Jun 10, 02:26PM
Post: #21
|
|||
|
|||
|
RE: Scripts
Well basically you put in your bedtime and at the time you put in, the console echos:
GO TO SLEEP!!!!!!!!! GO TO SLEEP!!!!!!!!! GO TO SLEEP!!!!!!!!! |
|||
|
25 Jun 10, 03:36PM
Post: #22
|
|||
|
|||
|
RE: Scripts
lol, tell me when the script is done. I'd like that, cause i often lose track of time playing ac
|
|||
|
25 Jun 10, 08:09PM
Post: #23
|
|||
|
|||
RE: Scripts
(25 Jun 10 02:26PM)Viper Wrote: Well basically you put in your bedtime and at the time you put in, the console echos: I'm not familiar with CubeScript, so I'm no help in actually writing a script, but... Why not have it ask for a length of time to play? (Its 9 now and I want to be in bed by 1, so I'll give it 4 hours) Then it's just a matter of a counter and when it hits 4 hours, GO TO BED!!! |
|||
|
26 Jun 10, 04:40AM
Post: #24
|
|||
|
|||
|
RE: Scripts
Code: alias aban [ // Take admin, force fail existing votes, whois,Epic ban script - requires grenadier's claimadmin script, also this is a modded version of grenadiers original aban script, modded by myself and GeneralDisarray. Enjoy. :) |
|||
|
26 Jun 10, 09:23AM
Post: #25
|
|||
|
|||
|
RE: Scripts
...Don't get anything...
|
|||
|
26 Jun 10, 05:47PM
Post: #26
|
|||
|
|||
|
RE: Scripts
Hey can you show me were to make these? I tried typing /bind q [quickknife] but it doesn't work.
|
|||
|
26 Jun 10, 06:01PM
Post: #27
|
|||
|
|||
|
RE: Scripts
The scrips you see here should be copied and pasted into your autoexec.cfg in the "config" folder of your AC installation. Open it with a text editor (notepad will do), paste, save. Enjoy.
NOTE: Not *all* scripts work only from the autoexec.cfg, sometimes they come with special installation instructions that you should always carefully read and follow - to avoid problems. |
|||
|
26 Jun 10, 07:30PM
Post: #28
|
|||
|
|||
|
RE: Scripts
I decided this "CHECK BEDTIME" script would be a nice demonstration-piece.
It actually exposed a minor bug in AC 1.0.4 to me - this makes the script a little less fire-and-forget, since you need to manually trigger it to run once the engine has started up. (KP_PERIOD is used by default for that) It's not completely fool-proof - for example you could hit KP_PERIOD multiple times - but that doesn't change it's effects, just wastes CPU cycles ;-P Get CHECK BEDTIME here and put it into your AssaultCube Home and put the following line into your config/autoexec.cfg: Code: exec send2bed.cfg |
|||
|
26 Jun 10, 10:15PM
Post: #29
|
|||
|
|||
| RE: Scripts | |||
|
26 Jun 10, 10:43PM
(This post was last modified: 26 Jun 10 11:03PM by Bukz.)
Post: #30
|
|||
|
|||
|
RE: Scripts
Code: exec config/admin_passwords_list.cfg
Code: alias adminpasswordslist [Important: Each server IP and password should be on it's own line within admin_passwords_list.cfg - On windows there MUST be a space after every password, otherwise the script will not work correctly. From now on, /claimadmin will take admin status on any servers listed in admin_passwords_list.cfg - for ease of use, I recommend binding it to a key like so: Code: bind "KEY" [claimadmin]Tip: Pressing your claimadmin keybind a second time, or typing /claimadmin a second time, will drop admin status. |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 5 Guest(s)




