Documentation
Docs/en/reference/prototype-format/syntax.md
Prototype File Syntax
Generated reference. Do not edit directly. Update
BuildTools/PrototypeFormatInterface.jsonor the owning engine metadata, then runpython BuildTools/docs_prototype_format.py --write.
| Index | Syntax | Properties | Validation | Canonical JSON | Authoring guide |
Baking.ProtoFileExtensions selects input files. Engine defaults: fopro. An embedding project may add extensions without changing how sections are parsed.
Each pack emits <pack>.fopro-bin-<side> for server, client, mapper. Every top-level [ProtoMap] anchor contributes a Map prototype; nested map-placement sections are skipped.
Section forms
Control directives
Minimal example
[ProtoItem]
$Name = BaseItem
[ProtoItem]
$Name = DerivedItem
$Parent = BaseItem
The section selects the type. The extension and directory do not. Values use the shared configuration parser, including # comments, a trailing backslash preceded by space or tab for continuation, and key += value append syntax.