Hey everyone. I’m still learning blueprints so Im not that skilled with it yet. But I really need help. I’m making a horror type game and one of my gameplay features is a puzzle system. The idea is that the player needs to find gears in the map. When the player picks them up it places them in an inventory hotbar. The player then heads to a box with slots to place the gears. The gears are slotted into place with a hologram preview of them. Then the player presses e to place them, but can also take them back out if needed by pressing e again. In order to solve the puzzle the player finds notes hidden around the map that helps them find the solution. The idea is that the player needs to reduce the rotation value down to a certain number. For example the starting rotation is 10rpm and they need to get it to 3rpm. One gear is labeled 10/5 reducing the rotation from 10rpm to 5rpm. Then another says 5/1 reducing it down to 1rpm. Then 1/3 increasing to three. This is just an example. Can anyone help me set this up. If the solution is too complex to explain I can send my discord info and we can chat there. Please help this has been frustrating me for a while.
Hey @ballard101!
So let’s break this down into parts so we can digest it better and it looks a little less daunting. After that, we can address each piece and figure out exactly what you need. So as far as I understand it, the elements you listed above are as follows:
- An Inventory System with a Hotbar
- A preview system for placing the gears
- An interactable puzzle space where the player can add and remove parts
- A clue system involving notes
- Placing the correct gear to alter a value to match the identified solution
Do I have that right? Are there any elements missing? Can you let us know which specifically you are having trouble with and share what you have so far?
You have the right idea. That is exactly what I was trying to say. As for what I need help with it would be all of the above lol. The inventory system I’m not too concerned about as I can use the basic free Inventory system on the market place. But placing objects and making the puzzle work is where I’m so lost. I tried looking for tutorials online but there is not a lot in terms of what I’m looking for.
Hey @ballard101!
Great! So if the inventory system is not a problem, we can move to the puzzle. First and foremost, will this be in a different camera, or with first person view be maintained from where the character’s current position is?
If you are switching to a different camera for the puzzle, what mechanic are you wanting to go with? Camera view like in first person? Drag and drop? Mouse over and click?
In the meantime, check out this non-Epic affiliated example of how you would set up a mesh with a preview material:
it would be using the camera on the first person controller. The gears would be in the hotbar and the player can use the scroll wheel on the mouse to change between the gears in the hotbar. Then when the player is near where they are supposed to be placed the player can place the gears in by pressing a button. It’s not in a separate camera or widget. Think how satisfactory handles placing machines but in this case they can only be placed in a certain area. When the player completes the puzzle the gears start rotating and a sound effect plays in the background for success. If they get wrong though they just make a clicking noise.
Hey @ballard101,
If you are just looking and snapping in place, that is an easier solution. You will want to have your “machine” contain collisions that can be hovered over to have your part snap in place. Check out this other non-Epic tutorial on that topic:
That does help a lot with that. I’ll check it out after I get some sleep. It’s 4am where I’m at lol. Anyways the next bit I have trouble with is the functionality of the puzzle. If I can figure out a solution for that than I can be happy.
Hey @ballard101,
Checking in, did the snapping work for you? If so, did you still need help with the functionality of the puzzle?