Skip to content

engine_data

Metadata shown in the gametype browser.

megalo
engine_data
	name slayer_title
	description slayer_description
	icon k_engine_icon_slayer
	category slayer
end
FieldPurpose
nameString table symbol for the gametype title
descriptionString table symbol for the description
iconEngine icon constant (e.g. k_engine_icon_slayer)
categoryShort engine category name (e.g. slayer); see below

Values are string table symbol names, not literal quoted strings — except category, which uses a prefixed lookup.

Variant name and description

The gametype name and description are stored separately to regular strings, because of this they do not count towards your gametype's strings count or size limit.

Category Weirdness

category is unlike other Megalo fields. It corresponds to both a built-in engine category enum and a localized string-table label.

Writing category slayer resolves the string table symbol engine_category_slayer (not slayer). That prefixed symbol is usually defined in a shared include such as strings/engine_category_strings.txt:

megalo
string_table english
	engine_category_slayer "Slayer"
	engine_category_vip "VIP"
	; …
end

Base-derived scripts

engine_data can appear in base-derived scripts to override the inherited gametype metadata.