Jump to content

Help with Custom Rule for VPilot


Roy Higgins
 Share

Recommended Posts

I have FLAi model set installed and use on Vpilot. All works well but I wanted to get British Airways Shuttle flights to display in BA Livery. Have read the documentation and tried to set up Custom Rule in VPilot.

Prepare 3d is installed in C:\Prepar3D

Created a file in C:\Users\Roy\Documents\Prepar3D v5 Add-ons     ..   (where other add-ons are located)

<?xml version-"1.0" encoding="utf-8"?>
<ModelMatchRuleSet>

<ModelMatchRule CallsignPrefix="SHT" TypeCode="A319" ModelName="FLAi_FAIB_A319IAE_BAW-British Airways"/>
<ModelMatchRule CallsignPrefix="SHT" TypeCode="A320" ModelName="FLAI_FAIB_A319AE_BAW-British Airways STD//FLAi_FAIB_A320IAE_BAW-British Airways SL"/>
<ModelMatchRule CallsignPrefix="SHT" TypeCode="A321" ModelName="FLAi_FAIB_A321IAE_BAW-British Airways"/>

</ModelMatchRuleSet>

Originally this was an XML file but VPilot was only looking for vmr files so could not add it.

Changed file name to custom.vmr but then had error message in XML file  (1, 7)

I am very new to amending software. Any ideas why this will not work please ?

Roy Higgins

Error1.thumb.jpg.3a4dd22d99ce993d4d2a7771e3212f72.jpgError2.thumb.jpg.b8264fae721b4fdd1f80f5e536173f26.jpgErrorr3.thumb.jpg.cc84f5d8c345bd3b790de56a3d1f1532.jpg 

Link to comment
Share on other sites

The clue is in the error message. Line 1, character 7. It does not know what "version-" means. Compare your file against the example in the docs:

https://vpilot.rosscarlson.dev/Documentation#creating-rulesets

And you'll see the error.

Also, custom model matching rules are not P3D add-ons, so you don't need to put the file in your P3D add-ons folder.

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...