Thank you Bill.
I am stupid and frustrated then. I have followed threads on FSdeveloper and here and just can't make this work. I have not messed with modeldef.xml yet.
I am using Windows Vista Ultimate, FSDS 3.5.1 and FSX SP-2. I have created a windmill in FSDS (with animated blades) and I am trying to attach a light to the top of the windmill structure.
This picture should illustrate what I am trying to accomplish. I'd like to place the light on top of the structure where I've placed the circle in the image.
I am using FSDS and have this as my XML blurb inside of PartdataDefs.txt:
Code:
attachpt_obslight_1 <?xml version="1.0" encoding="ISO-8859-1" ?> <FSMakeMdlData version="9.0"> <Attachpoint name="attachpt_obslight_1"> <AttachedObject> <Effect effectName="fx_lightObsRedSteady" effectParams=""/> </AttachedObject> </Attachpoint> <Visibility name="general_light"> </Visibility> </FSMakeMdlData>
I have named my part "attachpt_obslight_1" in FSDS.
here is what my object placement XML looks like:
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">
<SceneryObject
lat="N20 15.66"
lon="W155 51.47"
alt="0"
pitch="0"
bank="0"
heading="0"
altitudeIsAgl="TRUE"
imageComplexity="NORMAL">
<LibraryObject name="{5BC01C8F-8765-41FA-B2A9-708BB34E1424}" scale="0.100000" />
<AttachedObject
attachpointName="attachpt_obslight_1"
pitch="0"
bank="0"
heading="0">
<Effect effectName="fx_lightObsRedSteady" effectParams=""/>
</AttachedObject>
</SceneryObject>
<ModelData sourceFile="TestObj.mdl" />
</FSData>
I will gladly paypal someone $20 (sorry, I know the dollar is depressed) if they can help me to make this work. I have blown a day on this and I am getting despondent.
Help!