News / GetBankPitch Reverse Engineer Tutorial

GetBankPitch Reverse Engineer Tutorial

This news will only concern advanced addonmakers and scripters; Chris Hampson has sent us a 20 pages tutorial which is a very detailed breakdown of the GetBankPitch utility made by Dschulle, in order to share it with the addonmaking community.

To make it simple GetBankPitch returns pitch and bank data of a vehicle in the game. It basically is there because Bohemia never provided a command which could do that for us.

Example:
I have a helicopter I am using GetBankPitch utility with. I write a script to record its pitch. It has the following code:
_pitch = mychopper call GetPitch
This will return the pitch in radians of the helicopter called “mychopper”. It works also for bank.

Report, or contribute

A broken download, a missing picture, an article that reads wrong. Also a file the archive does not have and you do, or an idea for what it should hold next.

The site is open source, so a fix can arrive as a pull request as readily as a message.