Here's the unedited <Tower> record from the stock FSX KIAH airport (0202, APX22210.bgl):
Code:
<Tower
lat="N29 59.06182"
lon="W095 19.66084"
alt="0.00M">
<SceneryObject
lat="N29 59.19698"
lon="W095 21.09813"
alt="0.0000M"
altitudeIsAgl="TRUE"
pitch="0.00"
bank="0.00"
heading="0.00"
imageComplexity="VERY_SPARSE">
<LibraryObject
name="{F3509EA4-5817-46A5-9CD3-EDA3C449F25C}"
scale="1.00"/>
</SceneryObject>
[COLOR="Green"]<!-- according to DTD/Schema more than one scenery object in tower record is not allowed
<SceneryObject
lat="N29 59.06182"
lon="W095 19.66084"
alt="0.0000M"
altitudeIsAgl="TRUE"
pitch="0.00"
bank="0.00"
heading="0.00"
imageComplexity="VERY_SPARSE">
<LibraryObject
name="{9D4A2F38-BCB7-4124-8DE2-B2811D962858}"
scale="1.00"/>
</SceneryObject>
-->[/COLOR]
</Tower>
First set of coordinates is the new IAH control tower location. Coordinates within SceneryObject (the SceneryObject not commented out) are for the old control tower.
In a multiplayer ATC Controller session, the tower opens up on the old KIAH control tower coordinates. I guess what that means is that the last set of lat/lon coordinates within the <Tower> record determine the multiplayer ATC control tower view point.
Does that make sense?
Bob
The Multi Tower will always be placed at the Tower View positon. The Tower View for KIAH is
<Tower
lat="N29 59.06182"
lon="W095 19.66084"
alt="0.00M">
This has nothing to do with a sceneryobject. However if a sceneryobject is located at the same lat/lon then whatever that piece of scenery is will also be at the same location.
The error is telling you that 2 or more sceneryobjects regardless of what they are cannot nest inside the <Tower </Tower>.
1. Many airports do not have a sceneryobject of any kind located with the Tower View.
2. Many airports have a sceneryobject (such as a Tower) that has the same lat/lon as the Tower view.
3. Some Airports have 2 or more (KIAH) sceneryobjects nesting in the Tower data and these will not compile until they are moved outside the airport record.
ADE must make a internal decision on which sceneryobject (if more then 2 exist)to keep and which it must move into the FSData record (outside the Airport record). During the developement of ADE it was decided to always keep and match the sceneryobject with the Tower View lat/lon and remove any other sceneryobjects that are placed by the artist who developed these for ACES.
For KIAH, since the 2nd sceneryobjects lat/lon matches the tower view of the second sceneryobject listed then that is the one that ADE keeps.
This is not a problem with FSX or Multiplayer Tower since you can move the Tower View (circle with the T) to any sceneryobject on the airport. Once you move the view point save the ad2 project file and compile. The Multi Tower Controller View will now be the new lat/lon set with ADE.
Example: If you want the Multiplayer Controller Tower View to be at the new tower then drag the pink circle to the new tower which is
<Tower
lat="N29 59.19698"
lon="W095 21.09813"
The following post explains it all (includes moving the Multiplayer Tower to a new location with ADE)
http://www.fsdeveloper.com/forum/showthread.php?t=11909&highlight=tower+view