Author Topic: Freighters drag Arcadia  (Read 3233 times)

0 Members and 1 Guest are viewing this topic.

Offline Kon

  • 26
    • KonQuesting on Twitch
Freighters drag Arcadia
OK, so I have a convoy, and they all park at their waypoints near the station. Then each frieghter docks, undocks, and returns to the waypoint.  However, it begins to face and move towards the waypoint before it undocks, but it does undock before it gets there. Here is what I have done for the first two.


All the events.

The Galaxy delivers cargo (haven't implemented the cargo exchange yet, or even the containers :lol:) and undocks.

The Galaxy returns to the group. Under the is-event-true-delay, i also tried to make it a ten second delay, but that didn't work either.

How do you guys think I can fix this? Thanks.

 

Offline Nuclear1

  • 211
Re: Freighters drag Arcadia
Use "has-undocked-delay" instead of "is-event true delay" in the last event. What you've got right now is the freighter being told to go to its waypoints as soon as the undock command is given. "Has-undocked delay" will wait for the freighter to fully undock with the Arcadia and then move on, therefore keeping the Arcadia in one place.
Spoon - I stand in awe by your flawless fredding. Truely, never before have I witnessed such magnificant display of beamz.
Axem -  I don't know what I'll do with my life now. Maybe I'll become a Nun, or take up Macrame. But where ever I go... I will remember you!
Axem - Sorry to post again when I said I was leaving for good, but something was nagging me. I don't want to say it in a way that shames the campaign but I think we can all agree it is actually.. incomplete. It is missing... Voice Acting.
Quanto - I for one would love to lend my beautiful singing voice into this wholesome project.
Nuclear1 - I want a duet.
AndrewofDoom - Make it a trio!

 

Offline Kon

  • 26
    • KonQuesting on Twitch
Re: Freighters drag Arcadia
Thanks nuclear, that worked perfectly. :cool: By the way, is this a really, really sloppy way of doing that?

 

Offline Roanoke

  • 210
Re: Freighters drag Arcadia
Well it makes sense when you read it, just not in pratice. Besides, there are never enough FREDers so no one is gonna give anyone grief for trying (unless you ask how to unlock them beams)  ;)

 

Offline Snail

  • SC 5
  • 214
  • Posts: ☂
Re: Freighters drag Arcadia
Well it makes sense when you read it, just not in pratice. Besides, there are never enough FREDers so no one is gonna give anyone grief for trying (unless you ask how to unlock them beams)  ;)

Oooh! Oooh! I know! I know!! Use beam-free for every ship's beam turret. :D.

It's true that's what I did that with every single mission I made up until I read the 'Help' page. And that was after I made about 2 complex (non BoE) missions.

 

Offline Kon

  • 26
    • KonQuesting on Twitch
Re: Freighters drag Arcadia
Quote from: Snail
Oooh! Oooh! I know! I know!! Use beam-free for every ship's beam turret. :D.

It's true that's what I did that with every single mission I made up until I read the 'Help' page. And that was after I made about 2 complex (non BoE) missions.

 :lol: :lol: :lol: I feel sorry for you. :P BTW, whats a BoE mission? ;)

 

Offline NGTM-1R

  • I reject your reality and substitute my own
  • 213
  • Syndral Active. 0410.
Re: Freighters drag Arcadia
Battle of Endor. -esque, that is.
"Load sabot. Target Zaku, direct front!"

A Feddie Story

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Freighters drag Arcadia
Any mission suffering from Battle of Endor Syndrome
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Kon

  • 26
    • KonQuesting on Twitch
Re: Freighters drag Arcadia
Any mission suffering from Battle of Endor Syndrome

Aww what a shame. I was planning to make such a mission myself. :lol:

 

Offline Nuclear1

  • 211
Re: Freighters drag Arcadia
Thanks nuclear, that worked perfectly. :cool: By the way, is this a really, really sloppy way of doing that?

In terms of scripting it? What you have is just fine, actually--one event for docking, another for undocking, and one for the waypoints. It's very simple, and it works. The only thing wrong with what you had earlier was the problem we just fixed. ;)
Spoon - I stand in awe by your flawless fredding. Truely, never before have I witnessed such magnificant display of beamz.
Axem -  I don't know what I'll do with my life now. Maybe I'll become a Nun, or take up Macrame. But where ever I go... I will remember you!
Axem - Sorry to post again when I said I was leaving for good, but something was nagging me. I don't want to say it in a way that shames the campaign but I think we can all agree it is actually.. incomplete. It is missing... Voice Acting.
Quanto - I for one would love to lend my beautiful singing voice into this wholesome project.
Nuclear1 - I want a duet.
AndrewofDoom - Make it a trio!

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Freighters drag Arcadia
When it comes to writing missions the same rules apply as when programming. Readability is much more important than any kind of arcane self-optimised code. It's completely clear what's going on there so I have no problems with it.


If I were making the mission I would probably use when-argument and variables to handle all the freighters in one set of three events. That works for me since I would be able to figure out what I'd done when I came back to it. That doesn't mean that there is anything wrong with your code though. I'd do it the difficult way mainly cause I don't like cutting and pasting events :)
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Kon

  • 26
    • KonQuesting on Twitch
Re: Freighters drag Arcadia
I'd do it the difficult way mainly cause I don't like cutting and pasting events :)

You can cut and paste events? :nervous: :lol:

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Freighters drag Arcadia
You can't copy the entire event but you can make a new one and copy and paste the conditional SEXP (i.e when, every-time etc) and everything below it.

The problem with doing that is that if you find that you need another trigger for say the Galaxy Arrived and Docking event (suppose you want to check that a certain ship has been destroyed) you then need to update the Events for all the other freighters too. And updating a series of events in that way is even more boring than cutting and pasting them in the first place.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

  
Re: Freighters drag Arcadia
yea, I had the same thing happen to me once, I actually did what Kahn did, but on a much larger scale.  I had a Deimos class corvette dock with an Arcadia. I sent in a Shivan corvette, but instead of undocking with the arcadia, the Deimos MOVED the Arcadia to fire at the corvette. . . . .things are wierd that way. . .

    |[===---(-         
    ||
 =(||==)_
    ||_____|
 =(||==)
    ||                   
    |[===---(-                             

"Take my love. Take my land. Take me where I cannot stand. I don't care, I'm still free. You can't take the sky from me. Take me out to the black, tell them I ain't comin' back. Burn the land boil the sea, you can't take the sky from me. There's no place I can be since I've found Serenity. But you can't take the sky from me." - Ballad of Serenity