wc3campaigns
WC3C Homepage - www.wc3c.netUser Control Panel (Requires Log-In)Engage in discussions with other users and join contests in the WC3C forums!Read one of our many tutorials, ranging in difficulty from beginner to advanced!Show off your artistic talents in the WC3C Gallery!Download quality models, textures, spells (vJASS/JASS), systems, and scripts!Download maps that have passed through our rigorous approval process!

Go Back   Wc3C.net > Tutorials > General Mapping Tutorials
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 10-06-2007, 04:05 AM   #1
The Elite
For External Use Only
 
The Elite's Avatar
 
Join Date: Jun 2007
Posts: 672

Submissions (6)

The Elite will become famous soon enough (60)The Elite will become famous soon enough (60)The Elite will become famous soon enough (60)

Default Campaign Tutorial

NOTE: You have been redirected in order for our attachments to be made available to you. This will only last two minutes; these measures where taken to avoid hotlinking and bandwidth theft.
To avoid these restrictions Log in or Register

Introduction
Hello, in this tutorial you will learn what is needed to make a campaign and how to make one.
Dont scream to me that there already is a campaign tutorial, if you look at that tutorial you'll know that nothing like that should be in the wc3c database anymore, so i wrote this as a replacement. No offence, TheFirstSword
What to do
Ok, run world edit and open up the campaign editor, this comes up
Zoom (requires log in)
Ok, change the name from "Just another Warcraft 3 Campaign" to "Learning Campaign", change the author to your name and change the description to "Just a learning campaign".
Now click on "Custom Data"
Zoom (requires log in)
Click on "New Custom Unit"
Zoom (requires log in)
Change the name to "Hero" and select the Paladin
Zoom (requires log in)
Now click OK
Now minimize the Campaign Editor and go into the Terrain Editor (which is the default World Edit screen) and go to "New Map"
Zoom (requires log in)
Click OK
Now go File>Save Map As and save it as "Map01"
Now go back to the Campaign Editor and click on the General tab
Zoom (requires log in)
Right Click On Just Another Warcraft 3 Campaign
Zoom (requires log in)
And select add map
Zoom (requires log in)
And select Map01 then click OK
It's like this now
Zoom (requires log in)
Now right click on Map01 and select edit. This is so we can just click on Save whenever we want it to save to the campaign instead of having to reimport it into the campaign.
Now in the tool palette go to unit palette > custom units and place "Hero" anywhere on the map.
Now go into the trigger editor
Zoom (requires log in)
Delete the "Melee Initialization" trigger.
Make a new trigger and call it "Save Hero"
Add the Event
Trigger:
Player - Player 1 (Red) leaves the game with a victory
this event fires when Player 1 (red) has a victory.
No conditions
add the actions
Trigger:
Game Cache - Create a game cache from Learning Campaign.w3v
this just creates the Game Cache that we're going to save "Hero" in.
Trigger:
Game Cache - Store Hero 0001 <gen> as Hero of Map01 in (Last created game cache)
this stores "Hero" in the Game Cache so we can load him in another map
Trigger:
Game Cache - Store Hero 0001 <gen> as Hero of Map01 in (Last created game cache)
And this trigger just saves the game cache.
So the trigger should look like this
Trigger:
Save Hero
Collapse Events
Player - Player 1 (Red) leaves the game with a victory
Conditions
Collapse Actions
Game Cache - Create a game cache from Learning Campaign.w3v
Game Cache - Store Hero 0001 <gen> as Hero of Map01 in (Last created game cache)
Game Cache - Save (Last created game cache)
Now we need another trigger, one that sets the next map, but first we need another map. Press the save button or Ctrl + S NOT SAVE AS.
Now once it has saved make a new map doing what i said before to make it.
Press Save As and save it as Map02.
Now go back into the campaign editor and add that make, doing what i said before.
Now right click on Map01 (not Map02) and select edit. Go back into the trigger editor and back into the Save Hero Trigger.
Add a new action.
Trigger:
Game - Set the next level to Map02.w3m
This sets the next level to Map02 so that when you have a victory it will go to that map.
Press Save (not save as)
Go back into the Campaign Editor.
You'll notice that now it looks like this:
Zoom (requires log in)
That meens that the Set Next Level action works.
Now rightclick on Map02(not the one that's branching off Map01) and select edit.
Now in Map02, go to the trigger editor.
Click on the "Variable Editor"
Zoom (requires log in)
Make a new variable called Hero with the type Unit
Zoom (requires log in)
Now get out of the variable editor
Delete the "Melee Initialization" trigger.
Make a new trigger called Load Hero.
Add the Event
Trigger:
Map initialization
This event fires as soon as the map loads.
Add the action
Trigger:
Game Cache - Create a game cache from Learning Campaign.w3v
Now this recreates the Game Cache we made in Map01 so that we can load "Hero" from it
Trigger:
Game Cache - Restore Hero of Map01 from (Last created game cache) for Player 1 (Red) at (Center of (Playable map area)) facing 0.00
This restores "Hero" which we stored in the game cache in Map01
Trigger:
Set Hero = (Last restored unit)
This sets "Hero" to a variable so that you can do stuff with him via triggers, because you wouldnt be able to reference him in triggers otherwise.
So the trigger should look like this:
Trigger:
Load Hero
Collapse Events
Map initialization
Conditions
Collapse Actions
Game Cache - Create a game cache from Learning Campaign.w3v
Game Cache - Restore Hero of Map01 from (Last created game cache) for Player 1 (Red) at (Center of (Playable map area)) facing 0.00
Set Hero = (Last restored unit)
Now your hero will be loaded.
Press Save (do i really have to tell you again not to press Save As?)
Now go back into the Campaign Editor
You'll notice that Map01 is blue, why is this? Because it's not used, AKA you cant play it from the Campaign yet.
To solve this delema press the loading screen tab
Zoom (requires log in)
Now, right click in this area
Zoom (requires log in)
And select Add Button
Zoom (requires log in)
This comes up
Zoom (requires log in)
Leave Chapter as it is
Change Title to "First Map"
Leave File Loaded as it is
and select the "Visible (first time campaign is loaded)" button.
Should look like this now:
Zoom (requires log in)
Click OK.
Go back into the General Tab.
Notice That Map01 is no longer blue.
Go back into the Loading Screen Tab
If you want to be able to access anymap without having to go to Map01 then add another button for the other maps, otherwise just go back to the general tab.
Press Save.
And thats how you make a Campaign, of course you need more maps and actual content in the map.

Good Luck with your campaign and hopefully you finish it.

This is The_Elite saying "Have Fun Everyone"
Attached Images
File Type: png 1.png (7.1 KB, 757 views)
File Type: png 2.png (720 Bytes, 711 views)
File Type: png 3.png (1.0 KB, 655 views)
File Type: png 4.png (82.5 KB, 669 views)
File Type: png 5.png (662 Bytes, 615 views)
File Type: png 6.png (1.9 KB, 643 views)
File Type: png 7.png (2.6 KB, 619 views)
File Type: png 8.png (2.0 KB, 637 views)
File Type: png 9.png (3.0 KB, 605 views)
File Type: png 10.png (3.1 KB, 684 views)
File Type: png 11.png (760 Bytes, 602 views)
File Type: png 12.png (6.6 KB, 666 views)
__________________

Goths are nerds that dress like vampires. -Dominant-Male
Oh, and wc3c wasn't dying back in 2007 and it isn't now. Our secret is simple: you can't kill the undead ... - Vexorian

We're definitely not going to make a G or a PG version of this. It's not PillowfightCraft. - Chris Metzen on the Warcraft Movie
Man, we're considered elitist all over the internet. This makes me feel nice and warm inside. - ghenjis
Please help! I'll provide no information, you must guess! - Whitehorn

Last edited by The Elite : 11-24-2007 at 12:20 AM.
The Elite is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 10-06-2007, 07:40 AM   #2
Razernok
User
 
Razernok's Avatar
 
Join Date: Aug 2006
Posts: 86

Razernok has little to show at this moment (3)

Default

nice tutorial. very well written in my option, like my option really matters though.
Razernok is offline   Reply With Quote
Old 10-06-2007, 07:45 AM   #3
The Elite
For External Use Only
 
The Elite's Avatar
 
Join Date: Jun 2007
Posts: 672

Submissions (6)

The Elite will become famous soon enough (60)The Elite will become famous soon enough (60)The Elite will become famous soon enough (60)

Default

thanks, im gonna rep you because you put me in a happy mood
__________________

Goths are nerds that dress like vampires. -Dominant-Male
Oh, and wc3c wasn't dying back in 2007 and it isn't now. Our secret is simple: you can't kill the undead ... - Vexorian

We're definitely not going to make a G or a PG version of this. It's not PillowfightCraft. - Chris Metzen on the Warcraft Movie
Man, we're considered elitist all over the internet. This makes me feel nice and warm inside. - ghenjis
Please help! I'll provide no information, you must guess! - Whitehorn
The Elite is offline   Reply With Quote
Old 10-06-2007, 07:47 AM   #4
Razernok
User
 
Razernok's Avatar
 
Join Date: Aug 2006
Posts: 86

Razernok has little to show at this moment (3)

Default

cool thx
Razernok is offline   Reply With Quote
Old 10-06-2007, 10:17 AM   #5
PitzerMike
Alcopops
 
PitzerMike's Avatar


Tools & Tutorials Moderator
 
Join Date: Jan 2003
Posts: 2,791

Submissions (12)

PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)

