#1
Transporting Units/etc from map to map / Campaign Editor
This will be an example for a two map long campaign where the hero and the player's money is transported. The campaign is uploaded on this site, here's the quick-link:http://www.wc3sear.ch/?p=Maps&ID=9634
You can extract the maps from the campaign by opening the campaign in the campaign editor, right-click on the map and "extract map".
Important: When creating game-caches, labels, variables and all that stuff, remember NOT to put any spaces in their names. E.g. "OneMoreVariable" is a valid name, while "One More Variable" is not. As far as I know WE doesn't allow to put spaces while naming variables anyway. However, that doesn't fit for games-caches or the labels/categories used in a cache. WE won't tell you that there's a problem, it just won't work.
On our first map, we create these variables:
http://img15.exs.cx/img15/9328/CPN_tut_map01_variables.jpg
Then, we create following triggers:
http://img15.exs.cx/img15/6147/CPN_tut_map01_trigger01.jpg
http://img15.exs.cx/img15/294/CPN_tut_map01_trigger02.jpg
http://img15.exs.cx/img15/4793/CPN_tut_map01_trigger03.jpg
http://img15.exs.cx/img15/3488/CPN_tut_map01_trigger04.jpg
In the second map we need these triggers:
http://img15.exs.cx/img15/9499/CPN_tut_map02trigger01.jpg
http://img15.exs.cx/img15/6708/CPN_tut_map02trigger02a.jpg
http://img15.exs.cx/img15/9029/CPN_tut_map02trigger03a.jpg
OK. Now we open the Campaign Editor:
http://img14.exs.cx/img14/580/CPN_tut_01open_cpn_editor.jpg
Now it should look this way:
http://img15.exs.cx/img15/3681/CPN_tut_02_cpn_editor.jpg
I called my campaign "Unit Transport". Now, we select "Unit Transport" in "map files" and right-click on it. There's the option "add map":
http://img15.exs.cx/img15/4537/CPN_tut_04add_map01.jpg
There, we select our first map:
http://img15.exs.cx/img15/3808/CPN_tut_03add_map02.jpg
The Campaign editor checks now if there's any trigger inside the map which gives information about the following map (Game - Set next level) and shows the path
http://img15.exs.cx/img15/8581/CPN_tut_05map_added.jpg
Now we right-click on that path and add the second map.
http://img15.exs.cx/img15/1439/CPN_tut_06second_map.jpg
After doing so, we click "Loading Screen" (upper panel, atm we are in "General"). There, we right-click on the white field
http://img15.exs.cx/img15/6407/CPN_tut_07add_button.jpg
Now we add an button. It's important for the first map that we mark "Visible (first time campaign is loaded)". "Title" is for the name in the campaign menu, here I called it "UnitTransportButton1
http://img15.exs.cx/img15/9184/CPN_tut_08button01.jpg
We add a second button concerning to our second map. There we don't mark "Visible", else the players could chose every map right from beginning
http://img15.exs.cx/img15/6517/CPN_tut_09button02.jpg
Looking at "General", it should be like this:
http://img15.exs.cx/img15/2804/CPN_tut_10finished2.jpg
Now we add one small action in the first map by right-clicking on the map choosing "Edit Map". This will just change the file integrated in the campaign, the original map-file (the one you created before importing them in the campaign editor) won't be changed. If you do your changes in the original map-file, you'll have to replace the map in campaign editor by right-clicking and choosing "Replace Map".
http://img15.exs.cx/img15/5220/CPN_tut_map01_triggerButton.jpg
For further information, use the demo campaign that comes with TFT. All I know about game-caches, cinematics or else I learned from that campaign. Most of the triggers there are well explained and show various ways of how to play with game-caches.
PM me if you find any mistakes in this tutorial