Update: I added a second video showing how to limit the max number of burst shots auto-fired on each trigger pull.
Hi, someone requested how to make a weapon with “firemode” that lets you switch your gun between single-shot and automatic modes so I created a short tutorial showing how to do that.
FYI the audio in the video is quiet at the beginning but gets loud about halfway through.
NOTE: I think I left out one detail from the video and that is for the motion controller face button events make sure you uncheck “consume input” and “override parent binding” as shown at 0:53 in the video.
Can I bother you for some pointers on a way to implement a burst? I’m running an extremely low spec machine so it takes me a long time to rummage through functions in blueprints.
Looking at the gun_base class, it looks like only single shot or fully automatic is supported.
I looked into a bit (spent a good 6 hours on it yesterday), but couldn’t come to a conclusion.
(Thought about catching the fired event in the custom gun BP’s EG (event graph). If burst is enabled then send my own fired events from the remainder of shots in the burst. Unfortunately, it seems only the base class can send those events.)