How to use Blueprints in Unreal Engine 5

To learn more about Blueprints and how they work, I’ve been creating a farming type game in Unreal Engine 5 using blueprints. I figured that everything I learned may also be useful to someone else, below you can follow along with each component of the game I’ve made.

The basic premise is that after a time delay you get a resource, this resource can be converted into something else and then sold for money. These posts will be linear in the way I’ve been learning blueprints with sometimes older components needing updates to include more advanced steps. You can’t do the advanced steps until the basic ones have been completed and verified they work.

If you’re beginner I recommend you start at the beginning and follow along. If you have blueprint experience and just want to know some details, every post will have a final version of the blueprint for that post’s goal at the end.

  1. Use starter content, set up basic world and import custom materials
  2. Use a mouse as main input device instead of a character
  3. Set up grain (actor) and have it change material with a delay when you click on it
  4. Set up a variable that increases when you harvest grain
  5. Set up an inventory system (widget), that shows the increase in variable after harvesting grain and is shown permanently on screen
  6. Set up a mill (actor) and have it deduct 2 grain for 1 flour
  7. Create a menu for mill that shows 2 options and a cancel button
  8. Hook up the different mill options to give different resources when its done
  9. Show a popup (widget) with time left on Grain after you put it on in progress
  10. Show a popup (widget) with time left on Mill after you put it on in progress and show different times for different resources
  11. Create an inventory building (actor) that shows the inventory (widget) when you click on it
  12. Create a data table with value of gold and xp for each variable you can harvest
  13. Update inventory to include total gold and xp
  14. Update grain to include xp when you harvest it
  15. Update mill to include xp when you collect from it
  16. Create a marketplace that shows a random item that you can sell and collect gold and xp from it
  17. Update marketplace to show a random amount of the random item that you can sell
  18. Update marketplace to show in red or green if you have enough items to sell
  19. Create a data table for a dungeon with rare items
  20. Create a random chance of getting a rare item after collecting from dungeon
  21. Create a gate for the dungeon that needs criteria met before it can run

Cucumber and Apple Salad


Print Recipe


Cucumber and Apple Salad

Servings


Ingredients

Servings


Ingredients

Risotto with sweet corn & garlic & cheese

Print Recipe
Risotto with sweet corn & garlic & cheese
Servings
Ingredients
Servings
Ingredients

Meatballs

Print Recipe
Meatballs
Servings
Ingredients
Servings
Ingredients
Instructions
Frying Pan
  1. Mix all ingredients together
  2. Make about 8 meatballs (divide in half 3x)
  3. Fry in 3-5min on high on one side
  4. 3-5 min on high on the other side
  5. Add 1 cup of beef stock
  6. Let it simmer for at least 10 min
Instant Pot
  1. Mix all ingredients together
  2. Make about 8 meatballs (divide in half 3x)
  3. Put in fridge for 10-15min so the meatballs keep their shape while saute-ing
  4. Heat the Instant Pot on Saute
  5. Fry meatballs in butter until they brown have a brown coat
  6. Add beef stock
  7. Cook on high pressure for 7 minutes
  8. Let pressure release naturally for at least 5 minutes before releasing pressure manually.
Oven
  1. Pre-heat oven to 200C
  2. Bake the meatballs for 20min
Recipe Notes

Meatball mixture and frying pan version is my own recipe
Instant Pot Recipe adapted from: A Mindful Mom

Keto Crack Chicken – European Style

Here in Europe its nearly impossible to get Ranch dressing or even butter milk powder, however all these Keto Crack chicken recipes call for ranch dressing. Here is a version with easily accessible ingredients in Europe.