Approved Map: Pitzer's Minesweeper

Default

Yes, it is very good.
I will have to approve it right away.
__________________
Zoom (requires log in)
PitzerMike is offline   Reply With Quote
Old 10-06-2007, 10:20 AM   #6
The Elite
For External Use Only
 
The Elite's Avatar
 
Join Date: Jun 2007
Posts: 672

Submissions (6)

The Elite will become famous soon enough (60)The Elite will become famous soon enough (60)The Elite will become famous soon enough (60)

Default

omg, that was faster then i thought, thats why your my favourite mod and i think you should graveyard This tutorial because this renders it obselete
__________________

Goths are nerds that dress like vampires. -Dominant-Male
Oh, and wc3c wasn't dying back in 2007 and it isn't now. Our secret is simple: you can't kill the undead ... - Vexorian

We're definitely not going to make a G or a PG version of this. It's not PillowfightCraft. - Chris Metzen on the Warcraft Movie
Man, we're considered elitist all over the internet. This makes me feel nice and warm inside. - ghenjis
Please help! I'll provide no information, you must guess! - Whitehorn

Last edited by The Elite : 10-06-2007 at 10:23 AM.
The Elite is offline   Reply With Quote
Old 10-06-2007, 11:59 AM   #7
PitzerMike
Alcopops
 
