OK an update for you USRanger. I have the basics in place, it's just a matter of compiling a list of AHs planes and their respective numbers.
If you make a mission and open the .mis file in notepad the pilot's plane is recorded as a number.
View stalwart's thread for more info.
http://bbs.hitechcreations.com/smf/index.php/topic,275668.0.html(a big thanks to stalwart actually for posting this, seeing that was what gave me the idea for this in the first place)
An now you see the large task ahead of me. Clicking through every plane on the ME, then opening the .mis file and seeing it's number.
It's the only way I know of, sudz unfortunately couldn't give me the info even though they have a list of them because the list contains more than I can know
.
edit: In theory I could also change the load out of the plane, but that would be talking a helluva lotta code for me.
After looking at the .mis file I believe my program should be able to modify many variables such as formation type, wing man plane, pilot plane, 'enemy' plane, 'enemy' wing men / formation type, if bombers (if I include them) are dogfightable, rolly delay, etc.
I am going to keep it simple at first and just change the kinds of planes used.
Something I need VERY badly because for whatever my installation of AH lacked it: the default mission. I believe it was called oneonone.mis or something of the like. It was just two P-51Ds dukin' it out over ndisles.
Of course once the mechanics are in place the GUI is going to need a good overhaul, it's just plain smurfy at the moment.
Some good and careful searching gave me a list of planes (I'll add the ones that have been updated/added) and the default mission file. I'm coming very close.