• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Making "landable" objects

Messages
961
Country
panama
Hi.
I would like to make a "landable" FSX surface like an aircraft carrier or a solid island where I can place an airfield. Is this possible with FSDS 3.5? if not what tool do I need?

Thanks
 
Hi Folks

solid -
Look 2 posts below.
FSDS - Creating attachpoints for Hardens or Effects

ATB
Paul
 
Have checked the coding....result?, I din´t understand anything. I am not well versed in coding guys. Oh well, I will standby until something simpler comes along and forget the island for now..:(:(---BASys , great site you got, very unusual and interesting subject for FS..congratulations.

Thanks anyway guys......
 
Last edited:
Gera - let me see if I can make a "simple" tutorial. Making a hard surface in FSDS 3.5.1 is easy - if *I* can do it, anyone can. I'm not in my (to use Fr. Bill's words) "development machine" so it will have to be tonight (US Eastern Daylight Savings time: GMT -4hrs) before I can get to it.
 
In the simplest form, I made a textured box (my handy dandy dieface), which I squashed in the form of a ramped box.

I (copy/pasted the box, deleted all but the "top" polygons to form the attachpoint object /platform and named that platform_CONCRETE_0

In my partsdatadefs.txt file (created with notepad, placed in the main FSDS3.5.1 folder) I created the blurb:

platform_CONCRETE_0 <?xml version="1.0" encoding="ISO-8859-1" ?> <FSMakeMdlData version="9.0"> <Platform name="platform_CONCRETE_0" surfaceType="CONCRETE" > </Platform> </FSMakeMdlData>

Caveat: Between the part name and the first "<" of the blurb, there have to be 6-spaces (don't ask me why, take it as I do, as an article of faith)

FOr my testing purposes, I compiled to scenery MDL directly from FSDS (check the latitude/longitude/alt in the attached fsc file.

With any luck, I've managed to upload the screenshot of my dieface object and a zip file contianing the dieface.fsc, the associated texture and my test partdatadefs.txt file.
 

Attachments

  • dieface.zip
    dieface.zip
    11.1 KB · Views: 839
  • dieface_fsds.jpg
    dieface_fsds.jpg
    10.8 KB · Views: 904
Hi FelixFFDS..

Thank you man. I have copied the zip and your post and tonight I will take a shot at it....really appreciate your help.:)
will let you know what happens.....
 
Man, I just can't get this to work. I want to stick an obstruction light onto a windmill and the PartDataDefs thing just will not work for me.

EDIT: VERY IMPORTANT QUESTION... Does this work for MakeMDL only? If so, then I've been :banghead: and wasting my time for a day now.
 
Last edited:
Man, I just can't get this to work. I want to stick an obstruction light onto a windmill and the PartDataDefs thing just will not work for me.

EDIT: VERY IMPORTANT QUESTION... Does this work for MakeMDL only? If so, then I've been :banghead: and wasting my time for a day now.

In FSDS 3.5.1, this DOES NOT work for compiling under makemdl.exe - only under xtomdl.exe
 
Felix,

In a previous post you explain how to make a landable zone. Very interesting, I want to try your tip. You talk about your "partsdatadefs.txt file" in FSDS main folder. I dont have this file.

Also, etheir I generate an X, a header XML or a XML file, I was unable to compile it with BGLComp to create a scenery. Is there an other tip here...? Thanks.
 
Felix,

In a previous post you explain how to make a landable zone. Very interesting, I want to try your tip. You talk about your "partsdatadefs.txt file" in FSDS main folder. I dont have this file.

Also, etheir I generate an X, a header XML or a XML file, I was unable to compile it with BGLComp to create a scenery. Is there an other tip here...? Thanks.

You actually create the PartsDataDef.txt file. Note that the spelling has to be exact. I know that I've mis-typed it in several posts. I believe that in my sample ramp file I included the appropriate file with xml blurbs.

As to your not being able to compile to a scenery file, first make sure you've set your location (latitude/longitude) correctly. If you compile to bgl file straight from FSDS 3.5.1, it will take the cooridnates you've specified in the project properties dialog.

To compile manually with bglcomp, I suggest that you create a scenery mdl file, which will create the appropriate xml placement file, again, with the location coordinates from the project properties dialog box.
 
OK, I found your PartsDataDef.txt file and I see the line about platform. What I do with this file?

In the other hand, is the above solution applicable?

1. Create a transparent platform, with the same coordonnates than the ship, but just a litte over the correspondant rear deck position of the ship.
2. Genarate a MDL.
3. In the XML, add this object under the "main" ship object with a "concrete attibute".
4. Compile the XML.
 
Last edited:
The PartsDataDef.txt file must reside in your main FSDS3.5.1 folder.

The process you indicate sounds the right one.
 
OK,

This is the ship's code in the XML ship's file :

<?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">
<SceneryObject instanceId="{3A08E154-54BF-4FCC-A206-61FF52B68B83}" lat="46 49.81" lon="-71 10.01" alt="0" pitch="0" bank="0" heading="0" altitudeIsAgl="TRUE" imageComplexity="NORMAL">
<LibraryObject name="{BB5A4920-F4EF-496F-8369-0CCFADE9E228}" scale="1.000000" />
</SceneryObject>
<ModelData sourceFile="amundsen.mdl" />
</FSData>


And this is the deck's code in the XML deck's file :

<?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">
<SceneryObject instanceId="{64F340EE-AEDA-4D4B-A2A4-222E5430C5CB}" lat="46 49.81" lon="-71 10.01" alt="0" pitch="0" bank="0" heading="0" altitudeIsAgl="TRUE" imageComplexity="NORMAL">
<LibraryObject name="{8EDE6BFA-17A6-4209-BEA4-01C5BF025D93}" scale="1.000000" />
</SceneryObject>
<ModelData sourceFile="amundsen-pont.mdl" />
</FSData>


Questions :

1. How to merge the two codes in one XML file?
2. To make the deck landable; where I put the surfaceType attribute in the deck's code?
 
Look at my post above - and check the zipped file.

YTou do NOT need to create two separate models.

Basically, you make a copy the landing platform. Name that part "platform_CONCRETE_0". That's all you have to do in FSDS.

OPen the PartDataDef.txt file and make sure you have the blurb:

platform_CONCRETE_0 <?xml version="1.0" encoding="ISO-8859-1" ?> <FSMakeMdlData version="9.0"> <Platform name="platform_CONCRETE_0" surfaceType="CONCRETE" > </Platform> </FSMakeMdlData>


Note that between the name "platform_CONCRETE_0" and the opening parenthesis of the XML blurb, I always make sure there are 6 spaces.


Save the PartDataDef.txt file.

Now, compile your model to FS-X (scenery mdl, manual compile to bglcomp, or straight compile to scenery bgl file).

What happens is that FSDS reads the PartDataDef.txt file and adds the appropriate attachpoint coding to the x file created.


As to your specific question on where you specify the surface type - note the phrase: surfaceType="CONCRETE" in the xml blurb.
 
Thanks,

In your PartDataDef.txt file there is a lot of objects. None of these names are used in my ship. What I do with these?
 
The file is just a text file. YOu can actually create a specific one for each model you want to.

You can delete any that you do not plan to use.

Just remember, if by chance you have two landable surfaces you need to duplicate the XML blurb with a new part name:

platform_CONCRETE_0
platform_CONCRETE_1, etc
 
This is truely giving me the heebie geebies.

I can not get this to work for the life of me.

I've even created the sample done by Felix, and that does not work.

I'm using

FSDS 3.5.1
FSX + Acceleration

I've created the file: PartDataDefs.txt and have placed the XML blurb in it, and made sure there are six spaced between part name and xml start tag, it also lives in the main FSDS folder.

XML Blurb
Code:
platform_CONCRETE_0      <?xml version="1.0" encoding="ISO-8859-1" ?> <FSMakeMdlData version="9.0"> <Platform name="platform_CONCRETE_0" surfaceType="CONCRETE" > </Platform> </FSMakeMdlData>

The part name that I want landable is: platform_CONCRETE_0

I'm using XToMdl to create the object.

I've attached the FSDS file in hopes that someone can help me.

It is a hospital with a landable rooftop.

Cheers.
 

Attachments

Back
Top