Jump to content

i27 How I learned to stop wondering and love the Razar Naga Tray


qwy

Recommended Posts

[i27] qwy's Razer

How I Learned to Stop Wondering and Love the Razer Naga Tray.

by qwy

 

Default

Default Layout

Naga Tray Basics

A closer look at the Razer

● Compact

Pliable Transformation

● Show & Hide Through Menu 

● Scales from .65 to 2.256410. 

● Takes over as primary tray. 

● No parent or child windows. 

Resembling the №Pad, pulling the borders creates a variety of shapes. Editing the WDW offers more flexibility, at risk of great peril. Don't mess with it until you know what your doing.

Preamble

I'm sure a lot of people remember the Razer Naga Tray, from way back when. Like most of 2010, I didn't remember it, at all. I found the setting to enable it, in options, a couple of days after creating my homecoming account and started using it. The actual purpose of the tray went straight over my head. II had been using the tray incorrectly for well over a year before I realized it. I'll save that story for another time. At first glance, I saw how I wanted to use it. It was going to track chord keys. Similar to the AltTray command but, in my humble opinion, this was even better.

 

The Razer becomes the primary tray, while active so, I just needed to put some binds together that show one tray while a chord is pressed and flip back to a default tray when released. It took a few variations to get the feel I was going for but, I found a lot of variations that worked well.  

 

 

What's the benefit of that?
Brief-ish backstory
I prefer binds to clicking icons. Alternating focus between the action, zeroing the cursor on an icon and reorienting back on the action, isn't one of my  superpowers. As I get older, my glasses prescription is leveling faster than my reflexes. On top of  that, my memory is terrible. So, I got that going for me. Which is nice. In spite of these, natural gifts, I'm currently 2 levels from my 12th lvl50. I can jump from one alt to the another without anyone realizing I have more in common with Mr. Magoo than a super human. It's definitely thanks to the global binds, I've hacked together to create that illusion, not a natural born talent for discerning idiosyncratic nuance.

 

