A few people have asked if it's possible to lock a map to a particular environment. You'll be happy to know that it is in fact possible, but to a pool of environments (or one if you so wish), and here's how.
- First, download the “Weather_Examples.zip” and “Weather_Structure.zip” files attached to this post.
- Decided how many environments you'd like your map to have. Planning is always good
- Now extract the “Weather_Structure.zip” file into you’re map folder. The folder structure should read as follows:
%AppData%\The Creative Assembly\Shogun2\maps\YOUR_MAP_NAME\Weather\Japan\...
- IMPORTANT. Do not rename any directories within the Weather directory structure. Only deleting directories (DIRs) is valid.
- Next from within TEd go to its properties panel expand Scene. You will now be able to view the hundreds (if not thousands) of environment settings you can tweak.
- Tweak these settings until your heart’s content. If you don’t have a heart, tinker until you have a dull ache in your mouse hand.
- Once you’re happy with the settings you have. Go to Tools > Scene > Environment and select "save_environment". Save your environment to the correct directory. So for example if your map is a land map and your environment is in the day on a dry summer. Then you would save the environment as “Summer_Day_Dry_1.environment” within “%AppData%\The Creative Assembly\Shogun2\maps\Map_Name\Weather\Japan\Land\Summer\Day\Dry\”.
- If you wish to make any additional environments repeat previous steps until you have the number of environments you require.
- Once you have all the environments you want. Delete any empty DIRs. If any empty DIRs remain they will appear as a selectable option via the front end and your map won’t be restricted to your desired environment(s).
- Now you should be able to view the map in the front end and see it’s restricted to the environment(s) you have created.
For further reference on the DIRs structure and how to create environments, unzip the “Weather_Examples.zip” file. This contains all the environments we used For Shogun 2. These can be loaded in TEd or edited via a text editor.
Hope you find this helpful,