Author Topic: Wacky Waypoints  (Read 2201 times)

0 Members and 1 Guest are viewing this topic.

Offline Axem

  • 211
Continuing on with my backup FRED Contest mission, I'm having quite a bit of trouble with waypoints.

I've assigned two ships different waypoints. They follow them up until it gets past the first waypoint point. After that, one ship just spins around aimlessly, and the other goes in circles and then does a loop or two, heads to the last waypoint and starts over again.

Any one know what the problem might be?
« Last Edit: July 17, 2005, 03:47:29 pm by 1840 »

 

Offline pyro-manic

  • Flambé
  • 210
I had this problem with a mission once, but I never figured out what caused it. It's something to do with the ship not actually hitting the waypoint dead on, but getting very close and then trying to turn back to hit it. It never manages it, so it just spins forever.

Try deleting the waypoints and creating them again.
Any fool can pull a trigger...

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Try using a when>Distance>Ship>Waypoint>Clear Goals rather than actually waiting for the ship to get there.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline Nuclear1

  • 211
Are the ships using just one waypoint (i.e. just one point to travel to), or are they using multiple points (i.e. a patrol path)?

If they're using just one, I found the problem always is that I give the ship a "Waypoints" order, but not "Waypoints Once"; the ship therefore tries to do the waypoints again, though it's already at it (which results in spinning and weird dancing).

If they're using two, they might be too close together (that is, if the waypoints end up close together), or there's simply something wacky with the ship AI.

The problem I could see with yours is really only that the waypoints aren't connected. That, or something's blocking the other waypoint (though, in this case, the ship would just mindlessly beat its head into whatever the object is).

I would recommend checking the "Waypoints" --> "Waypoints Once" issue. See how that works. If all else fails, send me a version of the mission and I'll see what I can do with it. :)
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 Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
Quote
Originally posted by pyro-manic
I had this problem with a mission once, but I never figured out what caused it. It's something to do with the ship not actually hitting the waypoint dead on, but getting very close and then trying to turn back to hit it. It never manages it, so it just spins forever.

Try deleting the waypoints and creating them again.
'Tis it.  Particularly with capships.  Even if the capship can do the waypoint, sometimes it gets confused if it has to turn too far to get to the second waypoint.

If it's a cruiser, then increase the number of waypoints so the cruiser doesn't have to turn far to get to each one.  If it's a bigger ship, then just do what kara said and you should be fine.  If it's a smaller ship, it might be a bug. :p

 

Offline Axem

  • 211
kara's suggestion seems to have worked. My mission is saved! Thankfully there were only 3 waypoints for the two ships, so it wasn't that hard to fix it.

Thanks everyone, that AI seems to get dumber by the second.

Helm: Sir, we've reached the waypoint, down to the Planck Length.
Captain: Let's do a loop-d-loop!
Helm: But sir, we need to escort this transport of starving amputee war orphans!
Captain: I wanna loop-d-looooop!
Helm: Yes sir...

  

Offline Cobra

  • 212
  • Snake on a Cain
    • Skype
    • Steam
    • Twitter
:lol:

here's what i do sometimes:

instead of creating 90 degree angles, i make several waypoints in a nice turning radius. that usually works for me. :)
To consider the Earth as the only populated world in infinite space is as absurd as to assert that in an entire field of millet, only one grain will grow. - Metrodorus of Chios
I wept. Mysterious forces beyond my ken had reached into my beautiful mission and energized its pilots with inhuman bomb-firing abilities. I could only imagine the GTVA warriors giving a mighty KIAAIIIIIII shout as they worked their triggers, their biceps bulging with sinew after years of Ivan Drago-esque steroid therapy and weight training. - General Battuta