Frontline progression is now based on combat results.

This commit is contained in:
Khopa
2020-05-25 04:09:51 +02:00
parent f7d9c62afb
commit 7a3ee6b1a9
5 changed files with 91 additions and 35 deletions

View File

@@ -2,11 +2,10 @@ import logging
import os
import sys
from shutil import copyfile
from time import sleep
import dcs
from PySide2.QtGui import QPixmap
from PySide2.QtWidgets import QApplication, QLabel, QSplashScreen
from PySide2.QtWidgets import QApplication, QSplashScreen
from dcs import installation
from qt_ui import uiconstants

View File

@@ -45,30 +45,30 @@ class QWaitingForMissionResultWindow(QDialog):
def initUi(self):
self.layout = QGridLayout()
self.gridLayout = QVBoxLayout()
self.gridLayout.addWidget(QLabel("<b>You are clear for takeoff</b>"))
self.gridLayout.addWidget(QLabel(""))
self.gridLayout.addWidget(QLabel("<h2>For Singleplayer :</h2>"))
self.gridLayout.addWidget(QLabel("In DCS, open the Mission Editor, and load the file : "))
self.gridLayout.addWidget(QLabel("<i>liberation_nextturn</i>"))
self.gridLayout.addWidget(QLabel("Then once the mission is loaded in ME, in menu \"Flight\", click on FLY to launch"))
self.gridLayout.addWidget(QLabel(""))
self.gridLayout.addWidget(QLabel("<h2>For Multiplayer</h2>"))
self.gridLayout.addWidget(QLabel("In DCS, open the Mission Editor, and load the file : "))
self.gridLayout.addWidget(QLabel("<i>liberation_nextturn</i>"))
self.gridLayout.addWidget(QLabel("Click on File/Save. Then exit the mission editor, and go to Multiplayer."))
self.gridLayout.addWidget(QLabel("Then host a server with the mission, and tell your friends to join !"))
self.gridLayout.addWidget(QLabel("(The step in the mission editor is important, and fix a game breaking bug.)"))
self.gridLayout.addWidget(QLabel(""))
self.gridLayout = QGridLayout()
self.gridLayout.addWidget(QLabel("<b>You are clear for takeoff</b>"), 1, 0)
self.gridLayout.addWidget(QLabel(""), 2, 0)
self.gridLayout.addWidget(QLabel("<h2>For Singleplayer :</h2>"), 3, 0)
self.gridLayout.addWidget(QLabel("In DCS, open the Mission Editor, and load the file : "), 4, 0)
self.gridLayout.addWidget(QLabel("<i>liberation_nextturn</i>"), 5, 0)
self.gridLayout.addWidget(QLabel("Then once the mission is loaded in ME, in menu \"Flight\", click on FLY Mission to launch"), 6, 0)
self.gridLayout.addWidget(QLabel(""), 7, 0)
self.gridLayout.addWidget(QLabel("<h2>For Multiplayer :</h2>"), 8, 0)
self.gridLayout.addWidget(QLabel("In DCS, open the Mission Editor, and load the file : "), 9, 0)
self.gridLayout.addWidget(QLabel("<i>liberation_nextturn</i>"), 10, 0)
self.gridLayout.addWidget(QLabel("Click on File/Save. Then exit the mission editor, and go to Multiplayer."), 11, 0)
self.gridLayout.addWidget(QLabel("Then host a server with the mission, and tell your friends to join !"), 12, 0)
self.gridLayout.addWidget(QLabel("(The step in the mission editor is important, and fix a game breaking bug.)"), 13, 0)
self.gridLayout.addWidget(QLabel(""), 14, 0)
progress = QLabel("")
progress.setAlignment(QtCore.Qt.AlignCenter)
progressBar = QMovie("./resources/ui/loader.gif")
progress.setMovie(progressBar)
self.gridLayout.addWidget(progress)
self.gridLayout.addWidget(QLabel(""))
self.gridLayout.addWidget(QLabel("Once you have played the mission, this window will dissapear."))
self.gridLayout.addWidget(QLabel("You will have to click on \"Accept Results\" to proceed"))
self.gridLayout.addWidget(progress, 15, 0)
self.gridLayout.addWidget(QLabel(""), 16, 0)
self.gridLayout.addWidget(QLabel("Once you have played the mission, this window will dissapear."), 17, 0)
self.gridLayout.addWidget(QLabel("You will have to click on \"Accept Results\" to proceed"), 18, 0)
progressBar.start()
self.layout.addLayout(self.gridLayout,0,0)