so i am currently working on my csh game and i want to know if there is a way that i can have my cutscene play for an opening scene to my game you know before the gameplay actually starts like maybe this isnt what im doing but for example a heli flies across the screen drops of player at a point in the first scene before gameplay actually starts ....once cutscene is done game starts so i can set up a bit of story for the opening of the game basically you click play game it loads straight into a cutscene before you ever take control but only in the very beginning of the game an opening cutscene
so i am currently working on my csh game and i want to know if there is a way that i can have my cutscene play for an opening scene to my game you know before the gameplay actually starts like maybe this isnt what im doing but for example a heli flies across the screen drops of player at a point in the first scene before gameplay actually starts ....once cutscene is done game starts so i can set up a bit of story for the opening of the game basically you click play game it loads straight into a cutscene before you ever take control but only in the very beginning of the game an opening cutscene
Hey Chris, yes, it’s possible. The best approach is to create your cutscene first, then follow the same method used for the intro cutscene in the framework.
Inside the "WB_DifficultySelection" widget, in the "StartGame" custom event, there’s an "OpenLevel" function. From there, you can redirect the player to a different level. I’d suggest creating an empty level and playing your cutscene there.
You can basically reuse the same system used in the "WB_Intro" widget. Once the cutscene finishes, just call "OpenLevel" again to load your main game level.
Another option is using "BP_CutscenePlayer"; it’s more suited for in-game cutscenes, but it’s still available if you want to use it.
Hope that helps! If you need more information or have questions, feel free to ask me 🙂
@farshad hey there thanks for the advice the way i have gotten used to making use of cutscenes is manipulating the actors in the current level ....i dont know how to make cutscenes outside the level i have tried to render a cinematic but i find it easier to just use the level and keep state is there a way i can have the player start at the point where i want the level sequence to play and then just teleport them to the spot i need them to be at after the scene has played
@chris Hey Chris, in this case, you can use the cutscene player included in the framework. Create your cutscene and follow the steps explained in the documentation or video tutorial.
Since you want it to play at the beginning of the game, you just need to trigger it on Begin Play. I’ve also made this short video for you, showing how to play a cutscene on Begin Play. Check it out, hope it helps!
@farshad thank you so much will this be played every time i start that level or doe the player have to be in the cutscene bp bounds for it to play
@chris You’re welcome! If you follow the video and connect it to Begin Play, this specific cutscene will only play once at the start. Check it out and let me know if you have any questions.