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
-
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
-
we've had worse.
-
its already possible :)
-
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?
-
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.
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?
-
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?
-
Could be. I couldn't see it in FRED2_open when I looked quickly before posting last time.
-
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.
-
I used the player-use-ai sexp and issued a docking order, it docked, but gave me a white screen when it finished.
-
That's cause the mission doesn't know to end. Try also adding a
when
-has departed
--alpha1
-end mission
-
I'd recommend adding that feature. Adds more to the tone and realism of the game.
-
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:
-
I'd already welcomed him on another thread :D I remember my manners :D
-
Thanks for all informations. :yes: :)