Posts: 116
Threads: 10
Joined: Jun 2011
script who change your crosshair when a player is near .
mapstartalways = [sleep 100 [control;dbgstenc 2]]
control = [if ( (|| (strstr $conline "playermodels") (strstr $conline "weapons")) ) [loadcrosshair teammate.png;sleep 100 [control]][sleep 100 [control;loadcrosshair default.png]]]
Posts: 348
Threads: 16
Joined: Mar 2012
10 Dec 12, 11:25PM
(This post was last modified: 10 Dec 12, 11:26PM by EndGame.)
My brilliant cubers, i have a challenge for you. I suck at long distance battle (and short too) so I've been practicing and thinking in new strategies to overcome this painful situation. So, I thought maybe you can create a script to change the size of the crosshair when your enemy is far way.
E.g. your crosshairsize is 13. when your enemy is near you it still is 13. However, when you aim your enemy who is far away (for instance in douze, if you are in one of the corridors and your enemy is on the other one [dunno how many cubes those are) the crosshairsize sets (automatically) to 8. Of course then, if you are not aiming it goes back to 13 again.
Hope you can help this poor soul.
GL and HF :-D
Posts: 625
Threads: 57
Joined: Oct 2010
11 Dec 12, 03:38AM
(This post was last modified: 11 Dec 12, 03:38AM by Boomhauer.)
(10 Dec 12, 11:25PM)EndGame Wrote: .....
I actually think this isn't a bad idea. it would make for easier view, if the crosshair gets smaller when the enemy is far away. that way the x-hair doesn't impede aim by being too large. I dunno if this is a big enough advantage to bother with though.....
Posts: 2,067
Threads: 11
Joined: Jun 2010
I'm pretty sure that a script like that isn't possible using CubeScript.
Posts: 619
Threads: 42
Joined: Aug 2012
I hate to ask (and I've tried snooping around for this already, with no luck), but does anyone have the script that rapidly changes your skins? It was in the rave mod a while back, even had a "Ghost" gun effect. But... it's not in the rave package anymore...
Your help would be appreciated.
Posts: 447
Threads: 9
Joined: May 2012
(11 Dec 12, 11:00AM).45|D3M0NW0LF Wrote: . . . the script that rapidly changes your skins?
http://akimbo.in/forum/viewtopic.php?f=12&t=1077
Posts: 619
Threads: 42
Joined: Aug 2012
Thank you so much blueberry!
Posts: 46
Threads: 2
Joined: Sep 2012
Posts: 348
Threads: 16
Joined: Mar 2012
(11 Dec 12, 05:41AM)Orynge Wrote: I'm pretty sure that a script like that isn't possible using CubeScript.
T_T I'm sure you can do it :-D
Posts: 205
Threads: 3
Joined: Jun 2010
bind MOUSE1 [attack; crosshairsize 15; onrelease [crosshairsize 25]]
Posts: 116
Threads: 10
Joined: Jun 2011
13 Dec 12, 08:04PM
(This post was last modified: 13 Dec 12, 10:33PM by 888.)
oups ^^
Posts: 378
Threads: 8
Joined: Jun 2010
888 i'm using your script for muting your own weapon, really good thanks!
Posts: 116
Threads: 10
Joined: Jun 2011
13 Dec 12, 10:32PM
(This post was last modified: 14 Dec 12, 08:57AM by 888.)
Lol
Auto spaw
onKill = [if (= $arg2 (player1 cn)) [sleep 4000 [attack]]]
edit :^^
Posts: 116
Threads: 10
Joined: Jun 2011
Script who indicate how many player are dead .
The script work only if you begin the match (clan match)^^
I improve this script after ..
mortcla = 0
mortrvsf = 0
onKill = [if (player $arg2 team) [+= mortrvsf 1][+= mortcla 1]]
onSpawn = [if (player $arg1 team) [-= mortrvsf 1][-= mortcla 1]]
mapstartalways = [sleep 100 [mortcla = 0;mortrvsf = 0;affichage]]
affichage = [hudecho (c 3) $mortcla - (c 1) $mortrvsf ;sleep 3000 [affichage]]
Posts: 619
Threads: 42
Joined: Aug 2012
17 Dec 12, 05:23AM
(This post was last modified: 17 Dec 12, 05:24AM by D3M0NW0LF.)
This won't benefit anyone, but it's still rather funny if timed right in an intense game... xD.
/bind "6" [say "HE'S LEFT!!!";sleep 1200 [say "NO WAIT, HE'S RIGHT!"];sleep 2400 [say "LEFT!!!"]; sleep 3000 [say "RIGHT!"]; sleep 4000 [say "ZOMFG I DON'T KNOW ANYMORE!!! WAAAH!!!"]]
Another completely pointless script that doesn't do much but remind you what you voted for.
/bind f1 [vote 1; echo (c J) (c b) "You voted YES"]
/bind f2 [vote 2; echo (c B) (c b) "You voted NO"]
Hope you enjoy my homemade script/binds. Lolol, I might make more as time goes along.
Posts: 116
Threads: 10
Joined: Jun 2011
(17 Dec 12, 05:23AM).45|D3M0NW0LF Wrote: This won't benefit anyone, but it's still rather funny if timed right in an intense game... xD.
/bind "6" [say "HE'S LEFT!!!";sleep 1200 [say "NO WAIT, HE'S RIGHT!"];sleep 2400 [say "LEFT!!!"]; sleep 3000 [say "RIGHT!"]; sleep 4000 [say "ZOMFG I DON'T KNOW ANYMORE!!! WAAAH!!!"]]
Lol
Posts: 2,067
Threads: 11
Joined: Jun 2010
Best script ever.
alias thisiscool [thisiscool]
Posts: 2
Threads: 0
Joined: Dec 2012
(09 Jul 10, 10:29AM)MacAdresS Wrote: //-- rolldie command to see who goes first in matches
alias rolldie [ if (&& (> (listlen $arg1) 0) (> (listlen $arg2) 0) ) [dieteams1 = $arg1; dieteams2 = $arg2] [dieteams1 = CLA; dieteams2 = RVSF]; if (rnd 2) [dieteams = $dieteams1] [dieteams = $dieteams2]; sleep 100 [say Random Die Roll - team $dieteams was chosen!]]
by DES|R4zor haha i like that one, thank you! :)
Posts: 1,331
Threads: 44
Joined: Jun 2010
Little script for the next version:
[cubescript]// do-while loops for cubescript by Bukz
// Requires AC 1.2.0.0 or better.
// Syntax:
// do [
// // body of code here
// // can span multiple lines/statements
// ] while [ (expression) ]
do = [
targ1 = $arg1
targ2 = $arg2
targ3 = $arg3
if (strcmp $targ2 while) [
execute $targ1
tmpExpression = (concat [bool =] $targ3)
execute $tmpExpression
if (!= $bool 0) [
sleep 0 [ do $targ1 while $targ3 ]
]
]
][/cubescript]
Example:
[cubescript]testdo = [
i = 0
do [
+= i 1
echo $i
] while [ (< $i 10) ] // brackets are needed
]
// Then execute the /testdo command in-game to see the output.
// Remember a do-while loop executes at least once no matter what,
// and the expression is evaluated AFTER every iteration, therefore
// the /testdo command should output the numbers 1 through 10 on the
// console. Brackets "[]" are needed around the expression argument
// for the do-while loop to work properly.[/cubescript]
Posts: 6
Threads: 2
Joined: Jan 2013
Is there some script to render exact the glib that i want.I've replaced the original models with body parts (a head, leg).But sometimes scatters two heads.
Posts: 1,318
Threads: 76
Joined: Apr 2011
There is now a V1.2 script section on AKIMBO.
Please make sure they are truly compatible with next version, if unsure have them double checked before posting, thank you.
Posts: 108
Threads: 8
Joined: Dec 2010
21 Jan 13, 12:31PM
(This post was last modified: 21 Jan 13, 12:40PM by Thrawn.)
On-The-Fly sensitivity script that allows you to hold Q and scroll to change your sensitivity, while preserving the editing functions for holding Q and scrolling (holding Q and scrolling while "in-game" or spectating will change sensitivity, but while in edit mode, will do the normal edit function)
alias delta_game_1 [
sensitivity (+f $sensitivity (*f 0.05 $arg1))
echo (concat "Sensitivity =" $sensitivity)
]
alias delta_spect_1 delta_game_1
bind Q [domodifier 1]
Posts: 116
Threads: 10
Joined: Jun 2011
22 Jan 13, 07:56PM
(This post was last modified: 22 Jan 13, 08:01PM by 888.)
This script work in private match .
He inform the other players when a player is missing and open the mastermode automatically
If every player use this script .You block the game in waiting the missing
newmenu paused
menuitem (_ "Pause") "say Pause :A player is missing"
menuitem (_ "???") "say ???"
curplay = [
numpl = 0
loop npl 21 [
if (! (strcmp (findpn $npl) [])) [
+= numpl 1
]
]
result $numpl
]
bind o [mastermode 1]
checking = [if (curmastermode) [curplay;if (= $numpl $old ) [sleep 1000 [metro]][block]]]
mapstartalways = [old = 0;if (curmastermode) [curplay;old = $numpl;sleep 1000 [checking]]]
block = [say paused;mastermode 0;showmenu paused]
Posts: 484
Threads: 11
Joined: Feb 2012
Does anyone know if It's possible to make a script wich could copy the IP of a player, after a "whois" and then copy it in a text document with the name of the player using the IP
So I could have a document to know who is who ^^
Of course I could do it manually but I'm too lazy, so I'm asking you :)
Thanks.
Posts: 756
Threads: 53
Joined: Nov 2011
I don't think CS has file output ability yet.
Posts: 1,331
Threads: 44
Joined: Jun 2010
You could store the IPs/names into a single cubescript alias and make sure it gets stored into /config/saved.cfg upon quitting AC.
Other than that, like Felix says there is no way to write text to a file with cubescript.
Posts: 2,841
Threads: 44
Joined: Jun 2010
Also AFAIK you can't make cubescript copy stuff into your clipboard.
Posts: 484
Threads: 11
Joined: Feb 2012
Hmm Ok, will do it manually ^^
Thanks
Posts: 116
Threads: 10
Joined: Jun 2011
06 Feb 13, 08:00AM
(This post was last modified: 04 Mar 13, 09:53AM by 888.)
Please delete this post
Posts: 116
Threads: 10
Joined: Jun 2011
06 Feb 13, 01:10PM
(This post was last modified: 04 Mar 13, 09:53AM by 888.)
Please deleting this post
|