Bob27
03-21-2006, 09:54 AM
The Campaign Editor
Introduction
The Campaign Editor is very simple to use. I hope you will find this tutorial useful. The Campaign Editor can make a .w3n file (Warcraft 3 Campaign File).
General Information
8714
This section in the Campaign Editor lets you change the name of the campaign, the difficulty, the author and description.
8715
The next part of this section lets you change the minimap display.
8716
The next part of this section lets you add, edit, extract and delete maps from the campaign file.
8717
This is a picture of a demo campaign I have made, it shows two maps i have added, a minimap preview, description, name, author, difficultly, ect.
8718
Adding a Map
Adding a map to your campaign is easy. Simply in the general section click on this button
8719
The Loading Screen Section
8721
This section of the Campaign Editor lets you edit the campaign screen, add campaign button and edit the music and sounds playing during the campaign screen. This picture is how you add a button to the campaign screen
8722
8723
The next picture shows how you can change the loading screen, and the shading of it.
8724
Now to add music to your campaign screen use this part of the Campaign Editor
8725
This is a picture of the loading screen section for the demo campaign.
8726
Custom Data
The Campaign Editor lets you make custom data. It works just like the Object Editor except the units you make in this section will be avaliable in every map in your campaign. Custom data made in the Campaign Editor will be blue, not pink like data in the Object Editor.
8727
Import Manager
This import manager works just like the normel import manager, except files imported here will be avaliable for use in evrery map. Also remember that the path will not be wc3mapimported\filename it will be wc3campimported\filename.
8728
Conclusion
This is a pretty simple tutorial. I have also included bellow my tutorial for Game Caches. incase any one needs it. If you have any questions private message me or email me at bob27dav@optusnet.com.au.
Game Caches
Introduction
This tutorial will tell you how to move units and other things from map to map. Remember that Game Caches can not be used on Battle Net, and are almost only ever used for campaigns.
Creating the Game Cache
The first thing you want to do is to create a variable for the Game Cache, go into the Variale editor and create a new Game Cache, like in the pictures bellow.
8731
8732
Then when the Game Caches variable has been created use this trigger to create the Game Cache.
Create Cache
Events
Map initialization
Conditions
Actions
Game Cache - Create a game cache from TutorialCache.w3v
Set TutorialCache = (Last created game cache)
Game Cache - Save TutorialCache
Storing Heros and Other Things
Now i'll show you how to store things using a Game Cache. The following trigger can be used to store a hero.
Store Hero
Events
Conditions
Actions
Game Cache - Store Paladin 0032 <gen> as Paladin of Heros in TutorialCache
Game Cache - Save TutorialCache
Trigger - Run Store Gold <gen> (ignoring conditions)
Remember that you will have to create all the nesecary variables in order for the triggers to work. This next trigger will show you how to store a players gold or lumber. This will require a variable, unlike storing a hero.
Store Gold
Events
Conditions
Actions
Set Gold = (Player 1 (Red) Current gold)
Game Cache - Store Gold as Gold of Recources in TutorialCache
Game Cache - Save TutorialCache
Trigger - Run Store Hero Name <gen> (ignoring conditions)
This next trigger will show you how to store a heros proper name, and one of the ways it can be used in a different map.
Store Hero Name
Events
Conditions
Actions
Set HeroName = (Proper name of Paladin 0032 <gen>)
Game Cache - Store HeroName as HeroName of Heros in TutorialCache
Game Cache - Save (Last created game cache)
Trigger - Run End Game <gen> (ignoring conditions)
This will also require a variable.
Restoring things from the Game Cache
I am now going to show you how to restore all these things in a different map. The first thing we need to do is the re-create all the variables. It makes it alot easier if the new variables in the new map are the same as in the old map. After all the required variables have been made make this trigger.
Load Game Cache
Events
Map initialization
Conditions
Actions
Game Cache - Create a game cache from TutorialCache.w3v
Set TutorialCache = (Last created game cache)
Now that the Game Cache has been re-created we can restore our heros, gold and hero names. This next trigger is used to restore the hero.
Restore Gold
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Set Gold = (Load Gold of Recources from TutorialCache)
Player - Set Player 1 (Red) Current gold to Gold
Now that our gold has been restored we can make a text message appear on the screen saying Your heros proper name is the last game was: and have the heros proper name appear. You can do this with almost anything. Heres the trigger for it.
Restore Hero Name
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Set HeroName = (Load HeroName of Heros from TutorialCache)
Game - Display to (All players) for 20.00 seconds the text: (Your heros proper name is the last game was: + (Load HeroName of Heros from TutorialCache))
Conclusion
I hope you now find Game Caches alot easier, if you would like to ask me anything just private message me or email me at bob27dav@optusnet.com.au. If you need it you maybe download the demo.
Introduction
The Campaign Editor is very simple to use. I hope you will find this tutorial useful. The Campaign Editor can make a .w3n file (Warcraft 3 Campaign File).
General Information
8714
This section in the Campaign Editor lets you change the name of the campaign, the difficulty, the author and description.
8715
The next part of this section lets you change the minimap display.
8716
The next part of this section lets you add, edit, extract and delete maps from the campaign file.
8717
This is a picture of a demo campaign I have made, it shows two maps i have added, a minimap preview, description, name, author, difficultly, ect.
8718
Adding a Map
Adding a map to your campaign is easy. Simply in the general section click on this button
8719
The Loading Screen Section
8721
This section of the Campaign Editor lets you edit the campaign screen, add campaign button and edit the music and sounds playing during the campaign screen. This picture is how you add a button to the campaign screen
8722
8723
The next picture shows how you can change the loading screen, and the shading of it.
8724
Now to add music to your campaign screen use this part of the Campaign Editor
8725
This is a picture of the loading screen section for the demo campaign.
8726
Custom Data
The Campaign Editor lets you make custom data. It works just like the Object Editor except the units you make in this section will be avaliable in every map in your campaign. Custom data made in the Campaign Editor will be blue, not pink like data in the Object Editor.
8727
Import Manager
This import manager works just like the normel import manager, except files imported here will be avaliable for use in evrery map. Also remember that the path will not be wc3mapimported\filename it will be wc3campimported\filename.
8728
Conclusion
This is a pretty simple tutorial. I have also included bellow my tutorial for Game Caches. incase any one needs it. If you have any questions private message me or email me at bob27dav@optusnet.com.au.
Game Caches
Introduction
This tutorial will tell you how to move units and other things from map to map. Remember that Game Caches can not be used on Battle Net, and are almost only ever used for campaigns.
Creating the Game Cache
The first thing you want to do is to create a variable for the Game Cache, go into the Variale editor and create a new Game Cache, like in the pictures bellow.
8731
8732
Then when the Game Caches variable has been created use this trigger to create the Game Cache.
Create Cache
Events
Map initialization
Conditions
Actions
Game Cache - Create a game cache from TutorialCache.w3v
Set TutorialCache = (Last created game cache)
Game Cache - Save TutorialCache
Storing Heros and Other Things
Now i'll show you how to store things using a Game Cache. The following trigger can be used to store a hero.
Store Hero
Events
Conditions
Actions
Game Cache - Store Paladin 0032 <gen> as Paladin of Heros in TutorialCache
Game Cache - Save TutorialCache
Trigger - Run Store Gold <gen> (ignoring conditions)
Remember that you will have to create all the nesecary variables in order for the triggers to work. This next trigger will show you how to store a players gold or lumber. This will require a variable, unlike storing a hero.
Store Gold
Events
Conditions
Actions
Set Gold = (Player 1 (Red) Current gold)
Game Cache - Store Gold as Gold of Recources in TutorialCache
Game Cache - Save TutorialCache
Trigger - Run Store Hero Name <gen> (ignoring conditions)
This next trigger will show you how to store a heros proper name, and one of the ways it can be used in a different map.
Store Hero Name
Events
Conditions
Actions
Set HeroName = (Proper name of Paladin 0032 <gen>)
Game Cache - Store HeroName as HeroName of Heros in TutorialCache
Game Cache - Save (Last created game cache)
Trigger - Run End Game <gen> (ignoring conditions)
This will also require a variable.
Restoring things from the Game Cache
I am now going to show you how to restore all these things in a different map. The first thing we need to do is the re-create all the variables. It makes it alot easier if the new variables in the new map are the same as in the old map. After all the required variables have been made make this trigger.
Load Game Cache
Events
Map initialization
Conditions
Actions
Game Cache - Create a game cache from TutorialCache.w3v
Set TutorialCache = (Last created game cache)
Now that the Game Cache has been re-created we can restore our heros, gold and hero names. This next trigger is used to restore the hero.
Restore Gold
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Set Gold = (Load Gold of Recources from TutorialCache)
Player - Set Player 1 (Red) Current gold to Gold
Now that our gold has been restored we can make a text message appear on the screen saying Your heros proper name is the last game was: and have the heros proper name appear. You can do this with almost anything. Heres the trigger for it.
Restore Hero Name
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Set HeroName = (Load HeroName of Heros from TutorialCache)
Game - Display to (All players) for 20.00 seconds the text: (Your heros proper name is the last game was: + (Load HeroName of Heros from TutorialCache))
Conclusion
I hope you now find Game Caches alot easier, if you would like to ask me anything just private message me or email me at bob27dav@optusnet.com.au. If you need it you maybe download the demo.