Create Your Own Hideout
- Chose the most closest one
2. Create Child Blueprint Class
Right click and select
3. Select Closet Mesh
Open created blueprint and select ClosetMesh
4. Change static mesh
Right side of the screen
5. Select LeftDoorMesh
6. Change Static Mesh
Right side of the screen
7. Select RightDoorMesh
8. Change static mesh
Right side of the screen
9. Select LeftDoorRoot
Check Visible to true
10. Move the arrow so that it is on the position of the door hinges.
Only the x and y axes matter
11. Select LeftDoorMesh
Before
After
12. Move the door
here we need the correct position
13. Select RightDoorRoot
Check Visible to true
14. Select and copy location
15. Update RightDoorLocation
paste selected location
16. Move the arrow so that it is on the position of the door hinges.
keep the arrows on the same line
17. Select RightDoorMesh
Before
After
18. Move the door
here we need the correct position
19. Select CollBox_Out
20. Move in front of the closet
Here is the location from where the player can interact
21. Select Location_Out
Check Visible to true
22. Move it in front of the closet
Here is the location of player when he get out
23. Select Location_In
Check Visible to true
24. Move it inside closet
25. Select Widget
26. Move it in the middle of closet
or find a possition where player can see it to know he can interact
27. Select ClosetMesh
28. Move it close to the center
29. Open your mesh
30. Change collision
31. Increase the values
CLICK APPLY
32. Hide and change collision of unused meshes
Or you can destroy on construction script
Tips:
Test in level for possible adjustments.
Test different locations for 'Location_In' & 'Location_Out'.
It is possible that the position of the hinges is a little wrong. Try to pay attention to the way the doors open.
If you need custom event for open/close doors
Use Event Open Doors
Use Event Close Doors
If you need custom Hide/Unhide
Use Event Hide
Use Event Unhide
Copy from parent class the event you need and modify
[most of the time you will update the delays]