Jona33 Posted August 23, 2011 Posted August 23, 2011 (edited) Guys, I've been trying to make a mission with different endings, two of which require a second mission. I was gonna just put all the missions in a stage like a mini campaign but I need to know that can you move different amounts depending on how well you complete. So if you got 51% you would only move to the next mission and if you got a hundred you would move two missions ahead. I was running some tests but the campaign editor appears not to work. There is no .cmp file made. The missions are put in but not the campaign. Although it shows up in the campaign screen it doesn't work. I set the goal to something really simple, RED has Sochi Adler, red units are already there, and the percentage complete shows up as 100. Then when I quit and go to the campaign screen it says I haven't started the campaign yet. I don't understand this. By the Way I don't fly in this campaign. I'll see if that might not help. Cheers. EDIT: Now it appears not to load up the mission I tell it to. I'll try some completely new ones, see if that helps. Edited August 23, 2011 by Jona33 Always remember. I don't have a clue what I'm doing
nomdeplume Posted November 7, 2011 Posted November 7, 2011 Unless they've changed things dramatically, you can't move 'forward' to a new mission in the same stage. If you only have one stage then when you finish that first mission successfully you should be winning the campaign. The following is based on my recollections of the campaign system, but it's been a long time since I've used it and things might have changed. I don't think they have, though. The way it works is if the mission ends with a score of exactly 50%, you remain on the current stage. A new mission is selected that's valid for a score of 50%. If your mission ends with a score less than 50%, you go to the previous stage (or lose the campaign if it was the first stage). If there was a previous stage, then a mission that's valid for the score from your previous mission is selected. If your mission ends with a score higher than 50%, you go to the next stage (or win the campaign, yada yada). So, to do what you'd want I think you'd want the first mission in stage 1, then both the other missions in stage 2 but with different score ranges available. So if you can end the first mission with a score of 51% then you'd make sure the appropriate ending was valid for that score. If you could also end with 100% score, then the ending for that one you'd constrain to only be valid if they score 100%. You need to cover the entire score range, so you might set your "not as good" ending to be 0 .. 80 and your "really good" ending to be 81 .. 100. Also if your ending missions end with a score of 50 the campaign system will reselect a mission from that second stage... Another way to do it would be to have a "success" and a "failure" ending - so have the campaign start on stage 2, then if the player wins (score > 50%) they go to stage 3, play the good ending which sets a 'win' score, and so after the ending the player wins the campaign. If they do badly, you set a losing score (<50%) so the campaign goes to stage 1, plays the scene which also sets a losing score, and then the player loses the campaign.
Recommended Posts