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

IL-2 Sturmovik: Cliffs of Dover Latest instalment in the acclaimed IL-2 Sturmovik series from award-winning developer Maddox Games.

Reply
 
Thread Tools Display Modes
  #1  
Old 11-13-2011, 04:21 PM
Ataros Ataros is offline
Approved Member
 
Join Date: Jun 2010
Location: USSR
Posts: 2,439
Default

Map icons are usually switched off on many servers but you can select a plane from a list on the right hand in the same way.

For coop-style gameplay you can try naryv's coop script posted on the forum.
Reply With Quote
  #2  
Old 11-13-2011, 06:12 PM
KDN KDN is offline
Approved Member
 
Join Date: Sep 2010
Posts: 114
Default

Yes, I now know . I have tried naryv script and it looks that it is going to work.
On a dedicated server it looks that it need at least two players to hit TAB -->4 and then 2 to start the battle. Am I correct?
If so which line on the script dictates that? I would like to change it to ONE player needed to "battle start"
Reply With Quote
  #3  
Old 11-13-2011, 07:14 PM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

"Am I correct?" - No every player had to "Start the batte", if you only need one you should change (or delete) the readycount section:
Code:
 public void StartBattle(string lang) 
    {
        //==================================================
        int readyCount = 0;
        for (int i = 0; i < playerSelections.Count; i++)
        {
            if (playerSelections[i].readyToBattle)
                readyCount++;
        }

        if (readyCount < playerSelections.Count)   
        {
            GamePlay.gpHUDLogCenter(readyCount.ToString() + translator(" of ", lang) + playerSelections.Count.ToString() + translator(" ready to fly. Waiting...", lang));
            return;
        }
        //==========================================================================
        GamePlay.gpHUDLogCenter(translator("Battle Starting!!!!", lang));
        for (int i = 1; i < 3; i++)
        {
            AiAirGroup[] army_groups = GamePlay.gpAirGroups(i);
            foreach (AiAirGroup group in army_groups)
            {
                group.Idle = false;
            }
        }
    }

Last edited by FG28_Kodiak; 11-13-2011 at 07:19 PM.
Reply With Quote
  #4  
Old 11-13-2011, 07:19 PM
KDN KDN is offline
Approved Member
 
Join Date: Sep 2010
Posts: 114
Default

Unbelievable, I was just about to make a post that I found a most likely pertaining area.
Ok, I am assuming that the script sees the Dedicated server as another player and therefore if I set the readyCount=1 and with me as a client and "ready" the readyCount should be equal to players...
I am going to try it and see...
Reply With Quote
  #5  
Old 11-13-2011, 07:42 PM
KDN KDN is offline
Approved Member
 
Join Date: Sep 2010
Posts: 114
Default

Yes, it does!!
I am also surprised that I did not have to put some kind of timeout for the "battle start". I thought by the time my client connected, the dedicated server itself would activate the mission, since readycount is already 1. It looks that the dedicated server does not take the "idle" from the AI planes.
So ALL is even cooler...
Reply With Quote
  #6  
Old 11-13-2011, 09:06 PM
KDN KDN is offline
Approved Member
 
Join Date: Sep 2010
Posts: 114
Default

I did not say thank you, did I?

Thaaaank you much!!
Reply With Quote
Reply

Thread Tools
Display Modes

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 03:42 AM.


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