Jump to content

- - - - -

Macro's


30 replies to this topic

#21 Tier5 Kerensky

    Member

  • PipPipPipPipPipPipPipPipPip
  • Bridesmaid
  • 2,051 posts

Posted 07 September 2016 - 12:55 PM

View PostBoogie138, on 07 September 2016 - 11:12 AM, said:

As far as AC2s - set up 2 or 3 different firing groups with all of your AC2s assigned to each one. Set each group to chain fire. Now press down and hold trigger group 1, then approx a quarter second later press group 2, then do the same to group 3. Bada bing bada boom, you get the rapid fire macro effect without using a macro.


Yes, but it requires lots of mouse buttons to easily use it, specially so if you have other weapons as well.

#22 S 0 L E N Y A

    Member

  • PipPipPipPipPipPipPipPipPip
  • Ace Of Spades
  • Ace Of Spades
  • 2,031 posts
  • LocationWest Side

Posted 07 September 2016 - 01:12 PM

View PostTeer5, on 07 September 2016 - 12:55 PM, said:


Yes, but it requires lots of mouse buttons to easily use it, specially so if you have other weapons as well.


depends on the mech and payload, some can do it with just 2 buttons. What I posted was just a generic example.

The point being is that a macro is not necessary to achieve the "rapid burst" autocannon effect, and its just one of many reasons people who cry "macros are a form of cheating!" need to just STFU, unless they would also claim that people who have better gaming hardware are cheating too.

But in general you are correct, which is why I originally stated that macros are a good option for those without a multi-button gaming mouse, and not necessarily just for autocannon chicanery.

Edited by Boogie138, 07 September 2016 - 01:14 PM.


#23 TooDumbToQuit

    Member

  • PipPipPipPipPipPipPipPip
  • The Death Wish
  • 1,539 posts

Posted 07 September 2016 - 01:33 PM

An example of one of my Micros is on my BrawlerBear.

It fires 4 SRM 6's in sequence and then my LBX 20. I want the missile to hit first then the LBX. For me, they are more about heat issues and my hand problems. Just typing hurts so bad.

I have found that I can use buttons on my G13 Gamepad.

A friend just told me about something called VoiceAttack that I want to look into if for no other reason, it sounds funny as heck. You can talk to your mech and even have it talk back...LOL.

https://voiceattack.com/

#24 Oldbob10025

    Member

  • PipPipPipPipPipPipPip
  • Rage
  • Rage
  • 831 posts
  • Facebook: Link
  • Twitter: Link
  • Twitch: Link
  • LocationOldfolks home

Posted 07 September 2016 - 02:33 PM

View PostLikeUntoGod, on 07 September 2016 - 01:33 PM, said:

An example of one of my Micros is on my BrawlerBear.

It fires 4 SRM 6's in sequence and then my LBX 20. I want the missile to hit first then the LBX. For me, they are more about heat issues and my hand problems. Just typing hurts so bad.

I have found that I can use buttons on my G13 Gamepad.

A friend just told me about something called VoiceAttack that I want to look into if for no other reason, it sounds funny as heck. You can talk to your mech and even have it talk back...LOL.

https://voiceattack.com/


Yea I had a Twitch streaming friend use it on our streams with Star Trek Onlinand its awesome but a pain to set up, but its really cool to say "red alert" and your shields would come up and arm all your weapons..

View PostBarkem Squirrel, on 06 September 2016 - 12:37 PM, said:

What if I told you that, you do not need no stinking macro's?

How about we show people how to use what is in the game to do what macros do? I learn how to do that back when the phoenix package came out.

I have used a macro for about a week or two, but went back to just setting up weapon groups and chain fire. Here are some examples by MoltenMetal and Snuggles Time.



More Dakka! Shadowhawk SHD-2H - Mechwarrior Online


MWO: Fire control macro pt 2, why it's not considered cheating


MWO: Fire Control Macro




After messing around with the controls not using a macro program and watching these guys you can really do it.. Its easy

#25 SolCrusher

    Member

  • PipPipPipPipPipPipPip
  • The 1 Percent
  • The 1 Percent
  • 626 posts
  • LocationEast Coast

Posted 07 September 2016 - 03:39 PM

