Hoplox Posted March 23, 2016 Report Share Posted March 23, 2016 Another cinematic camera script :) Again this is a very simple script to implement and the camera zooms out on death. Spoiler If you do not already have a custom player_death.sqf called from your custom compiles.sqf, Do this by unpacking the dayz_code.pbo inside the @Dayz_Epoch folder and search for "Player_death.sqf" excluding quotation marks. Copy this somewhere into your mission e.g Epoch_11.Chenarus etc.. file. After doing this, call your player_death.sqf by adding player_death = compile preprocessFileLineNumbers "PATH\player_death.sqf"; Into your compiles.sqf, make sure you alter it so the path is correct. //Callous Gaming Death Camera _body spawn { "colorCorrections" ppEffectEnable true;"colorCorrections" ppEffectAdjust [1, 1, 0, [1, 1, 1, 0.0], [1, 1, 1, 0.1], [1, 1, 1, 0.0]]; "colorCorrections" ppEffectCommit 0; "dynamicBlur" ppEffectEnable true; "dynamicBlur" ppEffectAdjust [2]; "dynamicBlur" ppEffectCommit 0; showCinemaBorder true; camUseNVG false; playSound "heartbeat_1"; CG_CAM = "camera" camCreate [(getPosATL _this select 0), (getPosATL _this select 1),(getPosATL _this select 2)+4]; CG_CAM cameraEffect ["internal","back"]; CG_CAM camSetFOV 2; CG_CAM camSetTarget (vehicle _this); CG_CAM camCommit 0; waitUntil {camCommitted CG_CAM}; sleep 3; CG_CAM camSetTarget [(getPosATL _this select 0), (getPosATL _this select 1),(getPosATL _this select 2)+800]; CG_CAM camSetRelPos [0,5,0]; CG_CAM camCommit 80; }; Copy and paste this into your player_death.sqf Make sure it is pasted below the following two lines: PVDZE_plr_Died = [dayz_characterID,0,_body,_playerID,_infected, dayz_playerName]; publicVariableServer "PVDZE_plr_Died"; After doing this load up your server and test in-game :) Feel free to criticize or like if this helped you! -Hoplox, Thanks for reading! Bricktop, mimmosan, Jerry_Forteh_123 and 1 other 3 1 Link to comment Share on other sites More sharing options...
Jerry_Forteh_123 Posted March 23, 2016 Report Share Posted March 23, 2016 I really enjoy your work! Your scripts pretty much run my server - LOL. Can you please add me on skype? I'd love to talk sometime. Hoplox 1 Link to comment Share on other sites More sharing options...
Pro_Speedy Posted April 21, 2016 Report Share Posted April 21, 2016 I'm afraid this doesn't work correctly it works for me being on infistar but if i remove myself of the list /normal players don't see it. Link to comment Share on other sites More sharing options...
pr0dukt Posted April 22, 2016 Report Share Posted April 22, 2016 Give credit where due. You did not make this. creativv and Shawn 2 Link to comment Share on other sites More sharing options...
creativv Posted April 22, 2016 Report Share Posted April 22, 2016 8 hours ago, pr0dukt said: Give credit where due. You did not make this. Like just about everything he "released" Link to comment Share on other sites More sharing options...
Ghostis Posted September 9, 2016 Report Share Posted September 9, 2016 On 23.03.2016 at 7:47 PM, Hoplox said: Another cinematic camera script :) Again this is a very simple script to implement and the camera zooms out on death. Reveal hidden contents If you do not already have a custom player_death.sqf called from your custom compiles.sqf, Do this by unpacking the dayz_code.pbo inside the @Dayz_Epoch folder and search for "Player_death.sqf" excluding quotation marks. Copy this somewhere into your mission e.g Epoch_11.Chenarus etc.. file. After doing this, call your player_death.sqf by adding player_death = compile preprocessFileLineNumbers "PATH\player_death.sqf"; Into your compiles.sqf, make sure you alter it so the path is correct. //Callous Gaming Death Camera _body spawn { "colorCorrections" ppEffectEnable true;"colorCorrections" ppEffectAdjust [1, 1, 0, [1, 1, 1, 0.0], [1, 1, 1, 0.1], [1, 1, 1, 0.0]]; "colorCorrections" ppEffectCommit 0; "dynamicBlur" ppEffectEnable true; "dynamicBlur" ppEffectAdjust [2]; "dynamicBlur" ppEffectCommit 0; showCinemaBorder true; camUseNVG false; playSound "heartbeat_1"; CG_CAM = "camera" camCreate [(getPosATL _this select 0), (getPosATL _this select 1),(getPosATL _this select 2)+4]; CG_CAM cameraEffect ["internal","back"]; CG_CAM camSetFOV 2; CG_CAM camSetTarget (vehicle _this); CG_CAM camCommit 0; waitUntil {camCommitted CG_CAM}; sleep 3; CG_CAM camSetTarget [(getPosATL _this select 0), (getPosATL _this select 1),(getPosATL _this select 2)+800]; CG_CAM camSetRelPos [0,5,0]; CG_CAM camCommit 80; }; Copy and paste this into your player_death.sqf Make sure it is pasted below the following two lines: PVDZE_plr_Died = [dayz_characterID,0,_body,_playerID,_infected, dayz_playerName]; publicVariableServer "PVDZE_plr_Died"; After doing this load up your server and test in-game :) Feel free to criticize or like if this helped you! -Hoplox, Thanks for reading! Fix for Infistar: in AH.sqf change the path to the file player_death.sqf Link to comment Share on other sites More sharing options...
HindruM Posted March 29, 2021 Report Share Posted March 29, 2021 Hello! How can I redo this script for epoch 1.0.6.2? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now