Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: magatsu1 on October 03, 2004, 08:10:36 am

Title: Probs with Fighter Bay paths
Post by: magatsu1 on October 03, 2004, 08:10:36 am
Gettin' wired almost random errors with this path including CTDs. Plus, not all the members of a wing will use the path, appearing near the ship rather than from the fighter bay, though some wings work fine.
Here's how it looks in FRED

(http://premium.uploadit.org/magatsu1/fred.JPG)

and here is one of 'em in PCS:

(http://premium.uploadit.org/magatsu1/pcs.JPG)
Title: Probs with Fighter Bay paths
Post by: karajorma on October 03, 2004, 08:33:54 am
What's the radius on the last vertex of each path?
Title: Probs with Fighter Bay paths
Post by: magatsu1 on October 03, 2004, 09:48:20 am
as per Bobboau's tut, it's 1 (nearest), 10, 100 and 1000
Title: Probs with Fighter Bay paths
Post by: karajorma on October 03, 2004, 09:51:22 am
What does it say in the errorlog (assuming you're running FS2_open). What if you run a debug build (there should be one somewhere about here).
Title: Probs with Fighter Bay paths
Post by: magatsu1 on October 03, 2004, 09:53:57 am
MadBomber is the one gettin' CTDs and I suspect he's using FS_Retail. The other prob is the one I've noticed.

Using Taylors build it's been perfectly stable for me, despite the funny ship movements.
Title: Probs with Fighter Bay paths
Post by: Starman01 on October 03, 2004, 12:49:01 pm
Have you made the path's for yourself, or is this the deimos someone
else made (I ask, because I think the last one should be already working).

While building the WC-Saga-Models I noticed that about paths:

1) The path's must have enough distance from the ships hull (it's fighterbay-walls). Can't tell you a number, you have to try that out.

2) The closest points (the one with radius 1) , and all other points as well should have enough distance to another, just an eye-measure, so that two or more fighters can appear without colliding in the beginning.

3) Intersecting paths can also cause a CTD. (Also some possible collision-problem).

I may be wrong in this case, but by taking these 3 things into account I fixed all crashing of my pathed models (and there is always a lot of crashing in the first model-version :) )

Hope that helps.
Title: Probs with Fighter Bay paths
Post by: magatsu1 on October 03, 2004, 02:08:24 pm
Quote
Originally posted by Starman01
1) The path's must have enough distance from the ships hull (it's fighterbay-walls). Can't tell you a number, you have to try that out.


check.

Quote
Originally posted by Starman01
2) The closest points (the one with radius 1) , and all other points as well should have enough distance to another, just an eye-measure, so that two or more fighters can appear without colliding in the beginning.


check.

Quote
Originally posted by Starman01
3) Intersecting paths can also cause a CTD. (Also some possible collision-problem).


um, not sure about this one :doubt:
Title: Probs with Fighter Bay paths
Post by: karajorma on October 03, 2004, 03:02:31 pm
Simply move the paths up or down by about a metre and check again :D
Title: Probs with Fighter Bay paths
Post by: StratComm on October 03, 2004, 03:24:30 pm
I've never had a problem with any of those things.  Experience has shown me that as long as paths don't actually share a point then they are pretty much ok.  Fighters won't hesitate to ram each other, but that wouldn't cause a CTD.  Does adding two more paths do anything?
Title: Probs with Fighter Bay paths
Post by: TrashMan on October 03, 2004, 06:43:20 pm
Strange.. I was just testing a mission I made in which a fighter wing has to depart in a destryers hangarbay...

The wing jumps in and imidiately head towards the bay. The thing is, the game chrashes as soon as the wing jumps in. I'm using 3.6 and I'm a bit baffeld.
(http://img65.exs.cx/img65/9582/paths.jpg)

Maby it's becouse I have 2 fighterbays?
Title: Probs with Fighter Bay paths
Post by: StratComm on October 03, 2004, 07:23:38 pm
It's because they aren't fighterbay paths.  The game crashes when the fighters try to dock with the ship using no path.  The paths should appear in blue if they are correct, while normal paths will appear in red.
Title: Probs with Fighter Bay paths
Post by: TrashMan on October 03, 2004, 07:51:27 pm
Eh? But what's the difference between docking paths and fighterbay paths then?
Title: Probs with Fighter Bay paths
Post by: StratComm on October 03, 2004, 08:01:57 pm
Just the name, as far as I know.  Look at a :V: model to be sure, but I'm pretty sure they should be called "$bayxx" where xx is a number.
Title: Probs with Fighter Bay paths
Post by: TrashMan on October 04, 2004, 06:03:55 am
ACtually, the fighterpaths on the normal Orion are allso red....strange...

I named my bays $Bay01-01...
Title: Probs with Fighter Bay paths
Post by: TrashMan on October 04, 2004, 08:29:39 am
Never mind that! Fixed the issue.  (they have to named $Bay01 to 08)
Now I got two missions that are 70% done...:D
Hmm.. I might coock up a nice little campaign here...
Title: Probs with Fighter Bay paths
Post by: karajorma on October 04, 2004, 08:46:36 am
Quote
Originally posted by StratComm
It's because they aren't fighterbay paths.  The game crashes when the fighters try to dock with the ship using no path.  The paths should appear in blue if they are correct, while normal paths will appear in red.


Not quite correct. Fighterbay paths will appear in red if you turn on the show model paths in FRED. If you also have the show dock points option turned on then they'll turn blue.
Title: Probs with Fighter Bay paths
Post by: Mad Bomber on October 04, 2004, 10:50:38 am
Quote
Originally posted by magatsu1
MadBomber is the one gettin' CTDs and I suspect he's using FS_Retail. The other prob is the one I've noticed.

Using Taylors build it's been perfectly stable for me, despite the funny ship movements.


I'm trying purposely for HFH to be compatible with both Retail and Open.
Title: Probs with Fighter Bay paths
Post by: magatsu1 on October 04, 2004, 11:28:35 am
Quote
Originally posted by karajorma


Not quite correct. Fighterbay paths will appear in red if you turn on the show model paths in FRED. If you also have the show dock points option turned on then they'll turn blue.


I usually find they are red if I incorrectly name 'em, usually "%bay" instead of "$bay". Simply changing the name usually changes the colour.

Quote
Originally posted by Mad Bomber
m trying purposely for HFH to be compatible with both Retail and Open.


Are you still gettin' CTDs ?
Title: Probs with Fighter Bay paths
Post by: Mad Bomber on October 04, 2004, 11:33:02 am
Haven't had much time to mess with the paths. I'll try tomorrow at some point.
Title: Probs with Fighter Bay paths
Post by: magatsu1 on October 04, 2004, 12:02:51 pm
Okay, had another look and the paths are at different heights (token amounts) so they aren't intersecting.
Title: Probs with Fighter Bay paths
Post by: karajorma on October 04, 2004, 12:50:15 pm
Quote
Originally posted by magatsu1
I usually find they are red if I incorrectly name 'em, usually "%bay" instead of "$bay". Simply changing the name usually changes the colour.


Yep. If you've named them incorrectly and you've turned on model paths and dock points you'll see them in red cause the game just thinks they're normal paths. Thing is though that if you don't turn on dock points you won't see any change :D