I don't play anymore but from looking at firecontrol it's just usings Autohotkeys ability to make an .exe and the guy named it firecontrol.exe I had a very involved macro that I used. this lets use rotate through fire solutions for those of you that love running different mechs.




#InstallKeybdHook
#InstallMouseHook

;These next 2 lines make it so the script is only active within the mechlab and match window
#IfWinActive, ahk_class CryENGINE
#IfWinActive MechWarrior Online

F12::Suspend ;This makes the "F12" key turn the script on and off as needed.

IfWinActive MechWarrior Online ;The actual "macro" is below and only works when our MWO window is active
{

SendMode Input


F8::
Loop
{
Send {6 down}
Sleep, 100
GetKeyState, state, F8, P
if state = D
{
Send {6 up}
break
}
}
return


$F11::
While GetKeyState("F11","P") ; While Left Shift is being held down physically do.
{
HK_F11 += 1
HK_%A_ThisHotKey% := HK_F11
soundbeep , 500, 150

; msgbox % "The variable HK_F11 contains" . HK_F11 . "."


If (HK_F11 = 1)
msgbox % "6 UAC2 on 1,2,3,4,5,6"

If (HK_F11 = 2)
msgbox % "6 AC2 on 1,2,3,4,5,6"

If (HK_F11 = 3)
msgbox % "Quad UAC 5, 2 Guns on 5, 2 Guns on 6"

If (HK_F11 = 4)
msgbox % "Quad LBX10 on 3,4,5,6"

If (HK_F11 = 5)
msgbox % "PPC on 4,5,6"

If (HK_F11 = 6)
msgbox % "Gauss on 5 and PPC on 6"

If (HK_F11 = 7)
msgbox % "triple AC2 on 3,4,5"

If (HK_F11 = 8)
msgbox % "Quad UAC10 on 4,5"

If (HK_F11 = 9)
msgbox % "6 Machine guns on 4,5"


$CapsLock::

;=======================================================================================================

If (HK_F11 = 1)
{

while GetKeyState("CapsLock","P") ; While Left Shift is being held down physically do.
{

send {1 down}
sleep 5
send {1 up}
if not GetKeyState("CapsLock", "P")
break


send {2 down}
sleep 5
send {2 up}
if not GetKeyState("CapsLock", "P")
break


send {3 down}
sleep 5
send {3 up}
if not GetKeyState("CapsLock", "P")
break


send {4 down}
sleep 5
send {4 up}
if not GetKeyState("CapsLock", "P")
break


send {5 down}
sleep 5
send {5 up}
if not GetKeyState("CapsLock", "P")
break


send {6 down}
sleep 5
send {6 up}
if not GetKeyState("CapsLock", "P")
break

} ;closes while

return

} ;closes IF

;========================================================================================================

If (HK_F11 = 2)
{

while GetKeyState("CapsLock","P") ; While Left Shift is being held down physically do.
{

send {1 down}
sleep 114
send {1 up}
if not GetKeyState("CapsLock", "P")
break


send {2 down}
sleep 114
send {2 up}
if not GetKeyState("CapsLock", "P")
break


send {3 down}
sleep 114
send {3 up}
if not GetKeyState("CapsLock", "P")
break


send {4 down}
sleep 114
send {4 up}
if not GetKeyState("CapsLock", "P")
break


send {5 down}
sleep 114
send {5 up}
if not GetKeyState("CapsLock", "P")
break


send {6 down}
sleep 114
send {6 up}
if not GetKeyState("CapsLock", "P")
break

} ;closes while

return

} ;closes IF

;========================================================================================================



If (HK_F11 = 3)
{
while GetKeyState("CapsLock","P") ; While Left Shift is being held down physically do.
{

send {5 down}
sleep 790
send {5 up}
if not GetKeyState("CapsLock", "P")
break


send {6 down}
sleep 790
send {6 up}
if not GetKeyState("CapsLock", "P")
break



} ;closes while
return

} ; closes IF


;========================================================================================================
If (HK_F11 = 4)
{
while GetKeyState("CapsLock","P") ; While Left Shift is being held down physically do.
{

send {3 down}
sleep 625
send {3 up}
if not GetKeyState("CapsLock", "P")
break


send {4 down}
sleep 625
send {4 up}
if not GetKeyState("CapsLock", "P")
break


send {5 down}
sleep 625
send {5 up}
if not GetKeyState("CapsLock", "P")
break


send {6 down}
sleep 625
send {6 up}
if not GetKeyState("CapsLock", "P")
break


} ;closes while
return

} ; closes IF

;========================================================================================================
If (HK_F11 = 5)
{
while GetKeyState("CapsLock","P") ; While Left Shift is being held down physically do.
{

send {4 down}
sleep 1267
send {4 up}
if not GetKeyState("CapsLock", "P")
break

send {5 down}
sleep 1267
send {5 up}
if not GetKeyState("CapsLock", "P")
break

send {6 down}
sleep 1267
send {6 up}
if not GetKeyState("CapsLock", "P")
break

} ;closes while
return

} ; closes IF


;========================================================================================================
If (HK_F11 = 6)
{
while GetKeyState("CapsLock","P") ; While Left Shift is being held down physically do.
{

send {5 down}
sleep 850
send {6 down}
sleep 100
send {5 up}
send {6 up}
sleep 4000

} ;closes while
return

} ; closes IF


;========================================================================================================

If (HK_F11 = 7)
{
while GetKeyState("CapsLock","P") ; While Left Shift is being held down physically do.
{



send {3 down}
sleep 21
send {3 up}
if not GetKeyState("CapsLock", "P")
break


send {4 down}
sleep 21
send {4 up}
if not GetKeyState("CapsLock", "P")
break


send {5 down}
sleep 21
send {5 up}
if not GetKeyState("CapsLock", "P")
break


} ;closes while
return

} ; closes IF


;========================================================================================================



If (HK_F11 = 8)
{

while GetKeyState("CapsLock","P") ; While Left Shift is being held down physically do.
{

send {4 down}
sleep 505
send {4 up}
if not GetKeyState("CapsLock", "P")
break


send {5 down}
sleep 505
send {5 up}
if not GetKeyState("CapsLock", "P")
break


send {4 down}
sleep 505
send {4 up}
if not GetKeyState("CapsLock", "P")
break


send {5 down}
sleep 505
send {5 up}
if not GetKeyState("CapsLock", "P")
break


} ;closes while

return

} ;closes IF

;========================================================================================================


If (HK_F11 = 9)
{

while GetKeyState("CapsLock","P") ; While Left Shift is being held down physically do.
{

send {4 down}
sleep 5
send {4 up}
if not GetKeyState("CapsLock", "P")
break


send {5 down}
sleep 5
send {5 up}
if not GetKeyState("CapsLock", "P")
break



} ;closes while

return

} ;closes IF

;========================================================================================================


If (HK_F11 = 10)
{
msgbox % "Starting Selection of Fire Solutions over!"


HK_F11 := 0
soundbeep , 1000, 50
return
}


return
} ;closes F11 while


return




} ;closes winactive

