Macroing 102 - A Complete Guide to CM Keybindings

Player-made guides on how stuff works.
User avatar
Jay Burns
Registered user
Posts: 409
Joined: 01 Jun 2016, 13:17
Location: Some place on earth

Re: Macroing 102 - A Complete Guide to CM Keybindings

Post by Jay Burns » 09 Sep 2016, 21:43

Casany wrote: i ONLY take a shotgun and put pistols in my armor and backpack, and use the unique action button inside the weapons tab

But doesn't that make you shoot slower and be less efficient?

User avatar
forwardslashN
Community Contributor
Community Contributor
Posts: 2495
Joined: 14 Dec 2015, 23:12
Byond: forwardslashN

Re: Macroing 102 - A Complete Guide to CM Keybindings

Post by forwardslashN » 09 Sep 2016, 21:58

username123 wrote: Is there a way to .click damage-zone? i wanted to make a macro to quickly heal marines as medic with brute kits by just using the macros while i quickly click the marines without the need of using the health analyzer, i tried .click chest/head/groing and it didn't work, but for some reason, .click damage-zone is a macro, but it won't do anything.
You can't macro .click them directly. They are referenced in code with pixel positions, so someone would need to change how that works in order for you to individually target them.
Image
The ambivalent giant white baldie in a jungle near you.

User avatar
Casany
Registered user
Posts: 1555
Joined: 06 Jun 2016, 09:18
Location: US of A
Byond: Casany
Steam: Casany

Re: Macroing 102 - A Complete Guide to CM Keybindings

Post by Casany » 09 Sep 2016, 23:12

Jay Burns wrote:
But doesn't that make you shoot slower and be less efficient?
Yes, but it also makes my reflexes faster, since i have to move my mouse and click really fast. i see it better then macros
"He killed me with a SADAR and it was bullshit. We should ban him for ERP because of how VIOLENTLY HE FUCKED ME" - Biolock, Saturday 15 October 2016

"Sometimes you need to stop and enjoy the little things in life, for one day you'll look back and realize they were big things"

"To quote Suits A cop follows a car long enough, he's gonna find a busted tail light. And even if he doesn't, he's gonna bust it himself." - Awan on being an MP

User avatar
Jay Burns
Registered user
Posts: 409
Joined: 01 Jun 2016, 13:17
Location: Some place on earth

Re: Macroing 102 - A Complete Guide to CM Keybindings

Post by Jay Burns » 09 Sep 2016, 23:21

Yes, but it also makes my reflexes faster, since i have to move my mouse and click really fast. i see it better then macros[/quote]


guess that works.

User avatar
Rob606
Registered user
Posts: 188
Joined: 05 May 2016, 12:59

Re: Macroing 102 - A Complete Guide to CM Keybindings

Post by Rob606 » 12 Sep 2016, 18:25

Not sure what I'm doing wrong, adding
, .click
to the 'key' section and
Eject-magazine\nActivate-Held-Object\nSwap-Hand\say "Reloading!"
to the 'command' section, then hitting okay - and it doesn't come up on the list. What gives?
Gristle McThornbody

User avatar
forwardslashN
Community Contributor
Community Contributor
Posts: 2495
Joined: 14 Dec 2015, 23:12
Byond: forwardslashN

Re: Macroing 102 - A Complete Guide to CM Keybindings

Post by forwardslashN » 16 Sep 2016, 12:09

Rob606 wrote:Not sure what I'm doing wrong, adding
, .click
Isn't a key.
,
is.

Similarly,
Eject-magazine\nActivate-Held-Object\nSwap-Hand\say "Reloading!"
Isn't a valid command.
.click Eject-magazine\nActivate-Held-Object\nSwap-Hand\say "Reloading!"
is.
Last edited by forwardslashN on 16 Sep 2016, 12:11, edited 1 time in total.
Image
The ambivalent giant white baldie in a jungle near you.

