(Keeps Hive Alive)
Go Back   The Hive Workshop - A Warcraft III Modding Site > Warcraft III Tutorials > General Mapping Tutorials

General Mapping Tutorials This board contains tutorials that provide generic mapping information.
Read the Rules before posting.

Reply
 
LinkBack Thread Tools Display Modes
Old 03-21-2006, 10:54 AM   #1 (permalink)
 
Bob27's Avatar

Jesus was a zombie
 
Join Date: Jun 2005
Posts: 2,953

Bob27 is a name known to all (619)

Respected User: This user has been given the respected user award. User of the Year: 2005 

Making a Basic Campaign

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

general.jpg

This section in the Campaign Editor lets you change the name of the campaign, the difficulty, the author and description.

information.gif

The next part of this section lets you change the minimap display.

minimap.gif

The next part of this section lets you add, edit, extract and delete maps from the campaign file.

maps.jpg

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.

generalfinished.jpg

Adding a Map

Adding a map to your campaign is easy. Simply in the general section click on this button
Name:  addmap.gif
Views: 4235
Size:  453 Bytes

The Loading Screen Section

loading.jpg

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

button.jpg

addbutton.gif

The next picture shows how you can change the loading screen, and the shading of it.

loadingscreen.gif

Now to add music to your campaign screen use this part of the Campaign Editor

sound.gif

This is a picture of the loading screen section for the demo campaign.

loadingfinished.jpg

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.

data.jpg

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.

import.jpg

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.

variableeditor5wa.jpg

variable2tu.jpg

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.
Attached Files
File Type: rar Campaign Tutorial.rar (212.7 KB, 333 views)

Last edited by Wolverabid; 06-30-2007 at 06:38 AM..
Bob27 is offline   Reply With Quote
Old 05-02-2007, 03:14 PM   #2 (permalink)
Overall Site Manager
 
Wolverabid's Avatar

 
Join Date: Oct 2006
Posts: 8,408

Wolverabid has much of which to be proud (1218)Wolverabid has much of which to be proud (1218)

Respected User: This user has been given the respected user award. User of the Year: 2007 

Question

I had to move this tutorial from its former place due to image failures.

Bob, Ralle: what's the story with these images guys?
__________________
SuperSecretSearchSystem .......Netiquette....... Posting And You..........Read Me.......Vote

Antivirus Chat Dictionary Games Hoaxes Links Music News Quotations Reference Software

[timquote]blah[/timquote]
Wolverabid is offline   Reply With Quote
Old 05-09-2007, 08:20 PM   #3 (permalink)
Registered User hit
 
hit's Avatar

French Goblin Creator
 
Join Date: Feb 2006
Posts: 159

hit has little to show at this moment (3)


For me the GameCache Party is perfect, the campaign party must be more details
__________________
███ - War Chasers Naga's Ruins
████ - Circle TD-8 Special Races
█████ - New Tactical War
-Test/-Created/-Scenar
"The quality before the quantity"
hit is offline   Reply With Quote
Old 06-03-2007, 01:33 AM   #4 (permalink)
Overall Site Manager
 
Wolverabid's Avatar

 
Join Date: Oct 2006
Posts: 8,408

Wolverabid has much of which to be proud (1218)Wolverabid has much of which to be proud (1218)

Respected User: This user has been given the respected user award. User of the Year: 2007 



This tutorial was damaged.

Guess who is going to end up editing it?
__________________
SuperSecretSearchSystem .......Netiquette....... Posting And You..........Read Me.......Vote

Antivirus Chat Dictionary Games Hoaxes Links Music News Quotations Reference Software

[timquote]blah[/timquote]

Last edited by Wolverabid; 06-03-2007 at 02:13 AM..
Wolverabid is offline   Reply With Quote
Old 06-09-2007, 12:54 PM   #5 (permalink)
 
Katu's Avatar

Architect
 
Join Date: Apr 2007
Posts: 246

Katu has little to show at this moment (45)Katu has little to show at this moment (45)Katu has little to show at this moment (45)Katu has little to show at this moment (45)Katu has little to show at this moment (45)


You?
__________________

I'm currently working on: Nothing, just trying things with GMAX. And planning a sh*tload of never-complete projects.
My userbars | My Aesthetics tutorial

Vote for the Hive!
| Play Against the Darkness!

Katu is offline   Reply With Quote
Old 06-16-2007, 08:46 PM   #6 (permalink)

User
 
Join Date: Jan 2006
Posts: 18

sfger is an unknown quantity at this point (0)


ok my main problem( im pretty good at the rest) is how to get the damn cmpaign to actoualy show up in wc3
sfger is offline   Reply With Quote
Old 06-17-2007, 03:53 PM   #7 (permalink)
 
Katu's Avatar

Architect
 
Join Date: Apr 2007
Posts: 246

Katu has little to show at this moment (45)Katu has little to show at this moment (45)Katu has little to show at this moment (45)Katu has little to show at this moment (45)Katu has little to show at this moment (45)


