I have eventually managed to produce a bgl file for a windsock, by dropping the appropriate text file into the Bglcomp exe file. What I need to kbow now is how to add a parameter to this file i.e. change the colour of a windsock pole.
the text file reads:-
<?xml version="1.0" encoding="ISO-8859-1"?>
<FSData version="9.0" xmlns:xsi='
http://www.w3.org/2001/XMLSchema-instance' xsi:noNamespaceSchemaLocation="bglcomp.xsd">
<SceneryObject lat="N56 27.7100" lon="W5 24.3200" alt="06" pitch="0" bank="0" heading="0" imageComplexity="SPARSE">
<Windsock
poleHeight="13.5"
sockLength="10.5"
lighted="TRUE">
<!--windsock data-->
</Windsock>
</SceneryObject>
</FSData>
The specified data to change the pole color reads:-
<PoleColor
red=”128”
blue=”128”
green=”128”/>
Does anyone know where in the text file this should be placed to make it work? I seem to have tried all combinations without success. The instructions with Bglcomp do not seem to help