Jump to content

Campaign Script Template


Recommended Posts

hi there :)

does anyone have some sort of a template of a Campaign script. ive been studying the manual but I dont really understand how to start it. once I get going ill be able to soldier through, but if some one has some sort of an example script or a template I could fill in :) cheers!!

Link to comment
Share on other sites

[PLAYER FORCE] Blue

[HUMAN OPPONENT ALLOWED] No

[bLUE VICTORY TEXT] The Syrians forces have been defeated by the Coalition. Now, as The Highlanders Battlegroup moves south into their occupation AO on the border with Jordan, the long road to rebuilding this ancient nation can begin.

[bLUE DEFEAT TEXT] You have failed. Her Majesty's Government has been publically embarrased by the inability of the British Armed Forces to operate in a Coalition environment. Combat operations in Syria will continue without you, as Britain's influence in the Middle East sinks to an all-time low.

[RED VICTORY TEXT] you win

[RED DEFEAT TEXT] you lose

//Phase 1 Mission #00

[bATTLE NAME] UK Cmpn 00 Border Crossing vA

[WIN THRESHOLD] Minor Victory

[NEXT BATTLE IF WIN] UK Cmpn 01 Battle of At Tanf vA

[NEXT BATTLE IF LOSE] UK Cmpn 01 Battle of At Tanf vA

[bLUE REFIT %] 50 //always express this a number between 0 and 100

[bLUE REPAIR VEHICLE %] 33

[bLUE RESUPPLY %] 50

[bLUE REST %] 10

[RED REFIT %] 1

[RED REPAIR VEHICLE %] 1

[RED RESUPPLY %] 20

[RED REST %] 10

//Phase 1 Mission #01

[bATTLE NAME] UK Cmpn 01 Battle of At Tanf vA

[WIN THRESHOLD] Minor Victory

[NEXT BATTLE IF WIN] UK Cmpn 02 Crossroads vA

[NEXT BATTLE IF LOSE] UK Cmpn 02 Crossroads vA

[bLUE REFIT %] 50

[bLUE REPAIR VEHICLE %] 40

[bLUE RESUPPLY %] 80

[bLUE REST %] 40

[RED REFIT %] 1

[RED REPAIR VEHICLE %] 1

[RED RESUPPLY %] 1

[RED REST %] 1

//Phase 1 Mission #02

[bATTLE NAME] UK Cmpn 02 Crossroads vA

[WIN THRESHOLD] Draw

[NEXT BATTLE IF WIN] UK Cmpn 18a Helo Raid vA

[NEXT BATTLE IF LOSE] _major defeat

[bLUE REFIT %] 70

[bLUE REPAIR VEHICLE %] 60

[bLUE RESUPPLY %] 80

[bLUE REST %] 50

[RED REFIT %] 1

[RED REPAIR VEHICLE %] 1

[RED RESUPPLY %] 1

[RED REST %] 1

//Phase 2 Mission #18a

[bATTLE NAME] UK Cmpn 18a Helo Raid vA

[WIN THRESHOLD] Minor Victory

[NEXT BATTLE IF WIN] UK Cmpn 18b Helo Raid vA

[NEXT BATTLE IF LOSE] UK Cmpn 18c Helo Raid recce fails vA

[bLUE REFIT %] 5

[bLUE REPAIR VEHICLE %] 1

[bLUE RESUPPLY %] 5

[bLUE REST %] 5

[RED REFIT %] 1

[RED REPAIR VEHICLE %] 1

[RED RESUPPLY %] 1

[RED REST %] 1

//Phase 2 Mission #18b

[bATTLE NAME] UK Cmpn 18b Helo Raid vA

[WIN THRESHOLD] Minor Victory

[NEXT BATTLE IF WIN] UK Cmpn 03 Cafe66 vA

[NEXT BATTLE IF LOSE] UK Cmpn 03 Cafe66 vA

[bLUE REFIT %] 33

