Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
message-circle

GitHub Action

Output Unit Action

v1.0.0

Output Unit Action

message-circle

Output Unit Action

Create dialog output units from Daedalus scripts

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Output Unit Action

uses: szapp/output-unit-action@v1.0.0

Learn more about this action in szapp/output-unit-action

Choose a version

Output Unit GitHub Action

CI Coverage Marketplace

GitHub action for generating dialog output units from Daedalus script files.

The action superficially parses Daedalus script files (based off of a source file) for AI_Output commands and generates a valid output unit cutscene library (CSL, ASCII) from them. The resulting file can be used subsequently to for example be committed back to the repository or made available as a workflow artifact on completion (not part of this Action).

Usage

Create a new GitHub Actions workflow in your project, e.g. at .github/workflows/ou.yml. The content of the file should be in the following format:

name: ou

# Trigger workflow manually
on:
  workflow_dispatch:

# The checkout action needs to be run first
jobs:
  output-units:
    name: Generate output units from scripts
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Generate output units
        uses: szapp/output-unit-action@v1
        with:
          srcFile: path/to/Gothic.src # Adjust
          outFile: path/to/OU.csl # Adjust


      # Continue with the file path/to/OU.csl, e.g.
      # - Commit it to the repository
      # - Provide it as workflow artifact for download

Configuration

  • srcFile: Path to Daedalus source file (e.g. path/to/Gothic.src) listing relevant scripts. Required.

  • outFile: Path to output file (e.g. path/to/OU.csl). Required.