Mintman's, I Want A Script That... Thread

2456712

Comments

  • xtcmenxtcmen Join Date: 2004-04-20 Member: 28040Members, Squad Five Blue
    Can you make me the fasted speed script eva!
  • pacopaco Join Date: 2003-08-14 Member: 19708Members, Constellation
    i dont like to script... but there is one that i've always wanted. ok, let's say you are reloading your gun and then a <!--emo&::skulk::--><img src='http://www.unknownworlds.com/forums/html/emoticons/skulk.gif' border='0' style='vertical-align:middle' alt='skulk.gif' /><!--endemo--> comes rushing at you! is there a script where u can hit your mouse1 and it will cancel the reload and +attack ?

    in a jist... when reload, hit mouse1, cancel reload, +attack
  • surprisesurprise Join Date: 2003-01-16 Member: 12382Members, Constellation
    hm, you can just change weapons with fastswitch and use the pistol when you where reloading if you used lmg or use lmg if you were reloading the pistol
  • ReKReK Join Date: 2004-08-30 Member: 31058Members, Constellation, Reinforced - Shadow, WC 2013 - Silver
    Firstly, that would only work for the shotty and gl (if the bug is ever fixed), assuming you had put at least 1 shell/nade in already. And secondly, it's much better to just whip out your pistol.
  • Krazy_GlueKrazy_Glue Join Date: 2003-05-16 Member: 16393Members
    edited February 2005
    alias cancel "slot3; wait; lastinv"
    bind <key> cancel

    thats a normal cancel reload script

    unless you want something that will pull out your knife everythime before you fire you cant do what your asking for

    alias +cancel "slot3; wait; lastinv; +attack"
    alias -cancel "-attack"
    bind mouse1 +cancel

    that would be what your asking for however this would happen everytime you fire
  • Swift_IdiotSwift_Idiot Join Date: 2003-01-05 Member: 11883Members
    edited February 2005
    Rek, I'm not sure about the shotgun, but I know for a fact that even if the grenade launcher animation plays putting a shell in the gun, unless you let the animation finish until you see the number of ammo hit 4, quickswitching back and forth to the grenade launcher will reset the reload completely.

    The GL sucks. Oh yeah and I didn't notice that you said there was that bug with the gl already, nvm.

    Unless you use another button to fire your gun, I don't think you'd be able to do this with mouse1. What I guess you could do is write a script that switches to ... okay I think I have an idea for this. Assuming you write this script and you're making a different cfg for marines and for aliens, as a marine, you'd use your reload button and mouse1 button as usual, but have a script that will switch to slot3 and then lastinv back to whatever gun you were reloading. With the LMG, I think you'd be able to interupt your reload pretty well doing this, and presumably just as well with the HMG. Not sure about the shotgun. Go try it out.


    <span style='font-size:8pt;line-height:100%'>
    alias interupt "slot3;wait;lastinv"</span>

    I don't read very well some mornings. Yeah try the above scripts, they look solid. you'll have to bind them to a button you can press easily obviously. Depending on how many binds you have already that might be tricky.
  • ReKReK Join Date: 2004-08-30 Member: 31058Members, Constellation, Reinforced - Shadow, WC 2013 - Silver
    The shotgun reloads one shell at a time, just like the gl is supposed to. If your shotty is reloading, just hit attack again and it will stop and fire with whatever number of shells were inside when you stopped. I've done it plenty a time to a skulk's face.
  • xtcmenxtcmen Join Date: 2004-04-20 Member: 28040Members, Squad Five Blue
    I need a script that says "ready to move" And says Need rt/PG When i press the z button.

    And i need the fastes wagglewalk you can make.
  • ReKReK Join Date: 2004-08-30 Member: 31058Members, Constellation, Reinforced - Shadow, WC 2013 - Silver
    <!--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 buildme "impulse 14; say_team "Comm, I need a pg/rt here."
    bind "z" "buildme"<!--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-->alias "speedup" "+moveleft;wait;-moveleft;+moveright;wait;-moveright;+moveleft;wait;-moveleft;+moveright;wait;-moveright;+moveleft;wait;-moveleft;+moveright;wait;-moveright;+moveleft;wait;-moveleft;+moveright;wait;-moveright;+moveleft;wait;-moveleft;+moveright;wait;-moveright;+moveleft;wait;-moveleft"
    alias "speed" "speedup;speedup;speedup;speedup"
    bind "h" "speed"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

    Wiggle walk will always give you the same speed boost. The only real difference is if it's _special or not. This isn't, which means you can't do anything while using it, but it will not be blocked for beta 6.
  • xtcmenxtcmen Join Date: 2004-04-20 Member: 28040Members, Squad Five Blue
    Oh and i remember seeing a script that prevents the no pistol, no knife, in a start of the match. Can you dig me one of those?
  • a_civiliana_civilian Likes seeing numbers Join Date: 2003-01-08 Member: 12041Members, NS1 Playtester, Playtest Lead
    <!--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 fix "record temp_bugfix;wait;stop"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
    And type "fix" in console when it happens, or bind a key to "fix".
  • Steel_MonkeySteel_Monkey Join Date: 2004-10-06 Member: 32121Members
    This isnt really a script, more of a bind. I want to make it so when i right click as a fade, it metabolizes, and when i release it activates lastinv. Thanks.

    I wouldn't mind it if it was just mouse2 switching to metab and activating it. Whatever you guys can do.
  • ThreeLeggedSkulkThreeLeggedSkulk Join Date: 2005-01-18 Member: 36305Members
    edited February 2005
    <!--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 +quickmeta "slot3; wait; +attack"
    alias -quickmeta "-attack; wait; slot1; wait; wait; slot2"
    bind mouse2 "+quickmeta"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

    [EDIT]: Tweaked code
  • GoldenGolden Join Date: 2004-09-01 Member: 31169Members, NS1 Playtester, NS2 Playtester, NS2 Map Tester, WC 2013 - Silver, NS2 Community Developer
    <!--QuoteBegin-God Killer+Jan 24 2005, 03:39 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (God Killer @ Jan 24 2005, 03:39 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->1- An all out attack for lerk, meaning,  spores, umbra, primal, then switches to bite in one key<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->

    Both of these *should* work.

    alias w "wait;wait;wait;wait"

    alias +allout1 "slot2;w;+attack;w;-attack;w"
    alias -allout1 "slot3;w;+attack;w;-attack;w"

    alias +allout2 "slot4;w;+attack;w;-attack;w"
    alias -allout2 "slot1;w"

    bind i "+allout1;w;bind i +allout2"
    bind o "bind i +allout1"

    Basically what happens is:
    When you press the key, it fires spores. When you let go, it fires umbra.
    When you press it again, it fires umbra. When you let go the second time it switches back to bite.
    The second bind resets it to fire spores/umbra. Had to do this because I'm too tired to figure out to automate it.



    Or you can bind it like this.

    alias +alloutfire "+allout1;w;-allout1;w;+allout2;w"
    alias -alloutfire "-allout2;w"

    bind i "+alloutfire"

    I think you'd just have to hold the key down until you hear the primal go off, then let go to switch back to bite.

    Once again these *should* work, I haven't tested them.
  • God_KillerGod_Killer Join Date: 2004-02-16 Member: 26592Members
    Too bad the script doesn't work, nt. Maybe just more waits for primal screem would make it work, but from what I can see, primal screem takes too long to start working even with lastinv so spores/umbra are almost gone when bite comes up. I'll just use this one, making a script without testing

    alias +gas "slot3; wait; slot2; wait; +attack; wait; lastinv;wait;"
    alias - gas "-attack; wait; slot1"

    bind q "+gas"

    I'll test.
  • God_KillerGod_Killer Join Date: 2004-02-16 Member: 26592Members
    Damn, even this doesn't work

    alias +gas "slot3; w; slot2; w; w; w; +attack; w; w; w; lastinv; w;"
    alias -gas "-attack; w; slot1"

    w is wait

    If I do the same manually, it works, but in script it doesn't yet. Does FPS play a role in how many waits?
  • Swift_IdiotSwift_Idiot Join Date: 2003-01-05 Member: 11883Members
    It might just be simpler to pick a few buttons for the different attacks and use the usual fastweapon scripts on page 3. You press and release each button for each attack, and you probably get way more control in the process. I don't think anyone can write a script that combines two or three weapons on one button. It would probably be laggy and clunky.
  • SpaceMoogle5SpaceMoogle5 Join Date: 2003-06-23 Member: 17643Members, NS1 Playtester
    Santa I would like:

    An easy to use, great speed increasing, wiggle walk script.

    A top level bhop script.

    and a uber fast pistola scripto.

    and a script that will make my friends not want me dead <!--emo&:angry:--><img src='http://www.unknownworlds.com/forums/html/emoticons/mad-fix.gif' border='0' style='vertical-align:middle' alt='mad-fix.gif' /><!--endemo--> <!--emo&:0--><img src='http://www.unknownworlds.com/forums/html/emoticons/wow.gif' border='0' style='vertical-align:middle' alt='wow.gif' /><!--endemo--> <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad-fix.gif' border='0' style='vertical-align:middle' alt='sad-fix.gif' /><!--endemo--> when they find out I'm using scripts.

    Thanks

    SM5
  • c4tc4t Join Date: 2003-09-06 Member: 20619Members
    edited February 2005
    ok i come here with a couple problems that may be easily fixed.


    i made a couple tiny scripts to help my skulk and lerk game.



    first i made a leap script just because since i use q to lastinv, i couldnt leap then strafe hard left in the air because at somepoint i would have to let go of a and hit q to switch to bite, so if igured why not make a script that leaps then switches to bite for me, and i came up with this


    alias +leap1 "slot3;wait;+attack"
    alias -leap1 "-attack;wait;slot1"
    bind "mouse2" "+leap1"


    so, i put this in a config called alien.cfg which is what iuse for all my separate alien tweaks. problem is when i join a game and load up the config it doesnt work, i press mouse2 and nothing happens. i usually have to go into the consol and type bind mouse2 +leap1 then it will work.


    my question is why.



    thsi goes as well with my two lerk scripts. which are in a separate config as well.


    alias +umbra "slot3;wait;+attack"
    alias -umbra "-attack;wait;lastinv"
    bind "mouse2" +umbra

    alias +scream "slot4;wait;+attack"
    alias -scream "-attack;wait;lastinv"

    bind shift +scream






    also, what i did when i made these configs (rine.cfg, alien.cfg and lerk and fade.cfg) is copied and pasted all the info from the last one, assuming that the config before it was executed would be completely cut off so you would need to have all the movment configs in there. could i just have a lerk.cfg with two scripts in them and still have everthing else bound. and lets say i did this and my previous config had mouse2 bound and the new config that was executed had a mouse2, would it auto overwrite when i executed it or would i ahve to put an unbind mouse2 before the bind mouse2 line in the new config?
  • ReKReK Join Date: 2004-08-30 Member: 31058Members, Constellation, Reinforced - Shadow, WC 2013 - Silver
    Any config, once executed, will overwrite any previous binds that interfere with it.

    I can see no error in the leap/bite script.

    For the two lerk scripts, this shouldn't affect it, but try including all the quotes. ie:
    <!--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 +umbra "slot3;wait;+attack"
    alias -umbra "-attack;wait;lastinv"
    bind "mouse2" "+umbra"

    alias +scream "slot4;wait;+attack"
    alias -scream "-attack;wait;lastinv"
    bind "shift" "+scream"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

    If that still doesn't work, I can give you my quickattack scripts, which have seperate binds for each species as well as the ability to quickly cycle which attack they use.

    <a href='http://comvex.freeserverhost.com/forums/viewtopic.php?t=90' target='_blank'>My script pack</a>
  • xtcmenxtcmen Join Date: 2004-04-20 Member: 28040Members, Squad Five Blue
    Whats the impulse for awaiting orders?
  • triggahappytriggahappy Join Date: 2005-01-24 Member: 37985Members
    <!--QuoteBegin-xtcmen+Feb 9 2005, 07:45 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (xtcmen @ Feb 9 2005, 07:45 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Whats the impulse for awaiting orders? <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    <a href='http://www.unknownworlds.com/forums/index.php?showtopic=86953&view=findpost&p=1355468' target='_blank'>http://www.unknownworlds.com/forums/index....dpost&p=1355468</a> <!--emo&???--><img src='http://www.unknownworlds.com/forums/html/emoticons/confused-fix.gif' border='0' style='vertical-align:middle' alt='confused-fix.gif' /><!--endemo-->
  • XtofXtof Join Date: 2003-04-15 Member: 15514Members
    Hello Mintman,

    I hope you can make this work:

    <!--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-->Unbindall
    Exec config.cfg

    // select all
    bind "SHIFT" "impulse 105"

    // go to order request
    alias "Order_Request" "impulse 123; say_team Checking Marine Request"
    bind "MOUSE3" "Order_Request"

    // go to ammo request
    alias "Ammo_Request" "impulse 124 ; hotkey60"
    bind "MWHEELUP" "Ammo_Request"

    // go to health request
    alias "Health_Request" "impulse 125; hotkey59"
    bind "MWHEELDOWN" "Health_Request"<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->

    I use my mousewheel to go to ammo request, health request and order request; that part is the part that works.

    <b>What doesn't work</b> is the hotkey part. I would like to go to the <u>ammo (hotkey60) request</u> and have the ammo selected immediatly. I think with this script I can only give one ammo pack; but still it would be great to make it work for quick action.

    Same goes for <u>health (hotkey59) request</u>.
    Also the phrase "Checking Marine Request" doesn't seem to work when there is an order request.


    So tell me is there any way to make this work?

    Tx in advance,
    Greetz
    XtOf
  • Krazy_GlueKrazy_Glue Join Date: 2003-05-16 Member: 16393Members
    edited February 2005
    hotkeys havnt worked since 1.04

    you just have to get used to hitting spacebar, e, a or s
    <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad-fix.gif' border='0' style='vertical-align:middle' alt='sad-fix.gif' /><!--endemo-->
  • XtofXtof Join Date: 2003-04-15 Member: 15514Members
    Tx mate,

    That's just to bad, guess I have to live with that.

    XtOf
  • Swift_IdiotSwift_Idiot Join Date: 2003-01-05 Member: 11883Members
    How easy is the NS command console to use compared to other RTS? I play Generals a lot, no starcraft or warcraft. But it's hard to do simple things like select the whole marine team, and I haven't gotten used to the quickbuttons and junk. How easy is it to rebind the command console or script it? I just want a general answer with maybe some specifics.
  • NadagastNadagast Join Date: 2002-11-04 Member: 6884Members
    edited February 2005
    To anyone wanting quick switch scripts to switch to leap/umbra/whatever, just use lastinv or slotX, it's faster...
  • SDJasonSDJason Join Date: 2003-05-29 Member: 16841Members
    Ok.. in all honesty...

    I want a script that has 2 parts....

    Part 1: i put myself in a specified corner of marine start in NS eclipse, facing a specific wall, and excecute the script...

    The script walks me out of ms, looking and automatically firing into the most common hiding spots for skulks (this would be purely preplanned and just excecuted the same every time) then it would evenutally get me to horseshoe, stop in front of the node and ask for an order,

    Part 2. I would hit another key that would being building the node (i hit this key after it is dropped) it builds until complete, then starts walking to maintenance shooting automatically into common skulk hiding places. Upon reaching the maint resnode ti again asks for an order...

    It would serve no purpose other than i could officailly say i have a script that plays NS for me, even if it did so only in the most basic terms

    ~Jason
  • Swift_IdiotSwift_Idiot Join Date: 2003-01-05 Member: 11883Members
    Jason, scripts are not magical code that can reproduce anything the human hands can except flawlessly. At most they are a few commands long. Second, I don't have any idea how you'd go about trying to script mouse motion to have the script "aim for you" at spots. Third, scripts are interfered with by lag from server to server I think, meaning even if you managed to put all the commands needed to run your script in and get it working on your own listen server, it might have you running into walls online. There is no limited way this script could be written, it simply can't be done. You can't script anything more very much more detailed than "+duck;+jump;-duck;-jump" tbh. I hope this expands your knowledge about scripting.
  • SDJasonSDJason Join Date: 2003-05-29 Member: 16841Members
    <!--QuoteBegin-Swift Idiot+Feb 12 2005, 02:42 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Swift Idiot @ Feb 12 2005, 02:42 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Jason, scripts are not magical code that can reproduce anything the human hands can except flawlessly. At most they are a few commands long. Second, I don't have any idea how you'd go about trying to script mouse motion to have the script "aim for you" at spots. Third, scripts are interfered with by lag from server to server I think, meaning even if you managed to put all the commands needed to run your script in and get it working on your own listen server, it might have you running into walls online. There is no limited way this script could be written, it simply can't be done. You can't script anything more very much more detailed than "+duck;+jump;-duck;-jump" tbh. I hope this expands your knowledge about scripting. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    i have no doubt it could be done, it would just be hard as frakking hell...

    example... haev it repeat the forward command like oh say 10000 times, test in game and see how far across MS it got you.....

    Turn say 300 times to go out the door....

    Bla bla bla

    itd be like a jillion lines of script, but i know it could work it would just need a lot of ingame testing and tweaking..

    It was more sarcasm than anything else, but i know it could be done

    ~Jason
Sign In or Register to comment.