GaspArt Posted November 8, 2014 Report Share Posted November 8, 2014 Hello guys! Wanna start with special thanks for @FragZ with his cool scripts, what give ability to harvest and smoke weed. Then I thought, that Morphine is drug too, so why it dont make for players some drug effects. So I found morphine file, added there FragZ's glithces of weed, changed time and made a liiiiitle funny script. http://www.youtube.com/watch?v=PCmXMnDA0HY So setup intructions: 1. U need to have custom compiles.sqf, open it and find strings: player_medMorphine = compile preprocessFileLineNumbers "z\addons\dayz_code\medical\publicEH\medMorphine.sqf"; and change it to: player_medMorphine = compile preprocessFileLineNumbers "scripts\medical\publicEH\medMorphine.sqf"; NEXT Find: fnc_usec_damageActions = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_damageActions.sqf"; and change it to: fnc_usec_damageActions = compile preprocessFileLineNumbers "scripts\medical\fn_damageActions.sqf"; 2. Download attached file and put it in mpmission folder. 3. PROFIT! P.S. If u want change folders, dont forget change paths in:Compiles.sqf fn_damageActions.sqf morphine.sqfAll credits to FragZ !!!Thx for attention! :) Download link: http://goo.gl/hxHnQq CartoonrBOY and dayzgreywolf 2 Link to comment Share on other sites More sharing options...
FragZ Posted November 12, 2014 Report Share Posted November 12, 2014 Sounds like a cool mod. I will make sure to check it out :P Link to comment Share on other sites More sharing options...
carl101 Posted November 13, 2014 Report Share Posted November 13, 2014 So I assume it gives the same effect as the weed script?? Link to comment Share on other sites More sharing options...
GaspArt Posted November 13, 2014 Author Report Share Posted November 13, 2014 So I assume it gives the same effect as the weed script?? Thats right! Only for 10 seconds and without animations. Repeat again: all credits for FragZ! Link to comment Share on other sites More sharing options...
GaspArt Posted November 13, 2014 Author Report Share Posted November 13, 2014 Sounds like a cool mod. I will make sure to check it out :P Nothing some cool c: but anyway thank u) Link to comment Share on other sites More sharing options...
carl101 Posted November 13, 2014 Report Share Posted November 13, 2014 Sounds cool, il give this a go tonight Link to comment Share on other sites More sharing options...
GaspArt Posted November 13, 2014 Author Report Share Posted November 13, 2014 Sounds cool, il give this a go tonight :3 Thx) Link to comment Share on other sites More sharing options...
carl101 Posted November 14, 2014 Report Share Posted November 14, 2014 Iv put it in, works great Link to comment Share on other sites More sharing options...
GaspArt Posted November 14, 2014 Author Report Share Posted November 14, 2014 Iv put it in, works great Thx for feedback ;) Link to comment Share on other sites More sharing options...
Liqu1dShadow Posted November 15, 2014 Report Share Posted November 15, 2014 video? Link to comment Share on other sites More sharing options...
GaspArt Posted November 15, 2014 Author Report Share Posted November 15, 2014 video? Added. Sorry for bad quality of video, bad display resolution. Link to comment Share on other sites More sharing options...
CartoonrBOY Posted November 17, 2014 Report Share Posted November 17, 2014 The effect should've been default, well spotted. I've reduced the effect to something a little less zany for one minute. // medMorpehe.sqf private ["_array","_unit","_medic","_display","_control","_id"]; disableserialization; _array = _this; //_this select 0; _unit = _array select 0; _medic = _array select 1; if ((_unit == player) || (vehicle player != player)) then { r_fracture_legs = false; r_fracture_arms = false; _unit setHit["legs",0]; _unit setHit["hands",0]; //Ensure Control is visible _display = uiNamespace getVariable 'DAYZ_GUI_display'; _control = _display displayCtrl 1203; _control ctrlShow false; [] spawn { Remove_Drug_effects = { { ppEffectDestroy _x; } forEach (_this select 0); ppEffectDestroy ppe2; ppEffectDestroy ppe3; setaperture 0; "dynamicBlur" ppEffectAdjust [0]; "dynamicBlur" ppEffectCommit 16; "colorCorrections" ppEffectAdjust [1, 1, 0, [1, 1, 1, 0.0], [1, 1, 1, 1], [1, 1, 1, 0.0]]; "colorCorrections" ppEffectCommit 0; }; _time = time; _effects = []; while {true} do { ppe2 = ppEffectCreate ["chromAberration", 1555]; _effects = _effects + [ppe2]; ppe2 ppEffectAdjust [0.1,0.01,true]; ppe2 ppEffectCommit 1; ppe2 ppEffectEnable true; ppe3 = ppEffectCreate ["radialBlur", 1555]; _effects = _effects + [ppe3]; ppe3 ppEffectEnable true; ppe3 ppEffectAdjust [0.02,0.02,0.15,0.15]; ppe3 ppEffectCommit 1; if (_time + 60 < time) exitWith {[_effects] call Remove_Drug_effects;}; }; }; // _id = false spawn dayz_disableRespawn; }; Thanks for the share. Beans. Link to comment Share on other sites More sharing options...
GaspArt Posted November 17, 2014 Author Report Share Posted November 17, 2014 The effect should've been default, well spotted. I've reduced the effect to something a little less zany for one minute. // medMorpehe.sqf private ["_array","_unit","_medic","_display","_control","_id"]; disableserialization; _array = _this; //_this select 0; _unit = _array select 0; _medic = _array select 1; if ((_unit == player) || (vehicle player != player)) then { r_fracture_legs = false; r_fracture_arms = false; _unit setHit["legs",0]; _unit setHit["hands",0]; //Ensure Control is visible _display = uiNamespace getVariable 'DAYZ_GUI_display'; _control = _display displayCtrl 1203; _control ctrlShow false; [] spawn { Remove_Drug_effects = { { ppEffectDestroy _x; } forEach (_this select 0); ppEffectDestroy ppe2; ppEffectDestroy ppe3; setaperture 0; "dynamicBlur" ppEffectAdjust [0]; "dynamicBlur" ppEffectCommit 16; "colorCorrections" ppEffectAdjust [1, 1, 0, [1, 1, 1, 0.0], [1, 1, 1, 1], [1, 1, 1, 0.0]]; "colorCorrections" ppEffectCommit 0; }; _time = time; _effects = []; while {true} do { ppe2 = ppEffectCreate ["chromAberration", 1555]; _effects = _effects + [ppe2]; ppe2 ppEffectAdjust [0.1,0.01,true]; ppe2 ppEffectCommit 1; ppe2 ppEffectEnable true; ppe3 = ppEffectCreate ["radialBlur", 1555]; _effects = _effects + [ppe3]; ppe3 ppEffectEnable true; ppe3 ppEffectAdjust [0.02,0.02,0.15,0.15]; ppe3 ppEffectCommit 1; if (_time + 60 < time) exitWith {[_effects] call Remove_Drug_effects;}; }; }; // _id = false spawn dayz_disableRespawn; }; Thanks for the share. Beans. Thx, will check it in 60 minutes! Artem, po russki shpilsih? Link to comment Share on other sites More sharing options...
thevisad Posted November 19, 2014 Report Share Posted November 19, 2014 ... Link to comment Share on other sites More sharing options...
GaspArt Posted December 8, 2014 Author Report Share Posted December 8, 2014 ... excuse me, problems? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now