[bLUE REPAIR VEHICLE %] 33

[bLUE RESUPPLY %] 80

[bLUE REST %] 50

[RED REFIT %] 1

[RED REPAIR VEHICLE %] 1

[RED RESUPPLY %] 1

[RED REST %] 1

//Phase 2 Mission #18c

[bATTLE NAME] UK Cmpn 18c Helo Raid recce fails vA

[WIN THRESHOLD] Minor Victory

[NEXT BATTLE IF WIN] UK Cmpn 03 Cafe66 vA

[NEXT BATTLE IF LOSE] UK Cmpn 03 Cafe66 vA

[bLUE REFIT %] 33

[bLUE REPAIR VEHICLE %] 33

[bLUE RESUPPLY %] 80

[bLUE REST %] 50

[RED REFIT %] 1

[RED REPAIR VEHICLE %] 1

[RED RESUPPLY %] 1

[RED REST %] 1

//Phase 2 Mission #03

[bATTLE NAME] UK Cmpn 03 Cafe66 vA

[WIN THRESHOLD] Minor Victory

[NEXT BATTLE IF WIN] UK Cmpn 04 DUMAYR vA

[NEXT BATTLE IF LOSE] UK Cmpn 04 DUMAYR vA

[bLUE REFIT %] 25

[bLUE REPAIR VEHICLE %] 25

[bLUE RESUPPLY %] 80

[bLUE REST %] 50

[RED REFIT %] 1

[RED REPAIR VEHICLE %] 1

[RED RESUPPLY %] 1

[RED REST %] 1

//Phase 2 Mission #04

[bATTLE NAME] UK Cmpn 04 DUMAYR vA

[WIN THRESHOLD] Minor Victory

[NEXT BATTLE IF WIN] UK Cmpn 05 SabAbar vA

[NEXT BATTLE IF LOSE] UK Cmpn 05 SabAbar vA

[bLUE REFIT %] 25

[bLUE REPAIR VEHICLE %] 33

[bLUE RESUPPLY %] 80

[bLUE REST %] 50

[RED REFIT %] 1

[RED REPAIR VEHICLE %] 1

[RED RESUPPLY %] 1

[RED REST %] 1

//Phase 2 Mission #05

[bATTLE NAME] UK Cmpn 05 SabAbar vA

[WIN THRESHOLD] Minor Victory

[NEXT BATTLE IF WIN] UK Cmpn 06 Mountain Crossing vA

[NEXT BATTLE IF LOSE] UK Cmpn 06 Mountain Crossing vA

[bLUE REFIT %] 75

[bLUE REPAIR VEHICLE %] 75

[bLUE RESUPPLY %] 100

[bLUE REST %] 50

[RED REFIT %] 1

[RED REPAIR VEHICLE %] 1

[RED RESUPPLY %] 1

[RED REST %] 1

//Phase 3 Mission #06

[bATTLE NAME] UK Cmpn 06 Mountain Crossing vA

[WIN THRESHOLD] Minor Victory

[NEXT BATTLE IF WIN] UK Cmpn 07 Qutaife vA

[NEXT BATTLE IF LOSE] UK Cmpn 07 Qutaife vA

[bLUE REFIT %] 5

[bLUE REPAIR VEHICLE %] 5

[bLUE RESUPPLY %] 30

[bLUE REST %] 10

[RED REFIT %] 1

[RED REPAIR VEHICLE %] 1

[RED RESUPPLY %] 1

[RED REST %] 1

//Phase 3 Mission #07

[bATTLE NAME] UK Cmpn 07 Qutaife vA

[WIN THRESHOLD] Minor Victory

[NEXT BATTLE IF WIN] UK Cmpn 08 Counter Attack vA

[NEXT BATTLE IF LOSE] UK Cmpn 08 Counter Attack vA

[bLUE REFIT %] 5

[bLUE REPAIR VEHICLE %] 5

