CampaignFileMission beta
Interface of @v12-engine/client
export interface CampaignFileMissionA mission as campaign.json has it: what MissionDef has that is data. map is the name of a map file of the game's (maps/<name>.vgmap.json), as the editor opens it
Members
briefing
briefing?: CampaignFileBriefing;Its briefing screen's words, picture and voice, as MissionDef.briefing shows them
debrief
debrief?: {
text?: string;
};What the player is told once it is won: its rating is the code's (MissionDef.debrief.rating)
description
description?: string;What it is about, for the campaign's menu
difficulty
difficulty?: string;The difficulty it is played on, whatever the campaign's: a first mission that teaches, always easy
id
id: string;The mission's id, as MissionDef.id and the saves name it
loading
loading?: {
text?: string;
picture?: string;
};Its loading screen: words, and a picture by its path in images/ under them. The map's when left out
map
map: string;The map it is played on, by the name of its file: homestead for maps/homestead.vgmap.json
name
name: string;The mission's name, shown on the campaign's menu
picture
picture?: string;Its picture on the campaign's menu, by its path in images/