How-To: Winter Skins in custom maps
Basics
You will need a basic text editor for this. Microsoft Notepad is great for this. Even better would be notepad++, which you can download from notepad-plus-plus.org
In this tutorial we will edit two files. Here they are explained:
- A file called YourMapName.options has a variable called uses_ice, which is used to set vehicle skin type.
- A file called YourMapName.info has a variable called default_skin which is used to set infantry skin type.
Why do we need to edit these files manually?
Even though WorldBuilder has an option in Scenario Properties called "Map Uses Ice" it only affects default_skin variable in .info file. World Builder should edit uses_ice in .options file as well but currently it does not.
Alright, lets get into setting infantry and vehicle skin types to winter:
Goto your map folder, e.g.
Code
C:\Program Files (x86)\Steam\SteamApps\common\Company of Heroes 2\CoH2\Data\scenarios\mp\YourMapName
Open YourMapName.options in notepad/notepad++, set uses_ice to true, e.g.
Code
uses_ice = true
and save the file.
Open YourMapName.info in notepad/notepad++, set default_skin to "winter", e.g.
Code
default_skin = "winter",
and save the file.
NOTE! World Builder might generate these files each time you save the map. Make sure uses_ice is set to true and default_skin is set to "winter" before using "Export Package".
Conclusions
default_skin variable in YourMapName.info can be used for setting infantry skin type. e.g. "winter" or "summer".
uses_ice variable in YourMapName.options file can be used for setting vehicle skin type, e.g. true for winter skins and false for summer skins.