gszabi99 / War-Thunder-Datamine

Frequently updated War Thunder Datamine repository
260 stars 48 forks source link

[QUESTION] Where are aircraft speeds located? #10

Closed Sgambe33 closed 1 year ago

Sgambe33 commented 1 year ago

Do you guys know where I can find each aircraft speed that is showed inside the game on the vehicle card?

gszabi99 commented 1 year ago

Aircraft statcard max speeds are in char/unittags, in m/s

Sgambe33 commented 1 year ago

For tanks and ships it's better to read them from the specific .blkx file?

gszabi99 commented 1 year ago

Yes. For ships, it's simple, the maxSpeed variable. For tanks, you need to calculate it from the transmission parameters: (maxRPM × driveGearRadius) / (mainGearRatio × sideGearRatio × highest gear) × 0.12PI

Sgambe33 commented 1 year ago

Could you also indicate me where to find the default weapons for each aircraft?

gszabi99 commented 1 year ago

What exactly do you mean by default weapons?

Sgambe33 commented 1 year ago

For example: image The default 20mm cannon can be found under common weapons if I reckon correctly. However that is not always the case. The F-4C Phantom has by default a 20 GAU cannon but in the blkx is not under common weapons, it's in weapon presets. Is that because in this case the cannon can be swapped with some other weapons so it's not "fixed"?

gszabi99 commented 1 year ago

Indeed