Aircaft behaviour

Aircaft behaviour

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
Erik
Posts: 283
Joined: 20 Aug 2009, 20:49

Aircaft behaviour

Post by Erik »

So i got the following problem:
I got a combined reclaimer/gunship (Airborne)
When it attacks it hovers around the target circling it.
Thats quite cool, however it looks silly when it does it while reclaiming.
a) Can i make it stand still over the resources its reclaiming?

b) Is there a callout for reclaiming so i can make it reduce height and add fancy effects while it reclaims?

c) When its standing still in air its starts floating like crazy, is there a way to make it smoother and not an unnerving up and down by about 2 times the length of the unit?
User avatar
SanadaUjiosan
Conflict Terra Developer
Posts: 907
Joined: 21 Jan 2010, 06:21

Re: Aircaft behaviour

Post by SanadaUjiosan »

I'm not sure if this applies to the functions revolving around building (like reclaiming), but I recently dealt with the circling motions involved in attack.

The tag hoverAttack = true makes gunships stay still when they attack. Maybe it does something for reclaim as well.

That is odd though, as my commander is a gunship, and he does not move while building or anything.
User avatar
Pressure Line
Posts: 2283
Joined: 21 May 2007, 02:09

Re: Aircaft behaviour

Post by Pressure Line »

actually theres an tage with 'strafe' in it that controls that, iirc its boolean and applies to both building and/or attacking
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Re: Aircaft behaviour

Post by Google_Frog »

a) airStrafe = 0,
Master-Athmos
Posts: 916
Joined: 27 Jun 2009, 01:32

Re: Aircaft behaviour

Post by Master-Athmos »

Seriously we need to update the wiki...
Post Reply

Return to “Game Development”