Hard Light Productions Forums
Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: Asteroth on May 02, 2009, 07:18:02 pm
-
So for starters I'm just making a simple escort mission. The main problem I'm having is the pathing for the ships in the convoy, I made all the ships a certain formation, and told each one to go to it's corresponnding waypoint (So they don't crowd around a single one)and 'warp'. When I play it, though, at the start they kinda jumble around each other before moving there and when they're jumping out they jumble around each other some more. Am I doing something wrong?
The mission is attached (ignore the sobek and the cains).
Also a bit smaller problem, is there a way to cap speeds? As you can see, the satis' just outrun the whole convoy.
[attachment deleted by evil Tolwyn]
-
Also a bit smaller problem, is there a way to cap speeds? As you can see, the satis' just outrun the whole convoy.
Cap waypoint speed SEXP.
-
you placed only one waypoint for every ship, this should be enought most of the times... but be aware that turning the waypoint or the ship (changing it's orientation) will make the ship turn wildlly at the end, also if the ship is a big one it will probably miss the waypoint for a couple of meters making it turn in it's axis and this is probably what's happening.
My advise is to make the waypoints from the start to the end (or make a small say... 50 meters long waypath at the end so the ship will not miss the last waypoint), besides the cap-waypoint-speed sexp only works when the ship is travelling on the waypoint path.
-
No, cap-waypoint-speed works even if it's just headed towards a single waypoint. There is no difference between moving along the pink line or just towards a point. Big ships still miss it even if it's following the pink line. The only way to be sure they wont miss is with a clear-goals sexp when the ship is less than say, 10 units from the waypoint.
-
Or the more full proof when distance < 100 ship, last waypoint in list clear goals, ai-warpout. That way even if it misses it it still jumps.
-
Or just set the depature cue to distance < 100 ship, last waypoint in list. (does the same thing as what FUBAR said, essentially).
-
Based on the dash I'm assuming ai-warpout is a SEXP. And I'm having problems with those. Many times I see "when" operators, but I can't ever get them. They just aren't listed.
-
Well looking at the mission in notepad
#Events ;! 0 total
That does kinda explain it.
Have you ever done the walkthrough that comes with FRED? You'll find it in the help menu.
-
Yeah, just discovered Events, made my life a whole lot easier. And yes I have read the walkthrough several times, I thought the only place you could SEXP was in the arrival cues section >.>. While skimming through I saw "If you open up the Events editor.." "
Events editor?" *opens up editors, clicks events* "What is thi-....../facepalm"
It helped alot, but still didnt quite solve the 'jumbling around' problem, tried using 'facing towards' in the orientation editor, but to no effect.
-
And yes I have read the walkthrough several times
Do or not do the walkthrough. There is no read. :p
Seriously though I strongly advise you to leave the mission you're working on for a day and actually FRED the walkthrough from beginning to end. You'll learn a lot more and have it actually stick in your mind for when you need it if you do it.
As for the jumping around. When does it happen? Cause I suspect that the one right at the start is a simple matter of the ship being too close to the first waypoint.
-
And yes I have read the walkthrough several times
Do or not do the walkthrough. There is no read. :p
Seriously though I strongly advise you to leave the mission you're working on for a day and actually FRED the walkthrough from beginning to end. You'll learn a lot more and have it actually stick in your mind for when you need it if you do it.
Yeah or some equivalent, I did the intro for an SOC campaign I had an idea for reading the walkthrough carefully (in essence both missions were kinda similar) and substituting the directions in the walkthrough with the ones I required for my mission, taught me enough about FRED. Main issue with FRED is learning how everything works, which is what I deem as the initial and one of the only learning curves you'll encounter FRED-ing. I remember just looking at the interface the first time I opened it up, trying to do something and giving up.