Search found 188 matches: tanker.nas

Return to advanced search

Re: How to add emitting TACAN to a MP tanker

AI tankers are controlled by FGDATA/Nasal/tanker.nas - it contains the following: var identity = { get: func { # return free AI id number and least used, free callsign/channel pair var data = {}; # copy of me.pool var revdata = {}; # channel->callsign ...
by enrogue
Tue Sep 22, 2020 2:46 pm
 
Forum: Aircraft
Topic: How to add emitting TACAN to a MP tanker
Replies: 6
Views: 260

Re: Importing state vectors directly into FlightGear

... traffic via the multiplayer protocol: http://wiki.flightgear.org/Multiplayer_protocol ⋅  scripted AI objects (via Nasal, e.g. see tanker.nas, fox2.nas etc) In other words, you will want to share a few more details about your specific needs (for instance, it would be good to know ...
by Hooray
Sat Sep 12, 2020 5:28 pm
 
Forum: Interfacing
Topic: Importing state vectors directly into FlightGear
Replies: 8
Views: 356

Re: Simple Circle Orbit for AI Flightplan

No, tanker.nas is the new Nasal-driven interactive tanker - we had AI tankers before that which were flying round in circles - I rememver well trying to catch one with the SR-71 without any success... the tankers are probably ...
by Thorsten
Fri Aug 28, 2020 11:08 am
 
Forum: Flying
Topic: Simple Circle Orbit for AI Flightplan
Replies: 21
Views: 689

Re: Simple Circle Orbit for AI Flightplan

... 5.3 NM). I would guess that the full answer hides somewhere in flightgear/src/AIModel/ . Edit: It seems the magic happens in fgdata/Nasal/tanker.nas . Edit 2: Full name of the pattern-length-nm property from tanker.nas.
by Johan G
Fri Aug 28, 2020 9:55 am
 
Forum: Flying
Topic: Simple Circle Orbit for AI Flightplan
Replies: 21
Views: 689

Re: Simulating and exporting target sensor data

... to create a scripted or XML based system (or a combination of both) to generate such data for each simulated aircraft. The existing "tanker.nas" script would be easy to modify to create arbitrary flight tracks, associate a suitable 3D model and then use the position of the simulated ...
by Hooray
Wed Mar 18, 2020 7:58 pm
 
Forum: Interfacing
Topic: Simulating and exporting target sensor data
Replies: 19
Views: 1525

Re: Simulating and exporting target sensor data

... protocol or existing track data) ⋅  using built-in autoflight systems (autopilot, route manager) ⋅  using scripted AI traffic (tanker.nas, fox2.nas) flight data can be serialized in various way, the ones of primary interest are probably: ⋅  flight recorder tapes (instant ...
by Hooray
Wed Mar 18, 2020 10:19 am
 
Forum: Interfacing
Topic: Simulating and exporting target sensor data
Replies: 19
Views: 1525

Re: Nasal re-loadable modules

... loading of Nasal modules, to better formalize dependencies between modules, but also between Nasal modules and C++ subsystems - e.g. think about tanker.nas requiring AI traffic, think about the pilot-list requiring multiplayer - think about canvas APIs for the canvas system etc. The original ...
by Hooray
Tue Mar 03, 2020 10:54 am
 
Forum: Nasal
Topic: Nasal re-loadable modules
Replies: 12
Views: 816

Re: Red Griffin ATC - Speaking ATC addon for Flightgear

... scripted pilots that respond to scripted ATC controllers - really, the sky is the limit here. For starters, it would make sense to look at the way tanker.nas works, then I would suggest to look at the Bombable addon to learn more. For tons of other relevant background, refer to: http://wiki.flightgear.org/Scripted_AI_Objects ...
by Hooray
Sun Jan 12, 2020 1:03 pm
 
Forum: New features
Topic: Red Griffin ATC - Speaking ATC addon for Flightgear
Replies: 258
Views: 17024

Re: Military simulation (from Su-15 Screenshots)

... has begun on a new framework that will enable easy creation of scripted AI objects using Nasal. This work, although available for scripts such as tanker.nas, will also be used for a more generic AI missile framework Official FlightGear Newsletter July 2017: ... KC-137R got soon included in OPRF's ...
by vitos
Mon Nov 18, 2019 8:13 am
 
Forum: The FlightGear project
Topic: Military simulation (from Su-15 Screenshots)
Replies: 178
Views: 38605

Re: re: porting aircraft.nas /cppunit testing (pointers)

... makes sense if you have identified any low-hanging fruits. However, conceptually, the same approach will work for the AI system - re-implementing tanker.nas in C++ space is a long-standing idea, and we've grown a huge wiki article over time gathering tons of useful information over the years: ...
by Hooray
Sun Sep 15, 2019 2:51 pm
 
Forum: Nasal
Topic: re: porting aircraft.nas /cppunit testing (pointers)
Replies: 7
Views: 754

Re: re: porting aircraft.nas /cppunit testing (pointers)

... rules framework? Just so you're clear on what ended up happening: - implementing classes in aircraft.nas as C++ is not happening. - Others such as tanker.nas may end up moving to C++ space if the AI stuff can be exposed to scripting (per Thorsten's comments) - Extending the unit testing framework ...
by legoboyvdlp
Sun Sep 15, 2019 2:13 pm
 
Forum: Nasal
Topic: re: porting aircraft.nas /cppunit testing (pointers)
Replies: 7
Views: 754

Re: Pop up messages in scenarios

... via scripts. Apart from that, there are several existing features that have more or less overlapping functionality. Such as for example, the tanker.nas "scenario" (air-to-air refueling, with vectors/altitude computed dynamically) But there are also dedicated GCA/PART add-ons, which ...
by Hooray
Tue Dec 25, 2018 9:24 pm
 
Forum: Flying
Topic: Pop up messages in scenarios
Replies: 18
Views: 1821

Re: web GIS talking to FG to display traffic in (near) real

... over the years. Either way, it would make sense to look at "atcpie" for anything involving multiplayer-based traffic injection, or "tanker.nas" for anything involving Nasal based (scripted) AI traffic. http://wiki.flightgear.org/ATC-pie http://wiki.flightgear.org/images/2/27/ATC-pie-screenshot-towerViewing.png ...
by Hooray
Fri Dec 21, 2018 2:14 pm
 
Forum: Development
Topic: web GIS talking to FG to display traffic in (near) real time
Replies: 12
Views: 5929

Re: Reading Aircraft information using Nasal

... have access to an actual FDM, autopilot or route manager instance there. http://wiki.flightgear.org/Howto:Working_with_AI_and_MP_properties tanker.nas is basically what you need, but using that makes only sense if you understand how the property tree is used, and how the data there relates ...
by Hooray
Sat Nov 17, 2018 6:41 am
 
Forum: Nasal
Topic: Reading Aircraft information using Nasal
Replies: 1
Views: 764

Re: Flying throug Programming

... the previous responses I have posted, as they contain all that you need to know, you will specifically want to look for anything mentioning "tanker.nas", which is also a standard component of FlightGear, i.e. you can simply open the fgdata directory and look at the file. You will probably ...
by Hooray
Tue Nov 13, 2018 7:22 pm
 
Forum: Autopilot
Topic: Flying throug Programming
Replies: 6
Views: 1014
Next

Return to advanced search