Print Recipe
Keto Crack Chicken - European Style
Servings
Ingredients
Servings
Ingredients
Instructions
  1. Place liquid in the pressure cooker.
  2. Add the chicken to the pressure cooker.
  3. Add the cream cheese on top of the chicken.
  4. Set the pressure cooker to high for 12 minutes
  5. Once the time is up,do a quick release.
  6. Add vegetables to the mixture
  7. Set the pressure cooker to high for 0 minutes (yes, really)
  8. do a quick release.
  9. Add the cheddar cheese and bacon crumbles to the shredded chicken and mix the ingredients together.
  10. Place the lid back on the pressure cooker (but don't turn it on, it will be hot enough to melt the cheese and warm the bacon) for about 5 minutes. Letting the ingredients sit for a few minutes will allow the sauce to thicken.
  11. Serve warm and enjoy!

Buttercake (Boterkoek) with chocolate chips

Print Recipe
Buttercake (Boterkoek)
Course Dessert
Servings
Ingredients
Course Dessert
Servings
Ingredients
Instructions
  1. Preheat oven to 180°C/160°C fan-oven.
  2. Grease a pan and line it with baking paper
  3. Put the butter in a bowl and if you want cut it up with a knife into small pieces, this makes it easier to mix sugar into it buts not necessary.
  4. Using a sieve sift the sugar and vanilla sugar onto the butter
  5. Using an electric mixer on high speed, cream butter and sugar until light and fluffy.
  6. Add egg and mix it in
  7. Using the sieve add in the flour in small portions, mixing it together each time you've added a bit
  8. Add chocolate chips and make sure its combined evenly in the mixture
  9. Spread mixture into the pan
  10. In a bowl whisk an egg and brush it over the butter cake
  11. Bake in the oven for 25-30minutes
  12. Let it cool before eating!
Recipe Notes

Recipe translated and adapted from Laura's Bakery

Chicken Doner marinade

Print Recipe
Chicken Doner marinade
Course Main Dish
Servings
Ingredients
Course Main Dish
Servings
Ingredients
Instructions
  1. Mix all ingredients together in a freezerbag
  2. Refrigerate for at least 30 minutes but I recommend hours.
  3. Cook how you prefer the chicken, I fry the chicken on the George Foreman.
Recipe Notes

Recipe adapted from Happiness Stan Lives Here

 

 

Perfect Rice recipe

Print Recipe
Perfect Rice recipe
Course Main Dish
Servings
Ingredients
White (Basmati) Rice
Brown Rice
Course Main Dish
Servings
Ingredients
White (Basmati) Rice
Brown Rice
Instructions
Prep - Rinse and Soak
  1. Rinse rice until it runs clear - may take several rounds
  2. Soak rice for at least 30min
  3. Discard water
Cooking
  1. Put water, rice and, salt and butter in a saucepan with a lid
  2. Bring water to a boil on high heat while pan is uncovered
  3. Cover pan and put heat on medium-low
  4. Have the rice absorb all the water, 10-20minutes, do not peek.
Recipe Notes

Recipe adapted from Tip Hero

Baked Sweet and Sour Chicken

Print Recipe
Baked Sweet and Sour Chicken
Course Main Dish
Servings
Ingredients
Sweet and Sour Sauce
Chicken Breading
Veggies/Pineapple
Course Main Dish
Servings
Ingredients
Sweet and Sour Sauce
Chicken Breading
Veggies/Pineapple
Instructions
Sweet and Sour Sauce
  1. Add "Sweet and Sour Sauce" ingredients to a medium/large saucepan, stir and bring to a boil then reduce to a gentle simmer.
  2. Allow to simmer, stirring occasionally - no longer than 20 minutes.
Chicken Breading
  1. Preheat oven to 350 degrees and lightly grease a baking dish
  2. Whisk eggs together in a large bowl, set aside.
  3. Add flour, cornstarch, garlic powder, salt, pepper, ginger powder and onion powder in a large freezer bag.
  4. Add chicken to eggs and coat.
  5. Put chicken in freezer bag and close it.
  6. Shake freezer bag until chicken is evenly coated.
  7. Heat butter in a pan on high heat
  8. Add chicken and cook 1-2 minutes per side (browned, not cooked through). Needs to be done in batches
  9. Transfer chicken to baking dish
Final Bit
  1. Add carrots, pineapple and peppers to sweet and sour sauce, mix well.
  2. Pour sauce over chicken in dish
  3. Cook uncovered for 50 minutes
  4. Serve over rice, see this recipe for Perfect Rice
Recipe Notes

Adapted recipe from Carl's bad Cravings

Chocolate Chip Cookies

Print Recipe
Chocolate Chip Cookies
Delicious gluten free Chocolate chip cookies
Course Snack
Servings
Ingredients
Course Snack
Servings
Ingredients
Instructions
  1. Mix Gluten free flour, Xantham gum, baking soda and salt together
  2. Using a mixer, cream butter and sugars in a large mixing bowl.
  3. Add egg and vanilla and beat again until well combined, scraping sides of bowl as needed.
  4. Add gluten free baking mix in two batches and mix again with mixer
  5. Stir in chocolate chips,
  6. cover and refrigerate overnight or for at least 4-6 hours until thoroughly chilled.
  7. Preheat oven to 180C/350F (160C for fan oven)
  8. Scoop out rounded Tablespoon amounts of dough, roll them into balls and place them 2 inches apart on a baking sheet.
  9. Bake for 8-10 minutes or until the edges are just slightly golden brown.
  10. Remove from oven and let rest on the pan for 5 minutes, then transfer to a cooling rack.
  11. Store leftovers in an airtight container at room temperature for up to several days. Freezer for longer term storage. (They taste just as good the 2nd and 3rd day as they hold their texture/flavor well.)
Recipe Notes

Recipe adapted from Minimalist Baker

Who adapted it from Martha StewartÂ