Author Topic: Campaign editor driving me buggy  (Read 1584 times)

0 Members and 1 Guest are viewing this topic.

Campaign editor driving me buggy
What exactly are you supposed to do with regards to missions needing to be completed prior to advancement in a campaign? The FRED help docs are lackluster to say the least with regards to the Campaign Editor. I've got some super-old missions for some long-dead campaign that I want to dump into a VP file and release so my efforts weren't a complete waste of time but the campaign thing is annoying. Even if I don't complete a mission, it allows me to advance to the next mission. I don't get it. One mission it was even playing the "sad" debrief music, it let me advance . . . what's the deal?

Any help would be most appreciated.

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Campaign editor driving me buggy
Well my best suggestion is to extract another .fc2 file and take a look at it in the editor.  It's the easiest way to figure it out.  What you have to do is set up sexps based on goals or events in the mission to tell it where to branch or to redo the mission. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Campaign editor driving me buggy
It's pretty simple. Add both missions to the campaign editor and drag the top one onto the bottom one to forge a link. I presume you've already done this. Now click on the top mission. You'll notice that there is a SEXP there saying when name of the mission to go to. It's set to True at the moment. This means that you'll always advance to the next mission. Replace the true with a is-previous-event/goal SEXP from the mission that will have just finished. This allows the player to progress to the next mission if they completed their goals.

 Then add a repeat loop (Right click on the mission to do this) and have this set to true. The repeat works best this way as it will catch any condition that hasn't sent you to the next mission and make you replay the mission.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 
Re: Campaign editor driving me buggy
   Okay, yeah it's a little confusing because A - the campaign editor complains when you don't have the "true" thing only . . . and also the example given in the FredDoc has like a twin branching mission, one with just true and one with the events. So that doesn't make too much sense to me either. I'll try it out again.

   Thanks for the prompt replies. This place is always swift in that area.

  
Re: Campaign editor driving me buggy
Hmmn, that solved my normal mission problems but the Red Alerts are now consequently whacky, will have to extract the main VP and check it out. Assuming I can remember some Red Alert missions.