[bLUE RESUPPLY %] 20

[bLUE REST %] 10

[RED REFIT %] 1

[RED REPAIR VEHICLE %] 1

[RED RESUPPLY %] 1

[RED REST %] 1

//Phase 3 Mission #08

[bATTLE NAME] UK Cmpn 08 Counter Attack vA

[WIN THRESHOLD] Minor Victory

[NEXT BATTLE IF WIN] UK Cmpn 09 With the US or alone vA

[NEXT BATTLE IF LOSE] _major defeat

[bLUE REFIT %] 50

[bLUE REPAIR VEHICLE %] 33

[bLUE RESUPPLY %] 80

[bLUE REST %] 30

[RED REFIT %] 1

[RED REPAIR VEHICLE %] 1

[RED RESUPPLY %] 1

[RED REST %] 1

//Phase 4 Mission #09

[bATTLE NAME] UK Cmpn 09 With the US or alone vA

[WIN THRESHOLD] Draw

[NEXT BATTLE IF WIN] UK Cmpn 11 The Suburbs vA

[NEXT BATTLE IF LOSE] UK Cmpn 14 Volcanic Plateau vA

[bLUE REFIT %] 66

[bLUE REPAIR VEHICLE %] 75

[bLUE RESUPPLY %] 100

[bLUE REST %] 50

[RED REFIT %] 1

[RED REPAIR VEHICLE %] 1

[RED RESUPPLY %] 1

[RED REST %] 1

//Phase 5 Mission #11

[bATTLE NAME] UK Cmpn 11 The Suburbs vA

[WIN THRESHOLD] Minor Victory

[NEXT BATTLE IF WIN] UK Cmpn 10 Duma vA

[NEXT BATTLE IF LOSE] UK Cmpn 10 Duma vA

[bLUE REFIT %] 20

[bLUE REPAIR VEHICLE %] 20

[bLUE RESUPPLY %] 75

[bLUE REST %] 40

[RED REFIT %] 1

[RED REPAIR VEHICLE %] 1

[RED RESUPPLY %] 1

[RED REST %] 1

//Phase 5 Mission #10

[bATTLE NAME] UK Cmpn 10 Duma vA

[WIN THRESHOLD] Minor Victory

[NEXT BATTLE IF WIN] UK Cmpn 12 Downtown vA

[NEXT BATTLE IF LOSE] _major defeat

[bLUE REFIT %] 20

[bLUE REPAIR VEHICLE %] 20

[bLUE RESUPPLY %] 75

[bLUE REST %] 40

[RED REFIT %] 1

[RED REPAIR VEHICLE %] 1

[RED RESUPPLY %] 1

[RED REST %] 1

//Mission #12

[bATTLE NAME] UK Cmpn 12 Downtown vA

[WIN THRESHOLD] Minor Victory

[NEXT BATTLE IF WIN] UK Cmpn 13 Bowling Alley vA

[NEXT BATTLE IF LOSE] _major defeat

[bLUE REFIT %] 20

[bLUE REPAIR VEHICLE %] 20

[bLUE RESUPPLY %] 75

[bLUE REST %] 40

[RED REFIT %] 1

[RED REPAIR VEHICLE %] 1

[RED RESUPPLY %] 1

[RED REST %] 1

//Mission #13

[bATTLE NAME] UK Cmpn 13 Bowling Alley vA

[WIN THRESHOLD] Minor Victory

[NEXT BATTLE IF WIN] //End campaign

[NEXT BATTLE IF LOSE] _tactical defeat

[bLUE REFIT %] 1

[bLUE REPAIR VEHICLE %] 1

[bLUE RESUPPLY %] 1

[bLUE REST %] 1

[RED REFIT %] 1

[RED REPAIR VEHICLE %] 1

[RED RESUPPLY %] 1

[RED REST %] 1

//Mission #14

[bATTLE NAME] UK Cmpn 14 Volcanic Plateau vA

