diff --git a/fgd/point/info/info_campaign_manager.fgd b/fgd/point/info/info_campaign_manager.fgd new file mode 100644 index 000000000..a3c0ca549 --- /dev/null +++ b/fgd/point/info/info_campaign_manager.fgd @@ -0,0 +1,24 @@ +@PointClass base(BaseEntity) + appliesto(P2CE) + iconsprite("editor/info_campaign_manager.vmt") += info_campaign_manager: "Management entity for campaign/workshop maps. Used to transition to other maps or change campaign state." + [ + + // Control Functions + input PreviousMap(void) : "Immediately load the previous map in the campaign script." + input NextMap(void) : "Immediately load the next map in the campaign script." + input MarkCampaignComplete(void) : "Mark the campaign as completed. Will unlock all chapters." + input ExitGame(void) : "Trigger the evaluation screen where a player can vote on your campaign/map." + + // TODO: make campaign system handle non-linear stuff + // better before implementing this! + // ------------------------------------------------------ + // Getter Functions + // input GetChapterProgress(void) : "" + // input GetCampaignProgress(void) : "" + // Setter Functions + // input SetChapterLockState(string) : "" + // Outputs + // output OnGetChapterProgress(int) : "" + // output OnGetCampaignProgress(int) : "" + ] diff --git a/hammer/materials/editor/info_campaign_manager.vmt b/hammer/materials/editor/info_campaign_manager.vmt new file mode 100644 index 000000000..2dbb54384 --- /dev/null +++ b/hammer/materials/editor/info_campaign_manager.vmt @@ -0,0 +1,8 @@ +Sprite +{ + $baseTexture "editor/info_campaign_manager" + $spriteorientation "vp_parallel" + $spriteorigin "[ 0.50 0.50 ]" + $spriterendermode 2 + $no_fullbright 1 +} diff --git a/hammer/materials/editor/info_campaign_manager.vtf b/hammer/materials/editor/info_campaign_manager.vtf new file mode 100644 index 000000000..0c72c60e7 Binary files /dev/null and b/hammer/materials/editor/info_campaign_manager.vtf differ