Matrix Games Forums

To End All Wars Releasing on Steam! Slitherine is recruiting: Programmers requiredPandora: Eclipse of Nashira gets release dateCommunity impressions of To End All WarsAgeod's To End All Wars is now availableTo End All Wars is now available!Deal of the Week: Field of GloryTo End All Wars: Video, AAR and Interview!Ageod's To End All Wars: Video, AAR and Interview!To End All Wars: Artillery
Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Tutorial: Making campaigns

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Advanced Tactics Series >> Mods and Scenarios >> Tutorial: Making campaigns Page: [1]
Login
Message << Older Topic   Newer Topic >>
Tutorial: Making campaigns - 1/21/2010 11:48:49 AM   
tweber

 

Posts: 1411
Joined: 6/27/2007
Status: offline
I uploaded a template file for making campaigns to the sandbox. Campaigns take quite a bit of work. Each scenario needs to work individually and the whole campaign has to work as well. I hope with the template and this tutorial, it easier to make campaigns and that some modders or teams of folks will give it a try.

There are really not that many things to do differently if you make a campaign:

1. Set up the regimes. All scenarios have to have the same number of regimes in a campaign. So you should plan this up front. The template has 4 regimes and you can always add or subtract. In the 6th Army Campaign, I used a third regime to lock off hexes. But, additional regimes can be active.

2. Mark the arrivals. There is an exec that marks where transfered units from previous scenarios will land. I mark the German side using slot 1 code 1 and the Soviet side as slot 2 code 1. Please see the picture below




Attachment (1)

< Message edited by tweber -- 1/21/2010 12:05:05 PM >
Post #: 1
RE: Tutorial: Making campaigns - 1/21/2010 11:51:24 AM   
tweber

 

Posts: 1411
Joined: 6/27/2007
Status: offline
Note that you should mark an airfield if you want to transfer planes. You should also mark water and ports if you want to transfer ships.

3. Transfer variables. Right now, all game vars between 400 and 500 will transfer from the scenario. As you see below in the code, I make the PPs of the regimes a variable. This allows me to transfer PPs between scenarios.




Attachment (1)

(in reply to tweber)
Post #: 2
RE: Tutorial: Making campaigns - 1/21/2010 11:52:28 AM   
tweber

 

Posts: 1411
Joined: 6/27/2007
Status: offline
4. In the first turn, I give the regimes the ammount of PP that they had in the previous scenario. Pls see the event code below.




Attachment (1)

(in reply to tweber)
Post #: 3
RE: Tutorial: Making campaigns - 1/21/2010 11:59:22 AM   
tweber

 

Posts: 1411
Joined: 6/27/2007
Status: offline
I also create an action card that allows the player to end the scenario immediately if they reach the victory conditions. As you can see above, this card is dealt out to both regimes.

5. Below is the event that ends the scenario. You can do this many ways. In this example, the scenario ends by simply getting to the other side of the map. There are a couple of events:

a. Research tranfer - Transfers the research of the selected regime to the next scenario. Only the research of the select regime is transfered. You might transfer some research if the campaign has a break (e.g., the ally side shifts from the West to the Soviets in the 6th Army Campaign)

b. Units transfer - Transfers the units of a side. Again, you might have a campaign break where you do not transfer units. Note that you can specify how many units goes into a hex. You also specify the slot you will transfer 2. You might end up playing with the slot markings of the next scenario and the depth in this event to get the right layout for the next game. I am not sure how the units are actually placed. Maybe Vic can comment on this.

c. Load - This immediately loads the next file. Do not put in any code you want executed after this. The file points the the scenario directory. It is probably a good idea to make a sub directory for all your scenario files.






Attachment (1)

(in reply to tweber)
Post #: 4
RE: Tutorial: Making campaigns - 1/21/2010 12:03:55 PM   
tweber

 

Posts: 1411
Joined: 6/27/2007
Status: offline
That is basically it.  You only need to know how variables transfer and the 3 events.  The mechanics are simple, just getting everything to work well and be balanced is tough.  A couple of other things I added:

- I have an AI help event.  If a regime is AI, it gets extra reinforcements.
- I have a give supply event.  It drops the required supply of a regime at the respective map edge. 
- I also made the units faster than standard speed.  I wanted to give a more tactical feel.


It would not be too difficult for a group to put together a campaign.  All you have to do is agree on a campaign structure and then farm out the individual scenarios.  Any scenario specific events should be written after the campaign specific events.  I hope that others give it a try.  Drop me a note if you are stuck.

(in reply to tweber)
Post #: 5
RE: Tutorial: Making campaigns - 1/22/2010 3:26:17 AM   
springer

 

Posts: 414
Joined: 5/14/2009
Status: offline
This is a great aid tweber.  Thanks!  One of the goals of my analysis of what you did is to get a sense of what makes a campaign different than a scenario.  I'm tempted to try my hand at one, particularly now since you've given us the basic mechanics.  The fact it took you nearly a year, and you are a proficient AT programmer, is a little bit intimidating. But as you said, the work can be farmed out. Also, the campaigns can be shorter.

< Message edited by springer -- 1/22/2010 3:27:36 AM >

(in reply to tweber)
Post #: 6
RE: Tutorial: Making campaigns - 1/22/2010 10:34:00 AM   
tweber

 

Posts: 1411
Joined: 6/27/2007
Status: offline
The actual programming part is not that long.  The research to a bit and the play testing also took a while.  Finally, I moved last year so that wiped out about 4 months. 

I would start modest.  Maybe try a 3-4 scenario campaign. 

(in reply to springer)
Post #: 7
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Advanced Tactics Series >> Mods and Scenarios >> Tutorial: Making campaigns Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.070