![]() |
Ember
|
How to configure Ember to read different XML formats. Use this when your behavior tree files use a different structure than the default.
For standard BehaviorTree.CPP format, you usually don't need to change anything.
Tools > Parser Configuration
A profile is a named set of parser settings. You can:
| Setting | What it controls |
|---|---|
| Root element | Name of the top-level XML element (e.g. root) |
| Tree element | Name of the element that defines a tree (e.g. BehaviorTree) |
| Tree ID attribute | Attribute that holds the tree name (e.g. ID) |
| Node element | How composite nodes are named (e.g. Sequence, Selector) |
| Blackboard format | How blackboard entries are defined in XML |
| Profile | Use when |
|---|---|
| Default | Standard BehaviorTree.CPP v4 format |
| Generic | Flexible format for custom schemas |
| Legacy | Older BehaviorTree.CPP v3 format |
| Option | Effect |
|---|---|
| Validate structure | Check that the XML structure is valid |
| Allow unknown nodes | Permit node types not in TreeNodesModel |
| Preserve whitespace | Keep indentation and line breaks when saving |