x

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"

Hiding Under/In Furniture/Stealth in Horror Game

So I'm looking for a way to hide inside big cabinets, or hide under beds/couches/ other furniture like you can in games such as 'Outlast' and 'Remothered'. (For a quick example skip to 6:10 in the video listed below)

Unfortunately, there are no tutorials on such topics and I'm too new to figure it out by myself. If anyone has any pointers or is kind enough to draw it out, I'd greatly appreciate it! Or if there is a tutorial online that I'm missing. (I am well aware of the tutorials demonstrating hiding in shadows, but unfortunately that's not quite what I'm looking for)

Thank you!

https://youtu.be/0MMbJcRacgE

link text

Product Version: UE 4.17
Tags:
more ▼

asked Jan 06 '18 at 04:40 AM in Using UE4

avatar image

four2nothin
19 1 4 10

avatar image four2nothin Jan 06 '18 at 04:41 AM

Here's the video: skip to 6:10

https://youtu.be/0MMbJcRacgE

(comments are locked)
10|2000 characters needed characters left

3 answers: sort voted first

I cant take a picture of the blueprint for some reason, but it makes the animation play when the player presses E and is standing in the collision box.link text

more ▼

answered Jan 06 '18 at 01:57 PM

avatar image

Ernestk7
36 4 6

avatar image four2nothin Jan 06 '18 at 04:40 PM

Oh i should have read all comments first lol. awesome! thank you! I'll let you know how it works and thanks for going out of your way to help!

avatar image Ernestk7 Jan 06 '18 at 06:39 PM

Heres a more detailed tutorial, if it helps mark this as answered, watch it at 1.5x speed ; ) tutorial

avatar image four2nothin Jan 09 '18 at 12:23 AM

Hey just saw this! You're awesome. Thank you for taking the time to do this. This is perfect!

avatar image four2nothin Jan 09 '18 at 01:00 AM

One quick question though: I'm already using the "action" key for picking up objects and opening up doors. But when I set up the sequence using the "action" key as well, it no longer picks up objects or opens up doors. How Can I successfully set up the sequencer to use the "action" key as well as interacting with objects and doors with the same key?

avatar image four2nothin Jan 09 '18 at 01:47 AM

Okay never mind, i figured it out by clicking on the "interact" input and unchecking the "consume" option on the right in every instance it was used.

However, I do have one final question and that is how do you teleport the player during the transition inside the cabinet?

avatar image ThompsonN13 Jan 09 '18 at 04:17 AM

A set actor location would work for that. it sets the location instantly. or you could just toggle the visibility of the mesh

avatar image four2nothin Jan 09 '18 at 05:39 AM

Well, it turns out you can do a 'set sequence' node which has the option to hide the character.. But, now I'm really hoping this is the final question, do you know if there's a way to not allow a sequence to end, except if by the player hitting a key/button?

avatar image ThompsonN13 Jan 09 '18 at 05:49 AM

a cursory seach brought up the Play Looping Node that may work if you created a second sequence of just the last frame of your original sequence. The other case i would think of would be a while node but not sure on that one

avatar image Ernestk7 Jan 09 '18 at 07:16 PM

I would suggest using functions like "is in wardrobe"

(comments are locked)
10|2000 characters needed characters left

I would suggest setting up a sequence which would teleport the player to somewhere else on the map when a button is pressed while looking at a cabinet, and run an animation of them climbing into the cabinet, and pressing the button again would play the climbing out animation, and then an on-stop event would teleport the player back to where the animation was last played.

more ▼

answered Jan 06 '18 at 01:34 PM

avatar image

Ernestk7
36 4 6

avatar image Ernestk7 Jan 06 '18 at 01:46 PM

I'll make a video showing how to do it for you : )

avatar image four2nothin Jan 06 '18 at 04:39 PM

That would be amazing! I'm sure many would appreciate it. Feel free to leave a link! Thank you!

(comments are locked)
10|2000 characters needed characters left

Hey there, i would say that if you create a root motion animation and trigger it when you interact with the hiding object it should do most of the work.

more ▼

answered Jan 06 '18 at 11:37 AM

avatar image

xlar8or
5.9k 152 126 301

(comments are locked)
10|2000 characters needed characters left
Your answer
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