Asset: Patch config
Patch configurations are asset that inhert selected properties from a parent patch.
What is a Patch Configuration?
- Patch configurations are asset types in which every configuration is based on a parent patch.
- Selected fields can be overridden while retaining the behavior of the parent patch, but with altered properties.
- Configurations can also be created from other configurations, allowing multiple generations of children with unique properties.
Creating Patch Configurations
- To create a Patch Configuration, right-click a patch in the asset browser and select “Create New Patch Configuration.”
- Select what properties should be added to the configuration, via the node inspector in the parent patch.
- Just select a node to show the inspector.
- In a configuration there is an inherit button that locks the field to its parent’s value.
Behavior and Limitations
- Configurations do not allow you to re-route nodes from their parent and therefore do not exist as node graphs. Instead, they consist of a list of fields you have chosen to inherit from the parent patch or configuration.
- From the game’s perspective, there is no difference between using a patch or a configuration on a sound component. Both function the same way; the difference lies only in their content or settings.
Examples
Footstep sounds
Suppose you created a footstep sound for the right foot and want a left-foot sound with the same behavior but different samples. Instead of duplicating the footstep patch (which would require maintaining both), you create a configuration of the right foot patch and replace only the sound assets. The logic remains in the parent patch, so updates automatically propagate to the configuration.
A more structured approach could be to create a single “Foot” patch with two configurations: one for the left foot and one for the right, treating them as an equal pair instead of a strict parent-child relationship.
Car sounds
Suppose you have a “Car” patch with core functionality—engine rumble, gear changes, tire sounds for turning or braking, etc. For each car model, you create configurations of the Car patch, replacing the engine sound, tire sounds, number of gears, pitch values, and so on.