Script Help

TenkenTenken Join Date: 2005-02-22 Member: 42145Members
i was interested in the pistol script (i can shoot it at max speed, but normally i'm just too lazy <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->) so i followed all the directions on the scripting basics thing and i got the pistol script working. all excited i joined a game online but it had that mp_script thing off, so every time i used mouse1 it would say scriptings not allowed on this server. This happened for every gun regardless of what team i was on, is there anyway to make this only work for pistol, and not for other weapons? I'm using:
alias +pscript "+attack"
alias -pscript "-attack; wait; +attack; wait; -attack;"
bind "MOUSE1" "+pscript"

is there a way to make it so that this only works for the pistol, so i can still play on servers that don't allow scripts? and if so is there a way that i can still fire it normally on those servers without deleting the file? thanks

Comments

  • ZeroPainZeroPain Join Date: 2004-05-04 Member: 28470Members
    NSA servers are only good ones that allow scripts unfortunitly.
  • c4tc4t Join Date: 2003-09-06 Member: 20619Members
    i suggest you dont use the pistol script because it sucks and doesnt help.



    or if you really want to use it put it in a separate config file named pscript.cfg


    then go into your userconfig.cfg (if you dont have one make a config file called that) and put

    bind "keyhere" "exec pscript.cfg"
    then if you join a server that has blockscripts on make a bind like this


    bind "keyhere" "exec config.cfg" and your pistolscript will be tunred off.



    basically what this does is you join the server w/o the script on, so if its a blocking server you dont have to worry about turning it off, if you know it doesnt block scripts you can just press your key thats bound to exec config.cfg
  • TenkenTenken Join Date: 2005-02-22 Member: 42145Members
    thanks c4t, that seems like it should work. I mostly play on servers that don't allow scripting anyway so i'll probably just not use it at all
  • Diablo_fxDiablo_fx Join Date: 2003-02-21 Member: 13793Members
    [code]
    Bind +attack mwheelup
    bind +attack mwheeldown
    [8/code]
    best pistolscript ever.
  • Steel_MonkeySteel_Monkey Join Date: 2004-10-06 Member: 32121Members
    Its a lot harder to aim while firing when spamming mwheel.
  • Diablo_fxDiablo_fx Join Date: 2003-02-21 Member: 13793Members
    Depends on which mouse you have.
  • 2_of_Eight2_of_Eight Join Date: 2003-08-20 Member: 20016Members
    Pistol scripts rely on your ability to keep your mouse on the target at all times, for the second or so when it's firing. I'd say it's a better idea to simply aim and fire each time with the pistol. Of course, unless the target is walking at you in a straight line or if you're attacking an afk/egg/chamber, then it's a good idea to fire as fast as possible.
    One solution I've seen is to bind both your mouse buttons to +attack. That way, you can easily mash both buttons, without losing as much aim as with mwheel, and still firing quite quickly.
  • Diablo_fxDiablo_fx Join Date: 2003-02-21 Member: 13793Members
    Bind multiple keys to +attack, then you dont have to press the mouse at all.
  • tjosantjosan Join Date: 2003-05-16 Member: 16374Members, Constellation
    That a pistol script is no good for anything but convencience is a misconception. Aiming with the pistol while firing quickly is much easier when scripted.
  • ChurchChurch Meatshield grunt-fodder // Has pre-ordered NS2 Join Date: 2002-12-31 Member: 11646Members, Constellation
    I don't seem to notice a difference...but then, by the time I started pistol scripting I can already aim while pistoling at max speed.
  • ReKReK Join Date: 2004-08-30 Member: 31058Members, Constellation, Reinforced - Shadow, WC 2013 - Silver
    <!--QuoteBegin-ZeroPain+Mar 22 2005, 07:42 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (ZeroPain @ Mar 22 2005, 07:42 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> NSA servers are only good ones that allow scripts unfortunitly. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    There are tons of server that allow scripts.
    My favourite mp_bs 0 server is the SxB one.

    208.185.249.146:27015

    (Note to mods: I'm not trying to promote one server over another, just mentioning that there are other servers that allow scripting.)
  • BlueNovemberBlueNovember hax Join Date: 2003-02-28 Member: 14137Members, Constellation
    <!--QuoteBegin-c4t+Mar 23 2005, 07:40 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (c4t @ Mar 23 2005, 07:40 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> go into your userconfig.cfg (if you dont have one make a config file called that) and put
    <!--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-->bind "keyhere" "exec pscript.cfg"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
    then if you join a server that has blockscripts on make a bind like this:
    <!--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-->bind "keyhere" "exec config.cfg"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
    and your pistolscript will be tunred off.
    <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    No it won't.
    The pscript.cfg will "turn on" by modifying your existing config.cfg; changing the bind for mouse1.

    Re-excecuting the config.cfg will not do anything at all.

    Rather, make a config2.cfg (an exact copy of your current config.cfg,) and execute that instead. THIS will then over-write the pistol-scripted version of config.cfg, taking it back to its original state.
    ---

    ReK, I think that's an over-generalisation. I played on 5 servers yesturday (Pub ownage spree. <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->) and only 2 of them blocked scripts. Perhaps NSA is the only decent american server that does not block them.
    ---
    Diablo fx, which mouse *do* you have?
    I'm yet to find one I am comfortable scrolling exessively with, and I don't really use the Mx510 (Blue, of course,) to its full potential. I use the 2shot pistol script, with a toggle on Z to alias it out. (Exec'ing multiple configs... man, overkill. <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->)

    <!--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-->
    [Pressuming you have existing +pscript declared]
    alias "normalfire" "bind mouse1 +attack; alias togglefire pscriptfire"
    alias "pscriptfire" "bind mouse1 +pscript; alias togglefire normalfire"
    alias "togglefire" "pscriptfire"
    bind "l" "togglefire"
    <!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
Sign In or Register to comment.