Script?

NightfireTGNightfireTG Join Date: 2002-12-24 Member: 11508Members
<div class="IPBDescription">i'll need to ask</div> is there a script where if you hold down your key, it can fire at a repeated rate.

i'm thinking of a pistol-repeater <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->

Comments

  • DelarosaDelarosa Naturally Custom Join Date: 2002-11-29 Member: 10214Members, NS1 Playtester
    tehre probably is, but it would be considered an exploit
  • telemanntelemann Join Date: 2002-11-07 Member: 7621Members
    Careful here or you will start a cheating-ranting thread

    To answer your question, it is possible to write a script that will fire a weapon a set number of times at a specific frequency. One example of such a script is commonly known as a “pistol script”. This is a script that will turn your normal NS pistol into a burst fire weapon. It can also be used to empty the whole magazine with one trigger pull. This is widely recognized as cheating, and please don’t ask us how to do it, I’m sure the mods don’t want such a thing posted here.

    I believe that, except in the above instance, it would not be possible to convert things so that you can hold a key down to emulate pressing fire repeatedly, at least, not like you hold down d in Microsoft word to get ddddddddddddd. Basically, you can write a script to fire 3 bullets per click, but not a script to keep firing as long as you hold the button down. Of course, the normal behavior of the automatic weapons is to do this anyway.

    Does that answer your question?
  • SoulSkorpionSoulSkorpion Join Date: 2002-04-12 Member: 423Members
    It's possible to write a script to fire your pistol as fast as possible, yes. Such a script would actually be easier to write if you want it to fire the whole contents of the gun with a keypress, rather than fire quickly while you're holding down the button. It is lame, and as far as I know it's going to be dealt with. I'm a major scripter of everything and even I consider this lame :/
  • AbuserAbuser Join Date: 2003-04-11 Member: 15411Members
    Is there a script out there that switches to your pistol when you empty your MG clip? I think I've seen this for CS. It would be pretty useful if it exists.
  • SoulSkorpionSoulSkorpion Join Date: 2002-04-12 Member: 423Members
    <!--QuoteBegin--Abuser+Apr 19 2003, 05:00 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Abuser @ Apr 19 2003, 05:00 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Is there a script out there that switches to your pistol when you empty your MG clip? I think I've seen this for CS. It would be pretty useful if it exists. <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    I can't see how this would possibly be useful, except for people who are too incompetent to press their pistol key once their LMG is empty. Anyway, there's no clean way to implement this. Such a script would have to start firing, use a predetermined number "wait"s until the clip is empty, then switch to the pistol. Very artificial, very prone to bugs, and probably wouldn't work.

    I think you saw wrong. Either way, it's pointless, pathetic, and not worth the effort of installling much less implementing in the first place. Just move your weapon switch keys closer...
  • a_civiliana_civilian Likes seeing numbers Join Date: 2003-01-08 Member: 12041Members, NS1 Playtester, Playtest Lead
    Or it could switch to pistol once the mouse button is released. However, this method is still pretty bad, IMO (can't burst fire, among other things).
  • JowerJower Join Date: 2003-02-12 Member: 13448Members
    Just bind your fire key to mousewheeldown ?
    hehe
    Anyway there'll be a cap in 1.1
    5 shot's a sec max I think
  • NightfireTGNightfireTG Join Date: 2002-12-24 Member: 11508Members
    wait, you're telling me that this is a cheat?
  • ZiGGYZiGGY Join Date: 2003-01-19 Member: 12479Members
    pretty much yeah, its like using the mousewheel to fire. not officially cheating but so lame people may ban you if they figure out youre doing it.
  • ThinGThinG Lord of wub and vlaai Join Date: 2003-04-11 Member: 15400Members, Reinforced - Supporter
    edited April 2003
    <img src='http://members.home.nl/guido18/monkey-humping-robot.jpg' border='0' alt='user posted image'>

    To answer your question and to summarise the above:

    1. yes there is a certain script for it/yes you can bind it to scrollwheel which would mean you're a "elite" n00b
    2. cheating through any of the above metnioned is not highly appreciated in the NS community <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->

    Cheers <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
  • XzilenXzilen Join Date: 2002-12-30 Member: 11642Members, Constellation
    Agreed with the people who think it is lame.
  • AbuserAbuser Join Date: 2003-04-11 Member: 15411Members
    <!--QuoteBegin--SoulSkorpion+Apr 19 2003, 04:41 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (SoulSkorpion @ Apr 19 2003, 04:41 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->I can't see how this would possibly be useful, except for people who are too incompetent to press their pistol key once their LMG is empty. Anyway, there's no clean way to implement this. Such a script would have to start firing, use a predetermined number "wait"s until the clip is empty, then switch to the pistol. Very artificial, very prone to bugs, and probably wouldn't work.

    I think you saw wrong. Either way, it's pointless, pathetic, and not worth the effort of installling much less implementing in the first place. Just move your weapon switch keys closer...<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    Hmmm just thought it would be useful in close quarters combat with skulks, etc.

    no need to be condescending
  • ThinGThinG Lord of wub and vlaai Join Date: 2003-04-11 Member: 15400Members, Reinforced - Supporter
    oi !!!

    stop using them hard words like condescendingening !

    We ain't all little Harry Potter's ya know!

    *scratches back of head
  • NightfireTGNightfireTG Join Date: 2002-12-24 Member: 11508Members
    well, i didn't know. but now i do, i don't want to know how to make it.
  • SoulSkorpionSoulSkorpion Join Date: 2002-04-12 Member: 423Members
    <!--QuoteBegin--Abuser+Apr 20 2003, 04:49 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Abuser @ Apr 20 2003, 04:49 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin--SoulSkorpion+Apr 19 2003, 04:41 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (SoulSkorpion @ Apr 19 2003, 04:41 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->I can't see how this would possibly be useful, except for people who are too incompetent to press their pistol key once their LMG is empty. Anyway, there's no clean way to implement this. Such a script would have to start firing, use a predetermined number "wait"s until the clip is empty, then switch to the pistol. Very artificial, very prone to bugs, and probably wouldn't work.

    I think you saw wrong. Either way, it's pointless, pathetic, and not worth the effort of installling much less implementing in the first place. Just move your weapon switch keys closer...<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    Hmmm just thought it would be useful in close quarters combat with skulks, etc.

    no need to be condescending <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    Um...

    If your LMG clip runs dry, what's so complicated about pressing your pistol key? A script isn't going to make weapon switching magically faster than pressing the key yourself. hud_fastswitch 1, move your weapon keys close to your movement keys, piece of cake. A script can't possibly offer any advantage to just pressing a weapon key.
  • ChuchumanquiqChuchumanquiq Join Date: 2003-04-16 Member: 15560Members
    edited April 2003
    fire bound to mwheel down isn't as bad as the repeated fire script... yeah they're both bad because of the ROF bug... so yeah CHEATER <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->
  • wlibaerswlibaers Join Date: 2002-11-15 Member: 8685Members
    <!--QuoteBegin--SoulSkorpion+Apr 20 2003, 12:45 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (SoulSkorpion @ Apr 20 2003, 12:45 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> If your LMG clip runs dry, what's so complicated about pressing your pistol key? A script isn't going to make weapon switching magically faster than pressing the key yourself. hud_fastswitch 1, move your weapon keys close to your movement keys, piece of cake. A script can't possibly offer any advantage to just pressing a weapon key. <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    It has certain advantages if you're clumsy with the keyboard, for example by pressing the console key instead of the weapon key (more common when switching to the LMG as that's closer to the console key). The weapon keys are conveniently near wasd, but the console key is a bit too close, and binding a different key to toggleconsole is problematic (i.e. doesn't work properly in most cases). For the same reason I do not leave the pop-up menu on the right mouse button, too easy to press by accident.
  • LucidLucid Join Date: 2002-12-11 Member: 10534Members, Constellation
    dont let poeple tell you that pistol scripting is an exploit or cheating because its not. Anybody can fire a pistol as fast as a script if they practice. All the whining about pistol scripts is gonna turn the pistol into a pump gun. Anyway the only time you'll get nailed by a pistol script is if you stand still or run straight at the marine. So anyone who cant handle pistol scripts or a fast shooter obviously doesn't know how to skulk. Learn how instead of complaining about the pistol.
  • ThinGThinG Lord of wub and vlaai Join Date: 2003-04-11 Member: 15400Members, Reinforced - Supporter
    I have the urge to post the monkey humping the robot picture again...
  • SoulSkorpionSoulSkorpion Join Date: 2002-04-12 Member: 423Members
    edited April 2003
    <!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->It has certain advantages if you're clumsy with the keyboard, for example by pressing the console key instead of the weapon key (more common when switching to the LMG as that's closer to the console key). The weapon keys are conveniently near wasd, but the console key is a bit too close, and binding a different key to toggleconsole is problematic (i.e. doesn't work properly in most cases). For the same reason I do not leave the pop-up menu on the right mouse button, too easy to press by accident<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    *shrug* I use the arrow keys, and my weapons are RMB [ ] and \. I don't use the X menu, but I've got it on HOME.

    <!--QuoteBegin--Lucid+Apr 20 2003, 04:14 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Lucid @ Apr 20 2003, 04:14 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> dont let poeple tell you that pistol scripting is an exploit or cheating because its not. Anybody can fire a pistol as fast as a script if they practice. All the whining about pistol scripts is gonna turn the pistol into a pump gun. Anyway the only time you'll get nailed by a pistol script is if you stand still or run straight at the marine. So anyone who cant handle pistol scripts or a fast shooter obviously doesn't know how to skulk. Learn how instead of complaining about the pistol. <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    Nope. A good pistol script can discharge the entire clip faster than a good shooter, which turns the pistol into a railgun. That means someone can just use twitch skills to one-hit-kill a skulk. Don't generalise - I'm a good skulk and I still hate pistol scripts. They ARE exploits, and are going to be disabled.
  • ChuchumanquiqChuchumanquiq Join Date: 2003-04-16 Member: 15560Members
    edited April 2003
    <!--QuoteBegin--Lucid+Apr 20 2003, 03:14 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Lucid @ Apr 20 2003, 03:14 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> dont let poeple tell you that pistol scripting is an exploit or cheating because its not. Anybody can fire a pistol as fast as a script if they practice. <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    that's BS

    I can discharge a pistol with a single click and thereby instantly kill even a well armored skulk at point blank or do good damage to a slower moving fade

    it's cheating, straight up

    edit: here's a little more detail <b>why</b> it's impossible

    your ROF with a pistol script is based on scripting delay inserted by the wait command which is affected by your FPS! Can you empty a pistol in less than a second? less than 1/10th of a second?
  • TonzakTonzak Join Date: 2002-11-25 Member: 9951Members
    Why is it cheating to use scripting to make it easier to switch weapons or fire the pistol at speeds already possible? Clicking really fast just to make the most of the pistol just isn't fun, and if I need to quickly stop reloading I'd rather do it in one key than in two. If scripting like this was an exploit then they shouldn't have even let us create or bind aliases at all.
  • wlibaerswlibaers Join Date: 2002-11-15 Member: 8685Members
    The pistol could just be made into an automatic weapon with a lower rate of fire than the LMG. No need for fast clicking, just hold the button for highest possible rate. If you want to shoot single bullets, just click. (Works with the LMG, but due to the high rate of fire you generally get 2 to 3 round bursts)
  • ChuchumanquiqChuchumanquiq Join Date: 2003-04-16 Member: 15560Members
    <!--QuoteBegin--Tonzak+Apr 20 2003, 11:56 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Tonzak @ Apr 20 2003, 11:56 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Why is it cheating to use scripting to make it easier to switch weapons or fire the pistol at speeds already possible? <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    it's cheating to script the pistol faster than humanly possible

    you can unload a pistol by script 10x faster than you can by hand

    cheating <!--emo&:angry:--><img src='http://www.unknownworlds.com/forums/html/emoticons/mad.gif' border='0' style='vertical-align:middle' alt='mad.gif'><!--endemo-->
  • SoulSkorpionSoulSkorpion Join Date: 2002-04-12 Member: 423Members
    <!--QuoteBegin--Tonzak+Apr 21 2003, 12:56 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Tonzak @ Apr 21 2003, 12:56 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Why is it cheating to use scripting to make it easier to switch weapons or fire the pistol at speeds already possible? Clicking really fast just to make the most of the pistol just isn't fun, and if I need to quickly stop reloading I'd rather do it in one key than in two. If scripting like this was an exploit then they shouldn't have even let us create or bind aliases at all. <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    1: It's not cheating to script to make it easier to switch weapons; it's merely pointless.

    2: A pistol script can allow you to discharge the contents of the magazine faster than it is humanly possible to click the mouse button, effectively turning the pistol into railgun.

    3: "If scripting like this was an exploit then they shouldn't have even let us create or bind aliases at all." Er... that's BS. Flay didn't make half-life; he didn't put in scripting. Scripting is not an exploit, but scripting can be used to exploit a flaw in the game (such as the pistol's refire rate). It is DEFINATELY a flaw, and it can be exploited using a script. And it IS going to be taken out.
  • Cereal_KillRCereal_KillR Join Date: 2002-10-31 Member: 1837Members
    I really disagree that binding a key is called cheating. I mean mwheeldown to +attack SHOULDNT be considered cheating. All it does is makes you fire quicker because it's an easier key to use. It's like if you said you can't use W to +forward because it's the easiest to use as it's right in front of your finger
Sign In or Register to comment.