FuncGodotParser

MAP and VMF parser class that is instantiated by a FuncGodotMap node.

Signals

Signal Description
declare_step Emitted when a step in the parsing process is completed. It is connected to FuncGodotUtil's print_profile_info() method if the FuncGodotMap's Show Profiling Info build flag is set.

Methods

Method Description Return type
parse_map_data(map_file: String, map_settings: FuncGodotMapSettings) Parses the map file, generating entity and group data and sub-data, then returns the generated data as an array of arrays. The first array is Array[FuncGodotEntityData], while the second array is Array[FuncGodotGroupData]. Array[Array]
_parse_quake_map(map_data: PackedStringArray, map_settings: FuncGodotMapSettings) Parser subroutine called by parse_map_data(), specializing in the Quake MAP format. Array[Array]
_parse_vmf(map_data: PackedStringArray, map_settings: FuncGodotMapSettings) Parser subroutine called by parse_map_data(), specializing in the VMF format used by Hammer based editors. Array[Array]