MediaWiki has been updated to version 1.35.1. Please report any problems here.

Changes

Jump to navigation Jump to search
Line 188: Line 188:  
     |author=<nowiki>Hooray</nowiki>
 
     |author=<nowiki>Hooray</nowiki>
 
     |date=<nowiki>Sun May 05</nowiki>
 
     |date=<nowiki>Sun May 05</nowiki>
 +
  }}
 +
}}
 +
 +
{{FGCquote
 +
  |WRT generalizing things, you would first of all want to extract the part that interacts with the AI system and encapsulate that, so that the logic can be separately re-used and maintained.<br/>
 +
<br/>
 +
Scriptable AI and scripted FDMs are very popular and we still need to come up with good tutorials/howtos for those: [http://forum.flightgear.org/viewtopic.php?f{{=}}30&amp;t{{=}}20857 viewtopic.php?f{{=}}30&amp;t{{=}}20857]<br/>
 +
<br/>
 +
the next step would ideally involve coming up with an OO framework for modeling different types of missiles, possibly using subclasses for each missile type. And then, there's obviously also the FDM part, which would ideally be a separate class, too.
 +
  |{{cite web |url=http://forum.flightgear.org/viewtopic.php?p=196554#p196554
 +
    |title=<nowiki>Re: F-14B's Weapon System</nowiki>
 +
    |author=<nowiki>Hooray</nowiki>
 +
    |date=<nowiki>Fri Dec 20</nowiki>
 +
  }}
 +
}}
 +
 +
{{FGCquote
 +
  |a new Missile implementation would require people to implement the interface of the ScriptableFDM class and the MissileBase class.<br/>
 +
<br/>
 +
Preferably, such a generalization effort would be conducted "in the open", so that other people can have a look and provide constructive feedback, snippets or code - meanwhile, we do have enough people familiar with advanced Nasal concepts. Ultimately, xiii should have some say when it comes to reviewing and committing things - but this is something that should really be tackled by several people, to ensure that the component can be easily reused by other aircraft.<br/>
 +
<br/>
 +
A properly done design will support different aircraft, different FDMs, different missile types - but also use of these missiles in AI objects, such as in the bombable addon.
 +
  |{{cite web |url=http://forum.flightgear.org/viewtopic.php?p=196554#p196554
 +
    |title=<nowiki>Re: F-14B's Weapon System</nowiki>
 +
    |author=<nowiki>Hooray</nowiki>
 +
    |date=<nowiki>Fri Dec 20</nowiki>
 
   }}
 
   }}
 
}}
 
}}

Navigation menu