Jump to content
Sign in to follow this  
VonGuber

spawning order for MP missions

Recommended Posts

Duck, Winston, Vasco, et. al. who were discussing the order in which pilot can respawn into planes;

 

To get the correct flights where you want them seems to be pretty simple, but maybe not so if you use Mission Builder.

All I did this evening was:

 

open a mission .xml file with Notepad.

 

highlighted a flight I wanted to move, to include aircraft and route information. For example:

 

</AirFormation>

<AirFormation ID="6003" Directive="sweep" Country="Germany" IsHidden="y" Skill="2" Payload="0" FormType="fingertip" OffsetScaleFactor="0.4">

<Unit ID="9585" Type="AlbDII_SQ2" PilotFirstName="Jasta 23" PilotLastName="Airman" Skill="2" Payload="0"/>

<Unit ID="9586" Type="AlbDII_SQ2" PilotFirstName="Jasta 23" PilotLastName="Airman" Skill="2" Payload="0"/>

<Unit ID="9587" Type="AlbDII_SQ2" PilotFirstName="Jasta 23" PilotLastName="Airman" Skill="2" Payload="0"/>

<Route ID="5003">

<Waypoint Type="turn" Speed="36" IsWarpable="y" Lat="N49*39'58.8"" Lon="E3*45'22.8"" Alt="1100"/>

<Waypoint Type="allweapons" Speed="36" IsWarpable="n" Lat="N49*13'6.6745"" Lon="E4*12'10.8676"" Alt="6090"/>

<Waypoint Type="turn" Speed="36" IsWarpable="n" Lat="N49*15'36.745"" Lon="E4*9'54.676"" Alt="6090"/>

<Waypoint Type="turn" Speed="36" IsWarpable="y" Lat="N49*15'36.745"" Lon="E4*14'42.676"" Alt="6090"/>

<Waypoint Type="turn" Speed="36" IsWarpable="n" Lat="N49*15'36.745"" Lon="E4*9'54.676"" Alt="6090"/>

<Waypoint Type="turn" Speed="36" IsWarpable="y" Lat="N49*15'36.745"" Lon="E4*14'42.676"" Alt="6090"/>

<Waypoint Type="turn" Speed="36" IsWarpable="n" Lat="N49*15'36.745"" Lon="E4*9'54.676"" Alt="6090"/>

<Waypoint Type="turn" Speed="36" IsWarpable="y" Lat="N49*15'36.745"" Lon="E4*14'42.676"" Alt="6090"/>

<Waypoint Type="turn" Speed="36" IsWarpable="n" Lat="N49*37'8.2125"" Lon="E3*43'48"" Alt="500"/>

<Waypoint Type="landing" Speed="36" IsWarpable="n" Lat="N49*36'12.0000"" Lon="E3*41'18.0000"" Alt="0"/>

</Route>

 

Cut everything between the </AirFormation> hook and the </Route> hook for the flight you want to re-order.

 

Then cut it to clipboard, move the cursor to where you want it, and paste it back in, paying attention to get the line spaced correctly on both ends of the operation.

 

After that, for good measure, I swapped out the Air Formation ID numbers. I don't know if that's necessary, but I did anyway.

 

Then save and test.

 

When I opened the mission in multiplayer, the flights were in the order I wanted to see them in, if players were to respawn into fighters rather than bombers.

 

Hope all that makes sense.

Share this post


Link to post
Share on other sites

Thanks, that's good to know. It makes perfect sense. I ran into problems when I tried moving one of my bomber flights because I didn't want players respawning into them. I didn't realize at first that I was trying to move the flight that I was to be escorting! Needless to say when trying to load back into MB it would have none of that! no.gif Moving any other flight works well though.

Share this post


Link to post
Share on other sites

Thanks VG,,,very usefull info.....

 

wonder if there is a syntax for comment files in an xml file.....think its something like // in other file types...

 

then you could enter things like

 

//move flight 6003 here....

before you cut and pasted..

Edited by sitting_duck

Share this post


Link to post
Share on other sites

probably is, but I don't know what...will do some research... been away from programming for a long long time.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..