- Messages
- 69
Okay, I have been beating my head senseless trying to get this to work. So I have created a 'generic' mockup of a single library object as follows:
Part 1:
Created a vertical plane 2'x2'. No texturing, just the base color of the poly.
Exported through Gmax MakeMDL to get the MDL and XML file.
Opened the XML file and did NOT remove the comment markers around the scenery object lines.
The only line that should be compiled is the Modeldata section at the very bottom that references the MDL sourcefile.
This should in turn make this compiled BGL file into a library object (because it is not being placed anywhere inside flightsim)
I compile and get a BGL
Part 2:
I then created another scene where I have a bunch of boxes.
I run the 'attachment' script from the SDK and proceed to attach the plane from part one to all of the boxes (using different names) except for one (as the exporter needs at least a single 'physical' object to compile correctly)
I then export the entire scene once again getting an MDL and XML file.
I open the XML file and proceed to place coordinates within flightsim.
I compile and get a BGL
Conclusion:
Now, when I go into flightsim and look at the scene I created, the only thing that I see is the 'physical' box that I created from part 2. All the other 'reference' boxes from part 2 are not there, BUT there aren't any 'referenced objects' in their place either.
I know I am doing this correctly because I can drop the part 1 object directly into flightsim and it shows. Am I doing something wrong with the reference portion or what?
I am losing hair and sleep over this!!!!
Thanx in advance for the input.
Sean E.
Part 1:
Created a vertical plane 2'x2'. No texturing, just the base color of the poly.
Exported through Gmax MakeMDL to get the MDL and XML file.
Opened the XML file and did NOT remove the comment markers around the scenery object lines.
The only line that should be compiled is the Modeldata section at the very bottom that references the MDL sourcefile.
This should in turn make this compiled BGL file into a library object (because it is not being placed anywhere inside flightsim)
I compile and get a BGL
Part 2:
I then created another scene where I have a bunch of boxes.
I run the 'attachment' script from the SDK and proceed to attach the plane from part one to all of the boxes (using different names) except for one (as the exporter needs at least a single 'physical' object to compile correctly)
I then export the entire scene once again getting an MDL and XML file.
I open the XML file and proceed to place coordinates within flightsim.
I compile and get a BGL
Conclusion:
Now, when I go into flightsim and look at the scene I created, the only thing that I see is the 'physical' box that I created from part 2. All the other 'reference' boxes from part 2 are not there, BUT there aren't any 'referenced objects' in their place either.
I know I am doing this correctly because I can drop the part 1 object directly into flightsim and it shows. Am I doing something wrong with the reference portion or what?
I am losing hair and sleep over this!!!!
Thanx in advance for the input.
Sean E.

This freaked me out.