FSDeveloper Community

Go Back   FSDeveloper Community > Microsoft Flight Simulator development > Scenery Design - 3D Objects > GMax and 3DS Max

GMax and 3DS Max Use this forum to discuss your GMax and 3DS Max problems

Reply
 
Thread Tools Display Modes
  #1  
Old 10 Jul 2005, 18:29
nigelgrant nigelgrant is offline
  ca-britishcolumbia
Location: West Vancouver
Join Date: Jun 2005
Posts: 61
How to Combine BGL files

Following on from another post where I described problems creating a perimeter fence for CYVR, I now have completed the fence which consists of 46 separate BGL files for its 46 individual segments. I would like to combine these into a single BGL file.

I have tried using SCLINK, but so far without success - is there any tutorial available on SCLINK and is this the most appropriate program now foir this process?

Nigel
Vancouver
Reply With Quote
  #2  
Old 10 Jul 2005, 20:06
JonPatch's Avatar
JonPatch JonPatch is offline
  ca-britishcolumbia
Location: Victoria, Canada
Join Date: Dec 2004
Posts: 431
Hi Nigel,

Why would not create a single XML file that references all your fence models at the appropriate locations, and compile that? You'll get a single BGL.

Jon
Reply With Quote
  #3  
Old 11 Jul 2005, 14:26
arno's Avatar
arno arno is offline
  netherlands
Location: Amsterdam
Join Date: May 2004
Posts: 18,923
Send a message via Skype™ to arno
Hi Nigel,

Better try what Jon already suggested. ScLink does not support the Fs2004 BGL format, so that is never going to work.

Combining everything into one XML file is certainly a good approach. If you re-use a certain MDL object you could even drop some ModelData commands and call the same GUID multiple times.
__________________
Arno
If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper Administrator | Former Microsoft FS MVP
Quick links: My tools | Wiki | Download center | Blog
Reply With Quote
  #4  
Old 13 Jul 2005, 20:25
JonPatch's Avatar
JonPatch JonPatch is offline
  ca-britishcolumbia
Location: Victoria, Canada
Join Date: Dec 2004
Posts: 431
So Nigel as we found offline, you were copying and pasting in multiple copies of the XML header and footer:

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">

<XML code>	
</FSData>
There can only be one set per file.

Jon
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Obtaining model data out of bgl files VulcanB2 General 4 21 Jan 2006 11:43
What programs use the XML code to make BGL files? stevenroyals BGLComp XML, AFCAD, SceneGenX 1 16 Jan 2006 12:20
Combining several XML Files into one then creating the BGL JFly BGLComp XML, AFCAD, SceneGenX 7 07 Dec 2005 08:56
Any performance impact on big BGL files? lmoelleb General 2 06 Oct 2005 15:50
Lago FSSE FS Exchange compatible GMax 1.2 files hesynergy General 4 07 Feb 2005 18:02


All times are GMT -4. The time now is 01:38.

Kirsch designed by Andrew & Austin


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.