[WIN THRESHOLD] Minor Victory

[NEXT BATTLE IF WIN] UK Cmpn 15 Druse Hills vA

[NEXT BATTLE IF LOSE] UK Cmpn 15 Druse Hills vA

[bLUE REFIT %] 20

[bLUE REPAIR VEHICLE %] 30

[bLUE RESUPPLY %] 40

[bLUE REST %] 40

[RED REFIT %] 1

[RED REPAIR VEHICLE %] 1

[RED RESUPPLY %] 1

[RED REST %] 1

//Mission #15

[bATTLE NAME] UK Cmpn 15 Druse Hills vA

[WIN THRESHOLD] Minor Victory

[NEXT BATTLE IF WIN] UK Cmpn 16 Ash Shaykh Miskin vA

[NEXT BATTLE IF LOSE] _major defeat

[bLUE REFIT %] 20

[bLUE REPAIR VEHICLE %] 30

[bLUE RESUPPLY %] 40

[bLUE REST %] 40

[RED REFIT %] 1

[RED REPAIR VEHICLE %] 1

[RED RESUPPLY %] 1

[RED REST %] 1

//Mission #16

[bATTLE NAME] UK Cmpn 16 Ash Shaykh Miskin vA

[WIN THRESHOLD] Minor Victory

[NEXT BATTLE IF WIN] UK Cmpn 17 Bashar in Our Hearts vA

[NEXT BATTLE IF LOSE] _major defeat

[bLUE REFIT %] 20

[bLUE REPAIR VEHICLE %] 30

[bLUE RESUPPLY %] 40

[bLUE REST %] 40

[RED REFIT %] 1

[RED REPAIR VEHICLE %] 1

[RED RESUPPLY %] 1

[RED REST %] 1

//Mission #17

[bATTLE NAME] UK Cmpn 17 Bashar in Our Hearts vA

[WIN THRESHOLD] Minor Victory

[NEXT BATTLE IF WIN] //End campaign

[NEXT BATTLE IF LOSE] _tactical defeat

[bLUE REFIT %] 1

[bLUE REPAIR VEHICLE %] 1

[bLUE RESUPPLY %] 1

[bLUE REST %] 1

[RED REFIT %] 1

[RED REPAIR VEHICLE %] 1

[RED RESUPPLY %] 1

[RED REST %] 1

Link to comment
Share on other sites

Another - this one from Forging Steel:

/*

Note the characters before and after this text. They allow designer to put in comments, or notes, such as why something was done a certain way. Anything between these characters is ignored by Combat Mission. Otherwise an error will occur when the Campaign is compiled.

*/

// Alternatively two back slashes can be entered to create a comment. There’s no functional difference between this method and the previous mentioned method.

/* Campaign Header*/

[PLAYER FORCE] blue // options are: blue/red

[HUMAN OPPONENT ALLOWED] yes // no/yes

[bLUE VICTORY TEXT] Congratulations! You’ve done one hell of a job and proven you are a natural armoured commander. As a result of your success Brigade have promoted you to Major and given you command of a mech infantry battalion. But you have no time to rest on your laurels. The war is not yet over, and you’ve a battalion to prepare for future operations.

[bLUE DEFEAT TEXT] This campaign started with a quote that war is not about you dying for your country but making your enemy die for his. Unfortunately for you, and many of the men under your command, your enemy has taken heed of that quote and ensured that you and your command - their enemy - have done just that… Although the war is not over your string of costly and inconclusive engagements has only served to prolong the conflict.

[RED VICTORY TEXT] You won!

[RED DEFEAT TEXT] You lost!

/*Battle #1*/

[bATTLE NAME] Mission1_ Area_Reconnaissance_v3 // note, do not include “.btt”, just the file name

[WIN THRESHOLD] minor victory // total defeat, major defeat, tactical defeat, minor defeat, draw, minor victory, tactical victory, major victory, total victory

