Campaign Launcher

Campaign Launcher

0 Downloads

Files: https://drive.google.com/file/d/1qE-HHiBOowaWtKcJtDgM8sAMA58-ngfb/view?usp=sharing

This is an easy to set up and use campaign launcher which utilizes SC2Switcher so that players don't have to navigate the map editor in order to play custom campaigns. The program will automatically search for SC2Switcher, or the player can set it manually. Once found, it will be saved locally.

Setup

Within the "Files" folder, there are three subfiles you'll use: Maps, Mods, and Settings.

Maps

Copy all the maps of your campaign into this folder. The Launcher will use their file names for the button text that launches these missions. You'll want to have the maps line up in the folder in the correct order by giving them sequential names such as "1 - Raynor's Coffee", "2 - Jayborino's Revenge", "3 - Sixen's Lament", etc.

Mods

Copy any mods your campaign uses into this folder. Note: SC2 requires mods be in the SC2 mods folder, so these mods will be copied into that folder. If the SC2 mod folder already has this mod with a newer modified date, then the mod will not be copied over.

Settings

background.png - this is the background image the launcher will use. You may replace it, but be sure to keep the same name and png file format.

Settings.es3 - This is a custom settings file which can be edited with any text editor. It currently includes three options:

  1. HideDebugger - the launcher includes a debugger with various messages that should help if you or the player encounter any issues while using the launcher. You can choose to hide this by setting the value to true.
  2. CopyMaps - This is similar to what the launcher does automatically with mods. If set to true It will copy all the maps over to the SC2 maps folder (if a newer version doesn't already exist there). This will allow you to use actions in the trigger editor such as "Set next map". This is useful so that the player doesn't have to revisit the launcher in between missions.
    1. "Set next map" action should be set to the name of the next map. For example when the player beats Raynor's Coffee, it would set the next map to "2 - Jayborino's Revenge".
      1. Game -Set the next map to "2 - Jayborino's Revenge"
    2. Then when you call "End Game For Player" it'll load up Jayborino's Revenge.
      1. Game -End game in Victory for player 1 (Hide dialogs, Hide score screen)
  3. CampaignName - This is the title name the Launcher will use.
  4. cutoff - This will cutoff up to the first 10 characters from the map file name that is displayed on the button text. For example if the file name is "04 - Deltron's Lunch Hour", setting this setting to 5 will display "Deltron's Lunch Hour" for this map's button launcher. Set this to 0 if you don't want any characters cut off.

SC2 Switcher Location

The launcher will search for SC2Switcher.exe and SC2Switcher_x64 when run, but you may run into an error where it is not found. In this case you will need to set it manually. You'll need to locate your SC2 installation folder which you can do from the Blizzard launcher by going to settings>Game Install. Watch the setup video at 11:00 onward for more information.

Misc

In order to launch a map properly from SC2Switcher, SC2 either needs to not be running, or the player must be logged into their battle.net account in SC2. For this reason I recommend setting the CopyMaps setting to true, and setting up the "Set next map" actions in your maps. Otherwise if the player isn't logged in to SC2, they'll have to either log in after playing a map, or close SC2 each time to play the next map.

This launcher was created in Windows 10 and has been tested with it. Unknown how well it works on other operating systems.

License

This program is free to use noncommercially. The only stipulation is you keep the file "2Tip Jar Donations.txt" intact and easily visible to any players using the launcher. The text within should remain unaltered. You may add one additional donation link for the campaign creator underneath the existing text and include a short description explaining it goes to the campaign creator. Finally you may also add one additional donation link below all text for a charitable cause and include a short description of the organization and the good work they do.

You may alter "1Readme.txt" as needed.