Helldivers 2

63 views
Skip to first unread message

Shaun

unread,
Mar 20, 2024, 9:23:41 AM3/20/24
to QuadStick
I have been trying to get the stratagems to work off of a single input. If you look at the stratagems sheet I want rows 9, 10 and 11 to run sequentially. I have tried using tap 200 on row 9. I have also tried different timings. What happens in the game is that it registers 2 of the 3 inputs. Has anyone got something like this working for the game?


Thanks

Fred Davison

unread,
Mar 20, 2024, 1:00:35 PM3/20/24
to Shaun, QuadStick
Here are the three rows:

kb_ddelay_on 200mp_left_sip
kb_ddelay_on 300mp_left_sip
kb_wdelay_on 400mp_left_sip

Even though the kb_d output is listed on two rows, there is only one kb_d output.  There are two rows referencing the same object.
The same applies to the inputs, all three rows are referring to the same input, and all three will be active at the same time.
The kb_d output cannot do two things at once with the same input.  It cannot be timing a delay on for 200 ms and 300 ms simultaneously.  Plus, once a delay_on turns on, it is on.  It does not go back off until the input is released, do the kb_d cannot turn off and back on again.
Since only one input is active at a time, you can usually have an output controlled in different ways by different inputs and not have them interfere with each other, but the same output cannot be controlled in two different ways by the same input.

I'm assuming you want to type the D key twice, then the W key, in sequence.

Try something like this:

kb_d, pulse 100 2, mp_left_sip
kb_w, delay_on 400, mp_left_sip


When mp_left_sip becomes active, kb_d will turn on for 100 ms, off for 100 ms, on for 100 ms.  In the meantime, kb_w is delaying for 400 ms, so 100 ms after the kb_d goes off, kb_w turns on, and stays on.

The description of the pulse output function is:

When the input goes from inactive to active, the output will turn on for a brief period of time.  The default is 100ms. An optional parameter for the duration of the pulse, in milliseconds, may be placed in the cell after the word, like "pulse 1500".  An optional second parameter controls the number of pulses delivered.  The default number of pulses is 1.  "pulse 50 2" could be used to "double tap" a trigger.

When delivering multiple pulses, the off time between the on times is the same number of milliseconds.


Shaun

unread,
Mar 20, 2024, 4:43:02 PM3/20/24
to QuadStick
Worked! Thanks

Shaun

unread,
Mar 22, 2024, 11:01:12 AM3/22/24
to QuadStick
How would you do something like this in sequence?

The down, right, left can be done with delay_on just not sure how you would cater for the two up's here 
Up, down, right, left, up

Shaun

unread,
Mar 22, 2024, 11:35:55 AM3/22/24
to QuadStick
I ended up going with

Screenshot 2024-03-22 173350.png

Reply all
Reply to author
Forward
0 new messages