1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to set up text doc's for BglComp

Discussion in '3D Objects General' started by UtahJazzfan, 14/4/07.

  1. UtahJazzfan

    UtahJazzfan

    Joined:
    26/1/07
    Messages:
    254
    Country:
    us-utah
    I am having problem's creating scenery objects with the text documents and BglComp. How do I set them up? Like this is an example of a helipad.

    <Helipad
    lat="N47 26.00"
    lon="W122 18.38"
    alt="432.7F"
    surface="BRICK"
    heading="0"
    length="200F"
    width="100F"
    type="CIRCLE"
    closed="FALSE"
    transparent="FALSE"/>


    Where do I put that?
  2. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,347
    Country:
    netherlands
    Hi.

    You need to put it into a XML file. This is just an ASCII file, so you can create it with notepad for example. Before the actual command you posted you need a few other commands. You can use this as a template:

    Code:
    <FSData version="9.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="bglcomp.xsd">
    
    <!-- Your actual code -->
    	
    </FSData>
    In the middle you would need your code, for example the Helipad command. But the BGLComp SDK says that the Helipad command needs to be part of an Airport command as well, so you would have to add that as well. Check the documentation of the BGLComp SDK for more details.

Share This Page