Saving Alias Commands

mr_peabodymr_peabody Join Date: 2003-04-16 Member: 15575Members
<div class="IPBDescription">way to keep alias commands???</div> hi.
a while back i had a mouse wheel problem and i heard a aliascommand to fix it. it worked.
but every time i get back in the game after quitting, it deletes the alias commands and i must enter them again. my question is is there somway to save them so i dont have to enter them every time?
if anyone knows, i would greatly appreciate their transfer of this knowledge.
thanks for help.

Comments

  • MacguyvokMacguyvok Godlike Fuzzydice Join Date: 2003-05-09 Member: 16162Members
    edited June 2003
    I don't know exactly how, but I do know it's possible, and fairly easy to bind anykey to a command by editing config.cfg in the ns folder... take a look at it in notepad, and see what you can find.
  • JessenJessen Join Date: 2003-06-02 Member: 16949Banned
    Go to you ns directory and find the file autoexec.cfg
    Its its not there make one
    add ytour alias in it. Like this
    <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
    // This is an Autoexec
    // Because Jessen is so "elite" Idecided to lub him forever
    alias "whatever" "whatewre"
    <!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
  • ThansalThansal The New Scum Join Date: 2002-08-22 Member: 1215Members, Constellation
    edited June 2003
    yah, think abought config.cfg like this

    You start of with NO binds, then when you start up your game it runs all of the CMDs in your config.cfg in the concole, so all you gotta do is type your alias into your config.cfg

    or you can make a second configfile, call it mousefix.cfg, stick it in the same dir as your config.cfg and then put 'load mousefix.cfg' (sorry, don't remember if this is the proper cmnd or not actualy) in your config.cfg


    for all your scripting needs: <a href='http://half-life.gamehelp.com/' target='_blank'>I AM HL</a>

    [edit] I AM SLOW

    ok, yah put the line: "exec mousefix.cfg" into your autoexec.cfg and that will do it <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->

    [/edit]
  • mr_peabodymr_peabody Join Date: 2003-04-16 Member: 15575Members
    hmm..
    maybe if i just type my command in there itll work.
    i dunno though, i dont wanna screw anything up.
  • mr_peabodymr_peabody Join Date: 2003-04-16 Member: 15575Members
    wow. people post here quick. i was gonna reply to that second post there and 2 people got there before me.
  • JessenJessen Join Date: 2003-06-02 Member: 16949Banned
    You can't screw anything up by putting an alias and bind in autoexec.cfg
  • mr_peabodymr_peabody Join Date: 2003-04-16 Member: 15575Members
    oops, i think i did.
    i added it, and whenever i got into a game my guy wouldnt stop shooting/biting.
    i deleted it.

    alls i did was enter it straight into config. i think im gonna have to try somthing else.
    and i cant find that autoexec.cfg file. where is it?
  • mr_peabodymr_peabody Join Date: 2003-04-16 Member: 15575Members
    okay, i think i got it.
    just a little extra,
    is there anything i can type into my config.cfg file to delete the menu for weapons, so they switch right to instead of me having to click when i get to the gun/ability i want?
    sucks when your shooting a alien with a lite machine gun, and you run outta ammo, and those precious milliseconds to switch to your pistol count. i usually dont play marine that much anyway though.
    thanks for help.
  • JessenJessen Join Date: 2003-06-02 Member: 16949Banned
    There is, but I forgot it :S
    Hud_fastswitch?
  • MacguyvokMacguyvok Godlike Fuzzydice Join Date: 2003-05-09 Member: 16162Members
    <!--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-->sucks when your shooting a alien with a lite machine gun, and you run outta ammo, and those precious milliseconds to switch to your pistol count.<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd--> Well, bind *drop weapon* to a key * I have it my "c" key* and just drop weapon.. it's soo much faster than switching...


    <!--emo&::marine::--><img src='http://www.unknownworlds.com/forums/html/emoticons/marine.gif' border='0' style='vertical-align:middle' alt='marine.gif'><!--endemo--> + <!--emo&::fade::--><img src='http://www.unknownworlds.com/forums/html/emoticons/fade.gif' border='0' style='vertical-align:middle' alt='fade.gif'><!--endemo-->(1) <!--emo&::fade::--><img src='http://www.unknownworlds.com/forums/html/emoticons/fade.gif' border='0' style='vertical-align:middle' alt='fade.gif'><!--endemo-->(2) = <!--emo&::asrifle::--><img src='http://www.unknownworlds.com/forums/html/emoticons/asrifle.gif' border='0' style='vertical-align:middle' alt='asrifle.gif'><!--endemo--> <!--emo&::fade::--><img src='http://www.unknownworlds.com/forums/html/emoticons/fade.gif' border='0' style='vertical-align:middle' alt='fade.gif'><!--endemo--> <drops lmg> <!--emo&::marine::--><img src='http://www.unknownworlds.com/forums/html/emoticons/marine.gif' border='0' style='vertical-align:middle' alt='marine.gif'><!--endemo--> <pistols> <!--emo&::fade::--><img src='http://www.unknownworlds.com/forums/html/emoticons/fade.gif' border='0' style='vertical-align:middle' alt='fade.gif'><!--endemo--> (s) = pwn3d!

    *well, I haven't done that, but my freind has...*
  • mr_peabodymr_peabody Join Date: 2003-04-16 Member: 15575Members
    oh, i dont mean completly out of ammo. i mean out of ammo in a clip.
    unless you do drop you gun. that seems like it would work well for me. id save time by not having to drop it when i die!
  • laggerlagger Join Date: 2002-10-31 Member: 1805Members
    edited June 2003
    <!--QuoteBegin--mr. peabody+Jun 3 2003, 01:51 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (mr. peabody @ Jun 3 2003, 01:51 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> hi.
    a while back i had a mouse wheel problem and i heard a aliascommand to fix it. it worked.
    but every time i get back in the game after quitting, it deletes the alias commands and i must enter them again. my question is is there somway to save them so i dont have to enter them every time?
    if anyone knows, i would greatly appreciate their transfer of this knowledge.
    thanks for help. <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    put them in a .cfg file in your ns directory. note: autoexec.cfg auto runs your config on startup otherwise your going to have to type *exec name.cfg* in console to run whatever you have written in the .cfg.

    Hud_fastswitch 1, will provide you with 1 click switch's *pistol switch's automatically so i dont see why you have to drop your gun*

    OHHH and while i'm at it... my clan friend made a toggle use key for 1.1 *some buildings take awhile to build and was used for sucking nodes*

    alias "toggle_use_on" "+use; developer 1; echo Toggling use ON; developer 0; alias toggle_use toggle_use_off"
    alias "toggle_use_off" "-use; developer 1; echo Toggling use OFF; developer 0; alias toggle_use toggle_use_on"
    alias "toggle_use" "toggle_use_on"
    bind q "toggle_use"

    You press a button which emotes a "toggle on" on the upper left of your screen and while its on your used key is held down.
    When you press the toggle again it will emote a "toggle off" on the upper left of your screen and turn your use key off.
    This has saved my fingers from holding the use key down for HUGE amounts of time when i was sucking rsr's to onos.
  • MintmanMintman Join Date: 2003-05-30 Member: 16866Members
    I made these UT style autoweapon switch binds when I played CS
    <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->bind "MWHEELDOWN" "invnext; wait; +attack; wait; slot10;-attack"
    bind "MWHEELUP" "invprev; wait; +attack; wait; slot10; -attack"<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
    Can't remember why the slot10 is in there, but there must be a reason for it
  • SoulSkorpionSoulSkorpion Join Date: 2002-04-12 Member: 423Members
    Instead of reposting the answer, I'll just post <a href='http://www.unknownworlds.com/forums/index.php?act=ST&f=17&t=29827' target='_blank'>this</a>.
  • DarkFrostDarkFrost Join Date: 2003-04-03 Member: 15154Members, NS1 Playtester, Constellation
    this may sound silly, but make sure your config.cfg isnt set to read only, cause alias's made in game will not be writen and only stay in game memory
  • Brave_UlyssesBrave_Ulysses Join Date: 2003-04-28 Member: 15922Members
    <!--QuoteBegin--mr. peabody+Jun 2 2003, 08:51 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (mr. peabody @ Jun 2 2003, 08:51 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> hi.
    a while back i had a mouse wheel problem and i heard a aliascommand to fix it. it worked. <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    Could you post it here for me? For some reason, ever since I formatted my original drive my mousewheel doesn't work for any game other than Max Payne - I can't seem to use my wheel to switch weapons, and it kills me - almost literally - accidentally hitting the wrong button when I want to change weapons during a fight.
Sign In or Register to comment.