Jump to content

Binds, Macros and useful info.


Healix

Recommended Posts

On 10/8/2020 at 2:05 PM, Nerio72 said:

Someone should write a macro to move it to the right. 😉

 

I actually have a very similar workaround. My customWindow is just one button called "Setup", which I programmed to create all the macro buttons I want. At toon creation, I create a vertical tray on the right side and drop all my desired macro buttons on to there, then use the macro buttons from then on.

Link to comment
Share on other sites

  • 3 months later
On 5/9/2019 at 4:06 AM, Healix said:

Inside custom.window, add this text:

 

Code: [select]

_____________________________

Window Macros 0 0 200 100

Open 1

End

_____________________________

What are these parameters?  I understand that 0 0 means top left corner, but I don't want my custom window in the top left corner.  When I drag the window to a new location, it will stay there... kind of.  Meaning when I enter a new zone or mission instance, it may move around some.  Also, the numbers inside the file will change after moving the window around, but I cannot decipher the value changes.

Link to comment
Share on other sites

  • 3 months later
On 6/12/2019 at 8:18 PM, sarikvaster said:

 

So i tired that and it hasn't worked. I make the "data" and "customwindows" folders.  In game I did "/customewindow Macros" and all i got was a small box that said Macros, and nothing appeared in the folder.

edited-image_zpsrzucaynp.png

You have an "s" on the end of the folder you created, so you have to either remove the "s" or add it to the name of your macro. That is my guess.

Link to comment
Share on other sites

  • 2 weeks later

If I have multiple custom windows defined, is there a way to toggle one or more of them off?  Like, if I define one for each of my alts, can I make all but one disappear on a given character?  

Horizon Twilight, The Chernobyl Effect, XLR Mk8, Dodgeball, and a host of other alts all hanging out on Everlasting.

Link to comment
Share on other sites

Here's the Way I have mine working, and It's still Epic.. Everything is under the DATA folder.. You might have to add the Text Folder to add the list.. Here's the Examples.

custom.window

Within the Custom.window custom.png.4852b29059bce9fa1dce51fe2d708f12.png

Quote

Window "Ashlocke's Menu" 0.6789 0.7287 114 47
    Button "Handy Menu" "Popmenu AHM"
    Open 1
End

 

 

Also, You may have to create a folder Text - English - Menus - Then the .mnu within the menu folder

A Handy menu.mnu

Text.png.9af336208b3da820e9f14876b08cae0d.pngFeel Free to modify the script below.. It works for me, but everyone's got their thing

Quote

// A Handy menu
Menu "AHM"
{
    Title "A Handy Menu"
        Divider
        Option "&1 Sell" "ah"
        Option "&2 Vault" "toggle vault$$toggle salvage"
        Option "&3 Oro" "powexec_location forward:10 Ouroboros Portal"
        Option "&4 Pocket" "powexecname Pocket D VIP Pass"
        Option "&5 Base Transporter" "powexecname Base Transporter"
        Divider
        Option "&6 Portable Workbench" "powexec_location forward:10 Portable Workbench"
        Option "&7 Dismiss All Pets" "petcomall dismiss"
        Option "&8 Alt" "quittocharacterselect$$dialog_yes"
        Divider
        Option "&9 Quit" "quit$$dialog_yes"
        Divider
    Menu "Powers Menu"
    {
        Title "Powers"
        Divider
        
        Option "Mission Transporter" "powexecname Mission Transporter"
        Option "Assemble The Team" "powexecname Assemble the team"
        Option "Team Transporter" "powexec_location forward:10 Team Transporter"
        Divider
        Option "Shadowy Presence" "powexecname Shadowy Presence"
        Divider
        Option "Self Destruction" "powexecname Self Destruction"
        Divider
        Option "Return to Battle" "powexecname Return to Battle"
    }
    Divider
    Menu "Chat Menu"
    {
        Title "Chat Menu"
        Divider
        Option "Clear All Chat History" "clearchat"
        Option "Anti Mistell Feature" "t $name, Now you will mistell replies to yourself instead!"
        Divider
        Option "Chat Window Default Size" "window_scale chat 1"
        Option "Chat Window Large" "window_scale chat 2.0"
        Option "Chat Window Minimal" "window_scale chat 0.8"
        Divider
        Option "Your custom channels" "watching"
        Option "Get Player's Global Name" "Beginchat /get_global_name LocalNameGoesHere"
        Option "Get Player's Local Name" "Beginchat /get_local_name @GlobalNameGoesHere"
    }
    Divider
    Menu "Character Menu"
    {
        Title "Character Menu"
        Divider
        Option "Invite Alt to SG" "beginchat /altinvite "
        Divider
        Option "Exit Mission" "requestexitmission 1"
        Option "QUIT ALL/RESET MISSION" "teamquitinternal"
    }
    Divider
    Menu "Technical Menu"
    {
        Title "Technical Menu"
        Divider
        Option "Screenshot No UI" "screenshotui 0"
        Option "Screenshot Show UI" "screenshotui 1"
        Divider
        Option "FPS and Netgraph" "++netgraph$$++showfps"
        Option "Reload Graphics" "reloadgfx"
        Divider
        Option "Draw Distance Default" "vis_scale 1"
        Option "Draw Distance 2x" "vis_scale 2"
        Option "Draw Distance 3x" "vis_scale 3"
        Option "Draw Distance 4x" "vis_scale 4"
        Option "Draw Distance 5x" "vis_scale 5"
        Divider
        Option "Sync To Server" "Sync"
        Option "Anti Lag Setting 1" "neterrorcorrection 1"
        Option "Anti Lag Setting 2" "neterrorcorrection 2"
    }
}

 

 

