This is an ability that I discovered just yesterday, by reading :
"proof of concept...The saved-flight mechanism's ability to read an xml file"
at the "Read_Me" of this download -> http://www.sim-outhouse.com/sohforum...l=1#post740584
So, the story is that you can have static Simobjects in your saved Free Flights !!!...
This is done by associating your saved .FLT file with an .XML file that contains
the positions of the various simobjects.
Can be used for :
- Spawning aboard a Carrier
- Place liftable simobjects (Helos)
- Place targets (for Tacpack users) and simobjects that act as AI defences (with FSCAI)
- etc...
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Procedure - method, is quite easy. Needs no other program apart FS and concerns
a simple editing of an .xml file (with Notepad only!).
A.) Use the .xml file included at the download of link above. Make a copy, right click
on it and at properties unchek the "read only" and "apply".
Now you can edit this .xml that contains 43 GUID entries (use as many as you need and
you can delete the rest of them). Rename this .xml as you like.
B.) Association between the saved .FLT and .XML, is done by adding this entry at the
bottom of FLT :
[ObjectFile]
File="Name of your xml"
C.) Entries in xml (that define each SimObject's position) is of this form :
<SimContain.Container InstanceId="{BB4A2655-1938-47bc-9542-8CC62FAB2BEE}">
<Descr>FSXatWarPack1_Truck_U375D_Barrels_Forest_mo v</Descr>
<WorldPosition>S10° 1' 0.426000",W161° 5' 57.980400",+000001.00</WorldPosition>
<Orientation>0.000,0.000,0.000</Orientation>
<ContainerTitle>FSXatWarPack1_Truck_U375D_Barrels_ Forest_ops</ContainerTitle>
<ContainerID>0</ContainerID>
<IsOnGround>False</IsOnGround>
</SimContain.Container>
To edit this with the proper data, just slew at the position you want to place a simobject
and use the red letters info at top of screen (co-ordinates, height, heading).
D.) About Height of a simobject, substract 3-4 feet from the given altitude of red letters
and use this, ie, lower than ground or sea level by 3-4ft (for sea, use -000004.00 as an example).
E.) Placing "Aircraft" simobjects on the ground : In this case only :
<IsOnGround>True</IsOnGround> (must be set to True)
+000000.00 (altitude in <WorldPosition> )
Otherwise, the plane will fly straight and keep going...
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Now, how cool is this ?...
PS : How I managed to make a quarter of an hour video for 5 lines info, is a "Christmas miracle" probably...
Bookmarks