|
ArticyXImporter
ArticyXImporter for Unreal Engine
|
Integrating articy:draft into your build server workflows is crucial for automating the import process of narrative content into your Unreal Engine projects. This section outlines how to use ArticyImport commandlets for automation, the available options, and how to integrate them into your CI/CD pipelines.
The folder ArticyContent/Generated contains files that are automatically regenerated by the plugin during the import process. These files generally do not need to be version-controlled, as they can be recreated during the build process. Ensure that the necessary Articy project files are committed to version control, while generated content can remain excluded.
The ArticyImport commandlet can be used to automate the import of articy:draft data into Unreal Engine. This is particularly useful for build servers or continuous integration pipelines, enabling automated content updates.
To integrate ArticyImport into your build server or automation pipeline, use the -run switch with the UnrealEditor-Cmd.exe executable. This allows you to execute the ArticyImport commandlet with optional flags to control the import behavior.
Where:
Here are the main options available for the ArticyImport commandlet:
If you don't need to reimport data but only want to refresh generated assets, use:
Here is an example of how to incorporate the ArticyImport commandlet into a build server script:
This script forces a full reimport of Articy data using the -ArticyReimport flag. After the reimport, it optionally runs automation tests.
When using ArticyImport in automation scripts, handle the success or failure of the import process by checking the exit codes from UE4Editor-Cmd.exe.
Make sure to capture these exit codes to manage build process notifications and error handling in your CI/CD pipeline.
Here’s how you can incorporate the ArticyImport commandlet into a build server workflow with conditional actions based on the success of the import process:
This script runs the ArticyImport commandlet with the -ArticyReimport flag, captures the exit code, and proceeds with game packaging if the import is successful. If the import fails, it logs an error and exits the script.
Integrating articy:draft imports into Unreal Engine’s build server automation helps keep your narrative content synchronized with your game. Use the ArticyImport commandlet with the appropriate flags (-ArticyReimport for a full reimport or -ArticyRegenerate for asset regeneration) to control how articy:draft data is processed. By leveraging these tools, you can automate narrative content updates as part of your continuous integration workflows, ensuring that your game’s content is always up to date with minimal manual intervention.