20,741
edits
| Line 35: | Line 35: | ||
}}</ref> | }}</ref> | ||
A mission generator should be fairly straightforward to write - after all, it's just a number of variables that are populated in a few nested loops - the main challenge is coming up either with a subset of valid values, or a randomization scheme that can do sanity checking for certain values - or your mission may be flying a MED EVAC mission at night time in an ASK13 :D | |||
Stuart also once explored writing a mission generator using the tutorial system - so it's definitely possible, there isn't anything missing at all - it's mainly a matter of finding people interested in this, and willing to acquire the skills to make this happen - even though the latter should be fairly straightforward - we can probably post the main building blocks for something like this within a few weeks, including code snippets for randomizing aircraft, mission, airports etc | |||
So, it's not exactly difficult, but a matter of finding people willing to pursue this - which kinda applies to the whole missions system. | |||
While we do have a number of folks very familiar with Nasal, most of us are busy with other things - that we often consider "more important" (or at least "more interesting") - but the fact that I am posting here demonstrates that I am interested in seeing this materialize eventually - so, if you are sufficiently motivated, we can post a few snippets of code and teach you enough about Nasal to prototype a simple system and grow it over time.<ref>{{cite web | |||
|url = https://forum.flightgear.org/viewtopic.php?p=218247#p218247 | |||
|title = <nowiki> Re: Tutorials/Missions/Adventures: requests for features </nowiki> | |||
|author = <nowiki> Hooray </nowiki> | |||
|date = Sep 11th, 2014 | |||
|added = Sep 11th, 2014 | |||
|script_version = 0.40 | |||
}}</ref> | |||
== Background == | == Background == | ||