Jump to content
Sign in to follow this  
mcnools

Applying post-effect over time.

Recommended Posts

Hello again dear forum. I'm trying to work on a mission for my group where one idea is that the mission starts with a black and white-post effect and then as you enter an area it gradually becomes coloured during a timespan of maybe 5 minutes.

Is there any good way to go about this? (must get it working on our dedicated server too)

Share this post


Link to post
Share on other sites

Allo allo @mcnools,

You can change each post process effect, or a batch of them, in sequence, using ppEffectCommit

You can place these commands either in init.sqf or initPlayerLocal.sqf, or execute them in an external script file from there. My mission ran fine on a dedicated (cloud based) server.

Here's an example batch I made using GreenFist's ReColor mod to both design the effect and export it as a script. There are other Post Process mods that help design effects as well. 

// init.sqf

PPeffect_colorC = ppEffectCreate ["ColorCorrections",1500];
PPeffect_colorC ppEffectAdjust [1,1.71479,0,[0,0,0,0],[1,1,1,1],[0.5,0.25,0.25,0]];
PPeffect_colorC ppEffectEnable true;
PPeffect_colorC ppEffectCommit 0; // set "fade in" time here in seconds


Good luck! 

  • Like 5

Share this post


Link to post
Share on other sites

Thanks, I'll give it a go!

 

Edit, works just fine! that ppeffectcommit-thing was just what I needed. 🙂  Thanks for the help!

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×