PitzerMike's Avatar


Tools & Tutorials Moderator
 
Join Date: Jan 2003
Posts: 2,791

Submissions (12)

PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)

Approved Map: Pitzer's Minesweeper

Default

Yes, true.
Someday I'll have to go through all the old imported tutorials and get rid of the obsolete ones.
__________________
Zoom (requires log in)
PitzerMike is offline   Reply With Quote
Old 10-06-2007, 12:03 PM   #8
The Elite
For External Use Only
 
The Elite's Avatar
 
Join Date: Jun 2007
Posts: 672

Submissions (6)

The Elite will become famous soon enough (60)The Elite will become famous soon enough (60)The Elite will become famous soon enough (60)

Default

Quote:
Originally Posted by PitzerMike
Yes, true.
Someday I'll have to go through all the old imported tutorials and get rid of the obsolete ones.
Imported? Please Explain
__________________

Goths are nerds that dress like vampires. -Dominant-Male
Oh, and wc3c wasn't dying back in 2007 and it isn't now. Our secret is simple: you can't kill the undead ... - Vexorian

We're definitely not going to make a G or a PG version of this. It's not PillowfightCraft. - Chris Metzen on the Warcraft Movie
Man, we're considered elitist all over the internet. This makes me feel nice and warm inside. - ghenjis
Please help! I'll provide no information, you must guess! - Whitehorn
The Elite is offline   Reply With Quote
Old 10-06-2007, 12:16 PM   #9
PitzerMike
Alcopops
 
