Author Topic: I need some pathing help  (Read 5539 times)

0 Members and 1 Guest are viewing this topic.

Offline Killfrenzy

  • Slaughter-class cruiser
  • 210
  • Randomly Existing
I need some pathing help
This is a general plea to anyone who knows what they're doing! :D

I'd like someone to create a launch bay on the Cylon Base Star essentially.

I'll send the volunteer the model and textures. :)
Death has more impact than life, for everyone dies, but not everyone lives. [/b]
-Tomoe Hotaru (Sailor Saturn
------------
Founder of Shadows of Lylat

 

Offline diamondgeezer

Oh crikey. I would, but I've never dared attempt to path a fighter bay before.

 

Offline Killfrenzy

  • Slaughter-class cruiser
  • 210
  • Randomly Existing
Oh....You don't even want to have a go? :D
Death has more impact than life, for everyone dies, but not everyone lives. [/b]
-Tomoe Hotaru (Sailor Saturn
------------
Founder of Shadows of Lylat

 

Offline diamondgeezer

Bleah.. you won't get it over night you realise, even if I can work it out...

 

Offline magatsu1

  • 210
I'll have a pop, though like DG, I'm not 100% sure about it.
Blitzerland: Knows what he's talkin' about

 

Offline Killfrenzy

  • Slaughter-class cruiser
  • 210
  • Randomly Existing
Ah, but at least you know something about it! :D

What's your email addy?
Death has more impact than life, for everyone dies, but not everyone lives. [/b]
-Tomoe Hotaru (Sailor Saturn
------------
Founder of Shadows of Lylat

 

Offline magatsu1

  • 210
uh, not an awful lot like....
Check your inbox.:)
Blitzerland: Knows what he's talkin' about

 

Offline diamondgeezer

w00t, I'm free! :D

 

Offline Killfrenzy

  • Slaughter-class cruiser
  • 210
  • Randomly Existing
Hehe - you say that now! :D
Death has more impact than life, for everyone dies, but not everyone lives. [/b]
-Tomoe Hotaru (Sailor Saturn
------------
Founder of Shadows of Lylat

 

Offline Whitelight

  • 29
  • Thing, man like
Fightrbay paths aren`t that bad, just takes a lot more time to place than do say 4 turret paths.. Just add 3 more verts for each fighterbay path.

Docking paths are simular to fighterbay paths, but can be a headache at times to implament...
Simpicity of character is the natural resualt of profound thought

 

Offline Killfrenzy

  • Slaughter-class cruiser
  • 210
  • Randomly Existing
Well, seeing as I don't know how ANY of them work.....:D
Death has more impact than life, for everyone dies, but not everyone lives. [/b]
-Tomoe Hotaru (Sailor Saturn
------------
Founder of Shadows of Lylat

 

Offline diamondgeezer

Well it's not to hard in theory. You enter the co-ords for your dockpoint (for example) then assign a path to it. You give the path four vertices (usually). The first vert is, like, a kilometer out. The second is, say, 500m out, the third 250m out and the fourth is on the dockpoint. The idea is that the docker follows the path down to the dockpoint, with a radius for each vert deciding which vert the docker will start at (the radius gets bigger as the verts move farther out).

To make your docker line up in a certain way, you need to add a second point to the dock. Have a look at some V models to see how this works.

To determine co-ords for stuff, I make a new subsys in ModelView and move it about until it's where I want the dockpoint or path vert then simply read off the co-ord numbers. There are other ways of doing this, and Bob's Aurora theoretically makes paths for you.

The trick is to make the distances between vertices big enough for bigger transports. The reason the Argo often ****s up when docking with V ships is that the final vertice before the dockpoint is less than an Argo-length away from the dock. This is becuase many ships were pathed with the old Elysium in mind. Fact.

And that is the sum of my knowledge of pathing. Ph34r.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Nicely put DG. Couldn't have explained it better myself :)
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline magatsu1

  • 210
*sees the POF. after recieving mail*

*wounders what he's gotten himself into*

:shaking:

Bob's PCS walkthrough is good aswell.
Blitzerland: Knows what he's talkin' about

 

Offline Killfrenzy

  • Slaughter-class cruiser
  • 210
  • Randomly Existing
Try flying against the ruddy thing! :D

Anyway DG, what I gather is a dockpoint path for a fighter bay is like this:

Code: [Select]

DOCK                      Vert 2
+------------------------+
Vert 1                         \
                                    \
                                     \
                                      \
                                       + Vert 3
                                        |
                                        |
                                        |
                                        |
                                        |
                                        |
                                        + Vert 4



Thus creating a path for a fighter when it 'arrives' via the fighterbay. The more paths you have, the more fighters can be launched at any one time.

Have I understood?
Death has more impact than life, for everyone dies, but not everyone lives. [/b]
-Tomoe Hotaru (Sailor Saturn
------------
Founder of Shadows of Lylat

 

Offline diamondgeezer

I guess. Look at an Orion  - it launches fighters in pairs IIRC, so it ought to have two paths assigned to its fighter bay... sooner or later I'm going to have to figure this out for my UEF carrier...

  

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
I've never actually tried making a fighterbay path but I assume it's like all the others so here's a little visual guide to help people understand paths I knocked up in TS.



Basically that is all a path is. A series of two or more (upto 4) spheres. Each sphere is described by a point in space and a radius. When a ship launches, attacks a turret or subsystem or attempts to dock it will follow a path to the desired subsytem.

In the picture above the fighter would first try to get itself inside the blue sphere. Once it was inside it would then attempt to move inside the green, then yellow and finally red spheres.

That's pretty much all there is to it. As DG said with docking paths you have to make sure that the final sphere is far away enough from the ship that an Argo doesn't have to stick it's nose inside another model to reach it but apart from that everything else shouldn't be too hard.

EDIT : BTW these paths are nothing like that on a real orion. The red sphere should be inside the docking bay (so that fighters actually end up there) and the blue sphere further away. But it should get the point across.
« Last Edit: January 11, 2004, 12:51:34 pm by 340 »
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline aldo_14

  • Gunnery Control
  • 213
Yup.  I normally view it as a 'cone' increasing from the outwards point.  If you're familiar with the idea of 'air corridors' used for landing passenger jets it helps-  IMO that's a perfect analogy.

 

Offline magatsu1

  • 210
I'm curious aout a couple of details myself. The Orion actually has 4 paths for just the one bay, thoughas DG said fighters launch 2x2. Not sure why that is.

Also, does a bay haved to have that many paths, and does a path haved to have 5 points ?
Blitzerland: Knows what he's talkin' about

 

Offline aldo_14

  • Gunnery Control
  • 213
Actually, I'm sure fighters launch 4 at a time, but the player starts a bit behind because of the starting speed..... I remember it clearly on the Segomo(?) carrier I did years ago.  so yeah, 4 paths - any less cause collisions as 2 ships try to use the samne path.  

Arguably 6, because enemy wings can have up to 6 ships - although I'm not sure about this.

And no, you don;t need 5 points.  You can actually get by with 1...not that i'd recommend it.  The only real point of paths is to stop the fighters moving of their won free will and flying straight into the hulls of the capship...... basically, all it does is follow points till the last one, regardles sof how many. I think I've done ships with paths using only 2 points.