new aircraft fbi tags?

new aircraft fbi tags?

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
GrOuNd_ZeRo
Posts: 1370
Joined: 30 Apr 2005, 01:10

new aircraft fbi tags?

Post by GrOuNd_ZeRo »

Added new FBI tags to set the control variables for aircraft
What exactly is added?
SJ
Posts: 618
Joined: 13 Aug 2004, 17:13

Post by SJ »

"0.07", "UNITINFO\\WingDrag"); //drag caused by wings
"0.08", "UNITINFO\\WingAngle"); //angle between front and the wing plane
"0.005", "UNITINFO\\Drag"); //how fast the aircraft loses speed (see also below)
"0.1", "UNITINFO\\frontToSpeed"); //fudge factor for lining up speed and front of plane
"0.07", "UNITINFO\\speedToFront");//fudge factor for lining up speed and front of plane
"0.4", "UNITINFO\\myGravity"); //planes are slower than real airplanes so lower gravity to compensate

"0.8", "UNITINFO\\maxBank"); //max roll
"0.45", "UNITINFO\\maxPitch"); //max pitch this plane tries to keep
"500", "UNITINFO\\turnRadius"); //hint to the ai about how large turn radius this plane needs

"0.015", "UNITINFO\\maxAileron"); //turn speed around roll axis
"0.01", "UNITINFO\\maxElevator"); //turn speed around pitch axis
"0.004", "UNITINFO\\maxRudder"); //turn speed around yaw axis

Those where the ones added, dont really have any better descriptions of them than that. The numbers are the defaults.
User avatar
Kuroneko
Posts: 483
Joined: 03 Jan 2005, 05:32

Post by Kuroneko »

/me is in awe about what they all mean

That turn radius thing might be why one of my custom fighters can't attack for it's own life very well anymore.
Last edited by Kuroneko on 13 Oct 2005, 20:20, edited 1 time in total.
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Whoa...

Post by Pxtl »

So you're using a vaguely-realistic flight model, and unit developers have to tip off the AI as to how this plane actually handles? Yowza, that's tricky.

How does this affect gunships?
SJ
Posts: 618
Joined: 13 Aug 2004, 17:13

Post by SJ »

Gunships use an entirely movement model so these values doesnt affect them at all.
User avatar
GrOuNd_ZeRo
Posts: 1370
Joined: 30 Apr 2005, 01:10

Post by GrOuNd_ZeRo »

That is some scary shit...

That could make flight models quite accurate, can't wait to test this out.

Too bad these things were implemented in the XTA units so I could have some examples, i'll take some extremes like the A-10 and the Mirage 2000 to mess around with.

by the time Spring reaches it's final version we will have realistic flight models, airfields aircraft land on and maybe even complete simulation capabilities lol.
User avatar
Kuroneko
Posts: 483
Joined: 03 Jan 2005, 05:32

Post by Kuroneko »

GrOuNd_ZeRo wrote:by the time Spring reaches it's final version we will have realistic flight models, airfields aircraft land on and maybe even complete simulation capabilities lol.
:o you mean, planes won't need to be VTOL? :D
User avatar
FireCrack
Posts: 676
Joined: 19 Jul 2005, 09:33

Post by FireCrack »

Hmm... i think somthing to specify the amount of lift would be a more elegant system than specifing a modified gravity. I assume there is a reason it was done this way though.
Post Reply

Return to “Engine”