Jump to content

vPilot v2 - Rotorcraft not matching


Trevor Hannant
 Share

Recommended Posts

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

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

  • 5 months later...
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

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

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

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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...