I suppose it's under Custom Campaigns.
__________________

I'm currently working on: Nothing, just trying things with GMAX. And planning a sh*tload of never-complete projects.
My userbars | My Aesthetics tutorial

Vote for the Hive!
| Play Against the Darkness!

Katu is offline   Reply With Quote
Old 06-24-2007, 07:53 PM   #8 (permalink)
 
Marcelo Hossomi's Avatar

Brazil Fan
 
Join Date: Dec 2005
Posts: 415

Marcelo Hossomi has little to show at this moment (30)Marcelo Hossomi has little to show at this moment (30)Marcelo Hossomi has little to show at this moment (30)Marcelo Hossomi has little to show at this moment (30)


I've got one question...

Do I have to open the maps of the campaign by the Campaign Editor (I mean, select it in the CE and click "Edit Map")?

Or else, the map will be as I saved it BEFORE adding it to the campaign...

Thanks! The tutorial is nice!
__________________

YIN-YANG BATTLE - remaking
too disorganized!

WIZARDS ARENA - active
TERRAINiii - HEROESiiii - EVENTSiiii

Marcelo Hossomi is offline   Reply With Quote
Old 06-30-2007, 07:02 AM   #9 (permalink)
Overall Site Manager
 
Wolverabid's Avatar

 
Join Date: Oct 2006
Posts: 8,408

Wolverabid has much of which to be proud (1218)Wolverabid has much of which to be proud (1218)

Respected User: This user has been given the respected user award. User of the Year: 2007 

Tutorial Approved

~ Tutorial (re)approved and moved to General Mapping Tutorials.
__________________
SuperSecretSearchSystem .......Netiquette....... Posting And You..........Read Me.......Vote

Antivirus Chat Dictionary Games Hoaxes Links Music News Quotations Reference Software

[timquote]blah[/timquote]
Wolverabid is offline   Reply With Quote
Old 09-09-2007, 02:58 PM   #10 (permalink)
 
pure_pwner's Avatar

User
 
Join Date: Aug 2007
Posts: 13

pure_pwner is an unknown quantity at this point (0)


Thanks a lot I like youyr tutorial its easier than I taught
__________________
pure_pwner
pure_pwner is offline   Reply With Quote
Old 09-23-2007, 02:06 PM   #11 (permalink)
 
Paddymew's Avatar

User
 
Join Date: Sep 2007
Posts: 1

Paddymew is an unknown quantity at this point (0)


Question I have a problem...

I followed this tutorial and read it through but I have this problem: When I save my campaign it says that I have 2 maps "not in use, marked by blue" and whenever I play the campaign it says 0 missions and there are no "arrows" with mission names.

The campaign editor looks like this, and I have followed the step to add a map to the campaign 100%!

What should I do?
Paddymew is offline   Reply With Quote
Old 09-27-2007, 10:09 PM   #12 (permalink)

User
 
Join Date: Aug 2007
Posts: 23

damurloc has a little shameless behavior in the past (-5)


Thumbs up

All hail the Bob
Seriusly this is a good tutorial, Im not making a campaign but I need a ****load of triggers in my new map.
3/5 Buffs
damurloc is offline   Reply With Quote
Old 09-28-2007, 03:49 AM   #13 (permalink)
 
Bob27's Avatar

Jesus was a zombie
 
Join Date: Jun 2005
Posts: 2,953

Bob27 is a name known to all (619)

Respected User: This user has been given the respected user award. User of the Year: 2005 

Quote:
Originally Posted by Paddymew View Post
I followed this tutorial and read it through but I have this problem: When I save my campaign it says that I have 2 maps "not in use, marked by blue" and whenever I play the campaign it says 0 missions and there are no "arrows" with mission names.

The campaign editor looks like this, and I have followed the step to add a map to the campaign 100%!

What should I do?
You probably didn't add Loading Screen buttons, go to the Loading Screen tab, and then right click on the blank white space, and click add new button. Then you can choose what you want it to say as its chapter, its name and whether or not it appears straight away when you load the campaign.

Quote:
Originally Posted by damurloc View Post
All hail the Bob
Seriusly this is a good tutorial, Im not making a campaign but I need a ****load of triggers in my new map.
3/5 Buffs
Glad that you liked it :)
Bob27 is offline   Reply With Quote
Old 09-30-2007, 02:22 PM   #14 (permalink)
 
UchihaSasuke.gr's Avatar

:D
 
Join Date: Mar 2007
Posts: 2,912

UchihaSasuke.gr is on a distinguished road (70)UchihaSasuke.gr is on a distinguished road (70)


Really good thread!This will surely help people creating their campaigns!
UchihaSasuke.gr is offline   Reply With Quote
Old 10-10-2007, 12:25 AM   #15 (permalink)
 
7fanfer7's Avatar

the_skull
 
Join Date: Oct 2007
Posts: 5

7fanfer7 is an unknown quantity at this point (0)


thx it a helped
7fanfer7 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes
Linear Mode Linear Mode