Jump to content

Constant Fire For Tag


88 replies to this topic

#81 evilC

    Member

  • PipPipPipPipPipPipPipPip
  • Legendary Founder
  • Legendary Founder
  • 1,298 posts
  • LocationLondon, UK

Posted 01 March 2013 - 02:27 PM

Install Autohotkey
Save both of those files to your disk.
Double click each file, a green H symbol should appear in tray for each one.
For the TAG toggle, a GUI will appear to select which weapon group you have the TAG in.
When you hit the middle mouse button, it holds the number you set in the gui. Make sure middle mouse is not bound to anything in the game.
The zoom one hits the default key for zoom when you roll the mouse wheel up.
Both only work in game.

#82 Batnar

    Member

  • Pip
  • 14 posts

Posted 01 March 2013 - 03:54 PM

i cannot download your files, they are just text in a web browser.
i copy/paste the codes into autohotkey.

if i change all 3mouse for numpadsub it should work too right?

Edited by Batnar, 01 March 2013 - 04:00 PM.


#83 evilC

    Member

  • PipPipPipPipPipPipPipPip
  • Legendary Founder
  • Legendary Founder
  • 1,298 posts
  • LocationLondon, UK

Posted 02 March 2013 - 10:46 AM

View PostBatnar, on 01 March 2013 - 03:54 PM, said:

i cannot download your files, they are just text in a web browser.

Right click the link, save as.
Make sure you save it as an .ahk file


View PostBatnar, on 01 March 2013 - 03:54 PM, said:

if i change all 3mouse for numpadsub it should work too right?

Not sure what you mean here.
You want to change the button that triggers the TAG toggle?
Edit the file and look for a line like this:

; IF YOU WISH TO CHANGE THE BUTTON THAT ACTIVATES TAG TOGGLE, CHANGE "MButton" BELOW TO SOMETHING ELSE (eg f) (1 of 2)

there will be two of them:

; IF YOU WISH TO CHANGE THE BUTTON THAT ACTIVATES TAG TOGGLE, CHANGE "MButton" BELOW TO SOMETHING ELSE (eg f) (2 of 2)

So just look below each one and change "MButton" to something else.
The AutoHotKey keylist page gives the names for all the various buttons.

#84 Batnar

    Member

  • Pip
  • 14 posts

Posted 04 March 2013 - 05:42 PM

View PostevilC, on 01 March 2013 - 02:27 PM, said:

Install Autohotkey
Save both of those files to your disk.
Double click each file, a green H symbol should appear in tray for each one.
For the TAG toggle, a GUI will appear to select which weapon group you have the TAG in.


then i choose the weapon slot
then i launch the game
then it doesnt work...

i get the two H near the clock, so the scripts are running....
what do i do wrong?

EDIT: i made it work by running as admin.. thanks alot!!!!!

Edited by Batnar, 04 March 2013 - 06:02 PM.


#85 evilC

    Member

  • PipPipPipPipPipPipPipPip
  • Legendary Founder
  • Legendary Founder
  • 1,298 posts
  • LocationLondon, UK

Posted 05 March 2013 - 04:05 AM

View PostBatnar, on 04 March 2013 - 05:42 PM, said:

EDIT: i made it work by running as admin.. thanks alot!!!!!

Hmm, I was not aware that could be a factor. Thanks for the heads up.

#86 Garagano

    Member

  • PipPipPipPipPipPipPip
  • Littlest Helper
  • Littlest Helper
  • 862 posts
  • LocationGermany

Posted 05 March 2013 - 10:41 AM

View PostevilC, on 28 February 2013 - 02:30 AM, said:

Hmm, has anyone else noticed this script misbehaving lately?
I had to hack out a bunch of code to get it to work last night.
Not really sure why, I updated my PC, so maybe the update made it go a little screwy?


same here. since a couple of days, the TAG was not toggable anymore.
I opened the ingame chat and hit the middle mousebutton, normal it shows now the number 5 in the chat (i use weapongroup 5 for the TAG), but suddenly it shows the number 4 !
I assigned the TAG to WG 4 and now the same old script works again. o0

Maybe a windows update changed the key codes?

I will test the new script later when MWO us up again.

.... there was a win update on 27.02, the day it started
"Windows Platform Update x64 (KB2670838)" http://support.micro...b/2670838/en-us
i wouldn't be surprised if there is a connection to that.

---
the new script works like a charm. thx

Edited by Garagano, 07 March 2013 - 03:01 AM.


#87 Peregrine Plover

    Member

  • PipPip
  • Overlord
  • Overlord
  • 29 posts

Posted 08 April 2013 - 10:52 AM

I finally got these simplified scripts to work and they are working well. The temptation is just to stick them into AutoHotKey.ahk, but that wouldn't work for me. I had to do just as you said: right-click and save, then run individually. I also ran as administrator. Thanks very much for your work.

#88 Blaqwolf

    Rookie

  • 6 posts

Posted 27 April 2013 - 04:27 AM

Nice idea, I'll have to try this, but it's annoying that MWO devs haven't installed a toggle for tag on/off.

Can you link it to the numlock or capslock buttons? So that if numlock is 'on', tag is on, and vice versa?

<edit>
Well, I installed both, got both running, selected the appropriate weapon group my TAG is in...
Neither script does dink.

Mind you, my game is *not* installed in the default installation directory.

Edited by Blaqwolf, 27 April 2013 - 05:10 AM.


#89 dotster

    Rookie

  • 1 posts

Posted 28 June 2013 - 03:36 PM

I modified your weapon group script EvilC and throught it was useful so I figured I would post. The scripts are great, thanks by the way.

It is probably could be cleaned up or better but it seems to work. I map all the weapons I want to fire at once to group 2 then use shift to toggle to another group, in this case 4 & 5.

For example, fire 4 LLas then toggle to group 4 & 5 on chain fire so it fires 2 and 2 to manage heat.

Quote

fireToggle = 0
#IfWinActive, ahk_class CryENGINE
LShift::
if (fireToggle){
fireToggle := False
} else {
fireToggle := True
}
RButton::
if (fireToggle = 0)
{
Send {2 down}
Sleep, 50
Send {2 up}
}
else
{
Send {4 down}{5 down}
Sleep, 50
Send {4 up}{5 up}
}
return
#IfWinActive






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users