Bfcas

SoulSkorpionSoulSkorpion Join Date: 2002-04-12 Member: 423Members
edited April 2003 in NS General Discussion
<div class="IPBDescription">(NS edition)</div> Hello! I've just completed work on the NS edition of my Bloody Fantastic Communications And Stuff script <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif'><!--endemo-->

Basically all the info is in the readme, so I'll just do a copy-and-paste. Oh, and please READ it before you inundate this thread with anti-script posts...

<a href='http://members.iinet.net.au/~karen/LAG/BFCAS-NS.zip' target='_blank'>Download clicky</a>

-----------------------------
1:OVERVIEW
This is a keyboard config which allows quick access to various abilities which otherwise take longer, such as evolving, building and communications. I first wrote the BFCAS for Team Fortress Classic, and since then have found it to be so useful that I've done versions of it for Day of Defeat, Counterstrike and even Return to Castle Wolfenstein. The basic premise is that there are a variety of menus, controlled by the number pad, which you cycle through using your mousewheel. You will hear an alien voice telling you what menu you're in when you change menu.

To install the BFCAS, extract the .cfg files into your half-life\ns\ folder, and extract the .wav files to the half-life\ns\sounds folder.

To use the BFCAS, put the line "exec menu.cfg" in your autoexec.cfg (or wherever).

Note: you will obviously need a mousewheel in order to get the full use of this script!

-----------------------------
2: "INTRUDERS" menu
This is the communications menu, called the "intruders" menu because you use it to report enemy intrusions.
The keys in this menu are:
minus - alien hivesight comms (chuckle, etc)
plus - text messages.

When you press the minus key, you will see a message pop up on the bottom of the screen telling you what the number keys are now bound to:
1=Chuckle
2=I need healing
3=I need backup
4=Incoming
5=Attack!
6=I'm building here

Press minus again to close this comms menu, if you don't want to say anything.

When you press the plus key, you will see a message pop up on the bottom of the screen telling you what the number keys are now bound to. The idea is that you're putting together a sentence telling your teammate who's attacking and where - first you choose whether the marine is wearing light armour, heavy armour or a jetpack, next you choose what they're armed with, finally you choose which hive they're approaching (one, two or three). Press zero to go back a step at any time, and press plus to close this menu without sending any messages.

-----------------------------
3: "LIFE-FORMS" menu
This menu lets you evolve and chose upgrades quickly. Pressing plus will open up the evolutions submenu, and pressing minus will open the upgrades submenu, both of which will display messages at the bottom telling you what's been rebound to what.

EVOLUTIONS:
1=Skulk
2=Gorge
3=Lerk
4=Fade
5=Onos

UPGRADES:
1=Carapace
2=Regeneration
3=Redemption
4=Celerity
5=Adrenaline
6=Silence
7=Cloaking
8=Advanced hivesight
9=Scent of fear

(you might notice that all the defense chamber upgrades are on the bottom row of the keypad, the movement chamber ones are on the middle and the sensory chamber ones are along the top)

As with all menus, to close the evolutions menu without chosing anything just press plus again, and to close the upgrades menu press minus again.

-----------------------------
4: "BUILDERS" menu

This menu is only useful to gorges. It allows you to quickly construct things with a button-press.

There is only one submenu, the build menu, opened by pressing plus. I've done this so that you still actually have to press something before you hit a number key, in case you hit a key accidentally and build something in a bad spot (or whatever).

The keys in the build submenu are:
1=Offense chamber
2=Deffense chamber
3=Movement chamber
4=Sensory chamber
5=Resource chamber
6=Hive

As usual, plus will close the build menu without making a selection.

-----------------------------
5: "RESOURCES" menu

The resources menu has a few miscellaneous options (resources) which you may or may not find useful.

The keys are:

