Well, I'm trying to get our aircraft through the mess that is Spring's flight code, and I've managed to get them to a point where they are behaving atleast ok.
In order to do this I've given the fastest aircraft (max velocity of 12) a maxaccel of 0.4.
This allows them to maintain speed into turns and just generally dogfight better.
However, when I've got this included, there is a weird bug where when the aircraft is shot down - that is, it's health is reduced to the point where it enters the 'crash' death anim, it starts to behave very strangely.
It will lose all of it's momentum, and will appear to go into a stall (if it was flying upwards). It will quickly face the ground, and then extremely slowly fall to the ground. Apart from looking ridiculous, they also have the opportunity to fire at anything there for an extremely long amount of time.
When I reduce the maxaccel to a point closer to spring's default (0.065), crashing works as normal. Of course, I also lose all the in-flight performance I wanted from my aircraft. I can go up to about .13 or so before I start to see the odd behaviour, but the flight behaviour I need needs >3 accel.
Do you have any suggestions as to how I can gain the performance I want with maxaccel set to a high value like .4, but not have the crash behaviour perform ridiculously?
I've had a look at a number of the older threads regarding this, none seem to have run into this problem...
Pulling my hair out over here.
MaxAccel Bug [need assistance]
Moderator: Moderators
-
- Imperial Winter Developer
- Posts: 3742
- Joined: 24 Aug 2004, 08:59
Re: MaxAccel Bug [need assistance]
Well, you could remove crashing for that unit - I think I saw a gadget to that effect in Fibre v13.
-
- Imperial Winter Developer
- Posts: 3742
- Joined: 24 Aug 2004, 08:59
Re: MaxAccel Bug [need assistance]
We would have to remove crashing for all combat air units then.
I'd really rather not do that, I think crashing looks great and adds a lot to the drama of air combat.
I'd really rather not do that, I think crashing looks great and adds a lot to the drama of air combat.
Re: MaxAccel Bug [need assistance]
WZ, crashing behaviors (and death behaviors in general) obey the
"Spring laws of physics" in SVN, thanks to a patch by Kloot.
"Spring laws of physics" in SVN, thanks to a patch by Kloot.
-
- Imperial Winter Developer
- Posts: 3742
- Joined: 24 Aug 2004, 08:59
Re: MaxAccel Bug [need assistance]
Great, I'll just remove deaths until the next spring build, which will likely be before our public release.