![]() |
|
IL-2 Sturmovik: Cliffs of Dover Latest instalment in the acclaimed IL-2 Sturmovik series from award-winning developer Maddox Games. |
![]() |
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
![]()
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. |
#2
|
|||
|
|||
![]()
Yes, I now know
![]() 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" |
#3
|
|||
|
|||
![]()
"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. |
#4
|
|||
|
|||
![]()
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... |
#5
|
|||
|
|||
![]()
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... ![]() |
#6
|
|||
|
|||
![]()
I did not say thank you, did I?
Thaaaank you much!! |
![]() |
Thread Tools | |
Display Modes | |
|
|