Trevor Hannant Posted April 5, 2017 at 10:31 AM Posted April 5, 2017 at 10:31 AM Has anyone successfully managed to have Rotorcraft in P3Dv3 model match within vPilot v2? I have a number of helicopters installed but none ever match - and when adding a custom rule, it spits an error when trying to match against that model. simobjects.cfg has the correct entry and path to these: [Entry.4] ACTIVE=true PATH=SimObjects\Rotorcraft REQUIRED=true TITLE=Default Rotorcraft However it simply isn't showing as being scanned: I've also tried adding a custom rule: <?xml version="1.0" encoding="utf-8"?> <ModelMatchRuleSet Folder="" UpdatedOn="5/13/2016 2:00:00 PM"> <ModelMatchRule TypeCode="EC35" ModelName="EC135 MED" /> </ModelMatchRuleSet> The entry from the relevant aircraft.cfg file: [fltsim.2] title=EC135 MED <SNIP> Trevor Hannant Link to comment Share on other sites More sharing options...
Ross Carlson Posted April 5, 2017 at 12:53 PM Posted April 5, 2017 at 12:53 PM I'm not 100% sure, and I would have to run a test, but I believe the default rotorcraft cannot be injected into the sim ... they can only be flown by the user. You would need to download third party models that are built for use as AI aircraft and then create custom rules for them. Developer: vPilot, VRC, vSTARS, vERAM, VAT-Spy Senior Controller, Boston Virtual ARTCC Link to comment Share on other sites More sharing options...
Trevor Hannant Posted April 5, 2017 at 01:08 PM Author Posted April 5, 2017 at 01:08 PM Thanks Ross. Now to find some decent ones... Trevor Hannant Link to comment Share on other sites More sharing options...
Trevor Hannant Posted April 5, 2017 at 01:11 PM Author Posted April 5, 2017 at 01:11 PM If these are placed in the default SimObjects/Rotorcraft directory, would these be read there OK or would they need to be in the SimObjects/Airplanes directory? Trevor Hannant Link to comment Share on other sites More sharing options...
Ross Carlson Posted April 5, 2017 at 01:53 PM Posted April 5, 2017 at 01:53 PM They would need to be in Airplanes, or in their own folder referenced in SimObjects.cfg. Developer: vPilot, VRC, vSTARS, vERAM, VAT-Spy Senior Controller, Boston Virtual ARTCC Link to comment Share on other sites More sharing options...
Marc DUVAL 1259627 Posted October 3, 2017 at 08:28 AM Posted October 3, 2017 at 08:28 AM They would need to be in Airplanes, or in their own folder referenced in SimObjects.cfg. Hi, I have done just that. I understand that there may be a little bug in P3D regarding relative folders. In the simobjects.cfg file, I changed all the paths to absolute ones. Now vPilot read all the folders, including rotorcraft and indexes them, but they still won't show up. Any other clues for me ? Thanks Link to comment Share on other sites More sharing options...
Ross Carlson Posted October 3, 2017 at 02:27 PM Posted October 3, 2017 at 02:27 PM When you say it indexes them, what do you mean? What's important is whether or not it identifies them. Developer: vPilot, VRC, vSTARS, vERAM, VAT-Spy Senior Controller, Boston Virtual ARTCC Link to comment Share on other sites More sharing options...
Marc DUVAL 1259627 Posted October 9, 2017 at 09:08 AM Posted October 9, 2017 at 09:08 AM What I mean is that they appear in Settings > Model Matching > Advanced. They are also referenced in ModelScanResult-Prepar3dV4.xml which I believe, correct me if I am wrong, correspond in the menu previously referenced. Thanks for your help. Link to comment Share on other sites More sharing options...
Ross Carlson Posted October 9, 2017 at 02:47 PM Posted October 9, 2017 at 02:47 PM Does it show them as identified in the settings? Developer: vPilot, VRC, vSTARS, vERAM, VAT-Spy Senior Controller, Boston Virtual ARTCC Link to comment Share on other sites More sharing options...
Marc DUVAL 1259627 Posted October 11, 2017 at 12:50 PM Posted October 11, 2017 at 12:50 PM Does it show them as identified in the settings? Yes, they show in the advanced window. Link to comment Share on other sites More sharing options...
Ross Carlson Posted October 11, 2017 at 04:55 PM Posted October 11, 2017 at 04:55 PM I'm asking if it shows them as identified. Developer: vPilot, VRC, vSTARS, vERAM, VAT-Spy Senior Controller, Boston Virtual ARTCC Link to comment Share on other sites More sharing options...
Marc DUVAL 1259627 Posted October 18, 2017 at 09:32 AM Posted October 18, 2017 at 09:32 AM I'm asking if it shows them as identified. Sorry for the delay in the answer. No, they are not identified. However, I did a test with the stock Robinson, which is identified, and it did not work either. Thanks again for your time on this. Link to comment Share on other sites More sharing options...
Ross Carlson Posted October 18, 2017 at 03:43 PM Posted October 18, 2017 at 03:43 PM If they aren't identified, then vPilot won't (can't) use them. As for the Robinson, I believe those are not usable as AI aircraft. They are only flyable. When you say the Robinson "didn't work", what do you mean? Developer: vPilot, VRC, vSTARS, vERAM, VAT-Spy Senior Controller, Boston Virtual ARTCC Link to comment Share on other sites More sharing options...
Marc DUVAL 1259627 Posted October 18, 2017 at 07:23 PM Posted October 18, 2017 at 07:23 PM If they aren't identified, then vPilot won't (can't) use them. As for the Robinson, I believe those are not usable as AI aircraft. They are only flyable. When you say the Robinson "didn't work", what do you mean? I mean that me and a friend, each flying the R22, having declared the R22 in vPilot, where not seeing each other as R22s Link to comment Share on other sites More sharing options...
Ross Carlson Posted October 18, 2017 at 07:51 PM Posted October 18, 2017 at 07:51 PM Can you please post a screenshot showing the R22 as identified? Developer: vPilot, VRC, vSTARS, vERAM, VAT-Spy Senior Controller, Boston Virtual ARTCC Link to comment Share on other sites More sharing options...
Marc DUVAL 1259627 Posted October 19, 2017 at 07:15 PM Posted October 19, 2017 at 07:15 PM Can you please post a screenshot showing the R22 as identified? Here you go Link to comment Share on other sites More sharing options...
Ross Carlson Posted October 19, 2017 at 07:52 PM Posted October 19, 2017 at 07:52 PM Okay, there's a couple things going on here. First, there is a minor bug in vPilot where it is scanning the Rotorcraft folder when it shouldn't be. The reason is because the paths in your SimObjects.cfg file appear to be different than what vPilot is expecting, for the default paths such as Rotorcraft, GroundVehicles, Boats, etc. None of those folders contain usable models, so vPilot is supposed to be skipping over them. I'll make an update which should take care of that. The second thing that's happening, I think, is that vPilot is identifying the R22, and trying to use it, but as I said before, the flyable default helicopters cannot be used as models to represent other aircraft. So I [Mod - Happy Thoughts]ume that vPilot tries to use it, gets an error back from P3D, and then it tries to use some other model. If you don't have any other match for an R22, it will use your default model. Can you confirm that this is the case by checking the vPilot messages window and/or the .debug log to see if there is an error when it first tries to use the R22 model? Note that it will only try to use an erroneous model once for each time you run vPilot. Once it gets an error trying to use a model, it adds that model to a blacklist and won't try to use it again until you restart vPilot. Developer: vPilot, VRC, vSTARS, vERAM, VAT-Spy Senior Controller, Boston Virtual ARTCC Link to comment Share on other sites More sharing options...
Marc DUVAL 1259627 Posted October 19, 2017 at 08:11 PM Posted October 19, 2017 at 08:11 PM Ross, There reason why it scans the rotorcraft is because I added the full path in the SimObjects.cfg. With relative path, the rotorcraft folder is ignored. [Entry.0] Title=Default Airplanes Path=S:\P3Dv4\SimObjects\Airplanes Required=True Active=True [Entry.1] Title=Default Avatars Path=S:\P3Dv4\SimObjects\Avatars Required=True Active=True [Entry.2] Title=Default Rotorcraft Path=S:\P3Dv4\SimObjects\Rotorcraft Required=True Active=True You are correct on the second item, it does exactly what happens. Then my question is : How do I view helicopters ? Link to comment Share on other sites More sharing options...
Ross Carlson Posted October 19, 2017 at 09:56 PM Posted October 19, 2017 at 09:56 PM That's right, vPilot expects them to be relative, since the default paths normally are. I will change it so that it ignores them whether they are relative or absolute. If you want to see helicopters, you'll need to use an AI model set that has helicopters. Developer: vPilot, VRC, vSTARS, vERAM, VAT-Spy Senior Controller, Boston Virtual ARTCC Link to comment Share on other sites More sharing options...
Ross Carlson Posted October 20, 2017 at 02:04 AM Posted October 20, 2017 at 02:04 AM I just put out v2.1.9 beta which should properly ignore those paths now. Developer: vPilot, VRC, vSTARS, vERAM, VAT-Spy Senior Controller, Boston Virtual ARTCC Link to comment Share on other sites More sharing options...
Recommended Posts