Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script: Verse's prototype keybinds
#1
Alright, here are my prototype default keybinds
I'm using a full keyboard so this wouln't be as helpfull if you aren't using one.
To create this I used the menu_voicecom.cfg and keymap.cfg as reference points--Thanks Ronald_Reagan for the pointers.

Code:
//Verse's prototype keybinds

//Essential Com
    //Coming in with the flag
    bind "Q" [voicecom cominginwiththeflag "Flag Coming:"]
    //Low Health
    bind "KP_ENTER" [voicecom coverme "Verse has Low Health!"]

//Directional
    bind "E" [say %<<<< Left!]
    bind "F"  [say %^^^Mid^^^!]
    bind "C" [say %Right! >>>>]
    
//Strategic
    //Flag
    bind "KP_MINUS" [say "%Flag: "]
    //Defend the flag
    bind "KP_PLUS" [voicecom defendtheflag "Denfend the flag:"]
    //Our base
    bind "KP_DIVIDE" [say %Our Base:]
    //There base
    bind "KP_MULTIPLY" [say %Enemy Base:]
    //flag stat
    bind "KP4" [voicecom recovertheflag "Flag Left <----<<< "]
    bind "KP5" [voicecom recovertheflag "Flag Center >>>---->^<----<<< "]
    bind "KP6" [voicecom recovertheflag "Flag Right >>>----> "]
    //enemy stat
    bind "KP7" [voicecom imadecontact "Enemy! Left <----<<< "]
    bind "KP8" [voicecom imadecontact "Enemy! Center >>>---->^<----<<< "]
    bind "KP9" [voicecom imadecontact "Enemy! Right >>>----> "]

//Non-Essential com
    //Nice Shot
    bind "KP1" [voicecom niceshot "Good one!"]
    //Thanks
    bind "KP2" [voicecom thanks_2 "Thanks Man!"]
    //Awesome
    bind "KP3" [voicecom awesome_2 "Totally AWESOME!!!!!!"]
//END Veres's Protype Keybinds
[Image: 942178_10202211084025654_201418072_n.jpg]

Reply
#2
Verse's Prototype keybinds 0.02 ChangeLog:

Strategic com

Added:
KP0 audible:'I'm on the move' text: 'I'm going:' //to be followed by left>>>---> etc.
Changed:
all instances of 'Center >>>---->^<----<<<' to '^^^Center^^^' as it will be easier to be distinguish from 'Left>>>--->' and 'Right<----<<<'.
Changed:
KP1, KP2, and KP3 to audible: "spread out" text: We're weak on 'Left <----<<<', '^^^Middle^^^', and 'Right >>>---->' respectively. //I've found a need for this recently as I am often looking at the overlay map and have seen us bunching to one side.

Nonessential com:

Moved:
'Nice Shot', 'Thanks Man', and 'Awsome' to DELETE, END, and PAGEDOWN //taking up valuable real-estate on the keypad.
Added:
audible: "We did it" text: "GO TEAM" on previously unallocated KP_PERIOD /

Here's the script:
Code:
//Verse's prototype keybinds 0.02
    //Essential Com
        //Coming in with the flag
        bind "Q" [voicecom cominginwiththeflag "Flag Coming:"]
        //Low Health
        bind "KP_ENTER" [voicecom coverme "Verse has Low Health!"]

    //Directional
        bind "E" [say %<<<< Left!]
        bind "F"  [say %^^^Mid^^^!]
        bind "C" [say %Right! >>>>]
        
    //Strategic
        //Flag
        bind "KP_MINUS" [say "%Flag: "]
        //Defend the flag
        bind "KP_PLUS" [voicecom defendtheflag "Denfend the flag:"]
        //Our base
        bind "KP_DIVIDE" [say %Our Base:]
        //There base
        bind "KP_MULTIPLY" [say %Enemy Base:]
        
        //My stat
        bind "KP0" [voicecom onthemove_1 "I'm going:"]
        //Defence stat:
        bind "KP1" [voicecom spreadout "We're weak on Left <----<<<"]
        bind "KP2" [voicecom spreadout "We're weak in ^^^Middle^^^"]
        bind "KP3" [voicecom spreadout "We're weak on Right >>>---->"]
        //flag stat
        bind "KP4" [voicecom recovertheflag "Flag Left <----<<< "]
        bind "KP5" [voicecom recovertheflag "Flag ^^^Center^^^"]
        bind "KP6" [voicecom recovertheflag "Flag Right >>>----> "]
        //enemy stat
        bind "KP7" [voicecom imadecontact "Enemy! Left <----<<< "]
        bind "KP8" [voicecom imadecontact "Enemy! ^^^Center^^^"]
        bind "KP9" [voicecom imadecontact "Enemy! Right >>>----> "]

    //Non-Essential com
        //Nice Shot
        bind "DELETE" [voicecom niceshot "Good one!"]
        //Thanks
        bind "END" [voicecom thanks_2 "Thanks Man!"]
        //Awesome
        bind "PAGEDOWN" [voicecom awesome_2 "Totally AWESOME!!!!!!"]
        //We did it
    bind "KP_PERIOD" [voicecom goodjobteam "GO TEAM"]
