Company of Heroes: Eastern Front

Author Topic: Tutorial: Several Atmosphere Settings and Transitions  (Read 3559 times)

Offline Max 'DonXavi' von B.

  • Developer
  • Poster of the Soviet Union
  • *
  • Posts: 3454
  • Eastern Front forever!
    • View Profile
Tutorial: Several Atmosphere Settings and Transitions
« on: August 14, 2011, 06:50:19 PM »
Loading and saving custom/Relic's Atmosphere Properties

First of all, you have to extract WW2Art.sga to come by the standart atmosphere properties for Relic's skirmish and campaign maps. How that works you can read here.
What you need are the files from "WW2Art.sga\data\art\scenarios\presets\atmosphere". You have to copy them into "C:\Users\%username%\Documents\My Games\Company of Heroes\ww2\Data\Art\Scenarios\Presets\Atmosphere" in order to make them loadable, if the folders aren't there, create them.
To successfully save custom atmosphere settings, you need the attached file, written by Copernicus, Credits go to him. Place the file in "C:\Users\%username%\Documents\My Games\Company of Heroes". Now you can succefully save your own atmosphere settings.
You should save them in following folder:
"C:\Users\%username%\Documents\My Games\Company of Heroes\ww2\Data\Art\Scenarios\Presets\Atmosphere".



If you want a weather cycle on your map, you need to do the following:


- Create the subfolders "...\data\scenarios\mp" in the folder you have your map currently installed. May look like this:
"C:\Users\%username%\Documents\My Games\Company of Heroes\WW2\Data\Scenarios\MP\MAPNAME\data\scenarios\mp".

- Create following subfolders:
"...\data\art\scenarios\presets\atmosphere" and put the .aps files there that you wish to create the weather cycle.

- Open your map and select "Scenario > Atmosphere Properties". Go to the Transitions tab and add the .aps files that you have chosen before to the list, you may edit the duration of each file by the number beneath "Transition", I recommend a value from 100-600 (seconds), you can also enlarge the number though.

Save the current atmosphere properties file as a new file in the specific path for your map.

Pack the map as an .sga file, how you do that is written here.


If you just want several Atmosphere properties however, you need to do this:

- create a MAPNAME.options file, "MAPNAME" is just a placeholder for your map's real name.

- Paste the follwing into it:

Code: [Select]
atmospheres =
{
{ 620XX , "NAMEofATMOSPHERE1.APS" },
{ 620XX , "NAMEofATMOSPHERE2.APS" },
{ 620XX , "NAMEofATMOSPHERE3.APS" },
}

- Replace the NAMEofATMOSPHEREX by the respective .aps file you want to have for your map. You may wonder what the numbers in front of them are for. These are references to your .ucs, the games localisation file. Here are the codes for the localisation:

Code: [Select]
62001 Sunny
62002 Midday
62003 Stormy
62004 Stormy Dawn
62005 Dusk
62006 Night
62007 Rainy Day
62008 Afternoon Rain
62009 Dawn
62010 Overcast
62011 Afternoon
62012 Heavy Rain
62013 Hazy
62014 Dusk Rain
62015 Hazy Dusk
62016 Daytime
62017 Raining
62018 Stormy Night
62019 Overcast Daytime

Edit the number to make the name description fit your atmosphere properties:

{ 62001 , "MyMap_sunny.APS" }

That should do.
« Last Edit: November 05, 2012, 06:50:16 PM by MaxiKing6 »

Lemberg - Baraque de Fraiture - Smolensk - Heiligenbeil - Nobel Dynamite Works - Lorient - Poltawa