Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover > FMB, Mission & Campaign builder Discussions

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #33  
Old 12-21-2011, 05:40 AM
podvoxx podvoxx is offline
Approved Member
 
Join Date: Feb 2010
Posts: 190
Default

Quote:
Originally Posted by Pato Salvaje View Post
Hello:

1.- So many thanks to Podvoxx for this awesome work. Tested tonight in our dedi server and all went fine.

2.- I´m planning use it for a coop test mission for 8 vs 8. I will test to spawn and exit for select a correct aircraft and if it works then launch the mission/s.
If not works... the solution is spawn all the pilots with the correct aircrafts and then launch the mission/s.

3.- Only a question.. is included a script for remove aircrafts when a human pilots despawns?...

thank you again.
Regards
2. Coop has a menu?
If so, you may need to modify the script. I need see coop script.

3. No, I removed the script in this version, as it removes all the aircraft, where he was a player. This is not always necessary. The next version of the script I be testing and adding the ability to disable it in the file setup.txt.

To add a script you can put script-file(and create .mis file) in folder "MissionLoader\System" and add a line in the file "MissionLoader\host-channel.cs":

Code:
public class Mission : AMission
{
    public override void OnBattleStarted()
    {
        base.OnBattleStarted();
        MissionNumberListener = -1;

        GamePlay.gpPostMissionLoad("missions\\MissionLoader\\System\\missionloader.mis"); //Loading menu script 
        GamePlay.gpPostMissionLoad("missions\\MissionLoader\\System\\destroyAI.mis"); //Loading destroyAI script 			
    }
}

Last edited by podvoxx; 12-21-2011 at 05:43 AM.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:42 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.