Skip to content

Engine categories

Values for the category field in engine_data. Each short name maps to a wire e_game_engine_category index and to the string-table symbol engine_category_<name> used for the localized label in the gametype browser.

Used by engine_data category.

Values match e_game_engine_category in @blamnetwork/blf.

Values

Write the short name in source (category slayer). Do not write the engine_category_ prefix — that prefix is only for the string-table symbol.

Source nameString symbolIndexTypical label
ctfengine_category_ctf0Capture the Flag
slayerengine_category_slayer1Slayer
oddballengine_category_oddball2Oddball
kothengine_category_koth3King of the Hill
juggernautengine_category_juggernaut4Juggernaut
territoriesengine_category_territories5Territories
assaultengine_category_assault6Assault
infectionengine_category_infection7Infection
vipengine_category_vip8VIP
invasionengine_category_invasion9Invasion
stockpileengine_category_stockpile10Stockpile
action_sackengine_category_action_sack11Action Sack
raceengine_category_race12Race
headhunterengine_category_headhunter13Headhunter
wipengine_category_wip14WIP
dogfightengine_category_dogfight15Dogfight
insaneengine_category_insane16Insane
bungieengine_category_bungie17Bungie
ms343engine_category_ms34318343 Industries
heroicengine_category_heroic19Heroic
legendaryengine_category_legendary20Legendary
mythicengine_category_mythic21Mythic
mantisengine_category_mantis22mantis
shishkaengine_category_shishka23Shishka
huevosengine_category_huevos24Huevos
jonnyoengine_category_jonnyo25JonnyOThan
dangerboyengine_category_dangerboy26Danger Boy
holidayengine_category_holiday27Holiday
communityengine_category_community28Community
matchmakingengine_category_matchmaking29Matchmaking
pre_game_warm_upengine_category_pre_game_warm_up30Pre-Game

Notes

category is unusual: the parser looks up the prefixed string symbol (engine_category_ + the token you wrote), then lowers that short name to the enum index above. Labels are 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

engine_data
	name slayer_title
	description slayer_description
	icon k_engine_icon_slayer
	category slayer
end

See also