Hard Light Productions Forums
Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: Vasudan Commander on July 22, 2007, 03:20:21 pm
-
This may or may not have been a discussed topic, so apologies if theres already a thead up. (I havent seen one.) If there isn't perhaps you should sticky one up (this one perhaps)
Anyhow, i'm wondering if there are any basic tips to use FRED 2. Setting events is the trickiest part of it all. I've gotten the hang of everything else. Waypoints, attacking, everything except using the events table. It's just too damn complicated. And what does 'Boolean' mean ? :confused:
any advice?
-
Events are easy. I mastered them when I was 10 years ago.
You just got to think.
Start with
when
When means, "when this happens, do these things"
So if you want a ship to self-destruct when three seconds have passed, you just do:
-when
--has-time-elapsed
---<time>
--self-destruct
---Ship
It's really simple.
-
Yeah, it's simple enough once you understand the structure. The included walkthrough does a pretty good job at explaining the way the events editor works, so you might want to take a look at it if you haven't already (It's part of the FRED help files accessed from the Help menu).
A boolean value is either true or false, nothing else. In the context of FRED, a boolean operator is something you use to check the status of something. For example, is-time elapsed is a boolean operator. It's true once the specified time has elapsed, false until then, so you can use it to check how far the mission has progressed and thus time an event.
-
Also note that the operator
and
is boolean, NOT an action operator:
It does not mean "do these two things", it means "check to see if these two things have happened"
-
i have a problem i need a little help with my self.
how do you put ships into your campaign that are included in a mod that you arn't using? (in my case i'm trying to put an erynes in an inferno mission)
-
how do you put ships into your campaign that are included in a mod that you arn't using? (in my case i'm trying to put an erynes in an inferno mission)
By putting the Erinyes entry into the INFR1 table file.
-
oh.
-
Shouldn't this be moved to FRED Academy?
-
There wasn't a tutorial walkthrough in Turey's download. He must've left it out :sigh:
-
In that case, there's a link to a web based version of it in the FRED section of the wiki (under external links).
-
Keep this going. I've found it very helpful. :)
-
Next operators:
Equal to, Greater than and Less than. (=/</>)
Useful for finding the value of hull and stuff. If you want to find out whether the GTC Ascendant's hull percentage has dropped below 50% and then send a message asking for assistance, you would do:
-when
-->
---hits-left
-----GTC Ascendant
----50
---send-message
----GTC Ascendant
----High
----Help!!
m'kay?
-
Yup. Cool. :cool:
-
Next operators:
Equal to, Greater than and Less than. (=/</>)
Useful for finding the value of hull and stuff. If you want to find out whether the GTC Ascendant's hull percentage has dropped below 50% and then send a message asking for assistance, you would do:
-when
-->
---hits-left
-----GTC Ascendant
----50
---send-message
----GTC Ascendant
----High
----Help!!
m'kay?
Thats event will take place when the hull integrity is above 50%, not below as you wanted.
-
A typo no doubt. The SEXP would work if he'd pressed the key next door.
Shouldn't this be moved to FRED Academy?
Nope. The Academy is not the place to ask FRED questions. The FRED forum is the right one for that. Only threads about the actual FRED Academy missions should be in that forum.
I'll move this thread to the FRED forum though.