Status of AI in FlightGear: Difference between revisions

Switch to the {{project infrastructure}} and {{forum link}} templates for all "flightgear.org/forum" forum links.
(Switch to the {{forum url}} and {{forum link}} templates for all forum links.)
(Switch to the {{project infrastructure}} and {{forum link}} templates for all "flightgear.org/forum" forum links.)
Line 144: Line 144:
== Scripted AI in FlightGear ==
== Scripted AI in FlightGear ==
{{FGCquote
{{FGCquote
   |Another example is the "tanker.nas" script in $FG_ROOT which implements a simple scripted AI tanker for AAR purposes: [http://flightgear.org/forums/search.php?st{{=}}0&amp;sk{{=}}t&amp;sd{{=}}d&amp;sr{{=}}posts&amp;keywords{{=}}tanker.nas search.php?st{{=}}0&amp;sk{{=}}t&amp;sd{{=}}d&amp;sr{{=}}posts&amp;keywords{{=}}tanker.nas]<br/>
   |Another example is the "tanker.nas" script in $FG_ROOT which implements a simple scripted AI tanker for AAR purposes: {{project infrastructure|forum|urn=search.php?keywords=tanker.nas}}<br/>
[http://www.mail-archive.com/search?q{{=}}tanker&amp;l{{=}}flightgear-devel%40lists.sourceforge.net http://www.mail-archive.com/search?q{{=}}ta ... eforge.net]<br/>
[http://www.mail-archive.com/search?q{{=}}tanker&amp;l{{=}}flightgear-devel%40lists.sourceforge.net http://www.mail-archive.com/search?q{{=}}ta ... eforge.net]<br/>
<br/>
<br/>
And then we have the fox2.nas script which implements a fox2 AI missile using Nasal: [http://flightgear.org/forums/search.php?st{{=}}0&amp;sk{{=}}t&amp;sd{{=}}d&amp;sr{{=}}posts&amp;keywords{{=}}fox2.nas search.php?st{{=}}0&amp;sk{{=}}t&amp;sd{{=}}d&amp;sr{{=}}posts&amp;keywords{{=}}fox2.nas]<br/>
And then we have the fox2.nas script which implements a fox2 AI missile using Nasal: {{project infrastructure|forum|urn=search.php?keywords=fox2.nas}}<br/>
<br/>
<br/>
The "bombable" addon is completely implemented in Nasal and created multiple virtual pilots for dogfighting purposes: [[Bombable]]<br/>
The "bombable" addon is completely implemented in Nasal and created multiple virtual pilots for dogfighting purposes: [[Bombable]]<br/>
Line 200: Line 200:
{{Note|Also see [[Scripted AI Missiles]]}}
{{Note|Also see [[Scripted AI Missiles]]}}
{{FGCquote
{{FGCquote
   |xiii is the developer of the F14b's fox2 implementation, the original thread was: [http://flightgear.org/forums/viewtopic.php?p{{=}}78816#p78816 Subject: Missiles with seeking capabilities].<br/>
   |xiii is the developer of the F14b's fox2 implementation, the original thread was: {{forum link|p=78816|title=Missiles with seeking capabilities}}.<br/>
<br/>
<br/>
To find related threads, see:<br/>
To find related threads, see:<br/>
[http://flightgear.org/forums/search.php?st{{=}}0&amp;sk{{=}}t&amp;sd{{=}}d&amp;sr{{=}}posts&amp;keywords{{=}}fox2.nas search.php?st{{=}}0&amp;sk{{=}}t&amp;sd{{=}}d&amp;sr{{=}}posts&amp;keywords{{=}}fox2.nas]<br/>
{{project infrastructure|forum|urn=search.php?keywords=fox2.nas}}<br/>
<br/>
<br/>
[http://flightgear.org/forums/viewtopic.php?p{{=}}123575#p123575 Subject: Custom dialog, nasal console etc. to fire a missile?]<br/>
{{forum link|p=123575|title=Custom dialog, nasal console etc. to fire a missile?}}<br/>
<div id{{=}}"video"><iframe width{{=}}"420" height{{=}}"315" src{{=}}"http://www.youtube.com/embed/UL7jQkl1qe4" frameborder{{=}}"0" allowfullscreen{{=}}""></iframe></div>
<div id{{=}}"video"><iframe width{{=}}"420" height{{=}}"315" src{{=}}"http://www.youtube.com/embed/UL7jQkl1qe4" frameborder{{=}}"0" allowfullscreen{{=}}""></iframe></div>
   |{{cite web |url={{forum url|p=182797}}
   |{{cite web |url={{forum url|p=182797}}
Line 501: Line 501:
{{FGCquote
{{FGCquote
   |If this is all about "bots" controlling aircraft, then you can do this already.<br/>
   |If this is all about "bots" controlling aircraft, then you can do this already.<br/>
Take for example a look at another discussion a couple of days ago: [http://flightgear.org/forums/viewtopic.php?f{{=}}5&amp;t{{=}}6807&amp;p{{=}}66463#66463 viewtopic.php?f{{=}}5&amp;t{{=}}6807&amp;p{{=}}66463#66463] (should probably also be moved to the new AI sub forum), where I roughly sketched out how to use Nasal to control an aircraft.<br/>
Take for example a look at another discussion a couple of days ago: {{forum link|p=66463}} (should probably also be moved to the new AI sub forum), where I roughly sketched out how to use Nasal to control an aircraft.<br/>
  <br/>
  <br/>
So this could then be used to create such "bots" (scripted pilots) for aircraft by using Nasal.
So this could then be used to create such "bots" (scripted pilots) for aircraft by using Nasal.
Line 578: Line 578:
[http://diydrones.com/profiles/blogs/uas-search-and-rescue-demo-simulation http://diydrones.com/profiles/blogs/uas ... simulation]<br/>
[http://diydrones.com/profiles/blogs/uas-search-and-rescue-demo-simulation http://diydrones.com/profiles/blogs/uas ... simulation]<br/>
[http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg33987.html http://www.mail-archive.com/flightgear- ... 33987.html]<br/>
[http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg33987.html http://www.mail-archive.com/flightgear- ... 33987.html]<br/>
[http://www.flightgear.org/forums/viewtopic.php?f{{=}}4&amp;t{{=}}13615 http://www.flightgear.org/forums/viewto ... {{=}}4&amp;t{{=}}13615]<br/>
{{forum link|t=13615}}<br/>
<br/>
<br/>
<div id{{=}}"video"><iframe width{{=}}"420" height{{=}}"315" src{{=}}"http://www.youtube.com/embed/cvbtSG9cy20" frameborder{{=}}"0" allowfullscreen{{=}}""></iframe></div>
<div id{{=}}"video"><iframe width{{=}}"420" height{{=}}"315" src{{=}}"http://www.youtube.com/embed/cvbtSG9cy20" frameborder{{=}}"0" allowfullscreen{{=}}""></iframe></div>