- Messages
- 1,243
- Country
Jon,
I import an XML file and the validate says I have a problem with a genericbuilding object.
The file has:
<!--Generic Building 1 -->
<SceneryObject
lat = "35.0244269444444"
lon = "-110.725890277778"
alt = "0.0"
altitudeIsAgl = "TRUE"
pitch = "0.0"
bank = "0.0"
heading = "30.0"
imageComplexity = "SPARSE">
<GenericBuilding
scale = "1.0"
bottomTexture = "8"
roofTexture = "8"
topTexture = "8"
windowTexture = "8">
<RectangularBuilding <---- has line
roofType = "PEAKED"
sizeX = "100"
sizeZ = "200"
sizeBottomY = "10"
textureIndexBottomX = "256"
textureIndexBottomZ = "256"
sizeWindowY = "20"
textureIndexWindowX = "256"
textureIndexWindowY = "256"
textureIndexWindowZ = "256"
sizeTopY = "10"
textureIndexTopX = "256"
textureIndexTopZ = "256"
textureIndexRoofX = "256"
textureIndexRoofZ = "256"
sizeRoofY = "10"
textureIndexRoofY = "256"/>
</GenericBuilding>
</SceneryObject>
It displays:
<SceneryObject
lat="35.0244269444444"
lon="-110.725890277778"
alt="0.0M"
altitudeIsAgl="TRUE"
pitch="0"
bank="0"
heading="30"
imageComplexity="SPARSE">
<GenericBuilding
scale="1"
bottomTexture="8"
roofTexture="8"
topTexture="8"
windowTexture="8">
roofType="PEAKED" <--- missing line
sizeX="100"
sizeZ="200"
sizeBottomY="10"
textureIndexBottomX="256"
textureIndexBottomZ="256"
sizeWindowY="20"
textureIndexWindowX="256"
textureIndexWindowY="256"
textureIndexWindowZ="256"
sizeTopY="10"
textureIndexTopX="256"
textureIndexTopZ="256"
textureIndexRoofX="256"
textureIndexRoofZ="256"
sizeRoofY="10"
textureIndexRoofY="256"/>
</GenericBuilding>
</SceneryObject>
Second the winsock has blanks in the tree view for polecolor and sockcolor.
I import an XML file and the validate says I have a problem with a genericbuilding object.
The file has:
<!--Generic Building 1 -->
<SceneryObject
lat = "35.0244269444444"
lon = "-110.725890277778"
alt = "0.0"
altitudeIsAgl = "TRUE"
pitch = "0.0"
bank = "0.0"
heading = "30.0"
imageComplexity = "SPARSE">
<GenericBuilding
scale = "1.0"
bottomTexture = "8"
roofTexture = "8"
topTexture = "8"
windowTexture = "8">
<RectangularBuilding <---- has line
roofType = "PEAKED"
sizeX = "100"
sizeZ = "200"
sizeBottomY = "10"
textureIndexBottomX = "256"
textureIndexBottomZ = "256"
sizeWindowY = "20"
textureIndexWindowX = "256"
textureIndexWindowY = "256"
textureIndexWindowZ = "256"
sizeTopY = "10"
textureIndexTopX = "256"
textureIndexTopZ = "256"
textureIndexRoofX = "256"
textureIndexRoofZ = "256"
sizeRoofY = "10"
textureIndexRoofY = "256"/>
</GenericBuilding>
</SceneryObject>
It displays:
<SceneryObject
lat="35.0244269444444"
lon="-110.725890277778"
alt="0.0M"
altitudeIsAgl="TRUE"
pitch="0"
bank="0"
heading="30"
imageComplexity="SPARSE">
<GenericBuilding
scale="1"
bottomTexture="8"
roofTexture="8"
topTexture="8"
windowTexture="8">
roofType="PEAKED" <--- missing line
sizeX="100"
sizeZ="200"
sizeBottomY="10"
textureIndexBottomX="256"
textureIndexBottomZ="256"
sizeWindowY="20"
textureIndexWindowX="256"
textureIndexWindowY="256"
textureIndexWindowZ="256"
sizeTopY="10"
textureIndexTopX="256"
textureIndexTopZ="256"
textureIndexRoofX="256"
textureIndexRoofZ="256"
sizeRoofY="10"
textureIndexRoofY="256"/>
</GenericBuilding>
</SceneryObject>
Second the winsock has blanks in the tree view for polecolor and sockcolor.
Last edited: