Why Is Weapon Switch Blocked?

skiflyskifly Join Date: 2003-05-16 Member: 16379Members
<div class="IPBDescription">sheer stupidity</div> alias w1 "slot2;bind alt w2"
alias w2 "slot1; bind alt w1"
bind alt w1

That used to let me put main gun and pistol onto the same button. Whoever was in charge of this blockscripts crap decided that that was too much of an advantage.
«134

Comments

  • SalvationSalvation Join Date: 2003-11-21 Member: 23300Members
    hud_fastswitch 1

    best thing i think, i perfer that over scripts but i suppose its perferance

    there is probly a way around it

    and thats probly voogur
  • Nemesis_ZeroNemesis_Zero Old European Join Date: 2002-01-25 Member: 75Members, Retired Developer, NS1 Playtester, Constellation
    Blockscripts is a server-side variable. Seeing that you are capable of creating scripts, I doubt you'll have much of a problem creating a serverbrowser filter to find only servers with it set to 0. The community is undecided about how to treat scripts - and no, I am not going to discuss who is 'right' because I honestly don't think it's a black-and-white issue - so we created a way of individual decision over the topic.
    If that's a problem to you, I'm sorry, but there is just no 'perfect' solution to the issue.
  • Joe2Joe2 Join Date: 2004-09-03 Member: 31268Members
    try this:

    hud_fastswitch 1
    alias w12 "w1"
    alias w1 "slot2; alias w12 w2"
    alias w2 "slot1; alias w12 w1"
    bind ALT "w12"
  • obuhobuh Not Quite Smart at NS Join Date: 2003-03-31 Member: 15072Members, Constellation
    Please segregate the community more.
  • zilzil Join Date: 2003-06-19 Member: 17514Members, Constellation
    Ive been using a very simple script to set last inv for me

    bind meh "slot2; slot1;"

    And now with the new update even servers with mp_blockscripts set to 0 dont allow this script to work. I have to put in 5 waits, which of course just negates the script since i could switch the weapons that fast by using the number keys. Sort it out.
  • Nemesis_ZeroNemesis_Zero Old European Join Date: 2002-01-25 Member: 75Members, Retired Developer, NS1 Playtester, Constellation
    <!--QuoteBegin-obuh+Sep 6 2004, 02:37 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (obuh @ Sep 6 2004, 02:37 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Please segregate the community more. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    You know, a <i>little</i> less sarcasm would be nice. I didn't start the scripting debate. Nor did voogru. We did not create this divide, we are only trying to find a way of reducing the friction generated by it. Like it or not, this 'segregation', to use your somewhat overly dramatic words here, exists, independently from the devteam's actions.
    All we do is creating a way for people who do not want scripts to create an environment in which none are used. Mp_blockscripts is set to 0 by default for a reason.
  • SkySky Join Date: 2004-04-23 Member: 28131Members
    If the dev team hadn't put in something to curb the "bad/overpowered/illegal" scripts, people who think they really are cheating would scream bloody murder. Find a server you like and stop crying.
  • ZaggyZaggy NullPointerException The Netherlands Join Date: 2003-12-10 Member: 24214Forum Moderators, NS2 Playtester, Reinforced - Onos, Subnautica Playtester
    ...What is so hard about using hud_fastswitch 1?

    Just press 1, 2, 3 or 4 to get to the weapon instantly!
    Play the game as it is supposed to play, try to adapt, thank you.
  • mirrodinmirrodin Join Date: 2004-06-29 Member: 29621Members
    Indeed hud_fastswitch 1 is great. Instant selection, plus the weapon slots , 1-4 are just your WASD movement keys. I have never been in a situation were I need to switch weapons faster than tapping 2 or 3.
  • BobTheJanitorBobTheJanitor Join Date: 2003-12-10 Member: 24228Members, NS1 Playtester
    Hud_fastswitch 1, as mentioned, and put the slot1 - slot4 commands on very easy to access keys. Like, extra mouse buttons, or the keys right around your directional keys on the keyboard.
  • ZaggyZaggy NullPointerException The Netherlands Join Date: 2003-12-10 Member: 24214Forum Moderators, NS2 Playtester, Reinforced - Onos, Subnautica Playtester
    <!--QuoteBegin-mirrodin+Sep 6 2004, 12:17 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (mirrodin @ Sep 6 2004, 12:17 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Indeed hud_fastswitch 1 is great. Instant selection, plus the weapon slots , 1-4 are just your WASD movement keys. I have never been in a situation were I need to switch weapons faster than tapping 2 or 3. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    Yep, WASD for movement + hud_fastswitch 1 = fine for me.
  • obuhobuh Not Quite Smart at NS Join Date: 2003-03-31 Member: 15072Members, Constellation
    <!--QuoteBegin-Zaggy+Sep 6 2004, 12:10 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Zaggy @ Sep 6 2004, 12:10 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> ...What is so hard about using hud_fastswitch 1?

    Just press 1, 2, 3 or 4 to get to the weapon instantly!
    Play the game as it is supposed to play, try to adapt, thank you. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    What is so bad about customizing the way you switch weapons ?
  • Jmmsbnd007Jmmsbnd007 Join Date: 2002-11-24 Member: 9793Banned, Constellation
    <!--QuoteBegin-obuh+Sep 6 2004, 12:27 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (obuh @ Sep 6 2004, 12:27 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin-Zaggy+Sep 6 2004, 12:10 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Zaggy @ Sep 6 2004, 12:10 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> ...What is so hard about using hud_fastswitch 1?

    Just press 1, 2, 3 or 4 to get to the weapon instantly!
    Play the game as it is supposed to play, try to adapt, thank you. <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    What is so bad about customizing the way you switch weapons ? <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    Exactly. Why should he have to adapt?
  • voogruvoogru Naturally Modified (ex. NS programmer) Join Date: 2002-10-31 Member: 1827Members, Retired Developer, NS1 Playtester, Contributor, Constellation
    edited September 2004
    <!--QuoteBegin-skifly+Sep 6 2004, 10:06 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (skifly @ Sep 6 2004, 10:06 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> alias w1 "slot2;bind alt w2"
    alias w2 "slot1; bind alt w1"
    bind alt w1

    That used to let me put main gun and pistol onto the same button. Whoever was in charge of this blockscripts crap decided that that was too much of an advantage. <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    That script works fine with mp_blockscripts 1.
  • BobTheJanitorBobTheJanitor Join Date: 2003-12-10 Member: 24228Members, NS1 Playtester
    Can someone explain exactly what blockscripts blocks then? The best explanation I've heard is that it blocks any key that tries to execute more than one command? But then that script works? Can we get an idea of exactly what is allowed and what is not?
  • voogruvoogru Naturally Modified (ex. NS programmer) Join Date: 2002-10-31 Member: 1827Members, Retired Developer, NS1 Playtester, Contributor, Constellation
    <!--QuoteBegin-BobTheJanitor+Sep 6 2004, 02:24 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (BobTheJanitor @ Sep 6 2004, 02:24 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Can someone explain exactly what blockscripts blocks then? The best explanation I've heard is that it blocks any key that tries to execute more than one command? But then that script works? Can we get an idea of exactly what is allowed and what is not? <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    It has 2 features:

    1. You cannot execute a bind if it has more than 2 commands, two ANY commands.
    2. You cannot execute a repeating command from anything other than a key itself.
  • IBTIBT Join Date: 2003-10-22 Member: 21879Members
    <!--QuoteBegin-Nemesis Zero+Sep 6 2004, 09:30 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Nemesis Zero @ Sep 6 2004, 09:30 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> I honestly don't think it's a black-and-white issue <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    your right its a shade of greys issue <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->

    <!--QuoteBegin-Voogru+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Voogru)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->You cannot execute a bind if it has more than 2 commands, two ANY commands.<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->

    you mean this command wont work if tested "bind q "say timeleft; say nextmap"?
    (if i got it wrong then assume its right)
  • StueStue Join Date: 2002-11-03 Member: 6017Members
    <!--QuoteBegin-voogru+Sep 6 2004, 06:27 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (voogru @ Sep 6 2004, 06:27 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->It has 2 features:

    1. You cannot execute a bind if it has more than 2 commands, two ANY commands.
    2. You cannot execute a repeating command from anything other than a key itself.<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    So does that mean the following still works? :

    alias +action2 "slot2;+attack"
    alias -action2 "-attack;lastinv"
    bind mouse2 "+action2"

    As its not more than two commands in the bind.
  • DantemssDantemss Join Date: 2003-12-13 Member: 24305Members
    edited September 2004
    <!--QuoteBegin-Stue+Sep 6 2004, 05:00 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Stue @ Sep 6 2004, 05:00 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> So does that mean the following still works? :

    alias +action2 "slot2;+attack"
    alias -action2 "-attack;lastinv"
    bind mouse2 "+action2"

    As its not more than two commands in the bind. <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    If I understood right, then no, it wouldn't work.
    Rule number 1 is ok for the script, but
    Rule number 2 fails, because you can't have an alias with a + command (+attack, +jump, etc.) on it.

    + commands can only be used on binds, not on aliases, and only 1 command is allowed per bind.
    You can make the bind execute an alias, as long as there is no + command on it.

    <!--QuoteBegin-IBT+Sep 6 2004, 04:55 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (IBT @ Sep 6 2004, 04:55 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> you mean this command wont work if tested "bind q "say timeleft; say nextmap"?
    (if i got it wrong then assume its right) <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->

    This also shouldn't work, but you would be able to work around it by using:

    alias aliasnamehere "say timeleft; say nextmap"
    bind q aliasnamehere

    As you can see only + commands can't be used on aliases.

    Did I get it right?
  • Garet_JaxGaret_Jax Join Date: 2003-02-23 Member: 13870Members, Constellation
    edited September 2004
    <!--QuoteBegin-BobTheJanitor+Sep 6 2004, 07:24 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (BobTheJanitor @ Sep 6 2004, 07:24 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Can someone explain exactly what blockscripts blocks then? The best explanation I've heard is that it blocks any key that tries to execute more than one command? But then that script works? Can we get an idea of exactly what is allowed and what is not? <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    I hear it blocks an alias that repeats a command.

    Slightly off topic-

    I'm all for adding people to the dev team to improve the game, but why do I get the feeling that Voogru has been hired to code in stuff to make the game less fun? Scripts that change weapon are one example, another includes binds that "team_say's" a command and uses the corresponding radio command (e.g. "team_say RT at my position commander" followed by the radio command 'awaiting orders')

    Apparentely this all came about when Voogru tried a leap-bite script and became j3110 1337; but rumour has it he got destroyed by a skulk on his server who could bite mid-leap (omg hax!) and this is where the code-the-fun-out-of-NS began.

    (P.S. I can bhop without a jump script [/me glares at SuddenFear])
  • TheGuyTheGuy Join Date: 2003-08-09 Member: 19295Members, Constellation
    <!--QuoteBegin-Garet Jax+Sep 6 2004, 02:28 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Garet Jax @ Sep 6 2004, 02:28 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->
    I'm all for adding people to the dev team to improve the game, but why do I get the feeling that Voogru has been hired to code in stuff to make the game less fun? Scripts that change weapon are one example, another includes binds that "team_say's" a command and uses the corresponding radio command (e.g. "team_say RT at my position commander" followed by the radio command 'awaiting orders')

    Apparentely this all came about when Voogru tried a leap-bite script and became j3110 1337; but rumour has it he got destroyed by a skulk on his server who could bite mid-leap (omg hax!) and this is where the code-the-fun-out-of-NS began.

    (P.S. I can bhop without a jump script [/me glares at SuddenFear])



    <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    Voogru just simply fixed broken code that he was assigned to do. All he does is bug fixes that are assigned to him. Not features
  • skiflyskifly Join Date: 2003-05-16 Member: 16379Members
    <!--QuoteBegin-voogru+Sep 6 2004, 01:16 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (voogru @ Sep 6 2004, 01:16 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin-skifly+Sep 6 2004, 10:06 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (skifly @ Sep 6 2004, 10:06 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> alias w1 "slot2;bind alt w2"
    alias w2 "slot1; bind alt w1"
    bind alt w1

    That used to let me put main gun and pistol onto the same button. Whoever was in charge of this blockscripts crap decided that that was too much of an advantage. <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    That script works fine with mp_blockscripts 1. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    My bad. The problem was that mp_blockscripts was blocking

    exec marine.cfg

    from running. Even worse.
    :rolleyes:
  • BlueeBluee Join Date: 2002-11-03 Member: 6286Members
    Blocking scripts is a very, very weak solution. The quality and integrity of the NS team has really gone downhill.

    Godspeed to UWE.
  • bliNkbliNk Join Date: 2003-10-04 Member: 21422Members
    Just learn to play without scripts, it might open you up to a new world of actually needing skill.
  • RiotingNerdRiotingNerd Join Date: 2003-09-15 Member: 20896Members
    Basically, voogru doesnt like us hitting the "q" key" He'd much prefer a text-based ns.

    >What do you want to do?
    -->Leap
    >You leap. What do you want to do?
    -->Bite
    >You bite. Marine takes 75 dammage. What do you want to do?
    -->Leap towards hive
    >Sorry, you are dead. While you were typing your commands, NSPlayer knifed you. Would you like to respawn?
    -->Dear god no.


    The future of NS, today!
  • SiniStar1SiniStar1 Join Date: 2003-11-11 Member: 22608Members
    <!--QuoteBegin-Nemesis Zero+Sep 6 2004, 09:30 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Nemesis Zero @ Sep 6 2004, 09:30 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Blockscripts is a server-side variable. Seeing that you are capable of creating scripts, I doubt you'll have much of a problem creating a serverbrowser filter to find only servers with it set to 0. The community is undecided about how to treat scripts - and no, I am not going to discuss who is 'right' because I honestly don't think it's a black-and-white issue - so we created a way of individual decision over the topic.
    If that's a problem to you, I'm sorry, but there is just no 'perfect' solution to the issue. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    Then why has the default been set to 0? Even progamers like to play pub games. I used to love ns, all time favourite game. Now any personalisation I ever had in the game has been taken away, I dont know of a single australian blockscripts 0 server around.

    Cheers for ruining mine and many others game. You may have found more noobs to play it for you, but you've just lost a hell of a lot of veterans.
  • KaMiKaZe1KaMiKaZe1 Join Date: 2002-11-18 Member: 9196Members
    Merh, the only script I use (lastinv script without delay) still works fine on servers with blocked scripts, so no complaints from me for this patch.
  • BlueeBluee Join Date: 2002-11-03 Member: 6286Members
    Blocking scripts shows weakness in the programmers, not weakness in the players.

    If the programmers think there is a specific flaw or an exploit in the game, <b>they need to deal with that specific flaw or exploit</b>.

    Think bunny hopping is an exploit? Add a jump stagger or whatnot.

    Think pistol scripts are an exploit? Change the weapon so there is no desire to 'exploit' it.

    Scripting is utilizing all that is given to you by the creators of the game <i>(read: Valve)</i> to optimize and personalize your gaming experience. The console was put there for a reason. Config execution was put there for a reason. Stop trying to act like <b>God</b> and get back to TRYING to make a good game!
  • MrGunnerMrGunner Join Date: 2003-01-03 Member: 11757Members, Constellation
    On another similar note what is up with the weapon switch lag? It seems worse then ever and sometimes it take like 4 seconds to switch my weapons. This pisses me off to no end as I use the number keys to leap/bite and blinke/swipe. Isn't there anyway that this **** could be coded client side?
  • Joe2Joe2 Join Date: 2004-09-03 Member: 31268Members
    leap/bite and blinke/swipe have 0.000001% chance to be coded in the NS code.

    The best the Dev'team can do is some commands witch permit a direct attack without to choose the slot. (eg: one command for the slot1 attack, one for the slot2 attack,...)
    With this, i think aliens will be more simple to use.
This discussion has been closed.