• There seems to be an uptick in Political comments in recent months. Those of us who are long time members of the site know that Political and Religious content has been banned for years. Nothing has changed. Please leave all political and religious comments out of the forums.

    If you recently joined the forums you were not presented with this restriction in the terms of service. This was due to a conversion error when we went from vBulletin to Xenforo. We have updated our terms of service to reflect these corrections.

    Please note any post refering to a politician will be considered political even if it is intended to be humor. Our experience is these topics have a way of dividing the forums and causing deep resentment among members. It is a poison to the community. We appreciate compliance with the rules.

    The Staff of SOH

  • Server side Maintenance is done. We still have an update to the forum software to run but that one will have to wait for a better time.

Rwy12

Hooky722

Charter Member
Hi All

Anybody got any clue what i need to do to get a Scenery BGL/XML and convert it into a Rwy12 place-able object?

Regards

Hooky:salute:
 
Hi there Hooky!

Good to see you around the 'HOUSE' mate!

It's been quite a while since I last dabbled with Rwy12, but if memory serves me, basically you have to create an XML doc similar to the ones already used by the program.

They all begin with; add_ e.g.; add_SeevKahn (this can be found in the main Rwy12 folder). I think it mentions adding your own objects somewhere in the instructions too.
 
Hi All

Anybody got any clue what i need to do to get a Scenery BGL/XML and convert it into a Rwy12 place-able object?

Regards Hooky:salute:

Hooky, Nigel is correct about making folder that begins with add_

What I did was looked at how the various sub-folders were set up in the RWY12 folder. There's two. I opened them and used them for a template for my new stuff. I hope it doesn't take you nearly as many attempts as it took me. I was finally successful, however. I'm sure you will prevail.

Romeo-Delta
 
Hooky772

You are not providing specific details about the bgl file in question so I will provide answers that you may already know.

Runway 12, EZ Scenery, and Instant Scenery are all designed to place Library Objects. I don't know if you can place normal scenery objects even if you know the GUID number. I tried once and could not get it to work. I might have been doing something wrong I don't know.

Lets specifically look at importing an EZ Scenery Library for use in Rwy12. The library for this example is Nimitz library located at flightsim.com look for ez-nim.zip and ez-nimup.zip. Once you have all the files extracted to the same folder inside the scenery folder you will find a text file. This text file contains all the GUID numbers and names you need to put in an XML file.

To set up a new library in Rwy12 you need to add an xml file to the Rwy12 program folder. For this example name it.

add_EZ-Nimitz.xml

The contents of the xml file are pretty simple. The first line is the doctype declaration.

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

Next follows the objects defined in the library.

*note I don't know if comments actually work in Rwy12 they may cause a problem. They are included here as part of the example. You can omit them when creating your own xml file.

PHP:
<!-- this is a comment. Rwy12 should ignore this line.  -->
<!-- The first tag is to start the objects library. Later we will close this tag which is a must. -->

<objectsLibrary>

	<!-- Now we start a category. You can create sperate catagories or just one the choice is yours -->
	<category name="Carriers">
		
		<!-- The next tag defines an individual object. The names and GUID should all be taken from the EZ-Nimtz.txt -->
		<!-- By default Rwy12 looks for the object image in its "img" folder. If you define a folder it must be in Rwy12/img/ -->
		<!-- If you do not have an image for the file Rwy12 will generate an error when you select the catagory. --> 	
		<obj name="CVN71"
				guid="AD5948C14B88798A0697058E9A1C506A"
				image="EZ-Nimitz"/>

		<obj name="CVN72"
				guid="CA6C90AE402D2EB3195AFD90BB9F83A9"
				image="EZ-Nimitz"/>
		
		<!-- add the balance of the carrier objects to this list. -->

	<!-- The catagory  must be closed with the tag below. Remeber it is not necessary to have multiple catagories -->
	</category>

	<!-- Catagory 2 -->
	<category name="Hard Decks">

		<obj name="CVN_Deck"
				guid="3DD37FFF45AF6E8094208AB8208EF634"
				image="EZ-Nimitz"/>


	</category>

	<!-- Catagory 3 -->

	<category name="Wake Effects">

		<obj name="CVN Wake"
				guid="98BB117641643C56598142A73F28D69E"
				image="EZ-Nimitz"/>


	</category>

<!-- Closing tag for objects library -->
</objectsLibrary>

If this does not help you provide specifics on the bgl file you are working with and we can further advise you.
 
Back
Top