Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Akalabeth Angel on February 08, 2004, 03:13:42 pm

Title: Suggested Sexps
Post by: Akalabeth Angel on February 08, 2004, 03:13:42 pm
Howabout, something like this:

if-playership-class
  (possibles: fighter, bomber, etc)

if-playership-type
  (possibles: Hercules, Perseus, etc)

  That way, you can tailor some of the enemies that the player would fight or maybe some mission obectives, to what type of fighter he/she is flying. To either make the mission more challenging, or whatever. Maybe you can even get an "add data" bit, where you can also specify if the player is using such and such a weapon, though I doubt most people would want that level of detail.

   Good idea or no? :nervous:
Title: Suggested Sexps
Post by: CP5670 on February 08, 2004, 03:31:02 pm
I mentioned something like this (operators to check whether or not a given ship is of a given type and has the given weapon) in another thread a few weeks ago, but they will probably wait for these things after 3.6 is out.
Title: Suggested Sexps
Post by: karajorma on February 08, 2004, 03:40:57 pm
Um. How is this different from the is-ship-class and is-ship-type SEXPs?

As far as I can see you give them Alpha 1 as an arguement and it will do exactly what you want.
Title: Suggested Sexps
Post by: CP5670 on February 08, 2004, 04:41:58 pm
I really should have checked the sexp list before posting; I never even knew that was in there. :p But what I could really use is something analagous for weapons.
Title: Suggested Sexps
Post by: Blaise Russel on February 08, 2004, 05:43:36 pm
*Here's* one that's needed: set-primitive-sensors-on/off.

At least, I'm pretty sure that one isn't in there already. Would be useful for hostile AWACs jamming and such.
Title: Suggested Sexps
Post by: Akalabeth Angel on February 08, 2004, 06:15:14 pm
I looked for the sexP but didn't see it either. Ooops.
Title: Suggested Sexps
Post by: Goober5000 on February 08, 2004, 06:32:11 pm
Yes.  Do the research first. :)

We'll look into the other stuff after 3.6.