Jump to content

Laser Gatling


18 replies to this topic

#1 Wilhelm Fraek

    Member

  • PipPipPipPipPip
  • 159 posts

Posted 02 October 2013 - 05:24 PM

I dont know if that has been asked before, but is there a way that if im using multiple lasers i can have them fire one after the other with spacing being the moment the one before it ends?

Sorry if im sounding confusing not sure how to word this

so for example the duration of the ML is 1s with a 3s cooldown i would need 3 ML to have a constant rate of fire as long as the heat holds up anyway.

- represents a second

ML(1s)--->ML(1s)--->ML(1s) restart

although this would probably work better with SL's

any ideas on how to pull this off?

#2 Khobai

    Member

  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • Elite Founder
  • Elite Founder
  • 23,969 posts

Posted 02 October 2013 - 05:30 PM

You have to use a macro

#3 Carrioncrows

    Member

  • PipPipPipPipPipPipPipPipPip
  • Rage
  • Rage
  • 2,949 posts

Posted 02 October 2013 - 05:31 PM

Or just assign them all to one group and hit backspace (activates chainfire for the group) that does the same thing.

#4 Audlyn

    Member

  • PipPip
  • Elite Founder
  • Elite Founder
  • 41 posts

Posted 02 October 2013 - 05:31 PM

Chainfire them, just hold down the key or button

#5 Wilhelm Fraek

    Member

  • PipPipPipPipPip
  • 159 posts

Posted 02 October 2013 - 05:35 PM

ive tried it with chainfire but it waits for the laser before it to recycle, what im looking for is constant lasers flying.

Edited by Wilhelm Fraek, 02 October 2013 - 05:36 PM.


#6 Khobai

    Member

  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • Elite Founder
  • Elite Founder
  • 23,969 posts

Posted 02 October 2013 - 05:36 PM

He wants the spacing to be the moment before one ends. He doesnt want it to be 0.5 seconds after it ends.

You would need to use a program like autohotkey and write a script that fires a small laser once every 0.75 seconds (you would need 4 small lasers to fire once every 0.75 seconds)

Edited by Khobai, 02 October 2013 - 05:39 PM.


#7 Wilhelm Fraek

    Member

  • PipPipPipPipPip
  • 159 posts

Posted 02 October 2013 - 05:41 PM

if a macro tool is the only way of going about this can anyone recommend? and is this legal to use in game?

#8 Khobai

    Member

  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • Elite Founder
  • Elite Founder
  • 23,969 posts

Posted 02 October 2013 - 05:42 PM

autohotkey is an open source macro program, its what most players without fancy keyboards use.

and yes macros are allowed.

Im not very good at scripting but this would more or less do the trick

#IfWinActive MechWarrior Online ; Avoid messing with the keys outside of MWO.
RButton::
while GetKeyState("RButton","P")
{
send {3 down}
sleep 25
send {3 up}
sleep 725
send {4 down}
sleep 25
send {4 up}
sleep 725
send {5 down}
sleep 25
send {5 up}
sleep 725
send {6 down}
sleep 25
send {6 up}
sleep 725
}
Return


So you'd put your 4 lasers in groups 3, 4, 5, 6 respectively and the script would fire each weapon group 0.75 seconds apart. Im not sure how effective that would be though, probably just better to fire all your lasers at once to be honest.

Edited by Khobai, 02 October 2013 - 05:47 PM.


#9 scJazz

    Member

  • PipPipPipPipPipPipPipPip
  • 1,668 posts
  • LocationNew London, CT

Posted 02 October 2013 - 05:46 PM

Autohotkey...

After all the includes and environment commands...
For 6 lasers with 1/10th of a second slack built in.
~LButton::
send {1 down}
sleep 100
send {1 up}
sleep 4000
send {2 down}
sleep 100
send {2 up}
sleep 4000
send {3 down}
sleep 100
send {3 up}
sleep 4000
send {4 down}
sleep 100
send {4 up}
sleep 4000
send {5 down}
sleep 100
send {5 up}
sleep 4000
send {6 down}
sleep 100
send {6 up}

However the point of this firing pattern is pretty useless to begin with since it assumes that there will be a target willing to stand around getting shot at by someone for that long.

