Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Tahna Los on February 20, 2006, 11:26:39 pm

Title: SetMission Bugs and how to use Setmission.exe
Post by: Tahna Los on February 20, 2006, 11:26:39 pm
Here's what happened:

Was playing a particular mission in which I failed a bunch of directives.  After the debriefing, I decided to exit the screen and said I did not want to accept my results.  Later on when I tried to get back into that mission, I found that it had already accepted the mission outcome and I was being prepped for the next mission.  Which I DO NOT WANT.

Someone mentioned setmission.exe, but I am unsure on how to use it (I did try it but i'm not sure if it is working).  By mission number, is there a particular format one must follow?  I would like to go back to the previous mission and redo everything right so I CAN advance in the desired condition.

Thanks.
Title: Re: SetMission Bugs and how to use Setmission.exe
Post by: Mongoose on February 23, 2006, 04:44:15 pm
I experienced the same thing myself a few days ago, actually.  Don't have the time to make a Mantis report now (if there isn't one already), but I can say that it occurred while using the 1/23 CVS build and playing Blaise's Derelict re-release.  Guess I should give a more recent CVS a shot, as well.
Title: Re: SetMission Bugs and how to use Setmission.exe
Post by: WMCoolmon on February 23, 2006, 10:56:13 pm
Code: [Select]
setmission <filename> <mission number>
for example

Code: [Select]
setmission WMCoolmon.Derelict.cs2 12
You can find the .cs2 files in data/players/single. I highly recommend backing up your campaign file if you value it, so if anything goes wrong you have a backup.
Title: Re: SetMission Bugs and how to use Setmission.exe
Post by: Tahna Los on February 27, 2006, 01:29:07 am
Apparently, I can skip ahead missions, but I cannot go back and redo missions.  Bug?
Title: Re: SetMission Bugs and how to use Setmission.exe
Post by: WMCoolmon on February 27, 2006, 01:49:06 am
Why would you want to do that? :p If it's a loop mission, you can always exit, if it's a red alert syle mission, there's the previous mission button in the lower left.

Everything else you can replay from the techroom's mission simulator.
Title: Re: SetMission Bugs and how to use Setmission.exe
Post by: ShivaArchon on March 02, 2006, 10:21:09 pm
Had the same problem with trying to exit without accepting the results, but getting kicked to the next mission anyway.  Forgot you could just replay in the tech room...

Where can I find this setmission.exe?  I googled and looked on the SCP site but couldn't find it.  Thanks!
Title: Re: SetMission Bugs and how to use Setmission.exe
Post by: Tahna Los on March 07, 2006, 01:00:34 am
Why would you want to do that? :p If it's a loop mission, you can always exit, if it's a red alert syle mission, there's the previous mission button in the lower left.

Everything else you can replay from the techroom's mission simulator.

i.e.: I was playing a mission that involved destroying two Demon Class destroyers.  I got only one.  Apparently, the way the mission is designed, if you only get one, the other makes an appearance in the next mission which, well, is causing no end of trouble for me.  I would like to redo the previous mission so I could try to wipe both destroyers.