Jump to content

You're browsing the 2004-2023 VATSIM Forums archive. All content is preserved in a read-only fashion.
For the latest forum posts, please visit https://forum.vatsim.net.

Need to find something? Use the Google search below.

vPilot v2 - Rotorcraft not matching


Trevor Hannant
 Share

Recommended Posts

Trevor Hannant
Posted
Posted

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:

 

vpilot1.png

 

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

Ross Carlson
Posted
Posted

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

Trevor Hannant
Posted
Posted

Thanks Ross. Now to find some decent ones...

Trevor Hannant

Link to comment
Share on other sites

Trevor Hannant
Posted
Posted

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

Ross Carlson
Posted
Posted

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

  • 5 months later...
Marc DUVAL 1259627
Posted
Posted
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

Ross Carlson
Posted
Posted

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

Marc DUVAL 1259627
Posted
Posted

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

Ross Carlson
Posted
Posted

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

Marc DUVAL 1259627
Posted
Posted
Does it show them as identified in the settings?

 

Yes, they show in the advanced window.

Link to comment
Share on other sites

Ross Carlson
Posted
Posted

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

Marc DUVAL 1259627
Posted
Posted
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

Ross Carlson
Posted
Posted

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

Marc DUVAL 1259627
Posted
Posted
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

Ross Carlson
Posted
Posted

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

Marc DUVAL 1259627
Posted
Posted
Can you please post a screenshot showing the R22 as identified?

 

Here you go

 

67868da4ea.jpg

 

3543f90a3f.png

Link to comment
Share on other sites

Ross Carlson
Posted
Posted

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

Marc DUVAL 1259627
Posted
Posted

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

Ross Carlson
Posted
Posted

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

Ross Carlson
Posted
Posted

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

 Share