User avatar
Rob606
Registered user
Posts: 188
Joined: 05 May 2016, 12:59

Re: Macroing 102 - A Complete Guide to CM Keybindings

Post by Rob606 » 16 Sep 2016, 12:11

ahh, so I add the .click to the command instead of the key?

Thanks, I'll give it a try.

edit - as a question, does it matter that I've added these macros to the macros.cmf file rather than in the CM client?
Gristle McThornbody

User avatar
forwardslashN
Community Contributor
Community Contributor
Posts: 2495
Joined: 14 Dec 2015, 23:12
Byond: forwardslashN

Re: Macroing 102 - A Complete Guide to CM Keybindings

Post by forwardslashN » 16 Sep 2016, 21:46

Rob606 wrote:ahh, so I add the .click to the command instead of the key?

Thanks, I'll give it a try.

edit - as a question, does it matter that I've added these macros to the macros.cmf file rather than in the CM client?
Do you mean the .dmf file? If so, it doesn't matter.
Image
The ambivalent giant white baldie in a jungle near you.

User avatar
SagaSword
Registered user
Posts: 586
Joined: 02 Aug 2015, 19:58
Byond: Sagasword

Re: Macroing 102 - A Complete Guide to CM Keybindings

Post by SagaSword » 23 Sep 2016, 08:06

Casany wrote:I've never used a macro a day in my life...
It is that moment in life you know...We are fucked.
The Greatest Memer of all time!
Image
https://www.youtube.com/watch?v=VfsFV7VGBzI

Fritigern
Registered user
Posts: 256
Joined: 07 Jan 2016, 13:20

Re: Macroing 102 - A Complete Guide to CM Keybindings

Post by Fritigern » 26 Sep 2016, 10:51

Macros are pretty much essential to being robust as a marine these days. The quick(er) reloads in a firefight are nice, as well as the single button press swap between weapons, which is kind of essential when you get knocked down and stunned so often.

I've heard talk of crazy double pistol and SMG macros but I'm guessing those are done with third party macro programs given the input delay with byond.

What about auto targeting hunter/runner pounce macros? I heard people mention it but I didn't think it was possible, unless there was a way to have byond register the position of player sprites or something. Anyone know anything about that?

User avatar
Youbar
Registered user
Posts: 334
Joined: 14 Dec 2014, 22:08

Re: Macroing 102 - A Complete Guide to CM Keybindings

Post by Youbar » 30 Nov 2016, 20:12

I've been fiddling with macros a bit more recently, and there's two issues I'm experiencing.

The first is that you can only remove ammo from your pockets, or other parts of the UI that are immediately visible. Backpack, armour, webbing, belts, and so on, do not register when using a macro, making removing objects from them impossible. Is there any fix to this?

The second is that, for some reason, "handful of shotgun slugs (12g)" does not translate to "handful-of-shotgun-slugs-(12g)". Even with the ammo within the pocket, it cannot be .click'd. Is this a bug, or does the item go by another name code-wise?
This appeared to fix itself on server restart.
This was not fixed on server restart. It appears that if you place two invalid commands before a valid command, the macro does not work. For example, telling it to click incendiary slugs, followed by buckshot, followed by standard slugs, with only standard slugs, will cause it to fail to work.
"Man with one chopstick go hungry."
- Chinese Proverb

User avatar
forwardslashN
Community Contributor
Community Contributor
Posts: 2495
Joined: 14 Dec 2015, 23:12
Byond: forwardslashN

Re: Macroing 102 - A Complete Guide to CM Keybindings

Post by forwardslashN » 01 Dec 2016, 06:42

There is a built in click cooldown for anything but UI elements. So clicking items would mean it's triggered on the first item you click on, meaning it will fail on the rest. You can't click anything that you cannot see, such as items hidden in backpacks that do not show up on the UI. The same way you can't click something outside of your client's view.
Image
The ambivalent giant white baldie in a jungle near you.

