diff options
| author | hybrid <hybrid@hybridlabs.pro> | 2026-06-11 19:53:22 +0300 |
|---|---|---|
| committer | hybrid <hybrid@hybridlabs.pro> | 2026-06-11 19:53:22 +0300 |
| commit | c055d44dcdb87e8db49fb23e632fc086aa44cce6 (patch) | |
| tree | 7ac98d865915930bebc86b36b512a859c31538e5 /Client/Module/ISIS/ISIS_Clientfx.sqf | |
| download | a2wf_zargabad-c055d44dcdb87e8db49fb23e632fc086aa44cce6.tar.gz a2wf_zargabad-c055d44dcdb87e8db49fb23e632fc086aa44cce6.tar.bz2 a2wf_zargabad-c055d44dcdb87e8db49fb23e632fc086aa44cce6.zip | |
init
Diffstat (limited to '')
| -rw-r--r-- | Client/Module/ISIS/ISIS_Clientfx.sqf | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/Client/Module/ISIS/ISIS_Clientfx.sqf b/Client/Module/ISIS/ISIS_Clientfx.sqf new file mode 100644 index 0000000..496747d --- /dev/null +++ b/Client/Module/ISIS/ISIS_Clientfx.sqf @@ -0,0 +1,63 @@ +Private ["_camera","_nu","_ran","_stunned","_unit"];
+
+_unit = _this select 0;
+
+titleCut["","BLACK FADED",0];
+titleCut["","BLACK IN",2];
+
+"dynamicBlur" ppEffectEnable true;
+"dynamicBlur" ppEffectAdjust [1];
+"dynamicBlur" ppEffectCommit 0.1;
+
+"colorCorrections" ppEffectCommit 0.1;
+"colorCorrections" ppEffectEnable true;
+"colorCorrections" ppEffectAdjust [1, 1, 0, [0.1, 0.0, 0.0, 0.5], [0, 0.5, 0.5, 0.5], [0.199, 0.187, 0.114, 0.0]];
+"colorCorrections" ppEffectCommit 0.3;
+
+_camera = "camera" camCreate (getPos player);
+
+showCinemaBorder true;
+
+_camera camSetDir 0;
+_camera camSetFov 0.200;
+_camera cameraEffect["Internal","back"];
+_camera camSetTarget player;
+_camera camSetRelPos [2,2,3];
+_camera camCommit 0;
+
+_nu = [_camera] Spawn {
+ private ["_camera","_rx","_ry","_rz","_shout","_shoutTrsl","_ran"];
+ _camera = _this select 0;
+ _shout = ["ImHitE","ImBleedingE","SomebodyHelpMeE","GetMeACorpsmanNowE","CorpsmanE","TheyGotMeE","NeedHelpE","WoundedE"];
+ _shoutTrsl = ["I'm hit!","I'm bleeding!","Somebody help me!","Get me a corpsman now!","Corpsman!","They got me!","Need help!","Wounded!"];
+ while {true} do {
+ _rx = 1 + random 7;
+ _ry = 1 + random 7;
+ _rz = 1 + random 7;
+
+ _camera camSetRelPos [_rx,_ry,_rz];
+ _camera camCommit 10;
+ waitUntil{camCommitted _camera};
+ if (random 100 < 20) then {
+ _ran = round(random((count _shout)-1));
+ player kbTell [sideHQ, WFBE_V_HQTopicSide, "simple",["1","",(_shoutTrsl select _ran),[(_shout select _ran)]],true];
+ };
+ };
+};
+
+while {true} do {
+ sleep 1;
+ _stunned = _unit getVariable "stunned";
+ if (isNil '_stunned') exitWith {};
+ if (!alive _unit || !(_unit getVariable "stunned")) exitWith {};
+};
+
+terminate _nu;
+showCinemaBorder false;
+
+if (!playerDead) then {
+ "dynamicBlur" ppEffectEnable false;
+ "colorCorrections" ppEffectEnable false;
+ _camera cameraEffect["TERMINATE","BACK"];
+ camDestroy _camera;
+};
\ No newline at end of file |
