Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Alternate firemode on a gun in Robo Recall?

I wanted to set up a gun that has a switch on it, for switching between burst and single shot.

Following that awesome tutorial Zak Parish made I was able to get my own gun mesh in the game. It works almost perfect, but I want to modify it. So I was hoping I could get some help on implementing the Firemode switch, and the burst.

1) To implement the burst shot what functions/BPs would I need to change? Is it required that I modify the gun_base_BP? Perhaps I could use existing notify events to set one trigger pull to shoot 3 shots?

2) How can I flip the switch? (I'm doing this on a Vive, so my interaction is limited). I was thinking of doing it like so: Put a trigger box on the switch. If the gun is equipped (grabbed) in the right hand, move an empty left hand into the trigger and do the grab action or trigger pull to toggle the switch. (Doing it this way won't affect the current functionality of weapons because, unless they can be held in 2 hands, they can't be interacted with by the player's other hand when held.)

Thanks for any help!

Product Version: Game Mod
more ▼

asked Mar 21 '17 at 04:07 AM in VR

avatar image

352 35 38 58

avatar image kusokuso1 Mar 22 '17 at 07:17 AM

alt text

I added a trigger around the switch.

I don't know how I should check for when the player's other/empty hand enters the trigger, as default_Hand_BP isn't recognized by the switch trigger.

gun_bp_eg.png (199.3 kB)
avatar image kusokuso1 Mar 22 '17 at 09:25 AM

Here's another thing I tried but it didn't work.

alt text

I set the VR_Pawn's Left and Right Hand BP's Main Hand Mesh skeletal component to promoted variables in the gun's event graph on Begin Play.

Verified the Left/RightHand skeletal mesh variables they were promoted to were valid (were still set to the Main Hand Mesh) after setting.

avatar image Arvestra Mar 22 '17 at 10:38 AM

End overlap node has the "Left Hand ==" node plugged into "Other Actor" and not "Overlapped Component" like the "BeginOverlap" node. Should that be right, or?

avatar image kusokuso1 Mar 23 '17 at 01:19 AM

Hey DavDan, thanks a lot for trying to help!

Yeah, I don't think that's right. lol

I made'em match, though, so that Begin and End were checking the same "Overlapper"; tried both (Begin and End) checking "Overlapped Component", "Other Actor" and "Other Comp", and none of them worked. It never hit that breakpoint on True.

I'm guessing I'm getting the wrong reference to the hands. Jsyk, this is the first time I've messed with a VR player character. I know nothing about how it may be different from a standard character.

I'm totally in the dark here, and can't find any specific tutorials about getting VR hand references in robo recall. I guess I'll look around for some tuts for leads in hopes that those setups are similar to RR's.

avatar image kusokuso1 Mar 23 '17 at 06:33 AM

I tried to detect the left motion controller on the VR_Pawn but it's not registering on trigger enter either.

avatar image kusokuso1 Mar 23 '17 at 09:45 AM

tmek, in the Robo Recall forum kindly hooked me up with a video on how to implement a switch, which can be toggled via controller buttons.

Now I've got to figure out how to do the burst shot. Seems only single and full Auto is supported by default.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question