Exports text data to disk in plain text format.
When to Use
- Metadata: Export metadata alongside terrain data from other output devices.
- Coordinates and parameter lists: Export coordinate data or parameter lists.
- Procedural text: Write out procedurally generated text content.
How to Use
Connect a Text packet to the Text Input, build the world, and write the file. Text content is written verbatim without any processing or formatting.
- Connect a Text packet from a text-generating device to the Text Input
- Set the output filename using the template syntax
- Build the world
- Press Write output to disk!, or run a Final Build to write it along with your other outputs
Inputs
| Port Name | Type | Required/Optional | Description |
|---|---|---|---|
| Text Input | Text | Required | The text data to export |
Outputs
This device has no output ports (terminal device).
Parameters
File Name – Where to save the file. Supports filename template tags. Default: <project>_<name>.txt. The file browser offers .txt, .xml and .json, or any extension you type.
Output File on every Build – Meant to save the file automatically after every build. Default: disabled. In this build the checkbox has no effect on Text Output: write the file with the button below, a Final Build, or a tiled build.
Participate in Tiled Builds – Save a file for each tile during tiled builds. Default: enabled
Write output to disk! – Button that saves the file now from the latest build.
Tips and Tricks
- Template tokens like
<project>,<name>, and<res>work in the filename