WIZARD TUTORIAL - WIN COND

The win condition pack wizard in the Mod Builder can be used to generate the appropriate file structure for a new Win Condition Pack. This guide will walk you through its usage.


Running The Wizard

  1. Launch the Mod Builder.
  2. Click File and select New.
  3. In the New Mod dialog, select WinConditionPack for Type and click OK.
    • WinCondition.png
  4. Click the button beside the Mod File text box and select a location for your mod. You can save your mod anywhere, but it is recommended that you create a folder for it, e.g. C:\mods\my_win condition\my_win condition.mod.
  5. Enter in a Name and Description for your win condition. This is the name and description that will show up in the Steam Workshop.
  6. If you have a preview image for your win condition, click the button beside the Preview Image text box and select it. It should be a TGA image with a resolution of 280x280. You can add this image later time if you do not have one.
  7. Click the button beside the Win Condition File text box and select a location for your win condition file.
  8. Click the button beside the Scar File text box and select a location for your scar file.
  9. Click OK to complete the wizard.

If you do not specify a full path for any paths other than the Mod File, the paths will implicitly be relative to your Mod File path.

Your completed wizard might look something like this:

WinConditionWizard.png

Creating The Win Condition

By default, the wizard will generate a win condition that acts like annihilation, but you can edit your win condition file and scar file to create a wide variety of game modes.

  1. Expand game\winconditions then double click your win condition file.
  2. Edit your win condition file.
  3. Expand scar\winconditions then double click your scar file.
  4. Edit your scar file.

Completing The Win Condition

  1. If you wish to update the Steam Workshop name/description of your win condition:
    1. Expand info then double click your win condition's name. The Mod Info dialog should appear.
    2. Edit your win condition's name or description.
  2. If you wish to add a Steam Workshop preview image for your win condition:
    1. Right click on info and select Add Burn File…
    2. Browse to your preview image and select it. It should be a TGA image with a resolution of 280x280.
    3. Right click on your preview image and select Add Burn Settings then generic-image to data-rgt. This will compress the image decreasing the size of your mod.

Testing The Win Condition

  1. Click Build then select Build.
    • A dialog will appear informing you that the build is in progress, wait for it to complete.
    • If the build is a success, your win condition will be copied to your Documents\My Games\Company of Heroes 2\mods\gamemode folder.
  2. Launch Company of Heroes 2 from Steam.
  3. Your win condition should appear in your custom game's options dialog.
  4. Create a Custom Game and select your Win Condition to test it out.
  5. If you are happy with your win condition and wish to publish it to the Steam Workshop:
    1. Select the Modding HUB from the Company of Heroes 2 Main Menu.
    2. Select the Manage tab.
    3. Select your win condition.
    4. Click Publish.