PitzerMike's Avatar


Tools & Tutorials Moderator
 
Join Date: Jan 2003
Posts: 2,791

Submissions (12)

PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)

Approved Map: Pitzer's Minesweeper

Default

Imported from the old site after the big downtime/staff change in 2005.
__________________
Zoom (requires log in)
PitzerMike is offline   Reply With Quote
Old 10-08-2007, 12:35 AM   #10
PsykieKILLA
User
 
PsykieKILLA's Avatar
 
Join Date: Jul 2007
Posts: 96

Submissions (2)

PsykieKILLA has little to show at this moment (4)

Default

Nice tutorial!

I actually didn't know how the whole hero save function worked so thank you...

+Rep
__________________
PsykieKILLA is offline   Reply With Quote
Old 10-15-2007, 10:52 PM   #11
Anopob
Yay!
 
Anopob's Avatar
 
Join Date: May 2006
Posts: 870

Anopob has a spectacular aura about (120)

Default

Thank you, it helped me in my own ways. +rep
__________________
Give +REP to people who help you with things or make good resources.
Better Ways of Requesting For Help - Race Contest #2 WIP Thread (Bone Race)
As of December 1st I have my blue rep. Yay :D
Anopob is offline   Reply With Quote
Old 11-23-2007, 10:36 PM   #12
FOX_84killer
User
 
Join Date: Nov 2007
Posts: 33

FOX_84killer has little to show at this moment (0)

Default

awsome this is good. thx now i can do it better, thanks..
FOX_84killer is offline   Reply With Quote
Old 11-23-2007, 11:36 PM   #13
FOX_84killer
User
 
Join Date: Nov 2007
Posts: 33

FOX_84killer has little to show at this moment (0)

Default

what the, am reading this and it shows, atwhere it says that the map01 is blue and it sayd go to this spott and it shows me a x??????????
FOX_84killer is offline   Reply With Quote
Old 11-24-2007, 12:16 AM   #14
The Elite
For External Use Only
 
The Elite's Avatar
 
Join Date: Jun 2007
Posts: 672

Submissions (6)

The Elite will become famous soon enough (60)The Elite will become famous soon enough (60)The Elite will become famous soon enough (60)

Default

please dont double post, there is an edit button.
Anyway clicking on the "X" will take you to the variable editor when you can create and edit variables, if you dont understant what variables are i suggest you try and learn more before you try and complete your campaign
__________________

Goths are nerds that dress like vampires. -Dominant-Male
Oh, and wc3c wasn't dying back in 2007 and it isn't now. Our secret is simple: you can't kill the undead ... - Vexorian

We're definitely not going to make a G or a PG version of this. It's not PillowfightCraft. - Chris Metzen on the Warcraft Movie
Man, we're considered elitist all over the internet. This makes me feel nice and warm inside. - ghenjis
Please help! I'll provide no information, you must guess! - Whitehorn
The Elite is offline   Reply With Quote
Old 01-01-2008, 11:17 AM   #15
Arcanis
User
 
Join Date: Dec 2007
Posts: 1

Arcanis has little to show at this moment (0)

Default Problem with map "linking"

Sorry if I post to old thread, but I though that this is the best place to ask.
(And apologize if my text has typos, english is my secondary language)

So, I have this problem with "linking" maps with Campaing Editor. I did exactly like The_Elite did in this tutorial, but added some content in those maps. But after I complete the First map in campaing the second won't start automaticly after scoreboard. (as it should do, with that "Game: Set next lvl" action) Those maps are not blue (nor red) in campaing editor, and they are linked like in one picture in this tutorial. Can you help me solve this problem?
Arcanis is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 09:53 AM.


Donate

Affiliates
The Hubb http://bylur.com - Warcraft, StarCraft, Diablo and DotA Blog & Forums The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2014, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services