This is an example XML that's included in the bglcomp SDK, if you copy this to Notepad and save it as Chelan.xml you can drop it onto bglcomp.exe and it will generate a "Chelan.bgl". This thermal (there are actually 3 thermals in this XML as you can see) is already included in the sim, but if you change the lat/lon, etc you can put a thermal wherever you want.
If you have ADE installed you can find bglcomp.exe in the "Airport Design Editor 9x\FS9" folder, just drag the saved XML into that folder and drop it on bglcomp to compile the .bgl. (The .bgl will be created in the same folder as the XML)
If you want the actual bglcomp SDK you can download that here:
http://download.microsoft.com/downlo...omp2_setup.exe
Code:
<?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" >
<!-- Thermal Chelan -->
<SceneryObject lat="47 48.35" lon="-120 1.83" alt="200" pitch="0" bank="0" heading="0" altitudeIsAgl="TRUE" imageComplexity="SPARSE">
<Trigger type="WEATHER" triggerHeight="3000">
<Vertex biasX="-1500.0" biasZ="-1500.0" />
<Vertex biasX="-1500.0" biasZ="1500.0" />
<Vertex biasX="1500.0" biasZ="1500.0" />
<Vertex biasX="1500.0" biasZ="-1500.0" />
<TriggerWeatherData type="THERMAL"></TriggerWeatherData>
</Trigger>
</SceneryObject>
<!-- Thermal Waterville-->
<SceneryObject lat="47 39.24" lon="-120 3.32" alt="1000" pitch="0" bank="0" heading="0" altitudeIsAgl="TRUE" imageComplexity="SPARSE">
<Trigger type="WEATHER" triggerHeight="3000">
<Vertex biasX="-1500.0" biasZ="-1500.0" />
<Vertex biasX="-1500.0" biasZ="1500.0" />
<Vertex biasX="1500.0" biasZ="1500.0" />
<Vertex biasX="1500.0" biasZ="-1500.0" />
<TriggerWeatherData type="THERMAL"></TriggerWeatherData>
</Trigger>
</SceneryObject>
<!-- Thermal KEAT-->
<SceneryObject lat="47 23.91" lon="-120 12.40" alt="1000" pitch="0" bank="0" heading="0" altitudeIsAgl="TRUE" imageComplexity="SPARSE">
<Trigger type="WEATHER" triggerHeight="4000">
<Vertex biasX="-1800.0" biasZ="-1800.0" />
<Vertex biasX="-1800.0" biasZ="1800.0" />
<Vertex biasX="1800.0" biasZ="1800.0" />
<Vertex biasX="1800.0" biasZ="-1800.0" />
<TriggerWeatherData type="THERMAL"></TriggerWeatherData>
</Trigger>
</SceneryObject>
</FSData>
You may already know, but if you want to see your thermals (and fuel triggers) in the sim open up your fs9.cfg and find the [Scenery] section, add the line "ShowTriggers=1" to that section, you'll see large green boxes defining your trigger area.
Jim
Bookmarks