The Leap Script

snoozersnoozer Join Date: 2003-12-13 Member: 24330Members
I was wondering if somebody knew a good leap/bite script (the one when you leap you also bite).I'm sorry if this has been said before but I searched the forum and found nothing useful.

Thanks
«1

Comments

  • napinapi Join Date: 2003-03-01 Member: 14172Members, Constellation
    edited May 2004
    I personally don't have a problem with scripts, but you should be careful that many people frown upon them - just some thing to remember

    i'll dig around - see if i can find a good one as there are plenty of gootd ones

    however, have you tried just using "flashback weapon" (default 'Q'):

    (set hud_fastswitch 1 - not necessairy for this, but just useful anyway)
    Select bite [1]
    Select leap [3]
    Click left mouse
    Hit Q
    Click left mouse

    do it very quickly... job done <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->
  • WirheWirhe Join Date: 2003-06-22 Member: 17610Members
    /Frowns

    Leap script? Isn't it easy enough to use without scripts? <!--emo&???--><img src='http://www.unknownworlds.com/forums/html//emoticons/confused.gif' border='0' style='vertical-align:middle' alt='confused.gif' /><!--endemo-->
  • e_Nadagaste_Nadagast Join Date: 2003-10-30 Member: 22149Members
    it's better to do it manually with lastinv than to do it with a script.
  • Diablo_fxDiablo_fx Join Date: 2003-02-21 Member: 13793Members
    I made a script to leap only once, it sucked it didn't allways work and sometimes you lost enegy but didn't leap..

    I'm totaly fine with scripts.
  • SilverWolfSilverWolf Join Date: 2003-05-20 Member: 16540Members
    ya, leap/bite and blink/swipe scripts are essentially garbage. I personally have never used one, and never will because there isnt a need for them at all. Trust me on this one just use last inventory.
  • wascally_wabbitwascally_wabbit Join Date: 2003-09-09 Member: 20701Members
    edited May 2004
    Or bind all 4 keys to easy reach <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo--> (For me, q = slot1, mouse2 = slot2, r = slot3, and 4 = slot4)

    Not sure if you'll find too much help on these forums, but if you _really_ _really_ feel the need to use a script (which I advise against), then you may have to write it yourself. Just check out a scripting tutorial, and if you can't find any for NS, then use a CS one =P
  • SalvationSalvation Join Date: 2003-11-21 Member: 23300Members
    <!--QuoteBegin-SilverWolf-+May 22 2004, 12:20 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (SilverWolf- @ May 22 2004, 12:20 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> ya, leap/bite and blink/swipe scripts are essentially garbage. I personally have never used one, and never will because there isnt a need for them at all. Trust me on this one just use last inventory. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    this is true
  • snoozersnoozer Join Date: 2003-12-13 Member: 24330Members
    Now that you mentioned it, it's pretty easy to do it without any scripts <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo-->.

    Thnx for the help <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo-->
  • R_A_CR_A_C Join Date: 2003-05-13 Member: 16273Members
    edited May 2004
    I'd just like to add that lastinv is server side I think and so will be limited by your ping. there is a script somewhere that does the same thing as latinv and is client side so much faster. I haven't gotten around to using it but I hear it works well. I'll see If I can find it.

    edit: here it is. I <i>THINK</i> I copied it correctly, but if not you can prolly find this using search.

    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"
  • incinaratorincinarator Join Date: 2003-06-16 Member: 17418Awaiting Authorization
    <!--QuoteBegin-e.Nadagast+May 21 2004, 06:31 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (e.Nadagast @ May 21 2004, 06:31 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> it's better to do it manually with lastinv than to do it with a script. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    yeah, i have Q bound to last inv.. you have alot more contol if you do it this way.
  • PaegusPaegus Join Date: 2002-11-02 Member: 5306Members
    edited May 2004
    Simplest way i've found is like me23 said.. bind a key to each slot, though i took it 1 step farther
    <!--QuoteBegin-nsp/pegas/class.rc+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (nsp/pegas/class.rc)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->//Class-Specific Stuff
    alias +healgun "weapon_welder; weapon_healingspray; weapon_umbra; weapon_metabolize; weapon_devour"
    alias -healgun "lastinv"

    alias +hurtgun "weapon_grenade; weapon_parasite; weapon_bilebombgun; weapon_spore; weapon_acidrocketgun; weapon_stomp"
    alias -hurtgun "lastinv"

    alias +hivegun "weapon_mine; weapon_divinewind; weapon_webspinner; weapon_primalscream; weapon_acidrocketgun; weapon_charge"
    alias -hivegun "lastinv"

    alias +movegun "YOU_NEED_TO_SELECT_A_SPECIES"
    alias -movegun ""<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->

    ...and specifically for the skulk...

    <!--QuoteBegin-nsp/pegas/class/skulk.rc+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (nsp/pegas/class/skulk.rc)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->//Skulk
    Impulse 113

    // MOVEGUN: Leaper
    alias +movegun "weapon_leap"
    alias -movegun "lastinv"

    ...buncha other stuff for my commandmenu...

    SKULK_CONFIGURED
    <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->

    Just press +movegun, then +attack, then -movegun and bite, since chances are you wont be close enough to bite right when you just.
    This method works independantly of your game's fps, which tends to screw around with "all-in-one" actions like "weapon_leap; +attack; wait; -attack; wait; lastinv; +attack; wait; -attack" since the weapon switch is longer than the wait-state if you're running at a high frame-rate. granted a 32*wait might work, but while you're waiting you can't do much expect look about.

    what I have works great with my 5 button m$ explorer 3...

    Mouse1 (Left) = +attack
    Mouse2 (Right) = +showmap
    Mouse3 (Middle) = +healgun
    Mouse4 (Big Thumb) = +movegun
    Mouse5 (Small Thumb) = +healgun
    V = +hivegun

    EDIT: Oh, and one last reason I do it this way: some server have <b>mp_blockscripts 1</b> set so "wait"s don't work...
  • BlueNovemberBlueNovember hax Join Date: 2003-02-28 Member: 14137Members, Constellation
    OMG! He has 2 thumbs!

    <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html//emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /><!--endemo-->

    I had my second one removed at birth. Ah well. Would have been cool to have kept it. Isn't DNA fun...


    There are a number of different TYPES of leap script; depending on what you want to do.

    Auto-leap
    >Hold fire to start leaping
    >Release to select bite
    >Press again to leap/ or switch to another weapon

    Leap/Bite
    >One button that is pressed to leap/bite instantly. Ie, jump, wait for 2
    "waits" (about the time taken to land and be in bite range,) then fires automatically.

    Leaptoggle
    >Press to swtich from bite to leap
    >Press again to switch from leap to bite

    Out of these, only leaptoggle is vaguely useful. I use it myself acutally. Right mouse is bound to it:
    Press mouse2 to select leap
    Fire with mouse1
    Press mouse 2 whilst mid air

    Makes for an interesting rocking motion on the fingers, but it works.

    I can give you the code for any of the above scripts, but there are guides for how to do it yourself avaiable, and it's much more satisfying to learn. <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html//emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /><!--endemo-->
  • rennexrennex Join Date: 2002-11-01 Member: 2688Members
    <!--QuoteBegin-shanks+May 21 2004, 06:50 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (shanks @ May 21 2004, 06:50 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->
    Select bite [1]
    Select leap [3]
    Click left mouse
    Hit Q
    Click left mouse

    do it very quickly... job done <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo--> <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    ^^
  • BlueNovemberBlueNovember hax Join Date: 2003-02-28 Member: 14137Members, Constellation
    edited November 2004
    Fast fingers mean using 1-4 is just as easy as quick switch anyway.
  • MrPinkMrPink Join Date: 2002-05-28 Member: 678Members
    Learn to do it without a script. A half decent guy using lastinv will own the best scripter out there.
  • FieariFieari Join Date: 2002-10-22 Member: 1566Members, Constellation
    If q is your walk, how do you walk and strafe left?

    With WASD, your pinky rests naturally on shift, which makes a rather good walk. Your thumb rests naturally on space, which makes a good jump. You can move your pinky down to ctrl very easily, and since there's no reason you'd ever need to walk and crouch at the same time, there's no conflict there. The keys around the movement keys need to be things you only need to press once, and briefly, not something to hold down. Otherwise, movement is impeded.
  • TestamentTestament Join Date: 2002-11-02 Member: 4037Members
    I find C makes a better crouch key...you can move your index finger down to it so it's not so tough on your pinky.
  • Marine0IMarine0I Join Date: 2002-11-14 Member: 8639Members, Constellation
    I use space for crouch and left shift for jump. Decided to do so when I realised that my left pinky was being a lazy dog, so I toughened him up by assigning him "stupid marine dance to avoid getting chomped" duty.

    As for scripting, honestly its not worth it. Ultimately, it leaves you with less control. I hit 3, fire, 1, fire - It actually makes you feel pretty leet with fingers flying all over the place, deftly switching between chomp and leap while marines curse your cotton socks. It also helps prevent another situation that anyone using last inv should be familiar with:

    You know how 3 ha marines come around the corner, you turn around, face safety, but cant remember whether you're on leap or chomp <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo--> You hit the hyperdrive and ur skulk takes one chomp in the air whilst remaining firmly on the ground and in harms way before becoming wallpaint.

    At least if you always hit 3 to "reset", you know what attack you are on.
  • BlueNovemberBlueNovember hax Join Date: 2003-02-28 Member: 14137Members, Constellation
    <!--QuoteBegin-Fieari+May 24 2004, 11:29 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Fieari @ May 24 2004, 11:29 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> If q is your walk, how do you walk and strafe left?

    With WASD, your pinky rests naturally on shift, which makes a rather good walk. Your thumb rests naturally on space, which makes a good jump. You can move your pinky down to ctrl very easily, and since there's no reason you'd ever need to walk and crouch at the same time, there's no conflict there. The keys around the movement keys need to be things you only need to press once, and briefly, not something to hold down. Otherwise, movement is impeded. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    Good question. <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->

    a)
    I dont strafe when walking as it causes decloaking as a skulk, (about the only time you would use walk.) You could walk up on somone, but then that's not using strafe.

    b)
    When walking my middle finger presses both Q & W together. It's quite easy to do when your ring-finger is curled slightly.

    Still, your method is probably more sensible.
  • locallyunscenelocallyunscene Feeder of Trolls Join Date: 2002-12-25 Member: 11528Members, Constellation
    where did you find that script RAC, it'd be nice to have a lastinv that wasn't dependant on ping, and what exactly is it binding to what in that script?
  • JaspJasp Join Date: 2003-02-04 Member: 13076Members
    <!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->where did you find that script RAC, it'd be nice to have a lastinv that wasn't dependant on ping, and what exactly is it binding to what in that script?<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->

    That script was made by romeo, sure ive spelt that wrong hes a member on the NS forum. He made it a while ago in the customization forum.

    Basically it binds weapon slots to last inv, since weapon slots are client side thier is no lag/pause.

    I find this script most handy being on a 56k helps me beat up those LPBs.
  • juicejuice Join Date: 2003-01-28 Member: 12886Members, Constellation
    As some others said, scripts suck (completely aside from any "unfair advantages" issues, which I don't have because wpn-chg scripts suck anyway); just use lastinv.

    And in some cases, I even prefer pressing the numbers! When I fade I just use 1, 2, and 3 because I like to meta while blinking away. It's really just as fast if you get used to it... I can pick jpers out of the sky like a champ.
  • CrSCrS Join Date: 2004-03-03 Member: 27096Members
    Just make a leap.cfg or whatever, in which you assing mouse1 to be +attack, and mouse2 to be leap (using a changeweapon script), then bind exec leap.cfg to a key of ur choice. <!--emo&::skulk::--><img src='http://www.unknownworlds.com/forums/html//emoticons/skulk.gif' border='0' style='vertical-align:middle' alt='skulk.gif' /><!--endemo-->
    Then then you are able to easily toggle it on whenever your team reaches two hives. <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo-->
  • MintmanMintman Join Date: 2003-05-30 Member: 16866Members
    The guy's name was Romano.
  • romanoromano Join Date: 2002-11-02 Member: 4296Members
    An updated version of the script above.. a bunch easier to change the binds. Do so at the bottom, replacing 1,2,3,4 or q with your desired key...

    <!--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-->// 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

    alias kk1 "kk1a"
    alias kk2 "kk2a"
    alias kk3 "kk3a"
    alias kk4 "kk4a"
    alias kklastinv "kk1a"

    alias kk1a "kkslot1"
    alias kk1b "kkslot1; alias kklastinv kk2a"
    alias kk1c "kkslot1; alias kklastinv kk3a"
    alias kk1d "kkslot1; alias kklastinv kk4a"
    alias kkslot1 "slot1; alias kk1 kk1a; alias kk2 kk2a; alias kk3 kk3a; alias kk4 kk4a"

    alias kk2a "kkslot2; alias kklastinv kk1b"
    alias kk2b "kkslot2"
    alias kk2c "kkslot2; alias kklastinv kk3b"
    alias kk2d "kkslot2; alias kklastinv kk4b"
    alias kkslot2 "slot2; alias kk1 kk1b; alias kk2 kk2b; alias kk3 kk3b; alias kk4 kk4b"

    alias kk3a "kkslot3; alias kklastinv kk1c"
    alias kk3b "kkslot3; alias kklastinv kk2c"
    alias kk3c "kkslot3"
    alias kk3d "kkslot3; alias kklastinv kk4c"
    alias kkslot3 "slot3; alias kk1 kk1c; alias kk2 kk2c; alias kk3 kk3c; alias kk4 kk4c"

    alias kk4a "kkslot4; alias kklastinv kk1d"
    alias kk4b "kkslot4; alias kklastinv kk2d"
    alias kk4c "kkslot4; alias kklastinv kk3d"
    alias kk4d "kkslot4"
    alias kkslot4 "slot4; alias kk1 kk1d; alias kk2 kk2d; alias kk3 kk3d; alias kk4 kk4d"

    //replace 1,2,3,4 and q here
    bind 1 "kk1"
    bind 2 "kk2"
    bind 3 "kk3"
    bind 4 "kk4"

    bind q "kklastinv"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
  • Robert_PaulsonRobert_Paulson Join Date: 2003-07-29 Member: 18543Members
    Romano^_^,

    Nice update to the script...It looks better using alias's in the main body of the script, it also is better for customization.
  • XythXyth Avatar Join Date: 2003-11-04 Member: 22312Members
    I just have "t" bound to "slot3; wait; +attack; wait; -attack"
    I don't bother having it switch back to slot 1 because I use it with other stuff also, and usually when I do use it, im not in combat, im just moving around the map.
  • SalvationSalvation Join Date: 2003-11-21 Member: 23300Members
    fastswitch 1 is all you need
  • locallyunscenelocallyunscene Feeder of Trolls Join Date: 2002-12-25 Member: 11528Members, Constellation
    edited May 2004
    Thanx romano^_^!! Much appreciated, looks good.

    edit doesn't seem to work for me though, only selects slot1, does nothing else. looks like this is becuase alias kklastinv "kk1a"
  • JUDGE_DeagleJUDGE_Deagle Join Date: 2004-05-28 Member: 28966Members
    edited May 2004
    <!--QuoteBegin-Xyth+May 27 2004, 02:12 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Xyth @ May 27 2004, 02:12 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> I just have "t" bound to "slot3; wait; +attack; wait; -attack"
    <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    Doh!!
    i thought the
    alias "mybutton" "dothat; wait; dothis; wait; dosomethingelse"
    did not work in NS.

    At least not on the servers i play on i think. ( i tried it about 2 month ago for the purpose of a blink/leap bind)

    Was that changed in the last two updates??

    PS: as im rather new -> Sig to big? says 75 high in the rules... is it enforced litarally or more of a guideline? (been using that sig now in about 10 forums over the years, dont really wanna change it if not absolutely neccesary )

    Regards
    Deagle
Sign In or Register to comment.