Quote:
Originally Posted by Raggz
Also, please move the campaign from main menu to the campaign section?... it's cluttering up the main menu imho. Other than that this has good potential. Great work 
|
OK. Now that the thing actually works. I can answer some of your other questions.
Raggz, unfortunately that's not possible. The "Campaign" section is reserved for 1C's campaigns. For a variety of reasons, I cannot put my campaign there. If you wish, you can rename my section to something more visually pleasing. Find TEFCampaign.xml in AddIns and change it in there.
Adonys, there's really nothing complicated about it. Essentially, it's a glorified text editor, as that's all the mission files are. Most of my time was spent learning how the mission files were actually written. After that, it's just a matter of choosing what type of mission I want to do (there are currently only two for the player), adding some aircraft for that mission, then use whatever remaining aircraft are left to create random missions for aircraft from both sides. Essentially, it's a lot of rand.Next() statements.

Actually writing the mission files is ridiculously easy because 1C have created something called SectionFiles. They're sort of like a simple XML.
If I do release the code, I want to at least comment it all. I also want to rewrite a lot of it. Namely, the code that selects which type of mission to do next. I don't want to release anything that isn't commented and/or sets a bad example. Both things I frequently do.
And finally, assuming anybody out there actually enjoys this campaign, what would you like to see added to it? Other types of missions? Ground units? (That would be hard)
Oh, and thanks for the log Raggz. It took about five seconds to fix after I saw that. The real question is why did it still work on my computer?