//END Veres's Protype Keybinds
[Image: 942178_10202211084025654_201418072_n.jpg]

Reply
#3
Do lines like this:
bind "KP9" [voicecom imadecontact "Enemy! Right >>>----> "]
Automatically say it in team chat? Just making sure Tongue
Reply
#4
(04-30-2011, 03:09 PM)Ronald_Reagan Wrote: Do lines like this:
bind "KP9" [voicecom imadecontact "Enemy! Right >>>----> "]
Automatically say it in team chat? Just making sure Tongue
Yes, and I'm really liking all my little messages.
[Image: 942178_10202211084025654_201418072_n.jpg]

Reply
#5
Ok next version 0.04

Changed:
bind "PAGEDOWN" [voicecom awesome_2 "Totally AWESOME!!!!!!"]
to
bind "INSERT" [voicecom awesome_2 "Totally AWESOME!!!!!!"]
as it was causing issues when the score board was up.

Added key binds to quickly access the B} servers
//Server Admin Keybinds
Code:
//Verse's prototype keybinds 0.04
    //Essential Com
        //Coming in with the flag
        bind "Q" [voicecom cominginwiththeflag "Flag Coming:"]
        //Low Health
        bind "KP_ENTER" [voicecom coverme "Verse has Low Health!"]

    //Directional
        bind "E" [say %<<<< Left!]
        bind "F"  [say %^^^Mid^^^!]
        bind "C" [say %Right! >>>>]
        
    //Strategic
        //Flag
        bind "KP_MINUS" [say "%Flag: "]
        //Defend the flag
        bind "KP_PLUS" [voicecom defendtheflag "Denfend the flag:"]
        //Our base
        bind "KP_DIVIDE" [say %Our Base:]
        //There base
        bind "KP_MULTIPLY" [say %Enemy Base:]
        
        //My stat
        bind "KP0" [voicecom onthemove_1 "I'm going:"]
        //Defence stat:
        bind "KP1" [voicecom spreadout "We're weak on Left <----<<<"]
        bind "KP2" [voicecom spreadout "We're weak in ^^^Middle^^^"]
        bind "KP3" [voicecom spreadout "We're weak on Right >>>---->"]
        //flag stat
        bind "KP4" [voicecom recovertheflag "Flag Left <----<<< "]
        bind "KP5" [voicecom recovertheflag "Flag ^^^Center^^^"]
        bind "KP6" [voicecom recovertheflag "Flag Right >>>----> "]
        //enemy stat
        bind "KP7" [voicecom imadecontact "Enemy! Left <----<<< "]
        bind "KP8" [voicecom imadecontact "Enemy! ^^^Center^^^"]
        bind "KP9" [voicecom imadecontact "Enemy! Right >>>----> "]

    //Non-Essential com
        //Nice Shot
        bind "DELETE" [voicecom niceshot "Good one!"]
        //Thanks
        bind "END" [voicecom thanks_2 "Thanks Man!"]
        //Awesome
        bind "INSERT" [voicecom awesome_2 "Totally AWESOME!!!!!!"]
        //We did it
    bind "KP_PERIOD" [voicecom goodjobteam "GO TEAM"]
    

    
    //!-!-!-!WARNING!-!-!-!
    //Normalize passwords before sharing.
    //Server Admin Keybinds
        //join server normal
        bind n "connect bcubed.pbclan.tk"
        bind m "connect bcubed.pbclan.tk 1492"
        //join server with admin
        bind h "connectadmin bcubed.pbclan.tk 0 INSERTPASSWORDHERE"  //<-----!-!-!-!WARNING!-!-!-! Change password before sharing
        bind j "connectadmin bcubed.pbclan.tk 1492 INSERTPASSWORDHERE"  //<-----!-!-!-!WARNING!-!-!-! Change password before sharing
        //setadmin
        bind k "setadmin 1 INSERTPASSWORDHERE"  // <-----!-!-!-!WARNING!-!-!-! Change password before sharing
        