return


; .68 seconds is 680 milliseconds
; 1000 milliseconds = 1 second

#26 TooDumbToQuit

    Member

  • PipPipPipPipPipPipPipPip
  • The Death Wish
  • 1,539 posts

Posted 07 September 2016 - 04:43 PM

View PostSolCrusher, on 07 September 2016 - 03:39 PM, said:

I don't play anymore but from looking at firecontrol it's just usings Autohotkeys ability to make an .exe and the guy named it firecontrol.exe I had a very involved macro that I used. this lets use rotate through fire solutions for those of you that love running different mechs.




#InstallKeybdHook
#InstallMouseHook

;These next 2 lines make it so the script is only active within the mechlab and match window
#IfWinActive, ahk_class CryENGINE
#IfWinActive MechWarrior Online

F12::Suspend ;This makes the "F12" key turn the script on and off as needed.

IfWinActive MechWarrior Online ;The actual "macro" is below and only works when our MWO window is active
{

SendMode Input


F8::
Loop
{
Send {6 down}
Sleep, 100
GetKeyState, state, F8, P
if state = D
{
Send {6 up}
break
}
}
return


$F11::
While GetKeyState("F11","P") ; While Left Shift is being held down physically do.
{
HK_F11 += 1
HK_%A_ThisHotKey% := HK_F11
soundbeep , 500, 150

; msgbox % "The variable HK_F11 contains" . HK_F11 . "."


If (HK_F11 = 1)
msgbox % "6 UAC2 on 1,2,3,4,5,6"

If (HK_F11 = 2)
msgbox % "6 AC2 on 1,2,3,4,5,6"

If (HK_F11 = 3)
msgbox % "Quad UAC 5, 2 Guns on 5, 2 Guns on 6"

If (HK_F11 = 4)
msgbox % "Quad LBX10 on 3,4,5,6"

If (HK_F11 = 5)
msgbox % "PPC on 4,5,6"

If (HK_F11 = 6)
msgbox % "Gauss on 5 and PPC on 6"

If (HK_F11 = 7)
msgbox % "triple AC2 on 3,4,5"

If (HK_F11 = 8)
msgbox % "Quad UAC10 on 4,5"

If (HK_F11 = 9)
msgbox % "6 Machine guns on 4,5"


$CapsLock::

;=======================================================================================================

If (HK_F11 = 1)
{

while GetKeyState("CapsLock","P") ; While Left Shift is being held down physically do.
{

send {1 down}
sleep 5
send {1 up}
if not GetKeyState("CapsLock", "P")
break


send {2 down}
sleep 5
send {2 up}
if not GetKeyState("CapsLock", "P")
break


send {3 down}
sleep 5
send {3 up}
if not GetKeyState("CapsLock", "P")
break


send {4 down}
sleep 5
send {4 up}
if not GetKeyState("CapsLock", "P")
break


send {5 down}
sleep 5
send {5 up}
if not GetKeyState("CapsLock", "P")
break


send {6 down}
sleep 5
send {6 up}
if not GetKeyState("CapsLock", "P")
break

} ;closes while

return

} ;closes IF

;========================================================================================================

If (HK_F11 = 2)
{

while GetKeyState("CapsLock","P") ; While Left Shift is being held down physically do.
{

send {1 down}
sleep 114
send {1 up}
if not GetKeyState("CapsLock", "P")
break


send {2 down}
sleep 114
send {2 up}
if not GetKeyState("CapsLock", "P")
break


send {3 down}
sleep 114
send {3 up}
if not GetKeyState("CapsLock", "P")
break


send {4 down}
sleep 114
send {4 up}
if not GetKeyState("CapsLock", "P")
break


send {5 down}
sleep 114
send {5 up}
if not GetKeyState("CapsLock", "P")
break


send {6 down}
sleep 114
send {6 up}
if not GetKeyState("CapsLock", "P")
break

} ;closes while

return

} ;closes IF

;========================================================================================================



If (HK_F11 = 3)
{
while GetKeyState("CapsLock","P") ; While Left Shift is being held down physically do.
{

send {5 down}
sleep 790
send {5 up}
if not GetKeyState("CapsLock", "P")
break


send {6 down}
sleep 790
send {6 up}
if not GetKeyState("CapsLock", "P")
break



} ;closes while
return

} ; closes IF


;========================================================================================================
If (HK_F11 = 4)
{
while GetKeyState("CapsLock","P") ; While Left Shift is being held down physically do.
{

send {3 down}
sleep 625
send {3 up}
if not GetKeyState("CapsLock", "P")
break


send {4 down}
sleep 625
send {4 up}
if not GetKeyState("CapsLock", "P")
break


send {5 down}
sleep 625
send {5 up}
if not GetKeyState("CapsLock", "P")
break


send {6 down}
sleep 625
send {6 up}
if not GetKeyState("CapsLock", "P")
break


} ;closes while
return

} ; closes IF

;========================================================================================================
If (HK_F11 = 5)
{
while GetKeyState("CapsLock","P") ; While Left Shift is being held down physically do.
{

send {4 down}
sleep 1267
send {4 up}
if not GetKeyState("CapsLock", "P")
break

send {5 down}
sleep 1267
send {5 up}
if not GetKeyState("CapsLock", "P")
break

send {6 down}
sleep 1267
send {6 up}
if not GetKeyState("CapsLock", "P")
break

} ;closes while
return

} ; closes IF


;========================================================================================================
If (HK_F11 = 6)
{
while GetKeyState("CapsLock","P") ; While Left Shift is being held down physically do.
{

send {5 down}
sleep 850
send {6 down}
sleep 100
send {5 up}
send {6 up}
sleep 4000

} ;closes while
return

} ; closes IF


;========================================================================================================

If (HK_F11 = 7)
{
while GetKeyState("CapsLock","P") ; While Left Shift is being held down physically do.
{



send {3 down}
sleep 21
send {3 up}
if not GetKeyState("CapsLock", "P")
break


send {4 down}
sleep 21
send {4 up}
if not GetKeyState("CapsLock", "P")
break


send {5 down}
sleep 21
send {5 up}
if not GetKeyState("CapsLock", "P")
break


} ;closes while
return

} ; closes IF


;========================================================================================================



If (HK_F11 = 8)
{

while GetKeyState("CapsLock","P") ; While Left Shift is being held down physically do.
{

send {4 down}
sleep 505
send {4 up}
if not GetKeyState("CapsLock", "P")
break


send {5 down}
sleep 505
send {5 up}
if not GetKeyState("CapsLock", "P")
break


send {4 down}
sleep 505
send {4 up}
if not GetKeyState("CapsLock", "P")
break


send {5 down}
sleep 505
send {5 up}
if not GetKeyState("CapsLock", "P")
break


} ;closes while

return

} ;closes IF

;========================================================================================================


If (HK_F11 = 9)
{

while GetKeyState("CapsLock","P") ; While Left Shift is being held down physically do.
{

send {4 down}
sleep 5
send {4 up}
if not GetKeyState("CapsLock", "P")
break


send {5 down}
sleep 5
send {5 up}
if not GetKeyState("CapsLock", "P")
break



} ;closes while

return

} ;closes IF

;========================================================================================================


If (HK_F11 = 10)
{
msgbox % "Starting Selection of Fire Solutions over!"


HK_F11 := 0
soundbeep , 1000, 50
return
}


return
} ;closes F11 while


return




} ;closes winactive

