Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: TrashMan on February 10, 2005, 05:49:06 pm

Title: FREDing question
Post by: TrashMan on February 10, 2005, 05:49:06 pm
Right... I'm doing Red Alert missions and I'm looking for a best way to do it.


Now, I've never done a red alert mission before, so I have no idea how to carry the ships you want over? Tthe Read Alert status ..yeah, but that's not what I mean. How do you decide where they will appear in the next mission?


Secondly, how do I give a capships a certain hp percentage (stored in a variable in another mission) when a mission starts?
Title: FREDing question
Post by: karajorma on February 10, 2005, 06:55:14 pm
For the first question. Ships will start where ever you place them in the second mission. No real difference to a normal mission in that respect.

For the second simply use
when
-true
set-subsytem-strength
-Ship
-Hull
-Variable
Title: FREDing question
Post by: TrashMan on February 10, 2005, 07:00:07 pm
Yeah.. I tought you had the ships with exactly the same names in the next mission for the Red Alert to carry over. Thanks.


Hmm.. I didn't even realise you get the variable as an option there...
you learn something new every day!
Title: FREDing question
Post by: Black Wolf on February 10, 2005, 10:46:26 pm
Quote
Originally posted by TrashMan
Hmm.. I didn't even realise you get the variable as an option there...
you learn something new every day!


Walk through?
Title: FREDing question
Post by: TrashMan on February 11, 2005, 03:47:36 pm
One other thing:

The ships in the first mission have to have the Read Alert carry status.
What about those same ships in the second one(Read Alert mission)? Do they have to have that checked too?

Allso, how to get exclude command for communicating or reporting enemies (for missions where's you're cut off from everyone)?

EDIT: everyne know where I can get a hold of some new capship personas anis?
Title: FREDing question
Post by: karajorma on February 11, 2005, 04:02:56 pm
Been a while since I made a red alert mission but IIRC you only check the carry status if the following mission is also going to be a red alert.

As for cutting off command you can only do so by shutting everyone up using the Disable built in messages option in mission specs. I've asked for that to be split into a shut up pilots and shut up command option several times but I guess it's fairly low priority at the moment.
Title: FREDing question
Post by: TrashMan on February 11, 2005, 04:14:59 pm
I knew that.. I wondered if htere was a way to shut only Command up..
Title: FREDing question
Post by: karajorma on February 11, 2005, 04:19:15 pm
Wish there was. :( I could definately use it.
Title: FREDing question
Post by: Kie99 on February 11, 2005, 05:35:47 pm
I hated it in homesick, if you shot your wingmen they just stayed silent or carried on talking to each other, then suddenly, without warning they turn on you!
Title: FREDing question
Post by: TrashMan on February 11, 2005, 05:43:33 pm
Allright..anotehr question - anyone know where I can get some new capship personas anis?
Title: FREDing question
Post by: Blaise Russel on February 11, 2005, 06:20:16 pm
Quote
Originally posted by kietotheworld
I hated it in homesick, if you shot your wingmen they just stayed silent or carried on talking to each other, then suddenly, without warning they turn on you!


Because shooting your wingmen is a natural and inevitable part of playing any mission?

What were you expecting?
Title: FREDing question
Post by: Nuclear1 on February 11, 2005, 06:54:30 pm
*Sarcasm Detector kerrrrrrrsplodes*

Dammit, BR... that's the third in a week.
Title: FREDing question
Post by: Blaise Russel on February 11, 2005, 06:56:42 pm
I'm so very sorry.






:)
Title: FREDing question
Post by: Goober5000 on February 11, 2005, 09:33:21 pm
Quote
Originally posted by karajorma
Wish there was. :( I could definately use it.
It will be done. :)
Title: FREDing question
Post by: karajorma on February 12, 2005, 03:03:23 am
Thanks Goober :)

Now that I come to think about it there's actually a mission in MindGames where being able to shut your fellow pilots up while allowing Command to speak would be very useful. I guess I should have made an official request for that one :D
Title: FREDing question
Post by: TrashMan on February 12, 2005, 01:16:19 pm
All hail Goober!!!!!!
Title: FREDing question
Post by: TrashMan on February 12, 2005, 05:33:26 pm
Oh.. one more thing...how does that background placing go?

It has 3 fields for position.


Now I figure the P is for Pitch and goes from 0 to 359 in degrees, when looked from the position of the default fighter placed by FRED (0 directly forward, 90 above, 180 behind, 270 below)

H would he Heading (0 front, 90 left, 180 behind, 270 right)

Bank would than be the rotation of the nebula pcx itslef.

Am I getting this right?
Title: FREDing question
Post by: karajorma on February 12, 2005, 05:40:26 pm
The walkthrough explain that one better than I ever could.  :)
Title: FREDing question
Post by: TrashMan on February 13, 2005, 04:27:05 pm
I checked the Wiki...it't doesn't explain nebula placement...

And antoehr thing - how to check if a station has survived?
Normally if a ship is in question a simple has-departed-delay would do the trick.

I can't use a NOT - if destroyed delay since it's true immediately.
I tought of maby using a variable with 1 (station alive) and 0(station dead) values, but there's stll the problem of actually checking and chaning them, and I realised that wouldn't work....

I could try with a has-time-elapsed and NOTis-station-destroyed, but the end of the mission i dictated by two other events (saving of 2 ships)

Now I'm at a loss shere....
Title: FREDing question
Post by: karajorma on February 13, 2005, 04:31:11 pm
Quote
Originally posted by TrashMan
I checked the Wiki...it't doesn't explain nebula placement...


Not the wiki. The FRED Walkthrough. It came with FRED unless you've got HotU or some such.

Quote
The next three fields determine the position and orientation of the currently highlighted image. P stands for pitch (degrees above the horizon), B is bank (degrees of clockwise rotation), and H is heading (degrees left along the horizon). The default position (0, 0, 0) is straight ahead when you open FRED2. These numbers all range from 0 through 359.


Quote
Originally posted by TrashMan
And antoehr thing - how to check if a station has survived?
Normally if a ship is in question a simple has-departed-delay would do the trick.

I can't use a NOT - if destroyed delay since it's true immediately.
I tought of maby using a variable with 1 (station alive) and 0(station dead) values, but there's stll the problem of actually checking and chaning them, and I realised that wouldn't work....

I could try with a has-time-elapsed and NOTis-station-destroyed, but the end of the mission i dictated by two other events (saving of 2 ships)

Now I'm at a loss shere....


I'm at a bit of a loss as to what you're trying to achieve. Unless you ant to check if the station is alive at some arbitrary point in time there must be some event or trigger which you can link this to. Put that trigger in the event too and you're done.

What am I not getting? :confused:
Title: FREDing question
Post by: NGTM-1R on February 13, 2005, 04:51:41 pm
You can use not.

It goes like this:

and-in-sequence
---has-ship-departed:
shipname
shipname
---not
------is-destroyed-delay:
station

Simply insert the names of the two ships to be protected in the data field for has-departed-delay, if they're jumping out. Then the mission will check to see if the station survived once those ships jump out.

Or you can trigger it to check following the destruction of all enemy units that threaten the ships you're protecting.

and-in-sequence
---is-destroyed-delay
wingname
wingname
wingname
"
---not
------is-destroyed-delay:
station

Simply add the names of the wings/capital ships that could concievably attack the two ships you're supposed to save. Thus, when they're safe, it will check to see if the station is still around.
Title: FREDing question
Post by: Black Wolf on February 13, 2005, 04:52:23 pm
Trashman, seriously... do the walkthrough. Don't just read it - make the mission, exactly as [V] tells you to. You've been here long enough that you should know to do the walkthrouh before you start FREDding, and many of the questions you're asking are answered in it. So yeah. Go do it. If you alredy have, do it again. Please.
Title: FREDing question
Post by: TrashMan on February 13, 2005, 06:01:12 pm
Actually, I don't recall ever reading a FRED walktrough, nor having anything like that on my HDD /the closest that comes to mind is the FS2ReferenceGuide).

I learned FRED by intuition and trial-and-error...
Title: FREDing question
Post by: Goober5000 on February 13, 2005, 06:12:39 pm
C:\Games\Freespace2\data\freddocs
Title: FREDing question
Post by: aldo_14 on February 13, 2005, 07:08:04 pm
He probably deleted it as part of the modding process; god knows I did.
Title: FREDing question
Post by: karajorma on February 14, 2005, 11:34:12 am
Fortunately I have them available for download (http://homepage.ntlworld.com/karajorma/freespace/Downloads/freddocs.rar) for all the HotU people who don't have them. :)
Title: FREDing question
Post by: KappaWing on February 19, 2005, 10:03:43 pm
Quote

Oh.. one more thing...how does that background placing go?

It has 3 fields for position.


Now I figure the P is for Pitch and goes from 0 to 359 in degrees, when looked from the position of the default fighter placed by FRED (0 directly forward, 90 above, 180 behind, 270 below)

H would he Heading (0 front, 90 left, 180 behind, 270 right)

Bank would than be the rotation of the nebula pcx itslef.

Am I getting this right?


Cobra was having similar troubles with backrounds. You may want to check out: http://www.hard-light.net/forums/index.php/topic,29567.0.html :)