//END Veres's Protype Keybinds
[Image: 942178_10202211084025654_201418072_n.jpg]

Reply
#6
As I am fairly "noobish" with the whole setup of CubeScript, could you explain what the difference between... say "7" and "KP7".

(For better configuration of my binds.)
Reply
#7
(05-25-2011, 03:19 AM)evanzo23 Wrote: As I am fairly "noobish" with the whole setup of CubeScript, could you explain what the difference between... say "7" and "KP7".

(For better configuration of my binds.)

Here is the keymap for most every key on your keyboard:
http://pastebin.com/
you can find it in:
...\AssaultCube_v1.1.0.4\config\keymap.cfg

The difference is that I have a full keyboard at my disposal. therefore I use the KEYPAD.
7 == 7 on the keyboard above the letters
KP7 == 7 on the keypad to the right of your keyboard (which is closer to my mouse).

for the voiceComs I used
\AssaultCube_v1.1.0.4\config\menu_voicecom.cfg
[Image: 942178_10202211084025654_201418072_n.jpg]

Reply
#8
Oh! I guess I just had a bright moment. Thanks for informing me! I have viewed the keymap and resetbinds before, but I never quite understood what it was. And now to try to review my binds.
Reply
#9
Verse,

Not to be nit-picky, but you have a typo in your coms. It makes me crazy in game. Tongue

bind "KP_PLUS" [voicecom defendtheflag "Denfend the flag:"]

Reply
#10
Alright I think these are at a place I really like. Verse's Keybinds 1.0:
Fixed spelling error
Moved Server connect codes to a whole different script so they are removed from here. You can still quickly take control of a B}Server though by pressing 'i'.
Code:
//Verse's Keybinds 1.0

    //Server Admin
        bind "I" [setadmin 1 pswd] // <-----!-!-!-!WARNING!-!-!-! Change password before sharing
        
    //Essential Com
        //Coming in with the flag
        bind "Q" [voicecom cominginwiththeflag "Flag Coming:"]
        //Low Health
        bind "KP_ENTER" [voicecom coverme "Verse has Low Health!"]
        //I got you covered
        bind "PAGEDOWN" [voicecom igotyoucovered "RUN! I Got you covered--RUN LIKE THE WIND"]

    //Directional
        bind "E" [say %<<<< Left!]
        bind "F"  [say %^^^Mid^^^!]
        bind "C" [say %Right! >>>>]
        
    //Strategic
        //Flag
        bind "KP_MINUS" [say "%Flag: "]
        //Defend the flag
        bind "KP_PLUS" [voicecom defendtheflag "Defend the flag:"]
        //Our base
        bind "KP_DIVIDE" [say %Our Base:]
        //There base
        bind "KP_MULTIPLY" [say %Enemy Base:]
        
        //My stat
        bind "KP0" [voicecom onthemove_1 "I'm going:"]
        //Defence stat:
        bind "KP1" [voicecom spreadout "We're weak on Left <----<<<"]
        bind "KP2" [voicecom spreadout "We're weak in ^^^Middle^^^"]
        bind "KP3" [voicecom spreadout "We're weak on Right >>>---->"]
        //flag stat
        bind "KP4" [voicecom recovertheflag "Flag Left <----<<< "]
        bind "KP5" [voicecom recovertheflag "Flag ^^^Center^^^"]
        bind "KP6" [voicecom recovertheflag "Flag Right >>>----> "]
        //enemy stat
        bind "KP7" [voicecom imadecontact "Enemy! Left <----<<< "]
        bind "KP8" [voicecom imadecontact "Enemy! ^^^Center^^^"]
        bind "KP9" [voicecom imadecontact "Enemy! Right >>>----> "]

    //Non-Essential com
        //Nice Shot
        bind "DELETE" [voicecom niceshot "Good one!"]
        //Thanks
        bind "END" [voicecom thanks_2 "Thanks Man!"]
        //Awesome
        bind "INSERT" [voicecom awesome_2 "Totally AWESOME!!!!!!"]
        //Good Job Team
        bind "KP_PERIOD" [voicecom goodjobteam "GO TEAM"]
        //Yes
        bind "PAGEUP" [voicecom yes "YEAH!"]
        //No
        bind "HOME" [voicecom negative "Bummer"]


//END Verse's Keybinds
[Image: 942178_10202211084025654_201418072_n.jpg]

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)