1804728932_1Enable.jpg.01537c4a01fb044854e32dd64a8aa93b.jpgThe global file pairs slots with keys. Chances are some powers will  have a reason to alter how a bind functions. The Details matter but, those couple of binds easily layer over the shared foundation. I don't have to remember how I set them up to actually work, if I get an icon in the right slot to remind me which key gets things started. Generally speaking, travel can still go here, defense and resist stay together, kaboom goes over there and, "OH #?@*!" is in slot 10 8. Trusty ol' CTRL+SPACE. the icons might be fake or no longer be triggered by a bind but, as long as it's there, I'll know what key to press. My 7th (or, 9th? I can't remember) lvl50, a beam/bio corrupter, only has 10 command lines in their general bind file. 7 of them are Nop.   

 

 

What's that have to do with the Razer Tray?

I'll cover more on that in the next installment but in the simplest of terms, this set of binds allows me to essentially see 40 slots at once. That's 10 more than the main tray window while only taking up about 1/3 of the real estate at the same scale.  The two, together, open up all kinds of possibilities.

 

 

TheButton.jpg.d30cf90a28c2cb0de76b4719d4bd7c5a.jpg

When you only get 1 shot, do not miss your chance to blow. Opportunity comes once in a lifetime, so...you need

THE BUTTON!!!

Razer Tray Binds

I use 9 as my default tray. it covers my no chord binds. I like it because it's the last tray a temporary power is going to show up in.  When I press and hold the LALT key, the Razer flips to Power tray 6, LSHIFT flips to 7 and LCTRL to 8. These are arbitrary assignments, easily edited to suit your needs.           

 

 

 

 

 

 

Version 1.1

K.txt

C:\<RootInstall>\data\K.txt 

Included in a global bind file insures the bind set will be initialized after resetting or loading an alternate build file.

Spoiler

LALT "-$$GoToTray 9$$GoToTray 6$$BindLoadFileSilent !/Razer/LALT.txt"
LCONTROL nop
LCTRL "-$$GoToTray 9$$GoToTray 8$$BindLoadFileSilent !/Razer/LCTRL.txt"
LSHIFT "-$$GoToTray 9$$GoToTray 7$$BindLoadFileSilent !/Razer/LSHIFT.txt"
CONTROL+SCROLL "ChanSend nop ||Below are examples of potential redundancies||"
Q "+TurnLeft$$GoToTray 9"
W "+forward$$PlayerTurn$$GoToTray 9"
E "+TurnRight$$GoToTray 9"
A "+Left$$GoToTray 9"
S "+Backward$$GoToTray 9"
D "+Right$$GoToTray 9"
Z "PowExecUnQueue$$UnSelect$$PowExecAbort$$e none$$GoToTray 9"
X "+Down$$GoToTray 9"
SPACE "+up$$GoToTray 9"

 

Examples of redundancies are shown, following line 5. They aren't required however, in the event something gets hung up, forcing binds to fall out of sync,  simply moving your character would resolve the issue if all of these were used. This isn't necessarily a frequent problem however, the more these are peppered throughout the active binds, the less likely an issue would even be noticed. 

 

Chord Keys

There are 3 files, the global bind files point to, 1 for each Chord. They hold the Chord's Tray until released. Each file only has one command line and, they're nearly identical so, I'm combining them here. 

Spoiler

C:\<RootInstall>\data\!\Razar\LALT.txt


LALT "+$$GoToTray 9$$BindLoadFileSilent !/Razer/Open.txt"

C:\<RootInstall>\data\!\Razar\LCTRL.txt


LCTRL "+$$GoToTray 9$$BindLoadFileSilent !/Razer/Open.txt"

C:\<RootInstall>\data\!\Razar\LSHIFT.txt


LSHIFT "+$$GoToTray 9$$BindLoadFileSilent !/Razer/Open.txt"

 

 

 

Open.txt

C:\<RootInstall>\data\!\Razar\Open.txt

The basic set has one last file which mirrors the original global binds toggles.  This serves two purposes; 1.  It reduces the data that needs to load, per request.  2. Once initialized, the set functions autonomously without interference to, or from, other bind sets in use. 

Spoiler

LALT "-$$GoToTray 9$$GoToTray 6$$BindLoadFileSilent !/Razer/LALT.txt"
LSHIFT "-$$GoToTray 9$$GoToTray 7$$BindLoadFileSilent !/Razer/LSHIFT.txt"
LCONTROL nop
LCTRL "-$$GoToTray 9$$GoToTray 8$$BindLoadFileSilent !/Razer/LCTRL.txt"

 

 

 

So, that concludes the basic set. As I continued to use the Razer tray, I couldn't help notice the similarity to the №Pad. In the next installment. I'll go over my first pass at connecting the two and an advanced version, inspired by actually seeing the Naga Mouse.  In the meantime, hopefully this is as entertaining for some of you, as it has been for me. 

 

 

Where's Razer?

Tiny.jpg.23b8aa5f11e522e64cb1cea01eedc2f0.jpg

Clicking the checkbox in the options menu, seems to be the only way to show/hide the tray. Using wdwload can tuck it away (as shown above), but it's still enabled as the primary tray.

 

Glossary
What I mean when I say words

Spoiler

PopOut:  Short for PopOut Tray
PopOut Tray:  1 of 8 single-Tray Windows that can scroll through the 9 Power Trays. Despite alpha settings (and baring some unsupported hacks)  in the wdw file, PopOuts default behind all other window types, following a numerical hierarchy setting PopOut1 the furthest back.    

PowerTray:   One of the 9, 

Razer:   Short for Razer Naga Tray

Tray Window:   The collapsible 3-tier docking window.

Tray:   Uh oh. It could have meant any of the above? Technically, it's both, the wdw name for the Tray Window and the Command to show or hide it however, it slips out as a generic term for any of the trays above. I've tried to not do that.   

 

Razer_1-1.rar

Edited by qwy
the table vanished

Guides

MMPetMouseExpanded MM Numpad Controls | Chain Attack Assitant | Load/SaveFile - Relative Paths | KeyBindReset - Basics Of Going Global.

SGMusic.mnu - Popmenu Audio Player for your SG Base

See my profile for some of my other projects.  

Link to comment
Share on other sites

  • 1 month later

By any chance do you know the in game NAMES for the 12 side buttons on a Razer Naga X?
I just got one yesterday, and unless I write /macros and drop it in tray 1, I can't seem to assign powers to the buttons.
( i.e. BUTTON4 and BUTTON5 are recognized as the two thumb buttons on the deathadder elite, but are there NAMES for the 12 side buttons that work in game?)
Especially Tray 5....   i know alt-tray, ctrl-tray,  but I feel I am missing something, or there should be an easier way...

Do those buttons have names in COH?

Link to comment
Share on other sites

On 3/3/2021 at 7:06 AM, Vulpoid said:

By any chance do you know the in game NAMES for the 12 side buttons on a Razer Naga X?
I just got one yesterday, and unless I write /macros and drop it in tray 1, I can't seem to assign powers to the buttons.
( i.e. BUTTON4 and BUTTON5 are recognized as the two thumb buttons on the deathadder elite, but are there NAMES for the 12 side buttons that work in game?)
Especially Tray 5....   i know alt-tray, ctrl-tray,  but I feel I am missing something, or there should be an easier way...

Do those buttons have names in COH?

 

I've never actually used that kind of mouse, but I don't think so. I put the binds, in the first post, together before I even realized the connection. I also put some NumPad versions because of the visual similarities. When it finally clicked, I did a lot of search to try and justify spending the $100. I was already pretty invested, so I was really trying to convince myself. The wiki has the only mention of operation, I've seen. I found a few articles like this one, with links to pages that were probably taken down when Live was.

 

All the wiki says is, 11 and 12 scroll through the trays, and 1-10 trigger the corresponding slot on the displayed tray. No mention of how it does it, or if there's anything else it can do. If your mouse isn't doing that inherently, there might have been something that unlocked the function, like a CD that came in the box, or a download through Razer's software, at the time. With the lack of information, and the similarity to the NumPad, instead of the mouses layout, I half expect that mapping was the plan.  If that's all there is to it, the only advantage over the binds I was already using was keeping the hands on the mouse, and direction keys. That realization inspired my final version, which accomplishes the same end.


Since you have the mouse, one of my number pad sets would probably help save you some time, if it comes to mapping to the keyboard. With a modifier, you can spare open keys. I was planning to write up other versions to the reserved slots, below my post, anyway.  I just haven't decided which versions or bothered to write up anything. Let me know how you want see the mouse buttons working, I'll post my closest set.

 

  • Thanks 1

Guides

MMPetMouseExpanded MM Numpad Controls | Chain Attack Assitant | Load/SaveFile - Relative Paths | KeyBindReset - Basics Of Going Global.

SGMusic.mnu - Popmenu Audio Player for your SG Base

See my profile for some of my other projects.  

Link to comment
Share on other sites

  • 2 weeks later
On 3/4/2021 at 4:06 AM, Vulpoid said:

By any chance do you know the in game NAMES for the 12 side buttons on a Razer Naga X?
I just got one yesterday, and unless I write /macros and drop it in tray 1, I can't seem to assign powers to the buttons.
( i.e. BUTTON4 and BUTTON5 are recognized as the two thumb buttons on the deathadder elite, but are there NAMES for the 12 side buttons that work in game?)
Especially Tray 5....   i know alt-tray, ctrl-tray,  but I feel I am missing something, or there should be an easier way...

Do those buttons have names in COH?


The CoH engine only ever supported BUTTON4 and BUTTON5 - you could bind to numbers 6 and higher but the engine didn't recognise how to use them.

  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...