dragonwynn Posted November 8, 2014 Share Posted November 8, 2014 Does anyone have a sample campaign script text that shows how to do the branching of missions? 0 Quote Link to comment Share on other sites More sharing options...
Lille Fiskerby Posted November 8, 2014 Share Posted November 8, 2014 /* Campaign Header*/ [PLAYER FORCE] blue // options are: blue/red [HUMAN OPPONENT ALLOWED] no // no/yes [bLUE VICTORY TEXT] You won! [bLUE DEFEAT TEXT] You lost! [RED VICTORY TEXT] You won! [RED DEFEAT TEXT] You lost! /*Battle #1*/ [bATTLE NAME] My First Little Battle // note, do not include “.btt”, just the file name [WIN THRESHOLD] tactical victory // total defeat, major defeat, tactical defeat, minor defeat, draw, minor victory, tactical victory, major victory, total victory [NEXT BATTLE IF WIN] My Second Little Battle [NEXT BATTLE IF LOSE] // a blank signals an end of the campaign [bLUE REFIT %] 20 //always express this a number between 0 and 100 [bLUE REPAIR VEHICLE %] 40 [bLUE RESUPPLY %] 70 [bLUE REST %] 80 [RED REFIT %] 10 [RED REPAIR VEHICLE %] 10 [RED RESUPPLY %] 50 [RED REST %] 60 /*Battle #2*/ [bATTLE NAME] My Second Little Battle [WIN THRESHOLD] minor defeat [NEXT BATTLE IF WIN] // 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 0 Quote Link to comment Share on other sites More sharing options...
dragonwynn Posted November 8, 2014 Author Share Posted November 8, 2014 Thanks for the response. I guess what I'm asking is if in the script in the first battle you lose and it branches you to a alternate battle how do you script it so if you win that one it will bring you back to the main campaign battles.....if that makes sence lol. 0 Quote Link to comment Share on other sites More sharing options...
Lille Fiskerby Posted November 8, 2014 Share Posted November 8, 2014 If you win mission in alternate battle write : [NEXT BATTLE IF WIN] next main campaign battle name 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.