Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Psychoo on November 13, 2003, 09:36:38 am

Title: Landing on GTD's
Post by: Psychoo on November 13, 2003, 09:36:38 am
Hello!
I have an idea for those guys with are creating FSSCP. I always was annoyed when I had to engage subspace drive when my flagship was about 100 meters ahaed my fighter. Why AI- controlled ships can land on GTD's, but  players can't??? It's just stupid, isn't it? So I have a question- is it possible to make let players to land in GTD's fighterbays? Something like subspace jumps- but not into subspace. For exmaple- a player is pressing ALT+L keys (instaead of ALT+J) and his figher/bomber is closing to nearest friendly GTD, and entering it's fighterbay. Of course entering destroyer's fighterbay will also end current mission, same as subspace jump(or maybe it should just give a chooice for player- end mission or rearm ship?).
So I have question to you- IS "GTD- LANDING" OPTION POSSIBLE TO MAKE AND IMPLEMENT TO FS2 AS A MOD OR IN FSSCP?

sorry for my terrible English
Title: Landing on GTD's
Post by: Deepblue on November 13, 2003, 09:46:59 am
we've had worse.
Title: Landing on GTD's
Post by: Lightspeed on November 13, 2003, 09:58:35 am
its already possible :)
Title: Landing on GTD's
Post by: J3Vr6 on November 13, 2003, 10:04:04 am
Can't you use the AI-control-players-ship Sexp to have it so you press a key that you'll be able to dock with the docking bay of a ship (like the Orion)?  Then just have a distance-from subsystem sexp to end the mission when you've reached less than 50 meters of the docking bay?
Title: Landing on GTD's
Post by: karajorma on November 13, 2003, 10:14:40 am
Just place a waypoint right in front of the hanger check the distance between it and the player and then use the end-mission SEXP or as J3Vr6 says use the distance-from-Subsystem SEXP.

Quote
Originally posted by J3Vr6
Can't you use the AI-control-players-ship Sexp to have it so you press a key that you'll be able to dock with the docking bay of a ship (like the Orion)?


Ummmm. What AI-control-players-ship SEXP? When was this implemented?
Title: Landing on GTD's
Post by: J3Vr6 on November 13, 2003, 10:31:16 am
Hmpf.  I thought I saw it while Fredding a sexp that gives control of the player ship to AI.  I'm at work right now so I can't confirm.  Looking over the Sexp list I see someone suggested it but it's not on the first post of things "done" and I wasn't going to go thru all the pages.  Maybe I'm going coo coo?
Title: Landing on GTD's
Post by: karajorma on November 13, 2003, 01:29:27 pm
Could be. I couldn't see it in FRED2_open when I looked quickly before posting last time.
Title: Landing on GTD's
Post by: Taristin on November 13, 2003, 05:12:06 pm
Use the Is-distance-subsystem sexp, and set it as a low, but reasonable distance. When the trigger is set, the mission will end with the end-mission sexp.
Title: Landing on GTD's
Post by: Falcon on November 13, 2003, 05:37:55 pm
I used the player-use-ai sexp and issued a docking order, it docked, but gave me a white screen when it finished.
Title: Landing on GTD's
Post by: karajorma on November 14, 2003, 04:38:51 am
That's cause the mission doesn't know to end. Try also adding a
when
-has departed
--alpha1
-end mission
Title: Landing on GTD's
Post by: Johnmike on November 14, 2003, 06:12:12 am
I'd recommend adding that feature.  Adds more to the tone and realism of the game.
Title: Landing on GTD's
Post by: Setekh on November 14, 2003, 06:59:33 am
Manners, guys! Welcome to HLP, Psychoo. As you can see, this option is actually already possible, but it has to be done via FRED, and missions must be appropriately modified. But it's certainly possible. :)

:welcome:
Title: Landing on GTD's
Post by: karajorma on November 14, 2003, 07:09:07 am
I'd already welcomed him on another thread :D I remember my manners :D
Title: Landing on GTD's
Post by: Psychoo on November 14, 2003, 03:04:46 pm
Thanks for all informations.  :yes: :)