return


; .68 seconds is 680 milliseconds
; 1000 milliseconds = 1 second



I have no idea what you just said......:P

#27 Tier5 Kerensky

    Member

  • PipPipPipPipPipPipPipPipPip
  • Bridesmaid
  • 2,051 posts

Posted 08 September 2016 - 12:21 AM

He means ADHD Firecontrol program creates a Autohotkey script like that, only using a simply graphical interface, for people who don't want to learn how to create the scripts.

#28 TooDumbToQuit

    Member

  • PipPipPipPipPipPipPipPip
  • The Death Wish
  • 1,539 posts

Posted 08 September 2016 - 12:42 PM

View PostTeer5, on 08 September 2016 - 12:21 AM, said:

He means ADHD Firecontrol program creates a Autohotkey script like that, only using a simply graphical interface, for people who don't want to learn how to create the scripts.


Ahhh, there is a lot of talk with the people that do it about writing what I guess are programs using "Notepad".

I can change a sound card......and that is about all I can be trusted with.

A few days ago I was moving some manure from the front yard to one of my back plots (I'm a "small farmer"). My Aunt Marge drove up and yelled at me "Michael, get away from that wheelbarrow, you know you do not know nothing about machinery".

#29 Kali Rinpoche

    Member

  • PipPipPipPipPipPipPip
  • Ace Of Spades
  • Ace Of Spades
  • 639 posts
  • LocationCrossing, Draconis March

Posted 08 September 2016 - 06:45 PM

Not a fan of macros. I see them as a crutch. I personally wish they were illegal but it would be hard to police. Learn to use your weapons manually if you want to develop solid play skills.

#30 TooDumbToQuit

    Member

  • PipPipPipPipPipPipPipPip
  • The Death Wish
  • 1,539 posts

Posted 08 September 2016 - 07:33 PM

I see my walker, my canes, my braces, and the hand rails from the bathroom to the front door as crutches.

#31 Satan n stuff

    Member

  • PipPipPipPipPipPipPipPipPip
  • Urban Commando
  • Urban Commando
  • 3,508 posts
  • LocationLooking right at you, lining up my shot.

Posted 11 September 2016 - 02:19 AM

View PostKoniving, on 06 September 2016 - 08:42 AM, said:

Fire control borderlines it heavily with the options and scripts that could be used and their dynamics.

Now simple ones like auto-hotkey are within PGI's terms of service which you may want to peek at.

Autohotkey is anything but simple, you can make very complex macros and you can even build bots with it, though you can't make bots for FPS games as that would require features AHK doesn't support.
I used it for a while to get my push to talk buttons sorted out before I got a new mic that made that redundant.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users