User avatar
Miranda
Registered user
Posts: 118
Joined: 09 Sep 2015, 04:52

Re: Macroing 102 - A Complete Guide to CM Keybindings

Post by Miranda » 04 Feb 2017, 16:43

Step 1>Activate-Held-Object\nSwap-Hand\n.click drop
Step 2>.click M44-magnum-speed-loader-(.44)
Step 3>.click M44-combat-revolver\n.click drop\nSwap-hand\nActivate-Held-Object

Macro for autoreloading magnum. With cooldowns for item thats probably it eh?
Last edited by Miranda on 04 Feb 2017, 17:17, edited 2 times in total.

User avatar
Miranda
Registered user
Posts: 118
Joined: 09 Sep 2015, 04:52

Re: Macroing 102 - A Complete Guide to CM Keybindings

Post by Miranda » 04 Feb 2017, 17:02

forwardslashN wrote:There is a built in click cooldown for anything but UI elements. So clicking items would mean it's triggered on the first item you click on, meaning it will fail on the rest. You can't click anything that you cannot see, such as items hidden in backpacks that do not show up on the UI. The same way you can't click something outside of your client's view.
can we use some "sleep" command to make up for this cooldown problem?

User avatar
forwardslashN
Community Contributor
Community Contributor
Posts: 2495
Joined: 14 Dec 2015, 23:12
Byond: forwardslashN

Re: Macroing 102 - A Complete Guide to CM Keybindings

Post by forwardslashN » 04 Feb 2017, 17:19

Miranda wrote:can we use some "sleep" command to make up for this cooldown problem?
You cannot sleep during a macro, without outside programs.
Image
The ambivalent giant white baldie in a jungle near you.

User avatar
Miranda
Registered user
Posts: 118
Joined: 09 Sep 2015, 04:52

Re: Macroing 102 - A Complete Guide to CM Keybindings

Post by Miranda » 04 Feb 2017, 18:20