[NEXT BATTLE IF WIN] Mission2A_CompanyAttack_v6

[NEXT BATTLE IF LOSE] Mission2B_Company_Attack_v3 // a blank signals an end of the campaign

[bLUE REFIT %] 100 //always express this a number between 0 and 100

[bLUE REPAIR VEHICLE %] 100

[bLUE RESUPPLY %] 100

[bLUE REST %] 100

[RED REFIT %] 70

[RED REPAIR VEHICLE %] 80

[RED RESUPPLY %] 100

[RED REST %] 60

/*Battle #2A*/

[bATTLE NAME] Mission2A_CompanyAttack_v6

[WIN THRESHOLD] minor victory

[NEXT BATTLE IF WIN] Mission3A_Resupply_v3 // end campaign

[NEXT BATTLE IF LOSE]Mission2C_Rearguard_v14 // end campaign

[bLUE REFIT %] 20

[bLUE REPAIR VEHICLE %] 40

[bLUE RESUPPLY %] 50

[bLUE REST %] 0

[RED REFIT %] 10

[RED REPAIR VEHICLE %] 10

[RED RESUPPLY %] 50

[RED REST %] 0

/*Battle #2B*/

[bATTLE NAME] Mission2B_Company_Attack_v3

[WIN THRESHOLD] minor victory

[NEXT BATTLE IF WIN] Mission3A_Resupply_v3 // end campaign

[NEXT BATTLE IF LOSE] Mission2C_Rearguard_v14 // end campaign

[bLUE REFIT %] 20

[bLUE REPAIR VEHICLE %] 40

[bLUE RESUPPLY %] 50

[bLUE REST %] 0

[RED REFIT %] 10

[RED REPAIR VEHICLE %] 10

[RED RESUPPLY %] 50

[RED REST %] 0

/*Battle #2C*/

[bATTLE NAME] Mission2C_Rearguard_v14

[WIN THRESHOLD] draw

[NEXT BATTLE IF WIN] Mission3A_Resupply_v3// end campaign

[NEXT BATTLE IF LOSE] // end campaign

[bLUE REFIT %] 20

[bLUE REPAIR VEHICLE %] 40

[bLUE RESUPPLY %] 70

[bLUE REST %] 80

[RED REFIT %] 10

[RED REPAIR VEHICLE %] 10

[RED RESUPPLY %] 50

[RED REST %] 60

/*Battle #3A*/

[bATTLE NAME] Mission3A_Resupply_v3

[WIN THRESHOLD] total defeat

[NEXT BATTLE IF WIN] Mission 3B Forging Steel_v11 // end campaign

[NEXT BATTLE IF LOSE] Mission 3B Forging Steel_v11// end campaign

[bLUE REFIT %] 20

[bLUE REPAIR VEHICLE %] 40

[bLUE RESUPPLY %] 100

[bLUE REST %] 0

[RED REFIT %] 20

[RED REPAIR VEHICLE %] 0

[RED RESUPPLY %] 100

[RED REST %] 50

/*Battle #3B*/

[bATTLE NAME] Mission 3B Forging Steel_v11

[WIN THRESHOLD] minor victory

[NEXT BATTLE IF WIN] Mission 4A Counter Recon_v7 // end campaign

[NEXT BATTLE IF LOSE] Mission 4B Counter Recon_v2 // end campaign

[bLUE REFIT %] 0

[bLUE REPAIR VEHICLE %] 0

[bLUE RESUPPLY %] 20

[bLUE REST %] 0

[RED REFIT %] 20

[RED REPAIR VEHICLE %] 0

[RED RESUPPLY %] 100

[RED REST %] 50

/*Battle #4A*/

[bATTLE NAME] Mission 4A Counter Recon_v7

[WIN THRESHOLD] minor victory

[NEXT BATTLE IF WIN] Mission 5A_Bridgehead at Norburg_v13 // end campaign

