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

1235712

Comments

  • XtofXtof Join Date: 2003-04-15 Member: 15514Members
    Hi everyone,

    Thanks for the help. Somehow I should have known that I couldn't bind it to MOUSE3, but somehow I was to lazy to try it binding it to another key to see if it would work. But thanks for the input.

    <!--QuoteBegin-Joe2+Mar 17 2005, 08:45 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Joe2 @ Mar 17 2005, 08:45 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->MrRadicalEd: String with spaces have no problem in aliases...
    Xtof: Your script is correct, except that <u>MOUSE3 don't work during commander mode</u>...<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    That's to bad, well I have bound it to "t", just besides the other commander keys. This in order to jump fast to the order request.

    <!--QuoteBegin-ReK+Mar 17 2005, 09:45 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (ReK @ Mar 17 2005, 09:45 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Ya, just bind your original alias to something else, like g.
    Does anyone know why mouse3 doesn't work in commander mode? If its a bug maybe they can fix it...<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    Yes I would like to know why it doesn't work in commander mode too.

    Greetz,
    XtOf
  • xtcmenxtcmen Join Date: 2004-04-20 Member: 28040Members, Squad Five Blue
    <!--QuoteBegin-ReK+Mar 12 2005, 12:07 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (ReK @ Mar 12 2005, 12:07 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--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 +5shot "+attack; wait; -attack; wait; +attack; wait; -attack; wait; +attack; wait; -attack; wait; +attack; wait; -attack; wait; +attack; wait; -attack"
    alias -5shot ""
    alias 5son "bind mouse1 +5shot; alias 5s 5soff; speak one"
    alias 5soff "bind mouse1 +attack; alias 5s 5son; speak zero"
    alias 5s "5son"
    bind "x" "5s"
    <!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

    Change x in the last line to whatever key you want to use to toggle the burst-fire on/off. Zero means off, one means on. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    Rek, thats only a two shot burst, FIX IT!!
  • ReKReK Join Date: 2004-08-30 Member: 31058Members, Constellation, Reinforced - Shadow, WC 2013 - Silver
    edited March 2005
    oops, forgot to add the fps controls.

    <!--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 +5shot "fps_max 20; +attack; wait; -attack; wait; +attack; wait; -attack; wait; +attack; wait; -attack; wait; +attack; wait; -attack; wait; +attack; wait; -attack; fps_max 101"
    alias -5shot ""
    alias 5son "bind mouse1 +5shot; alias 5s 5soff; speak one"
    alias 5soff "bind mouse1 +attack; alias 5s 5son; speak zero"
    alias 5s "5son"
    bind "x" "5s"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

    If it still doesn't fire all five, lower the "fps_max 20" to 15. Try 10 if that still doesn't work. But the lower it is, the choppier your screen will be when firing with it.
  • xtcmenxtcmen Join Date: 2004-04-20 Member: 28040Members, Squad Five Blue
    <!--QuoteBegin-ReK+Mar 19 2005, 08:32 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (ReK @ Mar 19 2005, 08:32 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> oops, forgot to add the fps controls.

    <!--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 +5shot "fps_max 20; +attack; wait; -attack; wait; +attack; wait; -attack; wait; +attack; wait; -attack; wait; +attack; wait; -attack; wait; +attack; wait; -attack; fps_max 101"
    alias -5shot ""
    alias 5son "bind mouse1 +5shot; alias 5s 5soff; speak one"
    alias 5soff "bind mouse1 +attack; alias 5s 5son; speak zero"
    alias 5s "5son"
    bind "x" "5s"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

    If it still doesn't fire all five, lower the "fps_max 20" to 15. Try 10 if that still doesn't work. But the lower it is, the choppier your screen will be when firing with it. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    Yeah its really useless if it lags.
  • a_civiliana_civilian Likes seeing numbers Join Date: 2003-01-08 Member: 12041Members, NS1 Playtester, Playtest Lead
    Increase the fps_max and add more waits. The number of waits should be about a third or fourth of the value of fps_max (LMG fires 17 or so bullets per second).
  • XtofXtof Join Date: 2003-04-15 Member: 15514Members
    <u><b>Request</b></u>:

    I would like a script that record demo, and if possible more demo's with the same script. I also would like to use it (preferably) <u>through the commandmenu</u>.

    This I have found on a CS-forum (dont <!--emo&::asrifle::--><img src='http://www.unknownworlds.com/forums/html/emoticons/asrifle.gif' border='0' style='vertical-align:middle' alt='asrifle.gif' /><!--endemo--> me ^^ ). I was wondering if I can use that or if I should alter some parts?:
    <!--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-->alias rec "demo1"
    alias demo1 "record demo1; say Recording demo 1; alias rec enddemo1"
    alias enddemo1 "say End recording demo 1; wait; wait; wait; stop demo; alias rec demo2"
    alias demo2 "record demo2; say Recording demo 2; alias rec enddemo2"
    alias enddemo2 "say End recording demo 2; wait; wait; wait; stop demo; alias rec demo3"
    alias demo3 "record demo3; say Recording demo 3; alias rec enddemo3"
    alias enddemo3 "say End recording demo 3; wait; wait; wait; stop demo; alias rec demo4"
    alias demo4 "record demo4; say Recording demo 4; alias rec enddemo4"
    alias enddemo4 "say End recording demo 4; wait; wait; wait; stop demo; alias rec demo5"
    alias demo5 "record demo5; say Recording demo 5; alias rec enddemo5"
    alias enddemo5 "say End recording demo 5; wait; wait; wait; stop demo; alias rec demo6"
    alias demo6 "record demo6; say Recording demo 6; alias rec enddemo6"
    alias enddemo6 "say End recording demo 6; wait; wait; wait; stop demo; alias rec demo7"
    alias demo7 "record demo7; say Recording demo 7; alias rec enddemo7"
    alias enddemo7 "say End recording demo 7; wait; wait; wait; stop demo; alias rec demo8"
    alias demo8 "record demo8; say Recording demo 8; alias rec enddemo8"
    alias enddemo8 "say End recording demo 8; wait; wait; wait; stop demo; alias rec demo9"
    alias demo9 "record demo9; say Recording demo 9; alias rec enddemo9"
    alias enddemo9 "say End recording demo 9; wait; wait; wait; stop demo; alias rec demo10"
    alias demo10 "record demo10; say Recording demo 10; alias rec enddemo10"
    alias enddemo10 "say End recording demo 10; wait; wait; wait; stop demo; alias rec demo1"

    bind "f12" "rec"<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->

    Any help or advice is very much appreciated.

    Greetz,
    XtOf
  • MintmanMintman Join Date: 2003-05-30 Member: 16866Members
    That would work as far as I can tell. Though I'd replace 'say' with 'echo' as if you're going to use it to record cheaters you'll be telling them you're recording them. Echo commands are shown only in your console.

    This could take a lot of work to write as command menus don't exactly work in a seamless way. I'd recommend searching a CS forum for a script that does what you want. I'd wager that someone has already written what you want.

    PS. before some idiot flames me for mentioning CS I only said that as they are a larger, longer established community and so are more likely to have this sort of thing documented somewhere.
  • XtofXtof Join Date: 2003-04-15 Member: 15514Members
    edited March 2005
    Thanks mintman for the quick reply,

    I came across this commandmenu (I took a piece out of it), and wonder if it works in NS.
    <!--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-->"3" "Record Demo Menu"
    {
    "1" "Record Demo demo_1.dem" "record demo_1; dev1; echo Recording Demo demo_1; dev0"
    "2" "Record Demo demo_2.dem" "record demo_2; dev1; echo Recording Demo demo_2; dev0"
    "3" "Record Demo demo_3.dem" "record demo_3; dev1; echo Recording Demo demo_3; dev0"
    "4" "Record Demo demo_4.dem" "record demo_4; dev1; echo Recording Demo demo_4; dev0"
    "5" "Record Demo demo_5.dem" "record demo_5; dev1; echo Recording Demo demo_5; dev0"
    "6" "Stop Current Demo" "stop; dev1; echo Demo Record Stopped; dev0"
    "7" "Cancel" "slot10"
    }<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    What is "7" "Cancel" "slot10" ? I mean why does he use slot 10?

    I want to record demos, but not necessaraly to catch cheaters.

    I also want to put in the commandmenu a way to turn of the music and voices for instance to hear for the right hive. Is there a way to do that?

    Greetz,
    XtOf
  • MintmanMintman Join Date: 2003-05-30 Member: 16866Members
    iirc slot10 will close the menu.
  • MintmanMintman Join Date: 2003-05-30 Member: 16866Members
    <!--QuoteBegin-Xtof+Mar 18 2005, 12:41 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Xtof @ Mar 18 2005, 12:41 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin-ReK+Mar 17 2005, 09:45 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (ReK @ Mar 17 2005, 09:45 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Ya, just bind your original alias to something else, like g.
    Does anyone know why mouse3 doesn't work in commander mode? If its a bug maybe they can fix it...<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    Yes I would like to know why it doesn't work in commander mode too.

    Greetz,
    XtOf <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    It's like this because of how the commander interface is loaded. It doesn't allow for any other mouse binds then mouse1 or mouse2, and these are predefined. I think that's right anyway.
  • XtofXtof Join Date: 2003-04-15 Member: 15514Members
  • Soujiro_SetaSoujiro_Seta Join Date: 2003-08-23 Member: 20133Members
    <!--QuoteBegin-ReK+Mar 12 2005, 12:07 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (ReK @ Mar 12 2005, 12:07 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--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 +5shot "+attack; wait; -attack; wait; +attack; wait; -attack; wait; +attack; wait; -attack; wait; +attack; wait; -attack; wait; +attack; wait; -attack"
    alias -5shot ""
    alias 5son "bind mouse1 +5shot; alias 5s 5soff; speak one"
    alias 5soff "bind mouse1 +attack; alias 5s 5son; speak zero"
    alias 5s "5son"
    bind "x" "5s"
    <!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

    Change x in the last line to whatever key you want to use to toggle the burst-fire on/off. Zero means off, one means on. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    Could someone add to this and make it be in burst mode when I switch to my pistol either through pressing 2 (slot2) or using quickswitch then when I switch to any other weapon have it go back to regular +attack?
  • TrakenTraken Join Date: 2004-11-14 Member: 32797Members
    I'm trying to make some toggle switches however keep screwing them up. Right now I got this, could someone turn it into a one button toggle? <!--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 +3j "+jump; wait; -jump; wait; +jump; wait; -jump; wait; +jump"
    alias -3j "-jump"
    alias 3on "bind space +3jumps"
    alias 3off "bind space +jump"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
  • MrRadicalEdMrRadicalEd Turrent Master Join Date: 2004-08-13 Member: 30601Members
    <b>Part 1:</b>
    <!--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 +3j "+jump; wait; -jump; wait; +jump; wait; -jump; wait; +jump"
    alias -3j "-jump"
    alias 3on "bind space +3jumps"
    alias 3off "bind space +jump"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

    <b>Part 2:</b>

    alias +3j "+jump; wait; -jump; wait; +jump; wait; -jump; wait; +jump"
    alias -3j "-jump"
    alias 3on "bind space +3jumps<span style='color:red'>;alias jtoggle 3off</span>"
    alias 3off "bind space +jump<span style='color:red'>;alias jtoggle 3on</span>"
    <span style='color:red'>alias jtoggle "3on"</span>

    <span style='color:red'>Red</span> denotes additions
  • TrakenTraken Join Date: 2004-11-14 Member: 32797Members
    Ahh, thank you very much Mr Ed <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin-fix.gif' border='0' style='vertical-align:middle' alt='biggrin-fix.gif' /><!--endemo-->
  • EPcreepEPcreep Join Date: 2004-04-28 Member: 28289Members, Constellation
    i would like a name script

    basicly i would like f10 e^p|creep
    f11[ARS]creep
    f12 AGENT|creep
    ty in advanced
  • DuoGodOfDeathDuoGodOfDeath Join Date: 2002-08-01 Member: 1044Members
    <!--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-->basicly i would like f10 e^p|creep
    f11[ARS]creep
    f12 AGENT|creep<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->

    Bind "f10" "name e^p|creep"
    bind "f11" "name [ARS]creep"
    bind "f12" "name AGENT|creep"

    Don't need a script really to do this just put it in your config.cfg
  • BlueNovemberBlueNovember hax Join Date: 2003-02-28 Member: 14137Members, Constellation
    <!--QuoteBegin-DuoGodOfDeath+Mar 31 2005, 05:59 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (DuoGodOfDeath @ Mar 31 2005, 05:59 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--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-->basicly i would like f10 e^p|creep
    f11[ARS]creep
    f12 AGENT|creep<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->

    Bind "f10" "name e^p|creep"
    bind "f11" "name [ARS]creep"
    bind "f12" "name AGENT|creep"

    Don't need a script really to do this just put it in your config.cfg <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    DuoGod,
    Instead of using 3 buttons, (2 of which are already used already by default,) you could use a cycle script:
    <!--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 "changename" "name1"
    alias "name1" "name e^p|creep"; speak one; alias changename name2"
    alias "name2"  "name [ARS]creep"; speak two; alias changename name3"
    alias "name3" "name AGENT|creep"; speak three; alias changename name1"
    bind x "changename"
    <!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

    ---

    Xtof, rather than having a limited amount of demos, you can specify the desired filename for each demo to be recorded with this script:
    <!--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 demo "demo_prompt"
    alias demo_prompt "messagemode record; alias demo demo_stop"
    alias demo_stop "stop; speak exit; alias demo demo_prompt"
    bind x "demo"
    <!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
    This script and more can be found on my Demo tutorial <a href='http://www.unknownworlds.com/forums/index.php?showtopic=89270' target='_blank'>here</a>
  • CrotalusCrotalus Join Date: 2003-12-02 Member: 23871Members
    edited April 2005
    I want a script....that plays the NS music in game

    Something I've had for a while, is there a better way to make this:

    //Fire Mode Selector
    alias wait5 "wait; wait; wait; wait; wait"
    alias +sattack "normalfire"
    alias -sattack "wait; -attack"
    alias smsg1 "dev1; motdfile echo.txt; motd_write Automatic Fire; MOTD; motdfile motd.txt; dev0; csfx1"
    alias smsg2 "dev1; motdfile echo.txt; motd_write Semi-Automatic Fire; MOTD; motdfile motd.txt; dev0; csfx1"
    alias semifire "+attack; wait; -attack"
    alias normalfire "+attack"
    alias sselect "select2"
    alias select1 "alias +sattack normalfire; smsg1; alias sselect select2"
    alias select2 "alias +sattack semifire; smsg2; alias sselect select1"

    note: csfx1 is just an alias that plays a sound...
  • bmdavllbmdavll Join Date: 2004-09-13 Member: 31682Members
    edited April 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-->//music toggle
    alias music_toggle "music_off"
    alias music_off "cl_musicenabled 0; stopsound; dev1; echo Music off; dev0; alias music_toggle music_on"
    alias music_on "cl_musicenabled 1; dev1; echo Music on; dev0; alias music_toggle music_off"
    bind KEY "music_toggle"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

    Toggles the music on and off. You can adjust the volume in Options.
  • CrotalusCrotalus Join Date: 2003-12-02 Member: 23871Members
  • l0tusl0tus Join Date: 2004-09-07 Member: 31492Members
    <!--QuoteBegin-bmdavll+Apr 1 2005, 01:17 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (bmdavll @ Apr 1 2005, 01:17 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--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-->//music toggle
    alias music_toggle "music_off"
    alias music_off "cl_musicenabled 0; stopsound; dev1; echo Music off; dev0; alias music_toggle music_on"
    alias music_on "cl_musicenabled 1; dev1; echo Music on; dev0; alias music_toggle music_off"
    bind KEY "music_toggle"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

    Toggles the music on and off. You can adjust the volume in Options. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    i was just about to ask for a script that does this very thing. much appreciated...
  • SwiftSwift Lost Keys Join Date: 2005-02-19 Member: 41683Members, Constellation
    I have a spare mouse button. Any suggestions for what I could bind to it? I am looking for an especially 7331 script. So far I have a bhop script I use, and a pistol script I don't user (i use the mousewheel to switch weps..... so the script doesnt know when to enable the pistol or disable it.)...

    So.... Something really good... Maybe a wigglewalk script.... or.... I don't know, something good.

    Oh, and here is a script I reccommend going from server to server with different mp_bs setings....

    <!--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-->//ENABLE/DISABLE SCRIPTS
    bind "KP_ENTER" "bind ctrl +jump; echo >>>>>>>>>>SCRIPTS OFF!!!<<<<<<<<<<"
    bind "KP_PLUS" "bind ctrl +bunnyhop; echo >>>>>>>>>>SCRIPTS ON!!!<<<<<<<<<<"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

    I use 2 keys instead of toggle so i can just tap one and know the script is on/off
  • SwiftSwift Lost Keys Join Date: 2005-02-19 Member: 41683Members, Constellation
    I found a fatal flaw with my script: in mp_bs 1 servers, it doesn't work, rendering it useless. Rofflcopter, mp_bs for the ****.
  • SariselSarisel .::&#39; ( O ) &#39;;:-. .-.:;&#39; ( O ) &#39;::. Join Date: 2003-07-30 Member: 18557Members, Constellation
    edited April 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-->//ENABLE/DISABLE SCRIPTS
    alias scriptoff "bind ctrl +jump; dev 1; echo >>>>>>>>>>SCRIPTS OFF!!!<<<<<<<<<<; dev 0"
    alias scripton "bind ctrl +bunnyhop; dev 1; echo >>>>>>>>>>SCRIPTS ON!!!; dev 0<<<<<<<<<<"
    bind "KP_ENTER" "scriptoff"
    bind "KP_PLUS" "scripton"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

    Aliasing fixes that afaik. The echos don't work, you need to use dev 1 and dev 0.

    On second thought, I don't really like this script at all. Being a toggle, it shouldn't take up any of your keyboard space. Much more convenient to create either an entry in commandmenu.txt or a metascript to handle it.
  • SlithSlith Join Date: 2003-03-29 Member: 15015Members, Constellation, Reinforced - Shadow
    edited April 2005
    I want a script:

    As long as I press ALT, my mousewheel should cycle through sensitivity settings ( normal mousewheel binding is +jump on up and down ). From 3 to 8 in steps of 0.33 or so. And it should also announce it somewhere on the screen.
    ( The black window at the bottom of the screen [ old connection window ] would be great )
    And for every full number there should be a voice saying it. I know this is possible ^^


    I need that script couse my mouse changes from "smooth" to "exact" all 15 minutes...
    Would be really great if someone could do that for me.
  • bmdavllbmdavll Join Date: 2004-09-13 Member: 31682Members
    Booyakasha
    <!--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 motd_set "developer 1; motdfile echo.txt"
    alias motd_exec "motd; motdfile motd.txt; developer 0"
    alias s3 "sensitivity 3; motd_set; motd_write 3; motd_exec; speak three; alias sensup s3.33"
    alias s3.33 "sensitivity 3.33; motd_set; motd_write 3.33; motd_exec; alias sensup s3.66; alias sensdn s3"
    alias s3.66 "sensitivity 3.66; motd_set; motd_write 3.66; motd_exec; alias sensup s4; alias sensdn s3.33"
    alias s4 "sensitivity 4; motd_set; motd_write 4; motd_exec; speak four;  alias sensup s4.33; alias sensdn s3.66"
    alias s4.33 "sensitivity 4.33; motd_set; motd_write 4.33; motd_exec; alias sensup s4.66; alias sensdn s4"
    alias s4.66 "sensitivity 4.66; motd_set; motd_write 4.66; motd_exec; alias sensup s5; alias sensdn s4.33"
    alias s5 "sensitivity 5; motd_set; motd_write 5; motd_exec; speak five;  alias sensup s5.33; alias sensdn s4.66"
    alias s5.33 "sensitivity 5.33; motd_set; motd_write 5.33; motd_exec; alias sensup s5.66; alias sensdn s5"
    alias s5.66 "sensitivity 5.66; motd_set; motd_write 5.66; motd_exec; alias sensup s6; alias sensdn s5.33"
    alias s6 "sensitivity 6; motd_set; motd_write 6; motd_exec; speak six;  alias sensup s6.33; alias sensdn s5.66"
    alias s6.33 "sensitivity 6.33; motd_set; motd_write 6.33; motd_exec; alias sensup s6.66; alias sensdn s6"
    alias s6.66 "sensitivity 6.66; motd_set; motd_write 6.66; motd_exec; alias sensup s7; alias sensdn s6.33"
    alias s7 "sensitivity 7; motd_set; motd_write 7; motd_exec; speak seven;  alias sensup s7.33; alias sensdn s6.66"
    alias s7.33 "sensitivity 7.33; motd_set; motd_write 7.33; motd_exec; alias sensup s7.66; alias sensdn s7"
    alias s7.66 "sensitivity 7.66; motd_set; motd_write 7.66; motd_exec; alias sensup s8; alias sensdn s7.33"
    alias s8 "sensitivity 8; motd_set; motd_write 8; motd_exec; speak eight; alias sensdn s7.66"
    s5 //default sensitivity
    clear
    alias +sens "bind MWHEELDOWN sensdn; bind MWHEELUP sensup"
    alias -sens "bind MWHEELDOWN +jump; bind MWHEELUP +jump"
    bind ALT "+sens"
    <!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

    Copy this into userconfig.cfg, and replace the line that says "default sensitivity" with the sensitivity you'd like to start with (e.g. s4.33 if you want 4.33 to be default)
  • SwiftSwift Lost Keys Join Date: 2005-02-19 Member: 41683Members, Constellation
    I would like a script that when I hold down mouse5 and foreward, I wigglewalk. Doable?
  • c4tc4t Join Date: 2003-09-06 Member: 20619Members
    edited April 2005
    hmm, im a noob scripter but it sounds kinda possible. pressing foward wouldnt be necisary and probably wouldnt work.


    edit: wait no it doesnt seem possible. i dont think you can hold down a button and have it walk until you let it go. you would hav eto press it over again. i think its because wiggle walk scripts arent + commands.
  • SwiftSwift Lost Keys Join Date: 2005-02-19 Member: 41683Members, Constellation
Sign In or Register to comment.