Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Roy fokker on February 29, 2004, 03:52:50 pm
-
hey i got this problem and it's happen once before but i have a group of cargo ships that i have set individual waypoints for however in game all the cargo ships go nutty a decide to to a spin or filp before they resume there path, they problem can be resolved by just naming the ship as if they loook like there in the same wing however i don't want this because i want ships to attack them as a group not having to put in there orders to attack one by one, anyone got a clue how to fix this?
-
[color=cc9900]As far as I'm aware, making ships larger than bombers into a wing isn't such a good idea. It screws up their pathing, as you've seen.
Unfortunately, you have to set the attack orders individually. That's not so difficult, anyway, it doesn't even take that long.[/color]
-
thx but i think i've figured it out cause bombers are attack i just ai goal them to chase-any except all other fighters so they'll only attack the cargo ships problem solved
-
The flipping and spinning is a glitch in the waypoint code, freighters and the like tend to overshoot the end of a path. Try not to make the paths bend too sharply and that should help at least. Another option is to use SEXPs to control when they change paths, so that when they are, say, 20m from the waypoint they stop going toward it and pick up the next one. It'd have to be done carefully, but that's going to give you the cleanest results if you have the SEXPs to use.
-
but the thing is there going in a stright line wierd maybe someone should see if it's possible to fix the coding for it?