Page 1 of 1

Aircaft behaviour

Posted: 03 Mar 2010, 11:14
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?

Re: Aircaft behaviour

Posted: 03 Mar 2010, 11:22
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.

Re: Aircaft behaviour

Posted: 09 Mar 2010, 09:26
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

Re: Aircaft behaviour

Posted: 09 Mar 2010, 12:15
by Google_Frog
a) airStrafe = 0,

Re: Aircaft behaviour

Posted: 09 Mar 2010, 15:46
by Master-Athmos
Seriously we need to update the wiki...