Jump to content

Sign in to follow this  
wsieffert

Placing library objects with bglcomp

Recommended Posts

Guest Larry S

I've been using the bglcomp sdk to place docks and boats from the libraryobjects.xls list. It's working great, no textures or texture folder needed. If I understand the fs2004bglcompsdk.doc correctly, there has to a separate bgl for each object? pg 9... "Note: unlike previous versions of BGL there is only one object allowed per placement. The exception to this is attached objects which are covered elsewhere in this document."At this point I have 8 dock segments and 12 boats = 20 bgl files. I'm looking at 3 docks which will give me about 60 files. Each bgl file is 140 bytes, buts takes up 4 kb of space on the HD. And it looks ugly to have that many files.Is there a way to place (combine) more than one object in a bgl?Larry

Share this post


Link to post
Share on other sites

What that is saying, is that a SceneryObject element can only have 1 LibraryObject subelement within it. But you can have as many SceneryObject elements as you need in a single XML source file. It probably makes sense to limit the overall geographic extent of a single .bgl but I don't know if there is a performance or compilation hit if you don't limit it.scott s..

Share this post


Link to post
Share on other sites
Guest Larry S

Looks lime you're right. I finally got it to work. I was having trouble figuering out what info to repeat.This is a single boat....<?xml version="1.0"?>This is two boats...<?xml version="1.0"?>Thanks

Share this post


Link to post
Share on other sites

NO! You can place as many library objects in one *.bgl file, as you want!The example below is from the Jetways2.zip file uploaded by Shez:<?xml version="1.0"?>I think you are miss reading the intent of the statement. If you look at the element statements above, you will find only one (1) element. If you had attached objects, then the information between the element would be different. You cannot have more than one library object per element.You can have multiple elements per compiled *.bgl file.]W. Sieffert

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...