Devlog#2 weeks 3-4
For this week, my main focus is adding a dialogue for my game. I first tested this with the collector NPC. I initially ran into a problem where the dialogue does not loop and only plays once, thankfully a YouTube comment from that video taught me how to make the dialogue loop. Currently the test dialogue is the most famous quote of Judge Holden, main antagonist of Cormac McCarthy's revisionist western novel, Blood Meridian. With this tool, I can use that on the paintings as well, to allow the player the read the descriptions of the paintings.
I first created a node chart on the player character's event graph that triggers when pressing E on the keyboard. for the dialogue, i created a bluepring interface and widget blueprint and connected that to the singular NPC, the collector. I added a spherical trigger zone on the collector to act as a hitbox but for a zone to where the player can interact with the collector. A set of nodes starting with event talk connected from the blueprint interface dialogue is what enables the conversation with the player. I set a branch connecting true to get to set text and false to remove parent and connecting to set node and talk index to -1 to make the speech window disappear, both true and false connections connect to create wb dialogue widget.
In class today I followed a tutorial on basic casting for unreal engine, with 3 keys and a working animated door. I will continue to work from there but I am open to going back to the idea of using a password to escape the musem
Masterpiece or Mistake
Status | In development |
Author | Lyam with a Y |
More posts
- Devlog#9- weeks 10-1113 days ago
- Devlog#8- weeks 9-1020 days ago
- Devlog#7- weeks 7-827 days ago
- Devlog#6- weeks 6-834 days ago
- Devlog#4- weeks 5-655 days ago
- Devlog#3- weeks 4-562 days ago
- Devlog#1- weeks 2-376 days ago
Leave a comment
Log in with itch.io to leave a comment.