Forum Archive. A read-only snapshot of the Warfare Incorporated forums (2003–2020), preserved for historical purposes.  ·  warfareincorporated.com
Warfare Incorporated Forum

Starter's Guide to a 2v2 Map
Author Message
trineroks
Chief Administrator


Joined: 16 Oct 2009
Posts: 1770
Location: Southern Cali (UCLA)
 Post Posted: Sun Aug 01, 2010 9:00 pm  Post subject: Starter's Guide to a 2v2 Map

A BASIC SKIRMISH MAP:
Click "File" and then "New"

Then click "File" and then "Load". Open up grassy.tc or desert.tc

Put in your men, structures, doodads, rivers, etc.

To make your level playable, you will need it to have the sides controlled by humans. For this example, let's make this a 2v2 game.

Click "Settings" and Click "Side 1"

Check the right hand box. It should say "InitialCred, Initialview, Intelligence"

Set the "InitialCred" field as whatever number of galaxite you want the player to start out with, then switch his Intelligence from "Computer" to "Human"

Repeat the step with Sides2 - 4

Now the triggers part, here is an example ALLIANCE TRIGGER:

*Check the boxes next to Sides1-4 because this trigger applies to all sides*

Condition:

Mission Loaded

Action:

Side1, Side2 ally with Side1, Side2 <-(This makes sure blue and red are allies)
Side3, Side4 ally with Side3, Side4 <-(This makes sure cyan and yellow are allies)

Now the END MISSION TRIGGERS:

For BLUE and RED WIN:


*Check the boxes for Sides1-2 because this trigger applies to only them*

Condition:

Enemies owns exactly 0 anyunit

Action:

End mission win for current player <-(When enemies have 0 units, then Blue and Red win)

For BLUE and RED LOSS:

*Check the boxes for Sides1-2 because this trigger applies to only them*

Condition:

Current player owns exactly 0 anyunit

Action:

End mission lose for current player <-(When Blue or Red controls 0 units, then that respective player loses)

For YELLOW and CYAN WIN:

*Check the boxes for Sides3-4 because this trigger applies to only them*

Condition:

Enemies owns exactly 0 anyunit

Action:

End mission win for current player <-(When enemies have 0 units, then Yellow and Cyan win)

For YELLOW and CYAN LOSS:

*Check the boxes for Sides3-4 because this trigger applies to only them*

Condition:

Current player owns exactly 0 anyunit

Action:

End mission lose for current player <-(When Yellow or Cyan controls 0 units, then that respective player loses)

Afterwards, hit "Settings" and tap "Level". It should show "MaxPlayer, MinPlayer, Title" (There's more but they're not necessary for right now)

In the "MaxPlayer" field, type in 4 (because 4 players is the max)
In the "MinPlayer" field, type in 4 (because 2v2 maps require 4 players)
In the "Title" field, type in any name (don't leave it as UntitledLevel)

Hit "File", then "Export mission pack". Name it anything you want. Then come on forums, go to Mission Sharing, start a new topic with the title of your mission, sticky the post, and in the "Add Attachement" field, hit "Browse" and look for the .pdb version of your map. Once you find it, hit "Add Attachement" and then "Submit" Voila!!

If you have any questions (such as triggers or unitgroups), contact any one of us map makers. We're here to help.

Last edited by trineroks on Sun Jul 29, 2012 7:40 pm; edited 2 times in total
N@TE
Chief Administrator Emeritus


Joined: 06 Dec 2009
Posts: 985
Location: Colorado
 Post Posted: Sun Aug 01, 2010 9:10 pm  Post subject: Awesome, but wrong forum

Trine, that is a great guide, but don't you think it's in the wrong forum? If you move this(don't just create a new topic) to the Mission Authoring forum, I'll be sure to make it sticky. Thanks for the guide!
scottlu
WI Founder


Joined: 15 Aug 2003
Posts: 1773
 Post Posted: Sun Aug 01, 2010 10:04 pm  

I agree - move it to the mission authoring forum. It'll help more mission authors there.
Mithoz
Forum Conqueror


Joined: 09 Mar 2010
Posts: 2429
Location: Down under
 Post Posted: Mon Aug 02, 2010 1:24 am  

isnt it already in mission authoring?
trineroks
Chief Administrator


Joined: 16 Oct 2009
Posts: 1770
Location: Southern Cali (UCLA)
 Post Posted: Mon Aug 02, 2010 7:05 pm  

sorry, i kept it here for future reference. if i could sticky this post on mission authoring, i'd do it.
//Xenon
WI Forum Novice


Joined: 05 Feb 2010
Posts: 7
 Post Posted: Wed Aug 04, 2010 4:57 am  

i cant find this condition: Enemies controls exactly 0 anyunit
trineroks
Chief Administrator


Joined: 16 Oct 2009
Posts: 1770
Location: Southern Cali (UCLA)
 Post Posted: Wed Aug 04, 2010 5:11 pm  

sorry, i meant owns*

The condition is "Owns units". I was thinking in starcraft terms again. my bad ><
//Xenon
WI Forum Novice


Joined: 05 Feb 2010
Posts: 7
 Post Posted: Thu Aug 05, 2010 7:43 am  

Ah ok i found it. But now i've got another problem. After Mission Loading you win automaticly. Loading screen disapered: You Win

Trigger: (at this Time side1)

CONDITIONS: -Mission loaded
ACTIONs: - Center view over Side1
CONDITIONS: - Mission loaded
ACTIONS:
-Side1, Side4 Allies with Side1, Side4 Allies
-Side2, Side3 Allies with Side2, Side3 Allies
CONDITIONS: -Enemies owns Exactly 0 any unit
ACTIONS: End Mission: Win
CONDITONS: - CurrentSide owns Exactly 0 any unit
ACTIONS: End Mission: Lose

Can you help me? Would be nice

MFG //Xenon
trineroks
Chief Administrator


Joined: 16 Oct 2009
Posts: 1770
Location: Southern Cali (UCLA)
 Post Posted: Thu Aug 05, 2010 4:53 pm  

First of all / /Xenon, it would help me if I had a sample of the map you are working on. And about your question, the triggers seem to be in place. Do you put any units/structures in the map?

P.S. - You can PM me, so I can send you a more thorough explanation. To message me, click the link on the top of the page that says "You have no new messages", then select "New Post", type in my name on the "Username" field, and ask me your question there. Thanks.