20,741
edits
(http://flightgear.org/forums/viewtopic.php?f=23&t=7791&start=45#p84648) |
(→Future Plans: http://flightgear.org/forums/viewtopic.php?f=23&t=7791&start=45#p84830) |
||
| Line 70: | Line 70: | ||
== Known Issues == | == Known Issues == | ||
== A generic AI module == | |||
Code reuse is actually a very good idea, especially because there are now three different scripts doing basically the same thing: controlling AI objects and because there were meanwhile so many people also asking how to control AI objects using Nasal, and I haven't yet had the time to write a howto, so a reusable Nasal module might be a good idea. | |||
So I am wondering, if we should take a look at the three addons (tanker.nas, fox2.nas, flug's bombable) and come up with a new generic Nasal module for controlling AI objects? Normally, this would be a task for the Nasal library maintainers. But just looking at the three scripts, it should be possible to come up with an API. This would make it easier for other people to reuse your code and create similar addons. | |||
== Future Plans == | == Future Plans == | ||
| Line 77: | Line 82: | ||
I also noticed that the freeze occurs mostly after a cockpit sound play. | I also noticed that the freeze occurs mostly after a cockpit sound play. | ||
== Related == | == Related == | ||
* http://flightgear.org/forums/viewtopic.php?f=66&t=19864 | * http://flightgear.org/forums/viewtopic.php?f=66&t=19864 | ||