Hard Light Productions Forums

Hosted Projects - Standalone => The Babylon Project => Topic started by: Judas on October 20, 2007, 06:32:50 am

Title: How to use the mission editor?
Post by: Judas on October 20, 2007, 06:32:50 am
Hey,

I really like TBP but when I tried to use the editor to make my own missions, I get some truble.....
I mean, I can work with it, this is no problem, but when I save the mission an try to start it, i only get the message: "Connot find the data" and this ist my problem as well..... How can I play my own missions? In which directory should i save the missions? I use the newes version of TBP........


PS: I hope you can understand me, English isn't my motherlanguage.... Wenn hier jemand Deutsch spricht kann er auch auf Deutsch antworten (das macht das Verstehen leichter)
Title: Re: How to use the mission editor?
Post by: jr2 on October 20, 2007, 07:12:01 am
\data\missions

Then load them in the Mission Simulator (unless you create a campaign file for them).

I'm sure someone else will give you more details...

But in the meantime, you could check the FSWiki (link is on the top of this page, it is called "FreeSpace Wiki")... on the right side of the FSWiki, click on "FRED" (that is the mission editor).

Oh, and :welcomeblue:

:D
Title: Re: How to use the mission editor?
Post by: Judas on October 20, 2007, 07:33:34 am
Quote
Then load them in the Mission Simulator (unless you create a campaign file for them).
KK, but how can I make a campaigne file  :confused:

Quote
But in the meantime, you could check the FSWiki (link is on the top of this page, it is called "FreeSpace Wiki")... on the right side of the FSWiki, click on "FRED" (that is the mission editor).
can you give me a link pls, i onla found a site full of questionmarks^^
Title: Re: How to use the mission editor?
Post by: Hades on October 20, 2007, 07:47:44 am
http://www.hard-light.net/wiki/
There you go.
Title: Re: How to use the mission editor?
Post by: karajorma on October 20, 2007, 07:51:01 am
http://www.hard-light.net/wiki/index.php/Portal:FRED

While you're at it check the FRED section of my FAQ. There's a lot of info there and while it was written with FS2 in mind a lot of it is applicable to TBP or any other total conversion.


By default FRED saves to My Documents. It could be having trouble finding the mission there afterwards. Save to Data\Missions and you should be fine.
Title: Re: How to use the mission editor?
Post by: Vidmaster on October 21, 2007, 03:51:08 am
KK, but how can I make a campaigne file  :confused:

there is a campaign editor (under "editors" ;7), which can be used to link single missions in your "missions" folder together.
Title: Re: How to use the mission editor?
Post by: jr2 on October 21, 2007, 04:27:07 am
That's under "editors" menu in FRED, that is.
Title: Re: How to use the mission editor?
Post by: Judas on October 21, 2007, 06:01:18 am
hmm okey....now I can test my missions, but there is one problem remain......

I cannot use a few variables for example... beam-free ;beam-free-all ;beam-lock ;beam-lock-all

And I think I know what the problem is, but I cannot find the solution:
http://www.pictureupload.de/pictures/211007125627_How_to.JPG (http://www.pictureupload.de/pictures/211007125627_How_to.JPG)

(srry I was not able to insert a pic)

I connot make this blue point.....and I think this is the reason (I hope this is the reason) why I cannot use those variables.....
Title: Re: How to use the mission editor?
Post by: karajorma on October 21, 2007, 06:24:08 am
If it's red that's simply because it's a directive. If it's because it's showing you the image of a red or black chain that means that you've chained the event to the one above it and it will only come true when the one above it does. Neither of those should prevent you from adding those SEXPs (chaining might prevent you from seeing that event work though).

Certain SEXPs are greyed out. I can't remember if beam-free stays greyed out until you actually have a ship with beams in the mission.

Oh and don't call it a variable. Beam-free-all, beam-free etc are SEXPs. Variable has a very specific meaning in FRED and you'll just confuse people if you misuse the word.
Title: Re: How to use the mission editor?
Post by: Judas on October 21, 2007, 06:47:16 am
Midway..Omega-x...and Capital Ships of the Centauri have beam-weapons...or not? And beam-free-all is gray :confused:


maybe it is an oher problem? Can I write those Sexps under "arrival"? Or schould I write it somewhere els?
Title: Re: How to use the mission editor?
Post by: jr2 on October 21, 2007, 06:53:03 am
Do you have the mission set to "beam-free-all ships by default"?  (I think that option is in the missions editor).
Title: Re: How to use the mission editor?
Post by: Judas on October 21, 2007, 07:11:11 am
Quote
Do you have the mission set to "beam-free-all ships by default"?  (I think that option is in the missions editor).
Ohhh no...thsi was the stiupid mistake...thank you very much^^


Can be closed


ohh one moment please...a last question: "How can I let fighters and Capital ships appear out of Hyperspace at the same moment?
Title: Re: How to use the mission editor?
Post by: IPAndrews on October 21, 2007, 11:03:24 am
Give them all the same arrival cue. For example if you make the arrival cue of all the ships "has-time-elapsed 60" they will all appear after 60 seconds have elapsed.

Title: Re: How to use the mission editor?
Post by: karajorma on October 21, 2007, 01:50:22 pm
Ohhh no...thsi was the stiupid mistake...thank you very much^^

Nope. That merely allowed you to side-step around the stupid mistake. :p

Beam-free all etc need to be used in the Events Editor and not in a ships arrival cue. The arrival cue only accepts boolean SEXPs (i.e the ones that evaluate to true or false). To use an action operator you must go to the events editor and create an event like this

when
-has-arrived-delay
--Name of Ship
--0
-beam-free-all
--Name of Ship

In this case there is a way to avoid the problem in the mission editor but that won't always be true so it's best to learn the way to do it for every other SEXP.
Title: Re: How to use the mission editor?
Post by: jr2 on October 21, 2007, 11:26:58 pm
Oh... I meant, if he had all ships beam-freed by default, wouldn't having a beam-free SEXP be redundant, and therefore not allowed?
Title: Re: How to use the mission editor?
Post by: karajorma on October 22, 2007, 02:47:05 am
Yeah, that's why it's side stepping the problem.

However if he wants to use any other action operator he's going to need to learn how to use the Event Editor and it's obvious from his question that he didn't know how to do that.