Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Procedural Content Generation with Unreal Engine 5

You're reading from   Procedural Content Generation with Unreal Engine 5 Harness the PCG framework to take your environment design and art skills to the next level

Arrow left icon
Product type Paperback
Published in Nov 2024
Publisher Packt
ISBN-13 9781801074469
Length 488 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Paul Martin Eliasz Paul Martin Eliasz
Author Profile Icon Paul Martin Eliasz
Paul Martin Eliasz
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Part 1: The Fundamentals of Procedural Content Generation
2. Chapter 1: Introducing Procedural Content Generation FREE CHAPTER 3. Chapter 2: Let’s Create Our First Forest! 4. Chapter 3: Building Blueprints with PCG Component 5. Chapter 4: Developing and Optimizing the Procedural Content Generation Tool 6. Part 2: Harnessing the Power of PCG in Unreal Engine 5
7. Chapter 5: Building Spline Controllers with PCG Graph 8. Chapter 6: Building a PCG Graph with Landscape Materials 9. Chapter 7: Let’s Build a Building Using the PCG Spline Controller 10. Chapter 8: Building Biomes: Mastering PCG for Rich Environments 11. Chapter 9: Creating Dynamic Animated Crowds with PCG 12. Part 3: Mastering Optimization and Elevating Your PCG Environments
13. Chapter 10: Exploring Optimization, Debugging, and Performance Tools 14. Chapter 11: Cheat Sheets, Extra Tips, and Shortcuts 15. Index 16. Other Books You May Enjoy

Building an Override function

In this chapter, we will delve into the capabilities of the Override function. This potent feature enables the modification or replacement of sections within a PCG graph during runtime. The Override function is particularly valuable for executing complex calculations within a node, which are then incorporated into the broader PCG graph. This facilitates dynamic alterations and enhancements to procedural content based on real-time inputs or conditions.

Execute with Context

The core aspect of this exercise revolves around creating the primary logic for point distribution and utilizing it to modify points within the PCG data collection. Previously, we focused on the Point Loop Body function. Now, our task is to develop a new function, which is again located in the FUNCTIONS tab, specifically under the Override section:

  1. Navigate to the Override panel inside the FUNCTIONS tab and search for Execute with Context. Click on Execute with Context to...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime