Hard Light Productions Forums

General FreeSpace => FreeSpace Discussion => Topic started by: Fr3z3r on April 22, 2002, 03:05:10 am

Title: Additional FRED2 commands
Post by: Fr3z3r on April 22, 2002, 03:05:10 am
Is there a list of FRED2 sexp's that are not selectable? I mean the ones that work, but you have to type them yourself... Like that sexp in Derelict (good, old Derelict ;)) displaying a message in blue below your hull integrity indicator.

TIA.
Title: Re: Additional FRED2 commands
Post by: vadar_1 on April 22, 2002, 03:23:20 am
Quote
Originally posted by Fr3z3r
Is there a list of FRED2 sexp's that are not selectable? I mean the ones that work, but you have to type them yourself... Like that sexp in Derelict (good, old Derelict ;)) displaying a message in blue below your hull integrity indicator.

TIA.


You mean the training-message? Its under the Training submenu. The only other one I know is grant-medal or something like that.
Title: Additional FRED2 commands
Post by: karajorma on April 22, 2002, 03:56:43 am
There's one for adding stuff to the techroom too (can`t remember the actual SEXP off the top of my head)
Title: Additional FRED2 commands
Post by: Fr3z3r on April 22, 2002, 01:07:35 pm
YEAH, you've got it, guyz!

grant-medal
grant-promotion
hud-flash-gauge

and some more

There has to be some kind of LIST of these. But WHERE IS IT!? :confused:
Title: Additional FRED2 commands
Post by: CP5670 on April 22, 2002, 06:03:32 pm
These are the ones I know of:

grant-medal (gives a medal)
grant-promotion (gives a promotion to the next rank regardless of the points the player has)
tech-add-ships (adds ships to tech room)
tech-add-weapons (adds weapons to tech room)
Title: Additional FRED2 commands
Post by: Alikchi on April 22, 2002, 09:53:21 pm
And how do you keep ships from being in the tech room automatically? Is it a ships.tbl thing?
Title: Additional FRED2 commands
Post by: ZylonBane on April 22, 2002, 10:28:03 pm
Quote
Originally posted by Fr3z3r
hud-flash-gauge
No such SEXP. :doubt:
Title: Additional FRED2 commands
Post by: LtNarol on April 22, 2002, 11:36:05 pm
hmmm, anyone ever gotten the "grant-promotion" sexp to work?  i keep getting errors.  Also, is it possible to determine the rank that the promotion takes the player to?
Title: Additional FRED2 commands
Post by: Fr3z3r on April 23, 2002, 01:00:40 am
HUD-FLASH-GAUGE
Well, sorry, it's a training sexp ;-)
Title: Additional FRED2 commands
Post by: EdrickV on April 26, 2002, 04:06:52 am
Quote
quote:
--------------------------------------------------------------------------------
Originally posted by Fr3z3r
hud-flash-gauge
--------------------------------------------------------------------------------

No such SEXP.


Because it's flash-hud-gauge and is listed. :)

Except for End-Mission-Delay and Cond, which don't work, the unlisted SEXPs all seem to be side effect functions and usable through listed functions. End-Mission-Delay might be able to be made usable by uncommenting some code and changing it's catagory for those of us with the source who can compile it. :)
Title: Additional FRED2 commands
Post by: Wildfire on April 26, 2002, 06:27:32 am
Speaking of FRED2, anyone found a use for the "string" variable.  I can't figure out what to use it for.