forwardslashN wrote:You cannot sleep during a macro, without outside programs.
no command to make up for the cooldown delay(that's what i meant by "sleep") when clicking items?
Can we like Activate-Held-Object many times?

well i made a macro for reloaring standart weapons but it 3 buttons long <__<

User avatar
forwardslashN
Community Contributor
Community Contributor
Posts: 2495
Joined: 14 Dec 2015, 23:12
Byond: forwardslashN

Re: Macroing 102 - A Complete Guide to CM Keybindings

Post by forwardslashN » 05 Feb 2017, 09:54

That's not possible with standard macros.
Image
The ambivalent giant white baldie in a jungle near you.

User avatar
Rob606
Registered user
Posts: 188
Joined: 05 May 2016, 12:59

Re: Macroing 102 - A Complete Guide to CM Keybindings

Post by Rob606 » 12 Feb 2017, 22:24

Well, with the recent nerf to .click, how are people adjusting their quality of life macros?
Gristle McThornbody

User avatar
KingKire
Registered user
Posts: 893
Joined: 30 May 2016, 11:53

Re: Macroing 102 - A Complete Guide to CM Keybindings

Post by KingKire » 17 Feb 2017, 21:25

reloading revolvers and grabbing throwing knives from belts are no longer beuno :(
Gaze upon me,
for I have wandered deep into the ancient tombs of knowledge to which lie madness and sorrow, cleansing a path for all those who walk behind me...


...

But seriously, does uh, anyone know the way out?!


~Furthermore, I consider that Floodlights should no longer be destroyed.~

User avatar
Crab_Spider
Registered user
Posts: 2114
Joined: 20 Aug 2016, 15:52
Byond: Krab_Spider

Re: Macroing 102 - A Complete Guide to CM Keybindings

Post by Crab_Spider » 17 Feb 2017, 22:42

Rob606 wrote:Well, with the recent nerf to .click, how are people adjusting their quality of life macros?
Doesn't work. I can no longer be of any purpose and my ability to grab my mag harnessed gun is severely dampened by the delay.
You will never be as bad as the baldie who picked up a tactical shotgun while a hunter was pouncing on top of a CMO for 4 seconds, with his only response being to pace around before being decap'd by said hunter. You are not Brett Kimple, and you never will be. You are not the reason why I regular MP.

I am John "Buckshot" Rhodes, the Tactical Snowflake Hunter

User avatar
Dolth
Registered user
Posts: 1470
Joined: 30 Apr 2015, 14:48
Location: Brig probably
Byond: Pette

Re: Macroing 102 - A Complete Guide to CM Keybindings

Post by Dolth » 17 Mar 2017, 14:56

I am trying to get a macro to draw M41A from suit-storage, I currently managed to put M41A in the suit, but can't manage to take it out with a macro, would need some help. Expected macro : One button to put M41A in the back, drawing flamer from suit storage. And the opposite.
New signature 03/10/2018
► Show Spoiler

User avatar
Crab_Spider
Registered user
Posts: 2114
Joined: 20 Aug 2016, 15:52
Byond: Krab_Spider

Re: Macroing 102 - A Complete Guide to CM Keybindings

Post by Crab_Spider » 17 Mar 2017, 14:58

Dolth wrote:I am trying to get a macro to draw M41A from suit-storage, I currently managed to put M41A in the suit, but can't manage to take it out with a macro, would need some help. Expected macro : One button to put M41A in the back, drawing flamer from suit storage. And the opposite.
Unfortunately, such a macro is obsolete with a recent disable for .click macros, and there is currently no way to do such a thing.
You will never be as bad as the baldie who picked up a tactical shotgun while a hunter was pouncing on top of a CMO for 4 seconds, with his only response being to pace around before being decap'd by said hunter. You are not Brett Kimple, and you never will be. You are not the reason why I regular MP.

I am John "Buckshot" Rhodes, the Tactical Snowflake Hunter

User avatar
Dolth
Registered user
Posts: 1470
Joined: 30 Apr 2015, 14:48
Location: Brig probably
Byond: Pette

Re: Macroing 102 - A Complete Guide to CM Keybindings

Post by Dolth » 17 Mar 2017, 15:28

You realize the .click to put a weapon in suit storage currently works? So far it'll be a gain of time to switch between two weapons, yet I'll still have to go and seek the backup weapon itself with a click. Sigh.
New signature 03/10/2018
► Show Spoiler

User avatar
Crab_Spider
Registered user
Posts: 2114
Joined: 20 Aug 2016, 15:52
Byond: Krab_Spider

Re: Macroing 102 - A Complete Guide to CM Keybindings

Post by Crab_Spider » 17 Mar 2017, 15:29

Dolth wrote:You realize the .click to put a weapon in suit storage currently works? So far it'll be a gain of time to switch between two weapons, yet I'll still have to go and seek the backup weapon itself with a click. Sigh.
Well .click macros were disabled for mobs/environment, but they still work for your UI. Sorry for that mistake.
You will never be as bad as the baldie who picked up a tactical shotgun while a hunter was pouncing on top of a CMO for 4 seconds, with his only response being to pace around before being decap'd by said hunter. You are not Brett Kimple, and you never will be. You are not the reason why I regular MP.

I am John "Buckshot" Rhodes, the Tactical Snowflake Hunter

User avatar
Dolth
Registered user
Posts: 1470
Joined: 30 Apr 2015, 14:48
Location: Brig probably
Byond: Pette

Re: Macroing 102 - A Complete Guide to CM Keybindings

Post by Dolth » 18 Mar 2017, 00:28

Then it's do-able. I'll work more onto it. If it works then it might be a very useful macro for every marines swapping between two weapons (One key to holster current weapon and to immediatly draw the backup), I'll update as soon as I manage to do it.
New signature 03/10/2018
► Show Spoiler

Post Reply