OK, so I have this nice static radio tower model in Jon's DB, but it replaces a shared object (two actually, since there are two antennas on the tower, and therefore two entries).
Now, how do I tell whoever is installing this stuff which objects to remove? Assuming that the exact locations and altitudes of the offending objects stays the same across scenery builds, I could write a script that would do it, but it wouldn't be very cross-platform, or easy. Would it be feasible instead to have an entry in the new object's xml file listing some exact coordinates at which any existing objects should be removed from the scene-graph? That would be transparent to the user and would allow replacement, not just adding, of objects. The loader would see the <replaces> tag and simply skip loading any object that has those exact coordinates. Something like this: <?xml version="1.0"?> <PropertyList> <path>MPDTower.ac</path> <animation> <type>range</type> <min-m>0</min-m> <max-m>25000</max-m> </animation> <replaces> <entry> <lat>38.962306</lat> <lon>-77.026361</lon> <alt>42.3</alt> </entry> <entry> <lat>38.962306</lat> <lon>-77.026361</lon> <alt>-314.2</alt> </entry> </replaces> </PropertyList> ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel