Forums » Air Combat & Civil Aviation » Rise of Flight - The First Great Air War » Unofficial Java/Beanshell Mission Generation API released


Topic Options
Rate This Topic
Hop to:
#2879726 - 10/14/09 10:46 AM Unofficial Java/Beanshell Mission Generation API released
pakfront Offline
Ground Looper
Member

Registered: 04/17/08
Posts: 265
Loc: East Bay, CA, USA
What is it?
A toolkit for programmers who are interested in automatic mission generation or mission altering.
If you aren't familiar with programming you may find it daunting, or, more likely, extremely boring. If you are familiar with programming you will probably just laugh at my poor programming abilities.

Features?
  • Reading/creation/writing of any Mission Editor object, even ones that haven't been invented yet.
  • Filters for finding and acting on mission editor objects that match any criteria
  • Geographic transformations - move to a place, rotate around a place, move by an amount, etc. of indivudual objects or groups of objects.
  • Route finding along roads
  • Higher level concepts such as a Formation which go beyond mission editor objects.
  • Reads/Writes UTF16LE locale files (.eng and .rus, etc.)

How well does it work?
Great for me, but as soon as someone else uses it they will probably find gapping holes... let me know!

Can I see a screenshot?
Since it is just an API, there are no interesting screenshots.

Why Java?
'Cause it's easy (for me) and there was no word from neoqb regarding Lua support. Also, it supports the Beanshell scripting language if you don't want to go whole hog.

Example code?
An Example QuickMissionBuilder in Java is listed here:
http://www.pakfront.com/projects/rof/ROFMissionKit/QuickMissionBuilder_java.html
and JavaDocs are here: (may not be current)
http://www.pakfront.com/projects/rof/ROFMissionKit/javadoc/
I have an example app here:
http://www.pakfront.com/projects/rof/ROFMissionGraph.zip

License?
GPL: http://www.gnu.org/licenses/quick-guide-gplv3.html

Where is it?
Currently hosted at http://www.pakfront.com/projects/rof/ROFMissionKit.zip

What else do I need?
You will probably want a Java IDE as well, or at least a decent text editor. I use NetBeans IDE and it is currently set up as a Netbeans project.

Support?
I'm happy to answer questions, help with code examples, add features, fix bugs. At least for a while. If there is no interest from the community, I will abandon the project.

Comments, Questions?
Put'em in this thread or PM me.


Edited by pakfront (10/14/09 10:51 AM)
_________________________
. A pig that doesn't fly is just a pig. - Porco Rosso
. Windows XP Pro SP3, Intel Core 2 Duo E8400 3ghz, 2GB RAM
. GeForce 560 (190.62) 640mb @ 1920x1200 32bpp 96dpi
. TrackIR 3 Vector, Logitech G940 & G25

Top
#2880086 - 10/14/09 11:56 PM Re: Unofficial Java/Beanshell Mission Generation API released [Re: pakfront]
Foucault Offline
Member

Registered: 05/17/05
Posts: 365
Hmm, could this be used in a web application similar to those for IL2 that support generating mission files for an online campaign like this site ( http://war.by-airforce.com/ ) and others like it?
_________________________
System Specs:

Dell Dimension E521
AMD64x2 5000+
4GB DDR2 RAM
ATI Radeon HD 4850 512MB GDDR3
250GB SATA HD

Top
#2880320 - 10/15/09 09:39 AM Re: Unofficial Java/Beanshell Mission Generation API released [Re: Foucault]
pakfront Offline
Ground Looper
Member

Registered: 04/17/08
Posts: 265
Loc: East Bay, CA, USA
Yup, sure could.
_________________________
. A pig that doesn't fly is just a pig. - Porco Rosso
. Windows XP Pro SP3, Intel Core 2 Duo E8400 3ghz, 2GB RAM
. GeForce 560 (190.62) 640mb @ 1920x1200 32bpp 96dpi
. TrackIR 3 Vector, Logitech G940 & G25

Top
Topic Options
Rate This Topic
Hop to:

Moderator:  EinsteinEP 

Forum Use Agreement | Privacy Statement | SimHQ Staff
Copyright 1997-2012, SimHQ Inc. All Rights Reserved.