BoGuu 77 Posted April 2, 2017 Report Share Posted April 2, 2017 1 hour ago, Hyper4u.'<3 said: weird coz it worked for me Considering you never use it, and the engine doesn't magically understand the variable name's meaning, that's not possible Quote Link to post Share on other sites
Hyper4u.'<3 44 Posted April 3, 2017 Report Share Posted April 3, 2017 21 hours ago, BoGuu said: Considering you never use it, and the engine doesn't magically understand the variable name's meaning, that's not possible obv it did work for me tho Quote Link to post Share on other sites
immortalchaos 3 Posted April 3, 2017 Report Share Posted April 3, 2017 On 3/31/2017 at 5:02 PM, suicidsasquatch said: still spawn in with a blurry screen also how do you make it to where you have a blurry screen while you're in the tear gas? the screen moves just no blur "dynamicBlur" ppEffectAdjust [20]; // intensity of blur Below "colorCorrections" ppEffectAdjust [1, 1, 0, [0.0, 0.0, 0.0, 0.0], [0.6, 0.6, 1.8, 0.7], [0.199, 0.587, 0.114, 0.0]]; Quote Link to post Share on other sites
BoGuu 77 Posted April 3, 2017 Report Share Posted April 3, 2017 6 hours ago, Hyper4u.'<3 said: obv it did work for me tho Then you've done something that isn't in the OP, or you're just very silly Quote Link to post Share on other sites
[IL] KingCrazyHunter 103 Posted April 6, 2017 Author Report Share Posted April 6, 2017 On 3/31/2017 at 7:28 PM, BoGuu said: @Hyper4u.'<3 @[IL] KingCrazyHunter This does nothing whatsoever playerNearGas=false; seems it works for me without the variable... Thanks Quote Link to post Share on other sites
Corey 187 Posted April 11, 2017 Report Share Posted April 11, 2017 Haha this just made my day Nice script apart from the playerNearGas=false; Quote Link to post Share on other sites
Mastermind 5 Posted April 11, 2017 Report Share Posted April 11, 2017 Yay! Great Script and thank you for posting it. I do have one question though. How would I write it if say I, wanted to add another item attached to the script. What would be between "SmokeShellOrange" and "1Rnd_SmokeOrange_Grenade_shell" to say either can work. For example, waituntil{ ((nearestObject [getpos player, "SmokeShellOrange", "1Rnd_SmokeOrange_Grenade_shell"]) distance player < 10) and (getpos (nearestObject [getpos player, "SmokeShellOrange", "1Rnd_SmokeOrange_Grenade_shell"]) select 2 < 0.5) }; Quote Link to post Share on other sites
BitDr0p_ 0 Posted April 17, 2017 Report Share Posted April 17, 2017 I tried to use it on the 5.0 version and it doesn´t work well. When I´m Joining the screen is Blurry and the Classname for the Helmet is also wrong because i cant use/see it in my shops. ( And yes, I followed the Tutorial 1:1 ) Quote Link to post Share on other sites
[IL] KingCrazyHunter 103 Posted April 17, 2017 Author Report Share Posted April 17, 2017 45 minutes ago, BitDr0p_ said: I tried to use it on the 5.0 version and it doesn´t work well. When I´m Joining the screen is Blurry and the Classname for the Helmet is also wrong because i cant use/see it in my shops. ( And yes, I followed the Tutorial 1:1 ) currently bugged for 5.0 after the x64 bit update working on a fix 1 Quote Link to post Share on other sites
BitDr0p_ 0 Posted April 17, 2017 Report Share Posted April 17, 2017 2 hours ago, [IL] KingCrazyHunter said: currently bugged for 5.0 after the x64 bit update working on a fix Ahh thanks Quote Link to post Share on other sites
Alpha Hawk 0 Posted May 11, 2017 Report Share Posted May 11, 2017 got it working on 4.4r4, if you want a gas mask need to either put in a facewear item as gas mask or changed the coding to helmet, also doing what @immortalchaos does fix the blur screen upon logging in Quote Link to post Share on other sites
[IL] KingCrazyHunter 103 Posted May 16, 2017 Author Report Share Posted May 16, 2017 (edited) Fixed the script + added smoke for people who use GL Let me know if there are any bugs/issues Edited May 16, 2017 by [IL] KingCrazyHunter Quote Link to post Share on other sites
House.M 0 Posted May 25, 2017 Report Share Posted May 25, 2017 (edited) even after fix still not working for me, i think its around step #3, im using a fresh version of 4.4R4 and nothing can someone post an example of what this should look like? Edited May 26, 2017 by House.M Quote Link to post Share on other sites
Wilder 2 Posted May 27, 2017 Report Share Posted May 27, 2017 Nothing happens when walking through smoke , did all fixes in comment still. Quote Link to post Share on other sites
[IL] KingCrazyHunter 103 Posted May 27, 2017 Author Report Share Posted May 27, 2017 On 5/25/2017 at 2:02 AM, House.M said: even after fix still not working for me, i think its around step #3, im using a fresh version of 4.4R4 and nothing can someone post an example of what this should look like? It works fine for me on 4.4 2 hours ago, Wilder said: Nothing happens when walking through smoke , did all fixes in comment still. There are no fixes in comments to do everything is in the tutorial that you need to do 1 Quote Link to post Share on other sites
Wilder 2 Posted May 27, 2017 Report Share Posted May 27, 2017 2 hours ago, [IL] KingCrazyHunter said: It works fine for me on 4.4 There are no fixes in comments to do everything is in the tutorial that you need to do Tried again , Not working , I walk into it and nothing happens. Quote Link to post Share on other sites
House.M 0 Posted May 27, 2017 Report Share Posted May 27, 2017 i tried on a raw unedited file and nothing. I'll keep playing with it and figure something out Quote Link to post Share on other sites
Wilder 2 Posted May 27, 2017 Report Share Posted May 27, 2017 35 minutes ago, House.M said: i tried on a raw unedited file and nothing. I'll keep playing with it and figure something out Same here Quote Link to post Share on other sites
[IL] KingCrazyHunter 103 Posted June 6, 2017 Author Report Share Posted June 6, 2017 Fixed this once again, aparently I cannot use this as a function had to use it as a script, fully tested on 5.0 and works, leave me alone now... 2 Quote Link to post Share on other sites
one 16 Posted June 11, 2017 Report Share Posted June 11, 2017 (edited) On 6/6/2017 at 3:53 PM, [IL] KingCrazyHunter said: Fixed this once again, aparently I cannot use this as a function had to use it as a script, fully tested on 5.0 and works, leave me alone now... Yes, it works a described! Just did it, took all of 5 minutes. The OP is updated to work on v5.0. Thank you for this funny script! Edited June 11, 2017 by one 1 Quote Link to post Share on other sites
Brickwall 8 Posted July 27, 2017 Report Share Posted July 27, 2017 Worked perfectly fine for me! @[IL] KingCrazyHunter Is there any chance I would be allowed to make this into a video tutorial with some improved stuff? Quote Link to post Share on other sites
Grinder Clipper 0 Posted August 13, 2017 Report Share Posted August 13, 2017 hello , i have just one question it's possible to change headgear to googles in the script because when i change it doesn t work .. thanks for your futur reply (sorry for my anglish i tried without translator i m french ;-) Quote Link to post Share on other sites
TwisT 6 Posted January 9, 2018 Report Share Posted January 9, 2018 On 8/13/2017 at 5:35 AM, Grinder Clipper said: hello , i have just one question it's possible to change headgear to googles in the script because when i change it doesn t work .. thanks for your futur reply (sorry for my anglish i tried without translator i m french ;-) Its a bit late for a response but in case you or anyone else is wondering you would change this if (headgear player != "H_CrewHelmetHeli_B") then {antidote1 = 2583}; // Player has no Suit if (headgear player == "H_CrewHelmetHeli_B") then {antidote1 = 2581}; // Player carries the Gas Suit to this: if (goggles player != "Your goggles here") then {antidote1 = 2583}; // Player has no Suit if (goggles player == "your goggles here") then {antidote1 = 2581}; // Player carries the Gas Suit Quote Link to post Share on other sites
[IL] KingCrazyHunter 103 Posted January 12, 2018 Author Report Share Posted January 12, 2018 On 1/9/2018 at 6:50 AM, TwisT said: Its a bit late for a response but in case you or anyone else is wondering you would change this if (headgear player != "H_CrewHelmetHeli_B") then {antidote1 = 2583}; // Player has no Suit if (headgear player == "H_CrewHelmetHeli_B") then {antidote1 = 2581}; // Player carries the Gas Suit to this: if (goggles player != "Your goggles here") then {antidote1 = 2583}; // Player has no Suit if (goggles player == "your goggles here") then {antidote1 = 2581}; // Player carries the Gas Suit not really needed for people with chromosomes 2 1 Quote Link to post Share on other sites
asta71 0 Posted January 25, 2018 Report Share Posted January 25, 2018 Hi, für mich funktioniert es nicht. Ich bin in 4.4r3 Hier ist der interessante Teil des Codes. playerNearGas=false; [] spawn { while {true} do { if ( (((nearestObject [getpos player, "SmokeShellYellow"]) distance player < 20)) or (((nearestObject [getpos player, "G_40mm_SmokeYellow"]) distance player < 15)) ) then { playerNearGas=true; } else { playerNearGas=false; }; uiSleep 3; }; }; [] spawn { while {true} do { "dynamicBlur" ppEffectEnable true; // enables ppeffect "dynamicBlur" ppEffectAdjust [0]; // enables normal vision "dynamicBlur" ppEffectCommit 15; // time it takes to normal resetCamShake; // resets the shake 20 fadeSound 1; //fades the sound back to normal waituntil {playerNearGas}; // Wait till a Gas Grenade is near player if (goggles player != "Mask_M40_OD") then {antidote1 = 2583}; // Player has no Suit if (goggles player == "Mask_M40_OD") then {antidote1 = 2581}; // Player carries the Gas Suit if (goggles player != "Mask_M50") then {antidote1 = 2583}; // Player has no Suit if (goggles player == "Mask_M50") then {antidote1 = 2581}; // Player carries the Gas Suit if (goggles player != "TAC_SF10") then {antidote1 = 2583}; // Player has no Suit if (goggles player == "TAC_SF10") then {antidote1 = 2581}; // Player carries the Gas Suit if (antidote1 == 2583) then { "dynamicBlur" ppEffectEnable true; // enables ppeffect "dynamicBlur" ppEffectAdjust [20]; // intensity of blur "dynamicBlur" ppEffectCommit 5; // time till vision is fully blurred enableCamShake false; // enables camera shake addCamShake [10, 45, 10]; // sets shakevalues player setFatigue 1; // sets the fatigue to 100% 5 fadeSound 0.1; // fades the sound to 10% in 5 seconds }; uiSleep 1; }; }; Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.