Scripts!
illusion
Join Date: 2004-08-25 Member: 30889Members
for all of those people who dont like scripts... do not even read this thread or post in it.
anyway, this thread is about scripts. post the scripts you use here, useful or not so useful. i use the typical leap-bite script and pistol script only ( not that they make me THAT much better, but i use them anyway) . i want to expand my scripting but i dont know what else to use.
comment.
anyway, this thread is about scripts. post the scripts you use here, useful or not so useful. i use the typical leap-bite script and pistol script only ( not that they make me THAT much better, but i use them anyway) . i want to expand my scripting but i dont know what else to use.
comment.
This discussion has been closed.
Comments
alias +hop "+jump;wait;-jump;wait;+jump;wait;-jump;wait;+jump"
alias -hop "-jump"
//demo recording
alias demo_on "messagemode record;alias demotoggle demo_off;say_team Demo recording"
alias demo_off "stop;alias demotoggle demo_on;say_team Demo stopped"
alias demotoggle demo_on
//spectator mode changer
alias spc sp1
alias sp1 "spec_mode 1;alias spc sp2"
alias sp2 "spec_mode 2;alias spc sp3"
alias sp3 "spec_mode 3;alias spc sp4"
alias sp4 "spec_mode 4;alias spc sp5"
alias sp5 "spec_mode 5;alias spc sp1"
//toggle chat text on/off
alias chatt chatoff
alias chaton "hud_saytext 1; alias chatt chatoff;dev1;echo SAYTEXT ON;dev0"
alias chatoff "hud_saytext 0; alias chatt chaton;dev1;echo SAYTEXT OFF;dev0"
//shut up please
alias voicet "voiceoff"
alias voiceoff "voice_scale 0.00; stopsound; dev1; echo VOICE OFF; dev0; alias voicet voiceon"
alias voiceon "voice_scale 1.0; stopsound; dev1; echo VOICE ON; dev0; alias voicet voiceoff"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
alias silence "voice_scale 0; stopsound; developer 1; echo No more voices; developer 0; bind n nosilence"
alias nosilence "voice_scale 1; stopsound; developer 1; echo Voices return; developer 0; bind n silence"
bind "n" "silence"
Use this when the voice spam is too much... mutes everyone on the server. Press it again and you will unmute them all. Binds to "n" if you didn't notice.
alias getlost "impulse 12; say_team Move out of my way please!" (only works on aliens)
alias needammo "impulse 11; say_team Ammo Now!"
alias needhealth "impulse 10; say_team Health Now!"
Bind these alias's to some key.
alias "moomooquit" "quit; unbindall"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
<!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->
hud_fastswitch 1
bind slot 1 through slot 4 to keys
problem solved
pistol script
meds+ammo+rt+welding script
I could make hundreds of pointless scripts that could make you run in circles and soot and some other stuff.
So this kinda stuff is pointless to speak off.
My scripts for building (gorge) are messy and icky to look at so I won't post them.
alias b "+jump;wait;-jump;wait"
alias +shiz "+moveup;b;b;b;b;b;b;+jump"
alias -shiz "-moveup;-jump"
bind KP_INS "+shiz"
I used this script for quite awile and is very nice <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->
But now with b5 and more and more servers using blockers, including myn due to request, i try and bhop myself and its not so hard i guess the script helped me ? :o
+shiz <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->
Welcome to forums. Good luck with this.
Anyways I have a list of my binds somewhere on this form... lemme search then I'll get back to you.
bind slot 1 through slot 4 to keys
problem solved <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
You don't know how often I've heard that... :|
I use my mouse wheel for weapon switching, which means using a complex (for me) script to fastswitch next/prevweapon, or binding mwheelup to slot 1 and mwheeldwn to impulse 1.
Damn, I was going to say 7 and a half hours aswell!
~edit~
lol. Don't ask about the picture, I don't even want to know; besides smoking is bad for you. Delete post if you find it offensive, I was making a joke.
<span style='color:orange'>*snip.* We've had more offensive, but this was a bit needless</span>
alias +hop "+jump;wait;-jump;wait;+jump;wait;-jump;wait;+jump"
alias -hop "-jump"
//demo recording
alias demo_on "messagemode record;alias demotoggle demo_off;say_team Demo recording"
alias demo_off "stop;alias demotoggle demo_on;say_team Demo stopped"
alias demotoggle demo_on
//spectator mode changer
alias spc sp1
alias sp1 "spec_mode 1;alias spc sp2"
alias sp2 "spec_mode 2;alias spc sp3"
alias sp3 "spec_mode 3;alias spc sp4"
alias sp4 "spec_mode 4;alias spc sp5"
alias sp5 "spec_mode 5;alias spc sp1"
//toggle chat text on/off
alias chatt chatoff
alias chaton "hud_saytext 1; alias chatt chatoff;dev1;echo SAYTEXT ON;dev0"
alias chatoff "hud_saytext 0; alias chatt chaton;dev1;echo SAYTEXT OFF;dev0"
//shut up please
alias voicet "voiceoff"
alias voiceoff "voice_scale 0.00; stopsound; dev1; echo VOICE OFF; dev0; alias voicet voiceon"
alias voiceon "voice_scale 1.0; stopsound; dev1; echo VOICE ON; dev0; alias voicet voiceoff"<!--c2--></td></tr></table><div class='postcolor'><!--ec2--> <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
Should there be
alias dev0 "developer 0"
alias dev1 "developer 1"
in there as well?
YES
In other news:
A flashy script for STROOOOOBE LIGHTS and ready-room rave parties is easy to make. Impulse 100 controls your flashlight. Just cut and paste two Impulse100's together for an on-off. Since the command is extremely fast, try to experiment with adding a few wait; commands between the impulse100s. You can do what I did and make MULTIPLE flash strobe scripts at varying timings and patterns. If you tried a few times till you got the timing right, you could probably make a pretty funny ...---... SOS flashlight signal. The reason I did all this was because they would be tied to my teamsay binds to help communicate without voice. I don't trust my microphone, so I invent multiple methods of silent communication. My NEED ORDER flash script would flash rapidly for a half second. The reason this is actually USEFUL is because to the commander, you might be in a dark shadow or something. The rapid flashing of the light gets his attention directly where you are, so he doesn't have to squint at his screen with that HORRIBLE commander's perspective to find you. Meanwhile, the timing was different for medpacks and stuff, and I also had a few rapid cycle flash scripts for intersquad coordination. The strobe flash helps identify yourself in some of the darker maps, and it's not really as big a strategic liability as you'd think anyway. Then again I get bored and run around a lot if the com is luecless.
Rambling aside, building your own flashlight script is a nice way to overcome that fear some of you seem to have of scripts being evil lines of devious hacker code and cfgs taken from the 9th ring of hell. Kind of like building a lightsaber is one of your first tasks as a jedi, see? Go do some Google searching for how to write scripts and what you can and can't do with them, then try to make a flashlight strobe. I dare you. Oh yeah, and of course, any strobe script you write gets caught in the blockscript filter as a malicious script. Sorry. Please consider playing on a blockscript 0 server however!</span>
alias dev0 "developer 0"
alias dev1 "developer 1"
in there as well? <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
Yeah, I forgot to add it.
For a Skulk, it wallstrafes against the ground at the correct angle to maximize speed on a steep ramp.
This technique can be used by anyone. Just move toward the ground at approximately a 60 degree angle (slightly less for ramps, and +movedown can be useful for this), and run forward. Make sure you are not holding duck. This can give you up to about 430 speed on a flat surface, and much more on the right ramps.
YES
<!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
Hehe. <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo--> Thanx.
Glad to have made someone laugh today. Come to the lanwar and I'l show you what a crazy HL mod server I run.
*damn the no broadband-internet-with-computer-ness.* <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html//emoticons/sad-fix.gif' border='0' style='vertical-align:middle' alt='sad-fix.gif' /><!--endemo-->
PS: my server used to be located here 135.156.235.154:27015, I am going to a big computer surpls thing with my Linux nerds, I mean friends <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html//emoticons/biggrin-fix.gif' border='0' style='vertical-align:middle' alt='biggrin-fix.gif' /><!--endemo--> ; so maybe I'll pickup some extra goodies and make an extra server, yay.
"I use my mouse wheel for weapon switching"
I used to do that, but it's not precise/fast enough to play aliens well. If you ever want to have any hope of leap+biting or blink+biting you'll need to switch to hotkeys for the weapons.
And for my contribution to the thread:
<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->alias mywait "wait"
alias +quickLeap "hud_capturemouse 0; mywait; slot3; mywait; +attack"
alias -quickLeap "-attack; mywait; slot1; mywait; hud_capturemouse 1"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
The quickLeap script. Hit a key bound to +quickLeap and you'll leap. (And switch weapons to slot 1 when you release. No bite. Do it manually.)
I made this one after I got sick of hitting keys for:
slot 3
attack (to switch weapon)
attack (to leap)
slot 1
attack (to switch weapon)
Yes, I really did learn to leap/bite without hud_fastswitch on. (I do NOT recommend it.) I now use hud_fastswitch so that when I play on no-script servers I don't give myself carpal tunnel syndrome QUITE as fast.
<b><span style='color:yellow'>scripting</span> <span style='color:gray'>!=</span> <span style='color:orange'>cheating</span> <span style='color:gray'>!=</span> <span style='color:red'>hacking</span></b>
for my server
permitted mostly :: offense count towards triple offense policy :: insta-perm-ban and if bad enough I'm gonna sue your arse till' you cry
Are we done discussing this, out of respect to the thread's starter I'd rather not have this topic locked or deleted
//Romanos client side lastinv script
bind 1 "kk1a"
bind 2 "kk2a"
bind 3 "kk3a"
bind 4 "kk4a"
alias kk1a "kkslot1"
alias kk1b "kkslot1; bind q kk2a"
alias kk1c "kkslot1; bind q kk3a"
alias kk1d "kkslot1; bind q kk4a"
alias kkslot1 "slot1; bind 1 kk1a; bind 2 kk2a; bind 3 kk3a; bind 4 kk4a"
alias kk2a "kkslot2; bind q kk1b"
alias kk2b "kkslot2"
alias kk2c "kkslot2; bind q kk3b"
alias kk2d "kkslot2; bind q kk4b"
alias kkslot2 "slot2; bind 1 kk1b; bind 2 kk2b; bind 3 kk3b; bind 4 kk4b"
alias kk3a "kkslot3; bind q kk1c"
alias kk3b "kkslot3; bind q kk2c"
alias kk3c "kkslot3"
alias kk3d "kkslot3; bind q kk4c"
alias kkslot3 "slot3; bind 1 kk1c; bind 2 kk2c; bind 3 kk3c; bind 4 kk4c"
alias kk4a "kkslot4; bind q kk1d"
alias kk4b "kkslot4; bind q kk2d"
alias kk4c "kkslot4; bind q kk3d"
alias kk4d "kkslot4"
alias kkslot4 "slot4; bind 1 kk1d; bind 2 kk2d; bind 3 kk3d; bind 4 kk4d"
bind "q" "lastinv"
<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->// Walk/Run swap
alias walk "-run"
alias -run "+speed;alias walk +run"
alias +run "-speed;alias walk -run"
// Join team
alias join_team_one "Marine_slotinit; jointeamone"
alias join_team_two "Alien_slotinit; jointeamtwo"
alias join_random "Alien_slotinit; autoassign"
// Prev&Next Weapon
alias cinvprev "invprev; +attack; wait; -attack"
alias cinvnext "impulse 1"
alias sinvprev "cinvprev; slotinit; alias +fslot1 +attack"
alias sinvnext "cinvnext; slotinit; alias +fslot1 +attack"
//---Alien
alias Alien_slotinit "Aslotinit; alias slotinit RAslotinit; alias fslotinit Aslotinit"
alias Aslot1 "alias +fslot2 Aslot2; alias +fslot3 Aslot3; alias +fslot4 Aslot4; alias +fslot1 +attack; slot1; wait; +attack"
alias Aslot2 "alias +fslot1 Aslot1; alias +fslot3 Aslot3; alias +fslot4 Aslot4; alias +fslot2 +attack; slot2; wait; +attack"
alias Aslot3 "alias +fslot1 Aslot1; alias +fslot2 Aslot2; alias +fslot4 Aslot4; alias +fslot3 +attack; slot3; wait; +attack"
alias Aslot4 "alias +fslot1 Aslot1; alias +fslot2 Aslot2; alias +fslot3 Aslot3; alias +fslot4 +attack; slot4; wait; +attack"
alias Aslot5 "alias +fslot1 +attack; alias +fslot2 Aslot2; alias +fslot3 Aslot3; alias +fslot4 Aslot4; slot4"
alias RAslotinit "alias +fslot1 Aslot1; alias +fslot2 Aslot2; alias +fslot3 Aslot3; alias +fslot4 Aslot4"
alias Aslotinit "alias +fslot1 +attack; alias +fslot2 Aslot2; alias +fslot3 Aslot3; alias +fslot4 Aslot4; alias +fslot5 Aslot5; Aslotinit2"
alias Aslotinit2 "alias -fslot1 -attack; alias -fslot2 -attack; alias -fslot3 -attack; alias -fslot4 -attack; alias -fslot5 wait; slot1"
//---Marine
alias Marine_slotinit "Mslotinit; alias slotinit RMslotinit; alias fslotinit Mslotinit"
alias Mslot1 "alias +fslot2 Mslot2; weapon_machinegun; weapon_shotgun; weapon_heavymachinegun; weapon_grenadegun"
alias Mslot2 "alias +fslot2 Mslot1; weapon_pistol"
alias Mslot3 "alias +fslot2 Mslot1; weapon_knife"
alias Mslot4 "alias +fslot2 Mslot1; weapon_welder"
alias Mslot5 "alias +fslot2 Mslot1; weapon_grenade; weapon_mine"
alias RMslotinit "alias +fslot1 +attack; alias +fslot2 Mslot1"
alias Mslotinit "alias +fslot1 +attack; alias +fslot2 Mslot2; alias +fslot3 Mslot3; alias +fslot4 Mslot4; alias +fslot5 Mslot5; Mslotinit2"
alias Mslotinit2 "alias -fslot1 -attack; alias -fslot2 wait; alias -fslot3 wait; alias -fslot4 wait; alias -fslot5 wait; slot1"
//---default
Alien_slotinit
// In cheat mode
alias giveres "givexp; givepoints"
<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
Bind:
<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->"walk" "Run/Walk (toggle)"
"fslotinit" "Init Weapon X + Attack"
"+fslot1" "Weapon 1 + Attack"
"+fslot2" "Weapon 2 + Attack"
"+fslot3" "Weapon 3 + Attack"
"+fslot4" "Weapon 4 + Attack"
"+fslot5" "Weapon 5 + Attack"
"sinvprev" "Previous weapon"
"sinvnext" "Next weapon"
"join_team_one" "Join team 1 (Marine)"
"join_team_two" "Join team 2 (Alien)"
"join_random" "Join random team"
"buildminimap" "Build the minimap"
"giveres" "Give ressources/exp"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
PS: Don't work well with mp_blockscript 1
alias join_team_one "Marine_slotinit; jointeamone"
alias join_team_two "Alien_slotinit; jointeamtwo"
alias join_random "Alien_slotinit; autoassign"<!--c2--></td></tr></table><div class='postcolor'><!--ec2--><!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
Ahahahahha! That's awesome.