0= turn off the net_graph
1= net_graph 1
2= net_graph 2
3= net_graph 3
5= "clean" screenshot - removes the crosshairs, the netgraph, and the weapon model (although I think Flayra's disabled that), takes a screenshot, then puts them back.
star= toggles volume control on and off. Produces a message telling you what your volume is currently set to. Use plus and minus to increment and decrement the volume by 0.5 (respectively).

-----------------------------
If you've got any questions\feedback\etc, please email me at soulskorpion(at)iinet.net.au. Feel free to distribute this script, but please include this readme file (because nobody's going to have a clue how to use it otherwise <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif'><!--endemo--> )

Enjoy!

SoulSkorpion

Comments

  • ThansalThansal The New Scum Join Date: 2002-08-22 Member: 1215Members, Constellation
    oh
    my
    god


    that is so very great, I am gona have to try this out

    oh and could you tell me a simple way of editing out the last menu (seems useles for most play)


    hmm, is the a coment char in HL scripting (like // in java?)
  • SoulSkorpionSoulSkorpion Join Date: 2002-04-12 Member: 423Members
    1: // is a comment in HL scripting
    2: To get rid of the last menu, you'll need to fiddle with the menu.cfg file, since it controls all the others. There are two lines which read:

    <!--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 menu3 "bind MWHEELUP menu4;  bind MWHEELDOWN menu2; play builders.wav; exec menu3.cfg"
    alias menu4 "unbind MWHEELUP; bind MWHEELDOWN menu3;  play resources.wav; exec menu4.cfg"<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->

    All you have to do is change the menu3 alias to unbind MWHEELUP.

    There's not much point in removing the last menu, though. I put it as the last menu <i>because</i> it doesn't get used much; you don't need to cycle through it to get to something important.
  • ThansalThansal The New Scum Join Date: 2002-08-22 Member: 1215Members, Constellation
    ty

    now there is an interesting on, why do you not have the menus loop?

    just don't like it or do the mechanics work better?
  • SoulSkorpionSoulSkorpion Join Date: 2002-04-12 Member: 423Members
    edited December 2002
    Hm... The mechanics would work fine. I don't know, I guess it's just a matter of personal preference. It's not too hard to get it to loop, you just make the last menu's MWHEELUP bind to menu1.
  • ThansalThansal The New Scum Join Date: 2002-08-22 Member: 1215Members, Constellation
    yah, I know

    hmm

    thinking of slightly altering your script some
    personaly I like having my mwheel for wep switching, so I moght try either binding it on 2 keys ( /* posibly) or bind it out 1 to each key


    again thanks alot, it looks great
  • MonsieurEvilMonsieurEvil Join Date: 2002-01-22 Member: 4Members, Retired Developer, NS1 Playtester, Contributor
    (Fixing incorrect topic date due to server issue)
  • ParasiteParasite Join Date: 2002-04-13 Member: 431Members
    edited December 2002
    Skorp...why dont you edit the KBact.lst so they can bind thier menus to whatever they want.
    Im working on something similar but alot of mine uses the TF style +command menu.
    Forgot to mention I am using the command menu for a "build a scentance" type thing

    each menu has several options (1-8, 9= more options if nescesary and 0= say current)
    So the first menu has several options including:
    I need a...
    ___>1.welder
    ___>2.HMG
    ___>3.Shotgun
    _______>1.in Caged
    _______>2.in Bast
    ______________>in Atmospheric
    ______________>in Refinery

    wich would give the command: "say_team I need a Shotgun in Refinery Please"

    It sounds and looks far more complicated than it really is...if your accustomed to scripted menus or the command menu it easy as cake.
  • ParasiteParasite Join Date: 2002-04-13 Member: 431Members
    edited December 2002
    KBact.lst is the in game controls menu...its in ns/gfx/shell
    *the following will make sense when you open the file in notepad*

    "blank"<b> </b>"place a comment here"
    "command"<b> </b>"name of command"

    the above will apear in the game menu as

    Place comment here ___________
    name of command ___________

    (______ is the space you click to bind your key)

    command is the name of a hotkey, HL or NS command, or the name of *ONE* of your aliases, not the entire script.
  • Dauntl3ssDauntl3ss Join Date: 2002-11-08 Member: 7737Members
    I need a little help for my script..(the one in the sig)

    In comm.cfg i have 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-->//Buildings
    alias bbuild1         "developer 1; echo Numpads: .|. 7 Infantry Portal .|. 8 Resouce Tower  .|. 9 Command Console  .|.;developer 0"
    alias bbuild2         "developer 1; echo Numpads: .|. 4 Turret Factory .|. 5 Sentry Turret  .|. 6 Siege Cannon  .|.;developer 0"
    alias abuild          "developer 1; echo Numpads: .|. 1 Observatory .|. 2 Arms Lab  .|. 3 Prototype Lab  .|. 0 Phase Gate  .|.;developer 0"
    alias Bmenu           "bbuild1;bbuild2"
    alias Amenu           "abuild"

    bind "KP_PLUS"        "Bmenu; hotkey86"       //Shows keys to basic build with, and changes to Basic Build Menu
    bind "KP_MINUS"       "Amenu; hotkey87"       //Shows keys to build Advanced Structure with, and changes to Adv. Build Menu
    bind "KP_HOME"        "hotkey40"              //Builds Infantry Portal
    bind "KP_UPARROW"     "hotkey41"              //Builds Resource Tower
    bind "KP_PGUP"        "hotkey58"              //Builds Command Console
    bind "KP_LEFTARROW"   "hotkey43"              //Builds Turret Factory
    bind "KP_5"           "hotkey56"              //Builds Sentry Turret
    bind "KP_RIGHTARROW"  "hotkey57"              //Builds Siege Cannon
    bind "KP_END"         "hotkey51"              //Builds Observatory
    bind "KP_DOWNARROW"   "hotkey45"              //Builds Arms Lab
    bind "KP_PGDN"        "hotkey46"              //Builds Prototype Lab
    bind "KP_INS"         "hotkey55"              //Builds Phase Gate
    bind "KP_DEL"         "hotkey69"              //Recycle Building<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->

    But what i would really like is that i dont need to push "KP_PLUS" before i press "KP_HOME" to select a Infantry Portal. i want it to go directly to and Infantry Portal... but "hotkey56; hotkey40" dont work, neither if u put a "; wait" between them.. HELP!
  • ThansalThansal The New Scum Join Date: 2002-08-22 Member: 1215Members, Constellation
    sory man, can't be done


    hotkeys are odd like that, you can have a hot key and NOTHING else in a comand

    you also can't use them with aliases

    sory
  • Dauntl3ssDauntl3ss Join Date: 2002-11-08 Member: 7737Members
    BAH! thats lame! FLAY GET OVER HERE!! fix this please O_o

    I tried with aliases for about an hour now... im was getting real **obscenity**..

    /me slaps hotkeys
  • MaherGMaherG Join Date: 2002-11-17 Member: 9104Members
    <!--QuoteBegin--SoulSkorpion+Dec 17 2002, 11:16 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (SoulSkorpion @ Dec 17 2002, 11:16 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->1: // is a comment in HL scripting
    <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    Its in C++
  • VisserVisser Join Date: 2002-11-03 Member: 6613Members
    Now this is what i like to see - something USEFUL and original.

    I tried to do something special of my own, but the limitations with binding hotkeys broke it.
  • SoulSkorpionSoulSkorpion Join Date: 2002-04-12 Member: 423Members
    edited December 2002
    <!--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-->Skorp...why dont you edit the KBact.lst so they can bind thier menus to whatever they want.<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->

    Why don't I edit the wha? Huh? I just script, just bog standard .cfgs. <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' valign='absmiddle' alt='tounge.gif'><!--endemo-->

    Btw, my TFC version has something similar to your map specific locations, for reporting enemies, because TFC automatically execs mapname.cfg as soon as the map loads (maybe all HL mods do; I'm not sure). That way you don't have to pick what map you're on each time. I'll post the code, if you want.

    <!--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-->1: // is a comment in HL scripting


    Its in C++<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->

    Yes? And your point is? Someone asked what a comment is in HL scripting, and I answered. If you want to get technical, so are /* and */ <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' valign='absmiddle' alt='tounge.gif'><!--endemo-->
  • parkanparkan Join Date: 2002-11-17 Member: 9128Members
    <!--QuoteBegin--Dauntl3ss+Dec 17 2002, 02:35 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Dauntl3ss @ Dec 17 2002, 02:35 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> BAH! thats lame! FLAY GET OVER HERE!! fix this please O_o

    I tried with aliases for about an hour now... im was getting real **obscenity**..

    /me slaps hotkeys <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    I think it was done intentionally, at least I've read something along those lines.
  • UnderDOGUnderDOG Join Date: 2003-04-05 Member: 15221Members
  • SoulSkorpionSoulSkorpion Join Date: 2002-04-12 Member: 423Members
    Hey, I got bumped! Awse!
  • StoneburgStoneburg Join Date: 2002-11-11 Member: 8174Members
  • Iced_EagleIced_Eagle Borg Engineer Join Date: 2003-03-02 Member: 14218Members
    talk bout bumpage <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo--> anyways i gotta try this out. looks awesome <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo--> <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->
  • ArchanorArchanor Join Date: 2003-04-13 Member: 15468Members
    If I dont have a wheelmouse, I cant use your script thingie? <!--emo&???--><img src='http://www.unknownworlds.com/forums/html/emoticons/confused.gif' border='0' style='vertical-align:middle' alt='confused.gif'><!--endemo-->
  • Iced_EagleIced_Eagle Borg Engineer Join Date: 2003-03-02 Member: 14218Members
    <!--QuoteBegin--Archanor+ May 12 2003, 04:53 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Archanor @ May 12 2003, 04:53 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> If I dont have a wheelmouse, I cant use your script thingie?<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd--> Well from what he said i dont think so. unless you wanna change binds. Iced_Eagle's advice of the day is: GET A WHEEL MOUSE <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo--> wow i should become a psychiatrist now... somebody hire me
  • DizzyOneDizzyOne BASS&#33; Join Date: 2002-11-17 Member: 9095Members
    <!--QuoteBegin--briguy992+May 12 2003, 05:00 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (briguy992 @ May 12 2003, 05:00 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin--Archanor+ May 12 2003, 04:53 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Archanor @ May 12 2003, 04:53 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> If I dont have a wheelmouse, I cant use your script thingie?<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd--> Well from what he said i dont think so. unless you wanna change binds. Iced_Eagle's advice of the day is: GET A WHEEL MOUSE <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo--> wow i should become a psychiatrist now... somebody hire me <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    do u come with a leaked final HL2? <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->
Sign In or Register to comment.