[NEXT BATTLE IF LOSE] Mission 5B_Bridgehead at Norburg_v1 // end campaign

[bLUE REFIT %] 0

[bLUE REPAIR VEHICLE %] 0

[bLUE RESUPPLY %] 20

[bLUE REST %] 0

[RED REFIT %] 20

[RED REPAIR VEHICLE %] 0

[RED RESUPPLY %] 100

[RED REST %] 50

/*Battle #4B*/

[bATTLE NAME] Mission 4B Counter Recon_v2

[WIN THRESHOLD] minor victory

[NEXT BATTLE IF WIN] Mission 5A_Bridgehead at Norburg_v13 // end campaign

[NEXT BATTLE IF LOSE]Mission 5B_Bridgehead at Norburg_v1 // end campaign

[bLUE REFIT %] 0

[bLUE REPAIR VEHICLE %] 0

[bLUE RESUPPLY %] 20

[bLUE REST %] 0

[RED REFIT %] 20

[RED REPAIR VEHICLE %] 0

[RED RESUPPLY %] 100

[RED REST %] 50

/*Battle #5A*/

[bATTLE NAME] Mission 5A_Bridgehead at Norburg_v13

[WIN THRESHOLD] minor victory

[NEXT BATTLE IF WIN] // end campaign

[NEXT BATTLE IF LOSE] // end campaign

[bLUE REFIT %] 0

[bLUE REPAIR VEHICLE %] 0

[bLUE RESUPPLY %] 20

[bLUE REST %] 0

[RED REFIT %] 20

[RED REPAIR VEHICLE %] 0

[RED RESUPPLY %] 100

[RED REST %] 50

/*Battle #5B*/

[bATTLE NAME] Mission 5B_Bridgehead at Norburg_v1

[WIN THRESHOLD] minor victory

[NEXT BATTLE IF WIN] // end campaign

[NEXT BATTLE IF LOSE] // end campaign

[bLUE REFIT %] 0

[bLUE REPAIR VEHICLE %] 0

[bLUE RESUPPLY %] 20

[bLUE REST %] 0

[RED REFIT %] 20

[RED REPAIR VEHICLE %] 0

[RED RESUPPLY %] 100

[RED REST %] 50

Link to comment
Share on other sites

Just one question. in the battle name, for example

USMC Cmpn 18 Dancing in Damascus vF

USMC Cmpn 19 Highway Two vE

is USMC Cmpn 19 and vE and vF some sort of code or do these names actually show up in the marine campaign?

checked and no they dont, so what is it with this code? cheers :)

Link to comment
Share on other sites

It's the file name, and yes it is a code of sorts.

UK Cmpn 17 Bashar in Our Hearts vA breaks out as:

UK - the scen is for the UK module

Cmpn - the scen is for the campaign

17 - the number of the scen within the campaign

Bashar in Our Hearts - is the scen name

vA - the version of the scen. There is some admin overhead in versioning scenarios, because you have to edit the campaign script each time you version any of the scens, but overall I find it worthwhile.

The 'code' is a personal thing I use to keep the scenarios together when looking for files in MS Explorer, etc. You can see broadly the same approach being used in George's script. The file name is not used 'inside' the scen ... unless you choose to use the full file name as the scen name, or sumfink.

Link to comment
Share on other sites

It's the file name, and yes it is a code of sorts.

USMC - the scen is for the Marines module

Cmpn - the scen is for the campaign

Dancing in Damascus - is the scen name

vE - the version of the scen. There is some admin overhead in versioning scenarios, because you have to edit the campaign script each time you version any of the scens, but overall I find it worthwhile.

The 'code' is a personal thing I use to keep the scenarios together when looking for files in MS Explorer, etc. The file name is not used 'inside' the scen ... unless you choose to use the full file name as the scen name, or sumfink.

oh ofcourse, the scenario name (facepalm) this is just a code to know which scenario is which, cheers

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...