New game wizard : Added performance information about the selected campaigns.

This commit is contained in:
Khopa
2021-01-22 23:07:17 +01:00
parent 91ac368a19
commit 097c42d1dd
23 changed files with 118 additions and 32 deletions

View File

@@ -0,0 +1,33 @@
{% if performance == 0 %}
<div style="color:#82A466">
{% elif performance == 1 %}
<div style="color:yellow">
{% elif performance == 2 %}
<div style="color:orange">
{% else %}
<div style="color:red">
{%endif %}
<strong>Performance impact :&nbsp;</strong> {{performance}}/3
{% if performance == 0 %}
<p>
This scenario is rather performance friendly.
</p>
{% elif performance == 1 %}
<p>
This scenario requires a very good computer to run.
</p>
{% elif performance == 2 %}
<p>
This scenario is not performance friendly. The usage of the culling settings is recommended for most users.
</p>
{% elif performance == 3 %}
<p>
This theater is huge, and will generate very complex DCS missions with hundreds of units, pushing the limits of DCS engine.
An insanely powerful computer will be necessary to run it.
Usage of culling settings will probably be mandatory for decent FPS.
</p>
{%endif %}
</div>

View File

@@ -0,0 +1,33 @@
{% if performance == 0 %}
<div style="color:#82A466">
{% elif performance == 1 %}
<div style="color:yellow">
{% elif performance == 2 %}
<div style="color:orange">
{% else %}
<div style="color:red">
{%endif %}
<strong>Impact sur les performances :&nbsp;</strong> {{performance}}/3
{% if performance == 0 %}
<p>
Ce scénario est d'une taille limitée et pensé pour obtenir de bonnes performances en jeu.
</p>
{% elif performance == 1 %}
<p>
Ce scénario nécessite une machine puissante.
</p>
{% elif performance == 2 %}
<p>
Ce scénario n'est pas pensé pour la performance et requiert une machine très puissante.
L'usage des paramètres "culling" est recommandé pour la plupart des utilisateurs.
</p>
{% elif performance == 3 %}
<p>
Ce scénario est gigantesque, et générera des missions DCS d'une grande compléxité contenant des centaines/milliers d'unités.
Une machine extrêmement puissante est nécessaire, et l'utilisation des paramètres de "culling" sera obligatoire pour des performances décentes.
</p>
{%endif %}
</div>