diff --git a/description.ext b/description.ext
index 649b9449..8f4196ef 100644
--- a/description.ext
+++ b/description.ext
@@ -149,4 +149,13 @@ class CfgSounds
// subtitle delay in seconds, subtitle text
titles[] = {1, ""};
};
+ class signal_lost
+ {
+ // how the sound is referred to in the editor (e.g. trigger effects)
+ name = "signal_lost";
+ // filename, volume, pitch
+ sound[] = {"sounds\signal_lost.ogg", 1, 1};
+ // subtitle delay in seconds, subtitle text
+ titles[] = {1, ""};
+ };
};
diff --git a/init.sqf b/init.sqf
index cf3d087d..d310a4b3 100644
--- a/init.sqf
+++ b/init.sqf
@@ -231,6 +231,7 @@ if (hasInterface) then {
[] execVM "player\russianMarker.sqf"; diag_log format ["setup: russianmarker initiated"];
[] execVM "player\opforBluforTeleportListener.sqf"; diag_log format ["setup: opforBluforTeleportListener initiated"];
[] execVM "player\opforOpforTeleportListener.sqf"; diag_log format ["setup: opforOpforTeleportListener initiated"];
+ [] execVM "player\bluforRussianPointsListener.sqf";
[] spawn checkJIP; diag_log format ["setup: createStartHints initiated"];
};
diff --git a/pic/rus_satellite_badge_lost.paa b/pic/rus_satellite_badge_lost.paa
new file mode 100644
index 00000000..906d7b3e
Binary files /dev/null and b/pic/rus_satellite_badge_lost.paa differ
diff --git a/pic/us_satellite_badge_lost.paa b/pic/us_satellite_badge_lost.paa
new file mode 100644
index 00000000..b0681761
Binary files /dev/null and b/pic/us_satellite_badge_lost.paa differ
diff --git a/player/bluforRussianPointsListener.sqf b/player/bluforRussianPointsListener.sqf
index 709e8445..b0fd292f 100644
--- a/player/bluforRussianPointsListener.sqf
+++ b/player/bluforRussianPointsListener.sqf
@@ -6,7 +6,7 @@ bluforShowPointsWarning = {
_points = _this;
_pointsRatio = _points / POINTS_NEEDED_FOR_VICTORY;
if (_pointsRatio >= bluforShowPointsNextWarning) then { // alle 10% die Warnung
- _string = "Die Russen haben schon " + (str (round(_pointsRatio * 100))) + " Prozent gesendet.";
+ _string = localize "str_GRAD_transmissionTime_1" + (str (round(_pointsRatio * 100))) + localize "str_GRAD_transmissionTime_2";
[_string] call EFUNC(common,displayTextStructured);
bluforShowPointsNextWarning = bluforShowPointsNextWarning + 0.1;
};
diff --git a/player/russianMarker.sqf b/player/russianMarker.sqf
index cb69b023..8707b93e 100644
--- a/player/russianMarker.sqf
+++ b/player/russianMarker.sqf
@@ -39,6 +39,7 @@ markerAnimation = {
};
markerAnimationIsRunning = false;
+ call endTransmissionEffects;
};
ensureMarkerAnimation = {
@@ -52,6 +53,16 @@ ensureMarkerAnimation = {
};
};
+endTransmissionEffects = {
+ playSound "signal_lost";
+ if (playerSide == west) then {
+ cutRsc ["gui_intel_paper_us_lost","PLAIN",0];
+ } else {
+ cutRsc ["gui_intel_paper_rus_lost","PLAIN",0];
+ };
+
+};
+
_RUSSIAN_MARKER_POS_listener = {
"opfor_marker" setMarkerPosLocal (_this select 1);
};
diff --git a/sounds/signal_lost.ogg b/sounds/signal_lost.ogg
new file mode 100644
index 00000000..1c7657a5
Binary files /dev/null and b/sounds/signal_lost.ogg differ
diff --git a/spawn/gui/_dialogs.hpp b/spawn/gui/_dialogs.hpp
index 680d601b..07e399eb 100644
--- a/spawn/gui/_dialogs.hpp
+++ b/spawn/gui/_dialogs.hpp
@@ -1273,6 +1273,26 @@ class RscTitles {
};
};
+ class gui_intel_paper_us_lost
+ {
+ idd = -1;
+ duration = 10;
+ name = "gui_intel_paper_us_lost";
+ fadeOut = 5;
+
+ class controls {
+ class gui_intel_paper_pic: RscPicture
+ {
+ idc = -1;
+ x = safeZoneX + safeZoneW - 0.3;
+ y = safeZoneY + safeZoneH - 1.5;
+ w = 0.3;
+ h = 0.4;
+ text = "pic\us_satellite_badge_lost.paa";
+ };
+ };
+ };
+
class gui_intel_paper_rus
{
idd = -1;
@@ -1293,6 +1313,26 @@ class RscTitles {
};
};
+ class gui_intel_paper_rus_lost
+ {
+ idd = -1;
+ duration = 10;
+ name = "gui_intel_paper_rus_lost";
+ fadeOut = 5;
+
+ class controls {
+ class gui_intel_paper_pic: RscPicture
+ {
+ idc = -1;
+ x = safeZoneX + safeZoneW - 0.3;
+ y = safeZoneY + safeZoneH - 1.5;
+ w = 0.3;
+ h = 0.4;
+ text = "pic\rus_satellite_badge_lost.paa";
+ };
+ };
+ };
+
class gui_blufor_pleasewait
{
idd = -1;
diff --git a/stringtable.xml b/stringtable.xml
index 077edded..75afe65a 100644
--- a/stringtable.xml
+++ b/stringtable.xml
@@ -114,6 +114,16 @@
OPFOR spawned. BLUFOR may spawn now.
OPFOR ist gespawned. BLUFOR kann jetzt spawnen.
+
+ The Russians already sent
+ The Russians already sent
+ Die Russen haben schon
+
+
+ percent.
+ percent.
+ Prozent gesendet.
+
End Placement
End Placement