Pathing for aircraft?

Pathing for aircraft?

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Pathing for aircraft?

Post by Pxtl »

I'm planning a small mod-project that is heavily focussed on gunship-movement-type units... what I'm curious about is this: is there any way to control their pathing? Do gunships obey movement-classes so I can slow them down when flying over certain terrain? Or will they always beeline to the destination?

Also, can aircraft leave wrecks?
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

1. Aircraft all use AirMoveType, which is completely different than anything else. IIRC, they are affected by MaxWaterDepth, oddly enough.

2. Yes, they can leave Corpses, however... um... they will do some odd things, so you'd better try it real quick, by assigning a random OTA tank corpse to a Brawler, before you decide that you really, er, need this.

Why gunship-movement-type, anyhow? If you just want stuff that can fly over terrain and water, but obeys movement types, then you can do that easily enough with Hovers, just move the model up "off the ground". If it's because of the attack type... hmm... how do I put this... it'll be interesting to try this, but expect odd things to happen.
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Post by Pxtl »

Argh wrote:1. Aircraft all use AirMoveType, which is completely different than anything else. IIRC, they are affected by MaxWaterDepth, oddly enough.

2. Yes, they can leave Corpses, however... um... they will do some odd things, so you'd better try it real quick, by assigning a random OTA tank corpse to a Brawler, before you decide that you really, er, need this.

Why gunship-movement-type, anyhow? If you just want stuff that can fly over terrain and water, but obeys movement types, then you can do that easily enough with Hovers, just move the model up "off the ground". If it's because of the attack type... hmm... how do I put this... it'll be interesting to try this, but expect odd things to happen.
Thanks for the info.

Gunship strafe-behaviour, and in general the directionless/sliding movement is graphically nicer for small spacecraft than "elevated hovers", and better handling of forward-facing weapons. I realize I could use unitAI for the strafe-behaviour, but it seems to work more elegantly with the native code.

I'm just doing some preliminary planning for a space mod, and need to be able to restrict unit movement to only certain regions of space.
User avatar
Pressure Line
Posts: 2283
Joined: 21 May 2007, 02:09

Post by Pressure Line »

apart from the copyright bleating, thats why i decided i was never going to have a serious stab at Battlezone: Spring. the dynamics were completely wrong.
Post Reply

Return to “Game Development”