Logic patching
- Last UpdatedDec 06, 2023
- 1 minute read
The logic patching feature is a way to patch logic with patch_logic.xml.
This file can host all the patch logic or can even include references to other files.
Use the logic patching feature
-
Create the GameData/logic/patch folder.
-
Put the patch_logic.xml file into the GameData/logic/patch folder.
-
Create a patch.pak to distribute using Make Patch from XR Studio. For more information, see Releasing a patch.
How it works
The patch file can be loaded only from a PAK file. As the last step in loading, the system looks in the GameData/logic/patch folder and loads a script file named patch_logic.xml if file is present inside PAK. If the file is present, it loads. Otherwise, nothing happens.