Modme Forums

Screen transitions/fades

Game Modding | Call of Duty: Black Ops 3 | Scripting


ModmeBot:

Thread By: ltschase
Is it possible to have the screen fade out and then fade back in or have a transition of some sort? Similar concept is done with a transition for when you teleport in Kino and such. I have a feeling it would be extremely complicated...


ModmeBot:

Reply By: Symbo

#using scripts\shared\lui_shared;
player lui::screen_fade_out( 0.1 );
wait ?;
player lui::screen_fade_in( 0.5 );


ModmeBot:

Reply By: ltschase

Symbo
#using scripts\shared\lui_shared; player lui::screen_fade_out( 0.1 ); wait ?; player lui::screen_fade_in( 0.5 );

Thank you.


CaramelFudge:

Tested didn't work I've added shared lui to my script going to test again


MKD Joker:

Tested didn't work I've added shared lui to my script going to test again

let me know if it worked. planning to use this too.


CaramelFudge:

let me know if it worked. planning to use this too.

Yeah works lol just need to add
#using scripts\shared\lui_shared;
To your MAPNAME.gsc


CaramelFudge:

Yeah works lol just need to add
#using scripts\shared\lui_shared;
To your MAPNAME.gsc

Also have a look in the nuke power up.gsc file there's a function that calls the flash screen, might be useful im using it in MCH