Announcement

Collapse
No announcement yet.

Some helpfull scripts.

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Some helpfull scripts.

    Marine:
    Code:
    //from buggy, turn DOWN mic
    alias voicet "voiceoff"
    alias voiceoff "voice_scale 0.05; developer 0; alias voicet voiceon"
    alias voiceon "voice_scale 0.95; developer 0; alias voicet voiceoff"
    bind "g" voicet
    //keeps the voice chat down for a spell while you hear aliens inc, ala make wyz's 
    //beautiful voice stop giving load orders ;)
    
    //from zypher popsup map while use
    alias +MAPUSE "+showmap; wait; +use"
    alias -MAPUSE "-showmap; wait; -use"
    bind "e" "+MAPUSE"
    //Good to see if you have any alien inc while building.
    
    alias +reloaf "+reload; wait; stopsound; say_team Cover me, Reloading!"
    alias -reloaf "-reload;"
    bind "MOUSE3" "+reloaf"
    //Reload script
    
    alias "hps" "say_team -=MEDPACK=-;impulse 10"
    alias "weld" "say_team -=WELD ME=-"
    bind "q" "hps"
    bind "r" "weld"
    Alien:
    Code:
    //3 jump script
    alias +3jumps "+jump; wait; -jump; wait; +jump; wait; -jump; wait; +jump"
    alias -3jumps "-jump"
    bind "space" "+3jumps"
    //Helps with Bhoping, though now I use the mousewheel
    
    //from zypher popsup map while use
    alias +MAPUSE "+showmap; wait; +use"
    alias -MAPUSE "-showmap; wait; -use"
    bind "e" "+MAPUSE"
    
    //from buggy, turn DOWN mic
    alias voicet "voiceoff"
    alias voiceoff "voice_scale 0.05; developer 0; alias voicet voiceon"
    alias voiceon "voice_scale 0.95; developer 0; alias voicet voiceoff"
    bind "g" voicet
    
    //alien weapon specific bind from swift idiot
    alias +s1 "slot1;wait;+attack;"
    alias -s1 "-attack;"
    
    alias +s2 "slot2;wait;+attack;"
    alias -s2 "-attack;wait;wait;slot1"
    
    alias +s3 "slot3;wait;+attack;
    alias -s3 "-attack;wait;wait;slot1"
    
    alias +s4 "slot4;wait;+attack;
    alias -s4 "-attack;wait;wait;slot1"
    //Allows button specific weapon attacks.
    
    //switches mouse2 for either slot2 or slot3 weapon (skulk or fade)
    alias switch "bind MOUSE2 +s2; bind MOUSE3 switch2"
    alias switch2 "bind MOUSE2 +s3; bind MOUSE3 switch"
    
    bind "MOUSE2" "+s2"
    bind "MOUSE3" "switch2"
    There you have it, a lot of usefull scripts that wont play the game for you, but will give you advantages on the field. If you use any of them, please give credit to the creators, and let me know if they helped you at all or give any feedback on how to do them better.

    Add your own!
    USAR

  • #2
    Re: Some helpfull scripts.

    Two monster wep scripts if you cant figure out what they do without looking at them dont use it. PS i dont use the bind config on here but i set it up for a friend who does.

    alias w "wait"

    alias prefattack "slot2"

    alias set1 "alias prefattack slot1"
    alias set2 "alias prefattack slot2"
    alias set3 "alias prefattack slot3"
    alias set4 "alias prefattack slot4"

    alias +setpref "bind PGDN set1; bind KP_DOWNARROW set2; bind KP_LEFTARROW set3; bind KP_5 set4"
    alias -setpref "bind PGDN kk1a; bind KP_DOWNARROw kk2a; bind KP_LEFTARROW kk3a; bind KP_5 kk4a"

    bind PGUP "+setpref"

    alias +s1 "prefattack;w;+attack"
    alias -s1 "-attack;w;slot1"
    alias +s2 "prefattack;w;+attack"
    alias -s2 "-attack;w;slot2"
    alias +s3 "prefattack;w;+attack"
    alias -s3 "-attack;w;slot3"
    alias +s4 "prefattack;w;+attack"
    alias -s4 "-attack;w;slot4"

    // client side lastinv -- romano
    // replace 1,2,3,4 with your binds for slot1,2,3,4 respectively
    // repace q with your bind for lastinv
    // replace x with your bind for auto-slot3
    bind PGDN "kk1a"
    bind KP_DOWNARROW "kk2a"
    bind KP_LEFTARROW "kk3a"
    bind KP_5 "kk4a"

    alias kk1a "kkslot1"
    alias kk1b "kkslot1; bind mouse5 kk2a"
    alias kk1c "kkslot1; bind mouse5 kk3a"
    alias kk1d "kkslot1; bind mouse5 kk4a"
    alias kkslot1 "slot1; bind PGDN kk1a; bind KP_DOWNARROW kk2a; bind KP_LEFTARROW kk3a; bind KP_5 kk4a; bind mouse2 +s1;"

    alias kk2a "kkslot2; bind mouse5 kk1b"
    alias kk2b "kkslot2"
    alias kk2c "kkslot2; bind mouse5 kk3b"
    alias kk2d "kkslot2; bind mouse5 kk4b"
    alias kkslot2 "slot2; bind PGDN kk1b; bind KP_DOWNARROW kk2b; bind KP_LEFTARROW kk3b; bind KP_5 kk4b; bind mouse2 +s2;"

    alias kk3a "kkslot3; bind mouse5 kk1c"
    alias kk3b "kkslot3; bind mouse5 kk2c"
    alias kk3c "kkslot3"
    alias kk3d "kkslot3; bind mouse5 kk4c"
    alias kkslot3 "slot3; bind PGDN kk1c; bind KP_DOWNARROW kk2c; bind KP_LEFTARROW kk3c; bind KP_5 kk4c; bind mouse2 +s3"

    alias kk4a "kkslot4; bind mouse5 kk1d"
    alias kk4b "kkslot4; bind mouse5 kk2d"
    alias kk4c "kkslot4; bind mouse5 kk3d"
    alias kk4d "kkslot4"
    alias kkslot4 "slot4; bind PGDN kk1d; bind KP_DOWNARROW kk2d; bind KP_LEFTARROW kk3d; bind KP_5 kk4d; bind mouse2 +s4;"

    /////////////////////////////////////////////////////////////////
    /////////////////////////////////////////////////////////////////

    //kalias lastinv script

    //BINDS
    //Replace q with lastinv key
    //Replace 1-4 with your weapon selection keys
    //Replace [ and ] with your invnext and invprev keys
    bind 1 kslot1
    bind 2 kslot2
    bind 3 kslot3
    bind 4 kslot4
    bind ] knext
    bind [ kprev
    bind q kstore1

    //ALIAS
    alias "kstore" "kslot1"
    alias "kstore1" "kslot1"
    alias "kstore2" "kslot1"
    alias "knext" "knext1"
    alias "kprev" "kprev1"
    alias "knext1" "kslot4;kslot1;kslot3;kslot1;kslot2"
    alias "kprev1" "kslot2;kslot1;kslot3;kslot1;kslot4"
    alias "knext2" "kslot1;kslot1;kslot4;kslot1;kslot3"
    alias "kprev2" "kslot3;kslot1;kslot4;kslot1;kslot1"
    alias "knext3" "kslot2;kslot1;kslot1;kslot1;kslot4"
    alias "kprev3" "kslot4;kslot1;kslot1;kslot1;kslot2"
    alias "knext4" "kslot3;kslot1;kslot2;kslot1;kslot1"
    alias "kprev4" "kslot1;kslot1;kslot2;kslot1;kslot3"
    alias "kswitch1" "alias kslot1 kslot1b;alias kslot2 kslot2b;alias kslot3 kslot3b;alias kslot4 kslot4b"
    alias "kswitch2" "alias kslot1 kslot1a;alias kslot2 kslot2a;alias kslot3 kslot3a;alias kslot4 kslot4a"
    alias "kslot1" "kslot1a"
    alias "kslot2" "kslot2a"
    alias "kslot3" "kslot3a"
    alias "kslot4" "kslot4a"
    alias "kslot1a" "slot1;alias kstore kslot1;alias kstore2 kslot1;bind q kstore1;alias kslot1 kslot1a;alias knext knext1;alias kprev kprev1;kswitch1"
    alias "kslot2a" "slot2;alias kstore kslot2;alias kstore2 kslot2;bind q kstore1;alias kslot2 kslot2a;alias knext knext2;alias kprev kprev2;kswitch1"
    alias "kslot3a" "slot3;alias kstore kslot3;alias kstore2 kslot3;bind q kstore1;alias kslot3 kslot3a;alias knext knext3;alias kprev kprev3;kswitch1"
    alias "kslot4a" "slot4;alias kstore kslot4;alias kstore2 kslot4;bind q kstore1;alias kslot3 kslot4a;alias knext knext4;alias kprev kprev4;kswitch1"
    alias "kslot1b" "slot1;alias kstore kslot1;alias kstore1 kslot1;bind q kstore2;alias kslot1 kslot1b;alias knext knext1;alias kprev kprev1;kswitch2"
    alias "kslot2b" "slot2;alias kstore kslot2;alias kstore1 kslot2;bind q kstore2;alias kslot1 kslot2b;alias knext knext2;alias kprev kprev2;kswitch2"
    alias "kslot3b" "slot3;alias kstore kslot3;alias kstore1 kslot3;bind q kstore2;alias kslot1 kslot3b;alias knext knext3;alias kprev kprev3;kswitch2"
    alias "kslot4b" "slot4;alias kstore kslot4;alias kstore1 kslot4;bind q kstore2;alias kslot1 kslot4b;alias knext knext4;alias kprev kprev4;kswitch2"


    //kalias non-lastinv slotx command
    //Replace mouse2 with your non-lastinv-slotx key
    //Replace kp_ins with your set-slotx key

    //BINDS
    bind mouse2 +kspecslotx
    bind kp_ins +ksetspecslotx

    //ALIAS
    //Change +kspecslotx to use kspecslot1/2/3/4 here if you wish to have a different default special slot
    alias "+ksetspecslotx" "bind 1 ksetspecslot1;bind 2 ksetspecslot2;bind 3 ksetspecslot3;bind 4 ksetspecslot4"
    alias "-ksetspecslotx" "bind 1 kslot1;bind 2 kslot2;bind 3 kslot3;bind 4 kslot4"
    alias "+kspecslotx" "kspecslot3"
    alias "-kspecslotx" "-attack;kstore"
    alias "ksetspecslot1" "alias +kspecslotx kspecslot1"
    alias "ksetspecslot2" "alias +kspecslotx kspecslot2"
    alias "ksetspecslot3" "alias +kspecslotx kspecslot3"
    alias "ksetspecslot4" "alias +kspecslotx kspecslot4"

    //No autoattack
    //alias "kspecslot1" "slot1"
    //alias "kspecslot2" "slot2"
    //alias "kspecslot3" "slot3"
    //alias "kspecslot4" "slot4"

    //With autoattack
    alias "kspecslot1" "slot1;wait;+attack"
    alias "kspecslot2" "slot2;wait;+attack"
    alias "kspecslot3" "slot3;wait;+attack"
    alias "kspecslot4" "slot4;wait;+attack"

    /////////////////////////////////////////
    /////////////////////////////////////////

    //walk faster

    alias move "+moveleft; wait; -moveleft; +moveright; wait; -moveright"
    alias speedup "move; move; move; move; move"
    alias slider "speedup; speedup; speedup; speedup"
    bind end "slider"
    "If you love wealth more than liberty, the tranquility of servitude better than the animating contest of freedom, depart from us in peace. We ask not your counsel nor your arms. Crouch down and lick the hand that feeds you. May your chains rest lightly upon you and may posterity forget that you were our countrymen.

    Comment


    • #3
      Re: Some helpfull scripts.

      I don't know if I like that stopsound in the reload script (+reloaf); I take it that is stopping the reload sound from playing? That is just a small step away from exploiting .wav files (for example, making skulk footstep a blaring alarm sound), something that C-D (as well as other anti-cheat) would block. The sounds are there for more reasons than atmosphere.

      Comment


      • #4
        Re: Some helpfull scripts.

        It still plays the reload sound. It stops the ambient noises that are sometimes rediculously load on some maps.
        USAR

        Comment


        • #5
          Re: Some helpfull scripts.

          Noises, or music?

          The music I can live without. But on some maps, the whole point of the area might be to loud.
          [volun2]
          NS Game Officer. TF2 Admin. BF2 Admin / Scripter. PM with issues.
          Tempus: Pokerface is nailing it right on the head. Everyone who is arguing against him is simply arguing against reality.
          <anmuzi> it is not permitted to have privacy or anonymity
          <LazyEye> yeah when I play on TG the server digs though my trash

          Arm yourself with knowledge: TG NS TF2 BF2

          Comment


          • #6
            Re: Some helpfull scripts.

            damn your scripts to [email protected]@#@#@$#(* Default ftw.

            Comment


            • #7
              Re: Some helpfull scripts.

              First of all, thanks for the scripts. Some of them will come in handy.

              Second of all, I'd appreciate it if someone would tell me exactly what I need to do with them... am I putting them into a file, or pasting them into console?

              -Mom
              Yer Mom /O>

              To all but me is the look given but never received. My heart sinks faster and faster every time I look into them, yet I do not understand their controling power on my soul. - W11114m W45h1n670n

              Comment


              • #8
                Re: Some helpfull scripts.

                Yer mom, you can either insert these script portions directly into your userconfig.cfg, or create a new .cfg file, and add 'exec "script.cfg"' to your userconfig.cfg, or you could put it in a .cfg file, then manually load it each time by typing exec script.cfg in console.

                script.cfg = whatevernameyouchoose.cfg, of course


                "Who put the fun in dysfunctional? I." - Aesop Rock

                "Cuz you can choose to say 'Good morning, God! =)' or 'Good God, morning! =(" - Blackalicious

                Comment


                • #9
                  Re: Some helpfull scripts.

                  mom, you have to make a userconfig.cfg and put the scripts in there. make sure you set the keys in the script to whatever keys you want them to be...it's always an unfortunate thing when you put in new scripts and they replace exisiting binds, so you go to hit your quickswitch key and all of a sudden it winds up asking for meds.

                  Comment


                  • #10
                    Re: Some helpfull scripts.

                    Originally posted by Yer Mom View Post
                    First of all, thanks for the scripts. Some of them will come in handy.

                    Second of all, I'd appreciate it if someone would tell me exactly what I need to do with them... am I putting them into a file, or pasting them into console?

                    -Mom
                    http://www.tacticalgamer.com/natural...pts#post406173
                    USAR

                    Comment


                    • #11
                      Re: Some helpfull scripts.

                      This is a simple volume toggle script that I use, if you want to make it that much more helpful you can tack it in with zypher's "use" script. I usually use this when I'm building something (which I usually always check my map when I'm building too, but I like to keep it seperate and most of my keys are already bound to something.) As you can read, its stopsounds, ups the volume which can help aid for hearing skulks or anything walking, and mutes any voice. Change it as you wish, if you like your volume defaults to be different.


                      alias "+volumeswitch" "stopsound; volume 2; voice_scale 0"
                      alias "-volumeswitch" "volume 0.75; voice_scale 2"
                      bind b "+volumeswitch"

                      Comment


                      • #12
                        Re: Some helpfull scripts.

                        Here are is an updated script I use for aliens, its also BS1 friendly:
                        Code:
                        //nonscripted weapon script... err yeah
                        alias +sw3 "slot3"
                        alias -sw3 "slot1"
                        alias +sw2 "slot2"
                        alias -sw2 "slot1"
                        alias vone "speak slot3.wav"
                        alias vtwo "speak slot2.wav"
                        alias sone "bind MOUSE2 +sw3; bind MOUSE3 stwo; vone"
                        alias stwo "bind MOUSE2 +sw2; bind MOUSE3 sone; vtwo"
                        bind "MOUSE2" "+sw2"
                        bind "MOUSE3" "sone"
                        It pretty much reassigns mouse2 to slot2 or slot3 on click, and reassigns it to slot1 of off click, leaving mouse1 on +attack. I can on right click, leap, off right click, and bite. Mouse3 is bound to a script that switches between slot2 and slot3 (blinking/leaping). The sound files are custom files I created to tell me which slot is bound to mouse2 at the time (since I have fast weapon switch enabled).

                        Code:
                        //toggle pistol script
                        alias atk "+attack; wait; -attack; wait; wait;"
                        alias +pattack "+attack"
                        alias -pattack "-attack; wait; +attack; wait; -attack"
                        alias pistolOn "speak pON.wav"
                        alias pistolOff "speak pOFF.wav"
                        alias sinatk "bind MOUSE1 +pattack; bind x dblatk; pistolOn"
                        alias dblatk "bind MOUSE1 +attack; bind x sinatk; pistolOff"
                        bind "MOUSE1" "+attack"
                        bind "x" "sinatk"
                        Toggle pistol script that I use. Again I use a sound file to tell me when its enabled or disabled.
                        USAR

                        Comment


                        • #13
                          Re: Some helpfull scripts.

                          wow that seems like its really complicated...are you sure that all servers allow these scripts? or at the very least most of these scripts?
                          Natural Selection name: Fodderkill. Why Fodderkill? Well, its because im so easy to kill hahaha!
                          "Why don't Fades ever die?"
                          -Universal question almost all new players ask at some point, even if they n ever say it.

                          Forum name: Fat B Man
                          Ingame name: Fodderkill

                          Just call me Fodder on TS or whatever

                          Comment


                          • #14
                            Re: Some helpfull scripts.

                            You'll find that most servers have the BS (Block Scripts) flag set to 1 (active). There are way around this, however; take advantage of the "alias" command. TG is one of the very very few servers that does not enable the BS flag.
                            Former TGNS admin until WoW blinded me with flashy lights.

                            Comment


                            • #15
                              Re: Some helpfull scripts.

                              My weapon switch script is BS1 friendly, the pistol script is not.

                              The commands that are not BS1 friendly are:
                              +jump;+attack; multiple commands bound directly to a key; There is probably more that I can't think of. Stupid is right, get used to using the alias command a lot to perform multiple commands with one key on BS1 servers.
                              USAR

                              Comment

                              Connect

                              Collapse

                              TeamSpeak 3 Server

                              Collapse

                              Advertisement

                              Collapse

                              Twitter Feed

                              Collapse

                              Working...
                              X