Which ends with this!IMG_0638.thumb.jpg.f9b29d53625e177dd06398a52d7142ed.jpgIMG_0639.thumb.jpg.1a1219c0e4edf2dbf2939987e550b459.jpg

Good Hunting Mate!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Also, Coh/Cov Technical Manual - Binds/Macros and all the Magic

CoX-Technical-Guide-v3.06.pdf

Edited by choake
Resources! DeRp
  • Thanks 1
Link to comment
Share on other sites

  • 10 months later

Is there a command you can type in that when you are in a certain chat tab it will say your name and level? Such as our SG has its own chat room, when I type in there I want it to read "Global name": (current hero being played, level).

 

I remember there used to be a macro or something you could put in that it would automatically do that everytime you tried to chat when the game was live but can't remember the coding for it.

  • Thumbs Up 1
Link to comment
Share on other sites

/bind F10 "beginchat /send "Global" [as $Name- $ArchEtype, $level]"

From way back when. - you can do a variety of things from there, also you can change the Global to whatever chat location you want 🙂

/bind [key] "beginchat <color red><bgcolor black><border blue>

or 

/bind ENTER "show chat$$afk Speaking, excuse me...$$startchat [$level $name $archetype]"

Also this is a great resource to find all sorts of amazing macros and bind trickery Macro Bind Hub - shenanigunnerDOTcom

I use different bind keys for the different chat channels as well. 

/bind BACKSPACE "autoreply"
**differentiates beween the last tell you received and the last one you sent

/bind CTRL+BACKSPACE "tell_last"
**starts a reply to the last tell you were sent

/bind ALT+BACKSPACE "t $target, "
**opens a quick tell to any player you have targeted, like the one who just gave you a passing buff
or heal.

Kind of Rusty at crafting, I have them all saved in a keybind file I load 🙂 Hopefully this helps! Good hunting

Edited by choake
Clarity
  • Like 1
Link to comment
Share on other sites

42 minutes ago, arcangl72 said:

Is there a command you can type in that when you are in a certain chat tab it will say your name and level?

 

The variable codes for displaying your name and level (respectively) in chat are:

$name
$level

 

choake's post above has some usage examples. The variables page on the HCWiki has a list of all the available chat variables.

  • Like 1
Link to comment
Share on other sites

20 minutes ago, AboveTheChemist said:

 

The variable codes for displaying your name and level (respectively) in chat are:

$name
$level

 

choake's post above has some usage examples. The variables page on the HCWiki has a list of all the available chat variables.

I know those will post it in the chat but Im looking for a permanent way so that everytime I chat it will always post the current name and level.

Link to comment
Share on other sites

27 minutes ago, choake said:
/bind F10 "beginchat /send "Global" [as $Name- $ArchEtype, $level]"

From way back when. - you can do a variety of things from there, also you can change the Global to whatever chat location you want 🙂

/bind [key] "beginchat <color red><bgcolor black><border blue>

or 

/bind ENTER "show chat$$afk Speaking, excuse me...$$startchat [$level $name $archetype]"

Also this is a great resource to find all sorts of amazing macros and bind trickery Macro Bind Hub - shenanigunnerDOTcom

I use different bind keys for the different chat channels as well. 

/bind BACKSPACE "autoreply"
**differentiates beween the last tell you received and the last one you sent

/bind CTRL+BACKSPACE "tell_last"
**starts a reply to the last tell you were sent

/bind ALT+BACKSPACE "t $target, "
**opens a quick tell to any player you have targeted, like the one who just gave you a passing buff
or heal.

Kind of Rusty at crafting, I have them all saved in a keybind file I load 🙂 Hopefully this helps! Good hunting

I know there is a way to bind it to a button but I could have sworn there was a comman line that could be put in back when it was live that it automatically did that for you everytime you chatted.

 

Link to comment
Share on other sites

  • 10 months later

With the newer Homecoming Launcher and the change to the file structure underneath it as a result, and with the actual game directory being DRIVE:\Homecoming\bin\win64\live\cityofheroes.exe, where should the \data\customwindows folder go? If I put it under \win64\live then I get launcher errors.

image.png.586b7a6045d7cfa46c1dd23235f1becd.png

Link to comment
Share on other sites

  • 10 months later
On 5/25/2019 at 6:08 PM, Healix said:

When you send a remark to the global window, you can let folks know what character you are on, what level and what AT. Easy to copy/paste into the chat bar, enter.

 

(I chose F10 to bind it, but you can use whatever you wish)

 

/bind F10 "beginchat /send "Global" [as $Name- $ArchEtype, $level]"

 

 

 

 

Is there a variable to tell people what zone you are in?  For instance /bind F10 "begin chat /send "Global" [as $Name- $ArchEtype, $level, $zone]  ($zone or whatever the command is, letting people know you are in Atlas Park, Skyway, Steel etc.)?

Link to comment
Share on other sites

12 hours ago, tjjano33 said:

Is there a variable to tell people what zone you are in?

 

As far as I know, there is not. Going off the example you gave with the /beginchat bind, I'd just leave a space for the zone at the end and type it in manually before you hit enter to send the chat.

Link to comment
Share on other sites

(For short)          /vis_scale 4

(For long)           /vis_scale 20

 

Nice QoL macro that I type into all my new toons. Go someplace that has a far Line of Sight to see what best works for you.

Being constantly offended doesn't mean you're right, it just means you're too narcissistic to tolerate opinions different than your own.

 

With Great Power Comes Great Responsibility.

 

Let's Go Crack a Planet.

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...