Edited by scJazz, 02 October 2013 - 05:48 PM.


#10 Wilhelm Fraek

    Member

  • PipPipPipPipPip
  • 159 posts

Posted 02 October 2013 - 06:13 PM

ok so i made the script as you wrote them, ran before launching assigned them to the groups you used Khobai but i cant get it to work.

this is also assuming that rbutton=right mouse?

im just unsure what key the script is assigned to

#11 Kaspirikay

    Member

  • PipPipPipPipPipPipPipPipPip
  • Giant Helper
  • 2,050 posts

Posted 02 October 2013 - 06:14 PM

They really should just have scripts as an in-game option.

#12 Wilhelm Fraek

    Member

  • PipPipPipPipPip
  • 159 posts

Posted 02 October 2013 - 06:21 PM

administrator was the issue

#13 Wilhelm Fraek

    Member

  • PipPipPipPipPip
  • 159 posts

Posted 02 October 2013 - 06:43 PM

works just how i want it thanks

The reason i wanted something like this over a single barrage is I can control the heat to an extent and its always shooting at someone, people seem to panick when their getting hit repeatedly

it fires a steady stream with 4 ML then stops where i can repeat works pretty good on lights as i cant keep hitting them as they run by, larger mechs i just keep moving and firing. for lights I get to about 15-18% heat a centurian took me up to 30% an awsome got me up to 42%. This was just using the ML targeting Ct, so ill have to see how effective it while using other with other weapons.

thanks again

#14 Triple Patte

    Member

  • PipPipPip
  • Knight Errant
  • 84 posts

Posted 02 October 2013 - 06:53 PM

Actually I run 4 MLs on my jagermech, I chainfire them just fine, they just keep firing.

#15 Wilhelm Fraek

    Member

  • PipPipPipPipPip
  • 159 posts

Posted 02 October 2013 - 06:56 PM

I didnt like how chain fire worked, with this it just seems as one long beam rather the 1 shoots then the next and so on.


The only thing i want to change is make it so the script starts/stops when i use the rbutton

#16 Zerberus

    Member

  • PipPipPipPipPipPipPipPipPip
  • Overlord
  • Overlord
  • 3,488 posts
  • LocationUnder the floorboards looking for the Owner`s Manual

Posted 02 October 2013 - 07:06 PM

For the record, using multiple chainfire groups and /or repeatedly tapping the fire button on a chianfire group will manually cycle faster than the system does. No macros needed, just minimal finger dexterity.

For a sustained fire effect, set an extra group to groupfire and hold that down as soon as the cycle is over /already repeating, or continue to cycle manually.

Works great on a Hunchie 4p or (before ghost heat) a 6ac/2 Jager DD, I`ve only ever used macros for chat scripts.

Edited by Zerberus, 02 October 2013 - 07:09 PM.


#17 Wilhelm Fraek

    Member

  • PipPipPipPipPip
  • 159 posts

Posted 02 October 2013 - 07:08 PM

so why wouldnt i just hold 1 button down rather then tapping 1 or multiple keys?

#18 scJazz

    Member

  • PipPipPipPipPipPipPipPip
  • 1,668 posts
  • LocationNew London, CT

Posted 03 October 2013 - 02:43 AM

View PostWilhelm Fraek, on 02 October 2013 - 07:08 PM, said:

so why wouldnt i just hold 1 button down rather then tapping 1 or multiple keys?

Either because you have a tendency toward carpal tunnel like me or also like me you don't have 50 mouse buttons ;)

BTW: Feel free to like my posts... I like likes. :ph34r:

#19 Wilhelm Fraek

    Member

  • PipPipPipPipPip
  • 159 posts

Posted 03 October 2013 - 12:24 PM

View PostscJazz, on 03 October 2013 - 02:43 AM, said:

Either because you have a tendency toward carpal tunnel like me or also like me you don't have 50 mouse buttons ;)

BTW: Feel free to like my posts... I like likes. B)


you are correct my little old hp mouse has two might buttons to press

You have recieved your likes





8 user(s) are reading this topic

0 members, 8 guests, 0 anonymous users