Scripting Help?

Raiden333Raiden333 Join Date: 2003-03-22 Member: 14770Members
<div class="IPBDescription">Specifically, naming .cfg files...</div> I want to make some scripts for certain classes (Like for lerk, just tapping e switch to umbra, fire it off, and switch back to bite), but I want to use the same key for the class specific bind. Back when I used to play TFC, it was easy because each team/class had its own .cfg file. Does this hold true in NS? If I make a file called "marines.cfg", will it automatically execute when I join marines?

Comments

  • mraltzmraltz Join Date: 2002-12-22 Member: 11377Members
    nope, but there might be a solution. are you aware that you can join teams using the console? 'jointeamone' for marines, and 'jointeamtwo' for aliens.

    bind o "jointeamone ; exec marines.cfg"
    bind p "jointeamtwo ; exec aliens.cfg"

    that will join the team of your choice, and execute your CFG <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
  • BeRzErKeRBeRzErKeR Join Date: 2003-02-18 Member: 13691Members
    I use the arrow keys to switch configs, down for comm, left for marine, right for aliens and up for the regular config (don't know what use this is but anyway) and then I just change them whenever I join a team.

    I used to have q bound to "slot3; wait; wait; wait; wait; wait; wait; wait; wait; +attack; wait; -attack; wait; lastinv" so that it would leap/web/umbra/blink/charge but then I was scared by script-hating people and decided to learn to play "normally" <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->
  • XCanXCan Join Date: 2002-11-03 Member: 5904Members, Constellation
    Play the game: good good. Let a script play it for you: badbad. <!--emo&:0--><img src='http://www.unknownworlds.com/forums/html/emoticons/wow.gif' border='0' style='vertical-align:middle' alt='wow.gif'><!--endemo-->
  • Black_Ops_Lerk_MasterBlack_Ops_Lerk_Master Join Date: 2003-03-11 Member: 14363Banned
    lol

    i can imagine a script based game, one hand one the muse one on the script bound button.

    bind e evolve to gorge and build three dcs then teamsay saving for a hive then proceed to another hive and build rt's along the way then build hive 2 and go fade then teamsay fade rush marines before they take a hive and then rocket spam the marine spawn then run in and claw IP's to deatht then use pg to get into the hive base and kill that with other fades skulks and lerks.

    Have different script for every map <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->
  • othellothell Join Date: 2002-11-02 Member: 4183Members, NS1 Playtester, Contributor
    <!--QuoteBegin--XCan+Mar 22 2003, 05:46 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (XCan @ Mar 22 2003, 05:46 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Play the game: good good. Let a script play it for you: badbad. <!--emo&:0--><img src='http://www.unknownworlds.com/forums/html/emoticons/wow.gif' border='0' style='vertical-align:middle' alt='wow.gif'><!--endemo--> <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    You do realize that scripts don't actually play the game right? I mean, some people even think scripts can do the aiming for you. Ridiculous!

    Stop generalizing scripting. It just brings about really bad accusations and falsifications (e.g. "Let a script play it for you: badbad.").
  • Cereal_KillRCereal_KillR Join Date: 2002-10-31 Member: 1837Members
    err.. letseee..

    <!--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-->alias lerkcfg "exec lerk.cfg"
    alias skulkcfg "exec skulk.cfg"
    alias gorgecfg "exec gorge.cfg"
    alias fadecfg "exec fade.cfg"
    alias onoscfg "exec onos.cfg"
    alias marinecfg "exec marine.cfg"
    alias commcfg "exec comm.cfg"
    alias cfgchoose "rebindnumber; menuecho"

    alias rebindnumber "bind 1 lerkcfg; bind 2 skulkcfg; bind 3 gorgecfg; bind 4 fadecfg; bind 5 onoscfg; bind 6 marinecfg; bind 7 commcfg"
    alias menuecho "developer 1; echo 1-Lerk 2-skulk 3-gorge 4-fade 5-onos 6-marine 7-comm; developer 0"
    <!--c2--></td></tr></table><span class='postcolor'><!--ec2-->

    Ok it's late here and I can't be assed to see if I made errors. If someone sees any, feel free to correct them.

    make 1 cfg file for each class and put them in your \ns folder. copy and paste the above code in autoexec.cfg

    In each config, remember to bind a key to cfgchoose. If possible, try to find one key common for each config <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->
  • ElricElric Join Date: 2002-11-13 Member: 8448Members
    If you use the above, make sure to have 1-7 rebound in each config. A metabind might be easier in all honesty. Try something like this.

    alias "+cfgchoose" "rebindnumber; menuecho"
    alias "-cfgchoose" "bind 1 slot1; bind 2 slot2; bind 3 slot3....etc"

    Then you just bind to +cfgchoose. Hold the key to get the cfg switch options, release to go back to normal binds.

    Either way works.
  • RotA_PlagueRotA_Plague Join Date: 2002-11-03 Member: 6768Members
    Personally, I haven't ever used a script and don't plan on it.

    And if I am correct, scripts can easily turn your hand gun into a rail gun, I would try it out but it would go againist my non-using scripts and lazyness.
  • iddqdiddqd Join Date: 2002-11-07 Member: 7596Members, Constellation
    some of the best NS players, and myself (not nearly as good) have no need for scripts.
  • EgoEgo Join Date: 2003-01-27 Member: 12804Members
    i have a script that runs my aimbot, and wallhack

    its bound to 1 and 2,

    and another script for when im a skulk and i dont want to attack the marines, it automatically attacks until im out of energy

    and another that when im a marine and dont want to listen to commander it auto rambos and humps the armory till im full <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->


    seriously!

    then i learned how to play w/o them and w/o voogs plugins <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->

    Ego

    [FACT] - I AM ON THIN FREAKING ICE!
  • SoBe_DragonSoBe_Dragon Join Date: 2002-12-04 Member: 10465Members
    scripting isnt really neccessary to swtich between your weapons quickly. actually a really easy way to switch between weapons is using a simple <u>console command</u>

    hud_fastswitch 1 (i swear to the almighty jesus, if someone says I am exploiting for using <i>that</i> command, I am gonna start hunting people down....)

    That command makes it so you dont have to click to select a weapon. All you do is press 1, 2, 3, or 4 and the weapon is instantly selected. If you have your movement keys bound to WSAD it makes it very very easy to switch between bite, and umbra...acid rocket and blink, leap and bite, whatever you choose =)
  • KazyrasKazyras Join Date: 2002-11-23 Member: 9722Members
    *sigh*

    The day anti-scripters stop commenting/complaining/flaming out of sheer unadulterated ignorance is the day hell freezes over.
  • Cereal_KillRCereal_KillR Join Date: 2002-10-31 Member: 1837Members
    Im probably not the best NSer out there but I DO USE SCRIPTS!!!!!!


    I use a toggle-use script (so I dont have to leave e pressed for +using, and so type while +using)
    a toggle-walk script (blah-blah for +speed)
    a toggle-forward (blah-blah for +forward so I can type while walking)
    a toggle-duck script (blah blah for +duck)
    a chuckle script <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo--> (I never use it because I prefer spamming chuckle and the script spams text as well)
    a kewl menu for HLamp (not mine, HLamp's menu)
    I have been using a message menu (similar to CS's commandmenu messages)


    Are these useful? yes.
    Do I need them? not really
    Is it cheating? definitely not. It's just preventing me from having sore fingers <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
Sign In or Register to comment.